Bugzilla – Bug 159413
System freezes when inserting dvd
Last modified: 2006-03-22 11:23:10 UTC
Recently I've burned a dvd in windows with nero (multisession, 2 sessions) and when I insert it into drive, it is not automounted. Dmesg: Mar 19 14:08:45 linux kernel: hda: media error (bad sector): status=0x51 { DriveReady SeekComplete Error } Mar 19 14:08:45 linux kernel: hda: media error (bad sector): error=0x34 { AbortedCommand LastFailedSense=0x03 } Mar 19 14:08:45 linux kernel: ide: failed opcode was: unknown Mar 19 14:08:45 linux kernel: end_request: I/O error, dev hda, sector 64 Mar 19 14:08:45 linux kernel: Buffer I/O error on device hda, logical block 8 It works in windows. If I mount it manually, everithyng is ok, until I list content, by issuing ls or entering /media/dvdrecorder in konqueror. Content is displayed, but then whole sistem freezes. This is not first time, I have more such linux-crash dvds. It seems nero nero is doing something wrong, but system shouldn't freeze because of that. DVD is readable from windows running in a vmware virtual machine on linux. If you need more info, please ask.
Sorry but broken media by a faulty recorder-software is not our concern. If this also happens when writing the CD with `cdrecord' and the drive is in working order(!), you can reopen this bug. For problems with Nero, report to Ahead.
I know it is Ahead problem, but at least linux should handle such broken media in a better way, not by freezing entire system.
Can you tell specifics about the problem? What exactly is corrupted on this CD? Are there more kernel messages before the actual crash?
Digging more, I found out it Is a Yast (CD-rom module) issue. Scenario: Few months ago I changed my dvd recorder (from liteon to nec), and in /etc/udev/rules.d/55-cdrom.rules were 2 entries instead one: # cdrom links generated by YaST2 # SUBSYSTEM=="block", ENV{ID_PATH}=="pci-0000:00:08.0-ide-0:0", SYSFS{removable}=="1", SYMLINK+="dvdram cdrom dvd cdrecorder" SUBSYSTEM=="block", ENV{ID_PATH}=="pci-0000:00:08.0-ide-0:0", SYSFS{removable}=="1", SYMLINK+="dvdrecorder cdrom dvd cdrecorder" So I removed 2nd entry and now the freezing problem on such media went away. But still it is not automounted. Browsing this media, prints such entries in dmesg: Mar 21 19:25:21 linux kernel: ISO 9660 Extensions: Microsoft Joliet Level 3 Mar 21 19:25:21 linux kernel: ISOFS: changing to secondary root Mar 21 19:25:21 linux udevd[2773]: get_netlink_msg: no ACTION in payload found, skip event 'mount' Mar 21 19:25:24 linux udevd[2773]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Everything is readable (I copied every file to hd without problems), no file is corrupted, dmesg posted previously is printed when I insert this media into dvdrom (Maybe TOC is incorrectly generated?). I can provide you more info (maybe an extract from this media), just tell me what to do. Uploading whole media is not an option due to dial-up. Aditional info on YaST CD-rom module: YaST is still confused about my cd/dvd configuration, it shows 3 entries; 2 NEC dvdrecorders and 1 Liteon (however this hardware doesn't exist anymore on this PC).
Please notice bug #155014 It was closed as WONTFIX by Thomas Fehr and the general issue is known. I will mark this one as duplicate. If you want, reopen 155014. *** This bug has been marked as a duplicate of 155014 ***