possible smartd race condition
James Wilkinson
fedora at aprilcottage.co.uk
Thu Nov 9 18:06:33 UTC 2006
Gene Czarcinski wrote:
> I am experiencing indications by smartd of disk errors on one of my four
> systems running Fedora Core 6. This has been reported and is documented in
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=214502
>
> This problem only occurs on one system and then only running FC6 ...
> running FC5 on that system has no problems.
>
> The problem appears to be that smartd is attempting to access smart
> functions on the hard disks BEFORE it has enabled the disks for smart.
> If I manually enable smart with:
> smartctl -s on /dev/hda
> smartctl -d ata -s on /dev/sda
> smartctl -d ata -s on /dev/sdb
> then there are no problems.
>
> This problem only occurs on an ASUS A8N-E motherboard with an Athlon 64
> 4400+ dual processor (running either x86_64 or i386 versions of FC6).
>
> Has anyone noticed similar problems? It is difficult to get something fixed
> if I am the only one seeing it (even if I can reproduce the problem).
>
> What to look for in /var/log/messages ... something like:
>
> hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
> hda: drive_cmd: error=0x04 { DriveStatusError }
> ide: failed opcode was: 0xb0
>
> See the bz report for more info.
As it happens -- yes, I had been spotting something *very* similar
occasionally. And yes, I've only spotted this since upgrading to FC6.
I'm getting:
hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
I've got an Asus A8N-SLI with an Athlon 64 3200+ and an IBM Deskstar
60GXP series PATA hard drive [1], which definitely supports SMART.
I *can't* see any from my Hitachi Deskstar 7K250, which sees less use
under Fedora.
I've only ever had 64 bit installs on this machine.
I'll have a play when I've got some suitable time.
Hope this helps,
James.
[1] With firmware upgrade...
--
E-mail: james@ | "I never really understood how there could be things that
aprilcottage.co.uk | would drive you insane just because you knew them until I
| ran into Windows."
| -- Peter da Silva
More information about the users
mailing list