PDA

View Full Version : 'bad' DVD won't eject


CiaW
18th March 2010, 02:52 AM
Hi all. I'm not sure what system to file the following for a bugzilla report, so I thought I'd ask here. I suspect udev or hal (is hal still around?), but I'm not positive.

It was an issue I had in F12 also, but now that I'm on F13 alpha it's still an issue. If I insert a DVD into my drive HL-DT-ST DVDRAM GH22NS50, TN01, max UDMA/100 (output from dmesg) that the system isn't able to read OR it's one I burned but for some reason it didn't burn right, it keeps spinning and trying to read it (apparently) and when I try to manually eject it or open a terminal and type 'eject /dev/sr0' it won't open the drive so I can remove the disk. And it fills up /var/log/messages with messages like this:
Mar 17 17:53:53 amdlocal kernel: Buffer I/O error on device sr0, logical block 0
Mar 17 17:54:02 amdlocal kernel: sr 3:0:0:0: [sr0] Unhandled sense code
Mar 17 17:54:02 amdlocal kernel: sr 3:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Mar 17 17:54:02 amdlocal kernel: sr 3:0:0:0: [sr0] Sense Key : Medium Error [current]
Mar 17 17:54:02 amdlocal kernel: sr 3:0:0:0: [sr0] ASC=0x10 <<vendor>> ASCQ=0x90
Mar 17 17:54:02 amdlocal kernel: sr 3:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 02 00
Mar 17 17:54:02 amdlocal kernel: end_request: I/O error, dev sr0, sector 0 over and over and over again. The only way I can think of to stop it and retrieve my disk is with a hard reboot. It's done that with k3b active and I tried killing the k3b process, but it wouldn't die. :eek:

One slight variation I did see before I recently rebooted, was this:
Mar 17 17:54:55 amdlocal udevd[481]: worker [1926] unexpectedly returned with status 0x0100
Mar 17 17:54:55 amdlocal udevd[481]: worker [1926] failed while handling '/devices/pci0000:00/0000:00:08.0/host3/target3:0:0/3:0:0:0/block/sr0' That was 5 seconds before an ntp message logged and the I/O errors started logging again.

I think at some point it should just (figuratively) throw up it's hands and say 'I can't read this disk -- ejecting' or something similar. I searched bugzilla and I saw some similar error message output for bugs against brasero, k3b and gnomebaker I believe. In this most recent case, it was a disk of unknown quality that was supposed to contain a video and it never mounted at all.

So what do I file it under?

madhavdiwan
18th March 2010, 03:54 AM
looks like udev to me

CiaW
19th March 2010, 03:58 AM
Just wanted to update that I filed the bug report: https://bugzilla.redhat.com/show_bug.cgi?id=574990

Valencia - Alem Paraiba - Nanchong Travel Photos on Instagram