Bugzilla – Bug 120053
haldaemon fills logs with ATAPI errors
Last modified: 2005-10-10 11:49:01 UTC
When haldaemon is enabled on my system (/etc/init.d/haldaemon) I get swamped with messages in /var/log/messages and dmesg like: Oct 3 18:32:22 god kernel: ATAPI device hdc: Oct 3 18:32:22 god kernel: Error: Not ready -- (Sense key=0x02) Oct 3 18:32:22 god kernel: Incompatible medium installed -- (asc=0x30, ascq=0x00) Oct 3 18:32:22 god kernel: The failed "Read Cd/Dvd Capacity" packet command was: Oct 3 18:32:22 god kernel: "25 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "Oct 3 18:32:24 god kernel: ATAPI device hdc: Oct 3 18:32:24 god kernel: Error: Not ready -- (Sense key=0x02) Oct 3 18:32:24 god kernel: Incompatible medium installed -- (asc=0x30, ascq=0x00) Oct 3 18:32:24 god kernel: The failed "Read Cd/Dvd Capacity" packet command was: Oct 3 18:32:24 god kernel: "25 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 " It doesn't seem to really affect anything besides filling up logs. Discs are still mounted automatically and everything else works fine but hal is using some command which my drive doesn't like. I'm using a Compaq Presario R4000 latop with the following drive: god:/etc/modprobe.d # hwinfo --cdrom 25: IDE 02.0: 10602 CD-ROM (DVD-R) [Created at block.192] UDI: /org/freedesktop/Hal/devices/storage_serial_854D300078 Unique ID: 90A1.WRIkdyBujM4 Parent ID: Eu86.K_pBSd__yJ1 SysFS ID: /block/hdc SysFS BusID: 1.0 SysFS Device Link: /devices/pci0000:00/0000:00:14.1/ide1/1.0 Hardware Class: cdrom Model: "TSSTcorpCD/DVDW TS-L532M" Vendor: "TSSTcorpCD/DVDW" Device: "TS-L532M" Revision: "HR04" Serial ID: "854D300078" Driver: "ATIIXP_IDE", "ide-cdrom", "ide-cdrom" Device File: /dev/hdc Device Files: /dev/hdc, /dev/dvdrecorder, /dev/cdrom, /dev/dvd, /dev/cdrecorder, /dev/disk/by-id/ata-TSSTcorpCDDVDW_TS-L532M_854D300078, /dev/disk/by-path/pci-0000:00:14.1-ide-1:0 Device Number: block 22:0 Features: CD-R, CD-RW, DVD, DVD-R Size: 0 sectors a 512 bytes Drive status: no medium Config Status: cfg=no, avail=yes, need=no, active=unknown Attached to: #8 (IDE interface) Drive Speed: 24 If I turn off hal I stop getting any messages. Thanks, Dan
I forgot to mention that if there is media in the drive the error messages go away as well. I can provide any additional information as needed. I'm running with 10 GM now. Thanks, Dan
Created attachment 52076 [details] Quiet down known error Some drives generate a bad media warning for the capacity read command if no media is inserted, quiet it down.
Patch committed, will be in the next SL10 update kernel.