[nflug] CD/DVD drives not working in linux

Robert F. Stockdale IV javabob at adelphia.net
Mon Mar 13 16:27:29 EST 2006


Thanks Dave:
	Unfortunately it didn't work. Actually I had it that way before. I emerged lsscsi and it shows:
java bob # lsscsi
[0:0:1:0]    cd/dvd  PIONEER  DVD-ROM DVD-303  1.09  /dev/sr0
[0:0:4:0]    cd/dvd  YAMAHA   CRW-F1S          1.0c  /dev/sr1
[1:0:0:0]    cd/dvd  DVDRW    DRW-3S163        BSG2  /dev/sr2
[2:0:0:0]    disk    SEAGATE  ST336607LW       0006  /dev/sda
[2:0:1:0]    disk    SEAGATE  ST336607LW       0006  /dev/sdb
[2:0:2:0]    disk    SEAGATE  ST336607LW       0006  /dev/sdc

The lsmod command you gave me shows:
java bob # lsmod |grep sr_mod
sr_mod                 15268  3
cdrom                  38560  1 sr_mod


Finally, I ran dmesg and it revealed /dev/sr1 having an ioctl error. In fact the tail on it 
looks like:

sr1: CDROM (ioctl) error, command: <6>cdb[0]=0x0 00 00 00 00 00 00
sr: Current: sense key=0x3
     ASC=0x57 ASCQ=0x0
sr1: CDROM (ioctl) error, command: <6>cdb[0]=0x0 00 00 00 00 00 00
sr: Current: sense key=0x3
     ASC=0x57 ASCQ=0x0
sr0: CDROM not ready.  Make sure there is a disc in the drive.
cdrom: open failed.
cdrom: open failed.
scsi1 (0:0): rejecting I/O to offline device


So it looks like bus A on my Adaptec 2940UW is giving me problems.
Do you have any other ideas?
Bob

David J. Andruczyk wrote:
> Seen that before.  easy fix.
> 
> change the /dev/scdx values to /dev/srx . i.e. /dev/scd0 = /dev/sr0
> make sure the "sr_mod" and "cdrom" modules are loaded in the kernel
> (lsmod |grep sr_mod ),  If they aren't modprobe them, and add them to
> /etc/modules.autoload.d/kernel-2.6 so they get loaded on next boot
> automagically
> 
> I assuming you have udev setup correctly as well, right?,  run "mount"
> and you should see a line like:
> 
> udev on /dev type tmpfs (rw,nosuid)
> 
> 
> 
> --- "Robert F. Stockdale IV" <javabob at adelphia.net> wrote:
> 
> 
>>Hi All:
>>	I have 3 optical drives. An old Pioneer scsi DVD rom. A 2+ year old
>>Yamaha CD-RW and a 1+ year 
>>old DVD+-RW drive. The last 2 are ATAPI with Acard ATAPI-SCSI bridges
>>on them. They all worked 
>>fine back when I was running Suse 9.0. However, I'm running Gentoo
>>for the past year and a half 
>>and I can't seem to access them let a lone burn anything to the
>>writable drives. The system see 
>>them but I can't seem to mount them. The output from  cat
------snip------
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list