You are not logged in.

#1 2010-04-15 15:33:26

bzipitidoo
Member
Registered: 2010-01-29
Posts: 33

mount fails on full sized CD-R, works on mini CD-R, CD-RW, DVD

Last night I ran into a curious problem.  Arch Linux will not mount a CD-R, but a mini CD-R, CD-RW, stamped CD, or DVD-R all work!  Only full sized CD-Rs cause problems.  Doesn't matter how little data is on a particular CD-R.  (I was thinking that since a mini CD-R works, I'd try a full sized CD-R with less data than a mini CD-R can hold.)  This happened on 2 rather different PCs: a Core 2 Quad with a DVD+/-RW and the x86_64 distro, and an old Pentium 4 with only a CDROM and the i686 distro.  I keep the newer machine more up to date, so it has kernel version 2.6.33.2, while the Pentium 4 was running 2.6.32.8.  I checked with Puppy Linux 4.30 (kernel version 2.6.30.5), and had no problem mounting CD-Rs or any other optical media.

The 64bit system simply hangs-- mouse pointer freezes, can't break out of X with keyboard, can't even ping the system.  The mount command gives no messages and never returns.  No messages in the logs after a hard reset.

The 32bit system generates something, and it doesn't hang.  It just doesn't work on CD-Rs.  The mount command segfaults when I try to mount a CD-R.  In /var/log/messages.log, I see this:

Apr 15 03:30:03 calcite kernel: sr 1:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
Apr 15 03:30:03 calcite kernel: sr 1:0:0:0: [sr0] Sense Key : 0x5 [current]
Apr 15 03:30:03 calcite kernel: sr 1:0:0:0: [sr0] ASC=0x64 ASCQ=0x0
Apr 15 03:30:03 calcite kernel: sr 1:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 00 00 16 00 00 02 00
Apr 15 03:30:03 calcite kernel: __ratelimit: 1 callbacks suppressed

Optical media other than a full sized CD-R produces something like these messages:

Apr 15 03:25:42 calcite hald: mounted /dev/sr0 on behalf of uid 1000
Apr 15 03:26:04 calcite hald: unmounted /dev/sr0 from '/media/Ubuntu 5.10 i386' on behalf of uid 1000
Apr 15 03:27:56 calcite hald: mounted /dev/sr0 on behalf of uid 1000
Apr 15 03:28:20 calcite hald: unmounted /dev/sr0 from '/media/CDROM' on behalf of uid 1000

Last edited by bzipitidoo (2010-04-15 21:36:42)

Offline

Board footer

Powered by FluxBB