[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#536316: linux-image-2.6.26-1-686: Lenny doesn't detect blank media in IDE slave CD-RW



On Thu, 2009-07-09 at 14:24 +1200, Bruce Ward wrote:
> Package: linux-image-2.6.26-1-686
> Version: 2.6.26-13lenny2
> Severity: important
> 
> 
> Machine with 2 CD/DVD writers on IDE channel 2. /dev/hdc is a DVD-RW (DVDRW IDE H16X
> ); /dev/hdd is a CD-RW (PLEXTOR CD-R PX-W2410A). Dual-booting between Etch (update from
> Sarge) and a fresh Lenny install.
> 
> Under Etch, both drives detect a blank CD and the kernel reports
> in /var/log/messages (and to a tty if using one):
> cdrom: This disc doesn't have any tracks I recognize!
> 
> Under Lenny, /dev/hdd fails to produce a kernel message, although the
> drive light indicates that the drive has detected medium. /dev/hdc
> reports in /var/log/messages:
> Samarkand kernel: [  992.907877] cdrom: This disc doesn't have any tracks I recognize!
> Neither drive produces a report to the user's tty. There is no problem with detecting audio or data discs - only blank media.
> 
> This means that the CD-RW is not available to a desktop CD-burner (nautilus-cd-burner) which is a regression from Etch (Linux 2.6.18-6-686 #1).

I have a potential fix for this based on changes made in Linux 2.6.27.
You will first need to install and reboot into linux-image-2.6.26-2-686,
if you haven't done so already.

Download the rebuilt cdrom module is at:
    http://womble.decadent.org.uk/tmp/cdrom.ko
My GPG signatures for this module are in:
    http://womble.decadent.org.uk/tmp/cdrom.ko.asc
The new source code is:
    http://womble.decadent.org.uk/tmp/cdrom.c

You should be able to test this by running (as root):
    rmmod ide-cd-mod cdrom
    insmod cdrom.ko
    modprobe ide-cd

Ben.

-- 
Ben Hutchings
DNRC Motto:  I can please only one person per day.
Today is not your day.  Tomorrow isn't looking good either.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: