When inserting a specific cd, a WALMART image cd in this case, Ubuntu 9.10 completely locks up. I can replicate the lockup 100% of the time by inserting this specific cd. All other DVD's and CD's lying around do not crash the system upon inserting.
Update 2010-03-17: Ubuntu updates today included
libaudiofile0, libpng12-0, linux-headers-2.6.31-20, linux-headers-2.6.31-20-generic, linux-image-2.6.31-20-generic, and linux-libc-dev. No improvements were made for the sake of weird cd's crashing behaviors, as rebooting with the new kernel image exhibited the same behavior inserting this Walmart image cd.
Information about the cdrom:
$ cat /proc/sys/dev/cdrom/info
CD-ROM information, Id: cdrom.c 3.20 2003/12/17
drive name: sr0
drive speed: 40
drive # of slots: 1
Can close tray: 1
Can open tray: 1
Can lock tray: 1
Can change speed: 1
Can select disk: 0
Can read multisession: 1
Can read MCN: 1
Reports media changed: 1
Can play audio: 1
Can write CD-R: 1
Can write CD-RW: 1
Can read DVD: 1
Can write DVD-R: 1
Can write DVD-RAM: 0
Can read MRW: 1
Can write MRW: 1
Can write RAM: 1
$ sudo su
$ echo 1 > /proc/sys/dev/cdrom/debug
$ echo 1 > /proc/sys/dev/cdrom/check_media
$ tail -f /var/log/messages
I get a looped output of the following before inserting Walmart cd:
cdrom: Use count for "/dev/sr0" now zerocdrom: sr0: No DVD_RWcdrom: Unlocking door!
After inserting the Walmart CD, the log output is as follows:
cdrom: entering cdrom_opencdrom: Use count for "/dev/sr0" now 1cdrom: entering cdrom_opencdrom: entering open_for_datacdrom: drive_status=4cdrom: entering cdrom_count_trackscdrom: track 1: format=2, ctrl=4cdrom: disc has 1 tracks: 0=audio 1=data 0=Cd-I 0=XAcdrom: all seems well, opening the device.cdrom: opening the device gave me 0.cdrom: door locked.cdrom: device opened successfully.cdrom: door unlocked.cdrom: entering cdrom_opencdrom: entering open_for_data
This is the last of the output before system would freeze.
Comments
Going with Mac
I will be straight up with my opinion here: Because Linux appears to have no standard of development, it is becoming a nightmare to fix. The Macs running BSD are bulletproof!
Linux use to be this, but Ubuntu is tainting the Linux name!
My 2 cents
J