Bug 159413 - System freezes when inserting dvd
Summary: System freezes when inserting dvd
Status: RESOLVED DUPLICATE of bug 155014
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Other (show other bugs)
Version: Final
Hardware: x86-64 SuSE Linux 10.0
: P5 - None : Critical
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-19 22:34 UTC by Forgotten User O-K8b4H4Da
Modified: 2006-03-22 11:23 UTC (History)
0 users

See Also:
Found By: System Test
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User O-K8b4H4Da 2006-03-19 22:34:58 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.
Comment 1 Michael Gross 2006-03-20 13:34:29 UTC
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.
Comment 2 Forgotten User O-K8b4H4Da 2006-03-20 17:51:02 UTC
I know it is Ahead problem, but at least linux should handle such broken media in a better way, not by freezing entire system.
Comment 3 Michael Gross 2006-03-21 15:29:22 UTC
Can you tell specifics about the problem? What exactly is corrupted on this CD? Are there more kernel messages before the actual crash?
Comment 4 Forgotten User O-K8b4H4Da 2006-03-21 18:39:53 UTC
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).
Comment 5 Michael Gross 2006-03-22 11:23:10 UTC
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 ***