[Bug 251127] New: extremely noisy CD/DVD with libata
https://bugzilla.novell.com/show_bug.cgi?id=251127 Summary: extremely noisy CD/DVD with libata Product: openSUSE 10.2 Version: Final Platform: i686 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: sbrabec@novell.com QAContact: qa@suse.de I have a two ATA DVD + CD drives and use libata. Empty CD/DVD drive permanently fills syslog with these messages: Mar 4 20:56:57 utx kernel: sr0: CDROM (ioctl) error, command: <6>Test Unit Ready 00 00 00 00 00 00 Mar 4 20:56:57 utx kernel: sr: Current [descriptor]: sense key: Aborted Command Mar 4 20:56:57 utx kernel: Additional sense: No additional sense information Mar 4 20:56:58 utx kernel: ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 Mar 4 20:56:58 utx kernel: ata2.01: cmd a0/00:00:00:00:20/00:00:00:00:00/b0 tag 0 cdb 0x0 data 0 in Mar 4 20:56:58 utx kernel: res 51/20:03:00:00:20/00:00:00:00:00/b0 Emask 0x1 (device error) Mar 4 20:56:58 utx kernel: ata2: EH complete Mar 4 20:56:58 utx kernel: ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 Mar 4 20:56:58 utx kernel: ata2.01: cmd a0/00:00:00:00:20/00:00:00:00:00/b0 tag 0 cdb 0x0 data 0 in Mar 4 20:56:58 utx kernel: res 51/20:03:00:00:20/00:00:00:00:00/b0 Emask 0x1 (device error) Mar 4 20:56:58 utx kernel: ata2: EH complete Mar 4 20:56:58 utx kernel: ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 Mar 4 20:56:58 utx kernel: ata2.01: cmd a0/00:00:00:00:20/00:00:00:00:00/b0 tag 0 cdb 0x0 data 0 in Mar 4 20:56:58 utx kernel: res 51/20:03:00:00:20/00:00:00:00:00/b0 Emask 0x1 (device error) Mar 4 20:56:58 utx kernel: ata2: EH complete Mar 4 20:56:58 utx kernel: ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 Mar 4 20:56:58 utx kernel: ata2.01: cmd a0/00:00:00:00:20/00:00:00:00:00/b0 tag 0 cdb 0x0 data 0 in Mar 4 20:56:58 utx kernel: res 51/20:03:00:00:20/00:00:00:00:00/b0 Emask 0x1 (device error) Mar 4 20:56:58 utx kernel: ata2: EH complete Mar 4 20:56:58 utx kernel: ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 Mar 4 20:56:58 utx kernel: ata2.01: cmd a0/00:00:00:00:20/00:00:00:00:00/b0 tag 0 cdb 0x0 data 0 in Mar 4 20:56:58 utx kernel: res 51/20:03:00:00:20/00:00:00:00:00/b0 Emask 0x1 (device error) Mar 4 20:56:58 utx kernel: ata2: EH complete Mar 4 20:56:58 utx kernel: ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 Mar 4 20:56:58 utx kernel: ata2.01: cmd a0/00:00:00:00:20/00:00:00:00:00/b0 tag 0 cdb 0x0 data 0 in Mar 4 20:56:58 utx kernel: res 51/20:03:00:00:20/00:00:00:00:00/b0 Emask 0x1 (device error) Mar 4 20:56:59 utx kernel: ata2: EH complete Mar 4 20:56:59 utx kernel: ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 Mar 4 20:56:59 utx kernel: ata2.01: cmd a0/00:00:00:00:20/00:00:00:00:00/b0 tag 0 cdb 0x0 data 0 in Mar 4 20:56:59 utx kernel: res 51/20:03:00:00:20/00:00:00:00:00/b0 Emask 0x1 (device error) Mar 4 20:56:59 utx kernel: ata2: EH complete Mar 4 20:56:59 utx kernel: ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 Mar 4 20:56:59 utx kernel: ata2.01: cmd a0/00:00:00:00:20/00:00:00:00:00/b0 tag 0 cdb 0x0 data 0 in Mar 4 20:56:59 utx kernel: res 51/20:03:00:00:20/00:00:00:00:00/b0 Emask 0x1 (device error) Mar 4 20:56:59 utx kernel: ata2: EH complete Mar 4 20:56:59 utx kernel: sr1: CDROM (ioctl) error, command: <6>Test Unit Ready 00 00 00 00 00 00 Mar 4 20:56:59 utx kernel: sr: Current [descriptor]: sense key: Aborted Command Mar 4 20:56:59 utx kernel: Additional sense: No additional sense information Mar 4 20:56:59 utx kernel: ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 Mar 4 20:56:59 utx kernel: ata2.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0 in Mar 4 20:56:59 utx kernel: res 51/24:03:00:00:20/00:00:00:00:00/a0 Emask 0x1 (device error) Mar 4 20:56:59 utx kernel: ata2: EH complete Mar 4 20:56:59 utx kernel: ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 Mar 4 20:56:59 utx kernel: ata2.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0 in Mar 4 20:56:59 utx kernel: res 51/24:03:00:00:20/00:00:00:00:00/a0 Emask 0x1 (device error) Mar 4 20:57:00 utx kernel: ata2: EH complete Mar 4 20:57:00 utx kernel: ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 Mar 4 20:57:00 utx kernel: ata2.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0 in Mar 4 20:57:00 utx kernel: res 51/24:03:00:00:20/00:00:00:00:00/a0 Emask 0x1 (device error) Mar 4 20:57:00 utx kernel: ata2: EH complete Mar 4 20:57:00 utx kernel: ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 Mar 4 20:57:00 utx kernel: ata2.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0 in Mar 4 20:57:00 utx kernel: res 51/24:03:00:00:20/00:00:00:00:00/a0 Emask 0x1 (device error) Mar 4 20:57:00 utx kernel: ata2: EH complete Mar 4 20:57:00 utx kernel: ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 Mar 4 20:57:00 utx kernel: ata2.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0 in Mar 4 20:57:00 utx kernel: res 51/24:03:00:00:20/00:00:00:00:00/a0 Emask 0x1 (device error) Mar 4 20:57:00 utx kernel: ata2: EH complete Mar 4 20:57:00 utx kernel: ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 Mar 4 20:57:00 utx kernel: ata2.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0 in Mar 4 20:57:00 utx kernel: res 51/24:03:00:00:20/00:00:00:00:00/a0 Emask 0x1 (device error) Mar 4 20:57:00 utx kernel: ata2: EH complete Mar 4 20:57:00 utx kernel: ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 Mar 4 20:57:00 utx kernel: ata2.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0 in Mar 4 20:57:00 utx kernel: res 51/24:03:00:00:20/00:00:00:00:00/a0 Emask 0x1 (device error) Mar 4 20:57:00 utx kernel: ata2: EH complete Mar 4 20:57:00 utx kernel: ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 Mar 4 20:57:00 utx kernel: ata2.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0 in Mar 4 20:57:00 utx kernel: res 51/24:03:00:00:20/00:00:00:00:00/a0 Emask 0x1 (device error) Mar 4 20:57:01 utx kernel: ata2: EH complete Work-around: Insert any medium to each CD/DVD drive. Syslog eats more than 100MB of disc space daily. Note: This is the machine, where bug 232086 occurs. -- 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=251127 lmb@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel- |teheo@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=251127 teheo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- 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=251127 teheo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |sbrabec@novell.com ------- Comment #1 from teheo@novell.com 2007-03-12 04:53 MST ------- Your drive is failing REQUEST SENSE after completing TEST UNIT READY with CHECK CONDITION. What should happen is for the ODD to report to libata that TUR failed because media is not present, which libata will relay to SCSI; then, SCSI to HAL. Can you post the result of "hdparm -I /dev/sr0"? Is it a really old one? Thanks. -- 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=251127 sbrabec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|sbrabec@novell.com | ------- Comment #2 from sbrabec@novell.com 2007-03-13 05:43 MST ------- /dev/sr0 is DVD±RW/RAM LG GSA-4160B, manufactured 2004, latest firmware, unofficial region-free patch. /dev/sr1 is Teac CD-RW/MRW CD-W540E, manufactured 2002, latest firmware. utx:~ # hdparm /dev/sr0 /dev/sr0: HDIO_GET_32BIT failed: Function not implemented HDIO_GET_UNMASKINTR failed: Function not implemented HDIO_GET_DMA failed: Function not implemented HDIO_GET_KEEPSETTINGS failed: Function not implemented readonly = 0 (off) readahead = 256 (on) HDIO_GETGEO failed: Inappropriate ioctl for device utx:~ # hdparm -I /dev/sr0 /dev/sr0: HDIO_DRIVE_CMD(identify) failed: Function not implemented utx:~ # sdparm -i /dev/sr0 /dev/sr0: HL-DT-ST DVDRAM GSA-4160B A306 [cd/dvd] INQUIRY fetching VPD page=0x83 failed utx:~ # hdparm /dev/sr1 /dev/sr1: HDIO_GET_32BIT failed: Function not implemented HDIO_GET_UNMASKINTR failed: Function not implemented HDIO_GET_DMA failed: Function not implemented HDIO_GET_KEEPSETTINGS failed: Function not implemented readonly = 0 (off) readahead = 256 (on) HDIO_GETGEO failed: Inappropriate ioctl for device utx:~ # hdparm -I /dev/sr1 /dev/sr1: HDIO_DRIVE_CMD(identify) failed: Function not implemented utx:~ # sdparm -i /dev/sr1 /dev/sr1: TEAC CD-W540E 1.0K [cd/dvd] malformed VPD response, VPD pages probably not supported When I will have a physical access to this machine, I can reboot to the pata driver and check it again. -- 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=251127 ------- Comment #3 from teheo@novell.com 2007-03-13 07:17 MST ------- Ah... right, libata needs some fixing before supporting hdparm -I on ATAPI devices. Sorry about that. The device IDs you posted are enough for now. The ODDs aren't that ancient. Please apply the attached patch over KOTD and report what the kernel says. ftp://ftp.suse.com/pub/projects/kernel/kotd/10.2-x86_64/SL102_BRANCH/kernel-source.src.rpm -- 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=251127 ------- Comment #4 from teheo@novell.com 2007-03-13 07:18 MST ------- Created an attachment (id=124044) --> (https://bugzilla.novell.com/attachment.cgi?id=124044&action=view) debug-sense.patch -- 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=251127 teheo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |sbrabec@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=251127 ------- Comment #5 from teheo@novell.com 2007-03-13 07:19 MST ------- Oops wrong link. The correct link for KOTD source is ftp://ftp.suse.com/pub/projects/kernel/kotd/10.2-x86_64/SL102_BRANCH/kernel-source.x86_64.rpm -- 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=251127 ------- Comment #6 from teheo@novell.com 2007-03-21 23:57 MST ------- PING. -- 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=251127#c7
Andreas Jaeger
participants (1)
-
bugzilla_noreply@novell.com