[Bug 225639] New: Smartmontools on SATA disk problem
https://bugzilla.novell.com/show_bug.cgi?id=225639 Summary: Smartmontools on SATA disk problem Product: openSUSE 10.2 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: volker3204@paradise.net.nz QAContact: qa@suse.de Smartmontools works fine on PATA disks. On a SATA disk, these two commands smartctl -data -Son /dev/sda smartctl -data -oon /dev/sda cause a 100% CPU use for about 3 seconds. -oon produces a failure but nevertheless seems to have the intended result. Syslog contains Dec 3 19:38:00 linux kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen Dec 3 19:38:00 linux kernel: ata1.00: cmd b0/d2:f1:00:4f:c2/00:00:00:00:00/00 tag 0 cdb 0x0 data 123392 in Dec 3 19:38:00 linux kernel: res 50/00:f1:00:4f:c2/00:00:00:00:00/00 Emask 0x202 (HSM violation) Dec 3 19:38:00 linux kernel: ata1: soft resetting port Dec 3 19:38:01 linux kernel: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) Dec 3 19:38:01 linux kernel: ata1.00: configured for UDMA/133 Dec 3 19:38:01 linux kernel: ata1: EH complete Dec 3 19:38:01 linux kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen Dec 3 19:38:01 linux kernel: ata1.00: cmd b0/d2:f1:00:4f:c2/00:00:00:00:00/00 tag 0 cdb 0x0 data 123392 in Dec 3 19:38:01 linux kernel: res 50/00:f1:00:4f:c2/00:00:00:00:00/00 Emask 0x202 (HSM violation) Dec 3 19:38:01 linux kernel: ata1: soft resetting port Dec 3 19:38:01 linux kernel: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) Dec 3 19:38:01 linux kernel: ata1.00: configured for UDMA/133 Dec 3 19:38:01 linux kernel: ata1: EH complete Dec 3 19:38:01 linux kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen Dec 3 19:38:03 linux kernel: ata1.00: cmd b0/d2:f1:00:4f:c2/00:00:00:00:00/00 tag 0 cdb 0x0 data 123392 in Dec 3 19:38:03 linux kernel: res 50/00:f1:00:4f:c2/00:00:00:00:00/00 Emask 0x202 (HSM violation) Dec 3 19:38:03 linux kernel: ata1: soft resetting port Dec 3 19:38:03 linux kernel: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) Dec 3 19:38:03 linux kernel: ata1.00: configured for UDMA/133 Dec 3 19:38:03 linux kernel: ata1: EH complete Dec 3 19:38:03 linux kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen Dec 3 19:38:03 linux kernel: ata1.00: cmd b0/d2:f1:00:4f:c2/00:00:00:00:00/00 tag 0 cdb 0x0 data 123392 in Dec 3 19:38:03 linux kernel: res 50/00:f1:00:4f:c2/00:00:00:00:00/00 Emask 0x202 (HSM violation) Dec 3 19:38:03 linux kernel: ata1: soft resetting port Dec 3 19:38:03 linux kernel: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) Dec 3 19:38:03 linux kernel: ata1.00: configured for UDMA/133 Dec 3 19:38:03 linux kernel: ata1: EH complete Dec 3 19:38:03 linux kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen Dec 3 19:38:03 linux kernel: ata1.00: cmd b0/d2:f1:00:4f:c2/00:00:00:00:00/00 tag 0 cdb 0x0 data 123392 in Dec 3 19:38:03 linux kernel: res 50/00:f1:00:4f:c2/00:00:00:00:00/00 Emask 0x202 (HSM violation) Dec 3 19:38:03 linux kernel: ata1: soft resetting port Dec 3 19:38:03 linux kernel: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) Dec 3 19:38:03 linux kernel: ata1.00: configured for UDMA/133 Dec 3 19:38:03 linux kernel: ata1: EH complete Dec 3 19:38:03 linux kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen Dec 3 19:38:03 linux kernel: ata1.00: cmd b0/d2:f1:00:4f:c2/00:00:00:00:00/00 tag 0 cdb 0x0 data 123392 in Dec 3 19:38:03 linux kernel: res 50/00:f1:00:4f:c2/00:00:00:00:00/00 Emask 0x202 (HSM violation) Dec 3 19:38:03 linux kernel: ata1: soft resetting port Dec 3 19:38:03 linux kernel: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) Dec 3 19:38:03 linux kernel: ata1.00: configured for UDMA/133 Dec 3 19:38:03 linux kernel: ata1: EH complete Dec 3 19:38:03 linux kernel: SCSI device sda: 488395055 512-byte hdwr sectors (250058 MB) Dec 3 19:38:03 linux kernel: sda: Write Protect is off Dec 3 19:38:03 linux kernel: sda: Mode Sense: 00 3a 00 00 Dec 3 19:38:03 linux kernel: SCSI device sda: drive cache: write back Dec 3 19:38:03 linux kernel: SCSI device sda: 488395055 512-byte hdwr sectors (250058 MB) Dec 3 19:38:03 linux kernel: sda: Write Protect is off Dec 3 19:38:03 linux kernel: sda: Mode Sense: 00 3a 00 00 Dec 3 19:38:03 linux kernel: SCSI device sda: drive cache: write back The output of -a looks plausible. There appears to be no other ill effect, but it looks like to me that the data exchange between smartctl and the disk is somehow corrupted a bit. kernel-default-2.6.18.2-33 AMD64, nforce4 chipset, onboard SATA 00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3) disk is Device Model: SAMSUNG SP2504C Serial Number: S09QJ10Y9..... Firmware Version: VT100-33 User Capacity: 250,058,268,160 bytes This may be a smartmontools and not a kernel problem, sorry if I guess wrong. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225639 gregkh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel- |hare@novell.com |maintainers@forge.provo.nove| |ll.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225639 hare@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|hare@novell.com |htejun@gmail.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225639 htejun@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|htejun@gmail.com |teheo@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225639 teheo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |teheo@novell.com AssignedTo|teheo@novell.com |sbrabec@novell.com ------- Comment #1 from teheo@novell.com 2006-12-18 00:46 MST ------- This is smartmontools problem. Please read the following thread. http://thread.gmane.org/gmane.linux.ide/13222/focus=13222 AFAIK, the patch is in upstream CVS tree. Reassigning to smartmontools maintainer. (Hi!) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=225639#c2
Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=225639#c3
Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=225639#c6
Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=225639#c7
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=225639#c8
Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=225639#c9
--- Comment #9 from Anja Stock
participants (1)
-
bugzilla_noreply@novell.com