* RE: megaraid battery status questions
@ 2004-09-13 13:07 Mukker, Atul
2004-09-14 17:12 ` Russell Johnson
0 siblings, 1 reply; 3+ messages in thread
From: Mukker, Atul @ 2004-09-13 13:07 UTC (permalink / raw)
To: 'Russell Johnson', linux-scsi
> I have been using the megaraid driver on a Dell system using
> the PERC4 for
> several months now and have noticed that
> /proc/megaraid/hba0/battery-status
> will report errors after reading it over time. If I reboot
> the system then
> the battery status errors go away until I poll again. The
> BIOS for the
> Megaraid doesn't report battery status errors in any of the
> tests I have
> run. The errors I see include "low voltage" and "charge fail". In
> addition, I have seen the same "errors" across several
> different systems so
> it isn't just a single adapter or system that is failing.
Can you provide your dmesg output and the information from *all* files from
the /proc/megaraid/hbaX/ directory
>
> With my goal to poll raid status and battery status on a
> periodic basis,
> does anyone have ideas on what mechanism I can use? Ioctl?
> Other programs?
If you have an application which issues the corresponding ioctl, the same
would work with 2.20.3.1 driver
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: megaraid battery status questions
2004-09-13 13:07 megaraid battery status questions Mukker, Atul
@ 2004-09-14 17:12 ` Russell Johnson
0 siblings, 0 replies; 3+ messages in thread
From: Russell Johnson @ 2004-09-14 17:12 UTC (permalink / raw)
To: 'Mukker, Atul', linux-scsi
> > With my goal to poll raid status and battery status on a
> > periodic basis,
> > does anyone have ideas on what mechanism I can use? Ioctl?
> > Other programs?
>
> If you have an application which issues the corresponding
> ioctl, the same would work with 2.20.3.1 driver
I was able to get the 2.20.3.1 driver installed and it seems to work fine
now when the 350O firmware is installed. Apparently the only working
combination is the 2.20.3.1 driver with the 350O firmware. The older
firmware I had would report battery errors after a short while but this new
firmware hasn't reported an improper battery status yet.
Thanks for your help.
^ permalink raw reply [flat|nested] 3+ messages in thread
* megaraid battery status questions
@ 2004-09-09 14:44 Russell Johnson
0 siblings, 0 replies; 3+ messages in thread
From: Russell Johnson @ 2004-09-09 14:44 UTC (permalink / raw)
To: linux-scsi
I have been using the megaraid driver on a Dell system using the PERC4 for
several months now and have noticed that /proc/megaraid/hba0/battery-status
will report errors after reading it over time. If I reboot the system then
the battery status errors go away until I poll again. The BIOS for the
Megaraid doesn't report battery status errors in any of the tests I have
run. The errors I see include "low voltage" and "charge fail". In
addition, I have seen the same "errors" across several different systems so
it isn't just a single adapter or system that is failing.
My goal is to poll for both battery status and raid status on a periodic
basis (every 5 minutes or so). I have tried this on different kernels and
driver versions with the same result and I'm wondering if anyone else has
seen the same issue or found a solution. I started with a 2.4.21 kernel and
tried a 2.10.x driver. I'm currently running a 2.6.7 kernel with the 2.00.3
driver and the latest firmware I could find, dmesg reports "megaraid:
[350O:1.09]". I have written some code similar to recent posts with the
title "megaraid megaraid2-2.10.7 causing kernel panic" and it is reporting
the same failure on all of the above setups that I have tried. It seems
that the latest proper megaraid driver for kernel 2.6 versions might be the
2.20.3.1 version but it doesn't support the /proc files as the 2.0 and 2.10
drivers did. I'm not sure if the new driver supports the same ioctl I'm
using or not.
With my goal to poll raid status and battery status on a periodic basis,
does anyone have ideas on what mechanism I can use? Ioctl? Other programs?
I have also noticed that it seems that the megaraid mailbox will not accept
new commands while the inquiry3 command is being executed. Can anyone
verify that this is the case? I can't find any information on the command
and its limitations.
Thanks for any help!
Russ Johnson
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-09-14 17:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-13 13:07 megaraid battery status questions Mukker, Atul
2004-09-14 17:12 ` Russell Johnson
-- strict thread matches above, loose matches on Subject: below --
2004-09-09 14:44 Russell Johnson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox