[nflug] CD/DVD drives not working in linux
David J. Andruczyk
djandruczyk at yahoo.com
Mon Mar 13 08:10:10 EST 2006
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
> /proc/scsi/scsi is:
>
> Attached devices:
> Host: scsi0 Channel: 00 Id: 01 Lun: 00
> Vendor: PIONEER Model: DVD-ROM DVD-303 Rev: 1.09
> Type: CD-ROM ANSI SCSI revision: 02
> Host: scsi0 Channel: 00 Id: 04 Lun: 00
> Vendor: YAMAHA Model: CRW-F1S Rev: 1.0c
> Type: CD-ROM ANSI SCSI revision: 02
> Host: scsi1 Channel: 00 Id: 00 Lun: 00
> Vendor: DVD RW Model: DRW-3S163 Rev: BSG2
> Type: CD-ROM ANSI SCSI revision: 02
> Host: scsi2 Channel: 00 Id: 00 Lun: 00
> Vendor: SEAGATE Model: ST336607LW Rev: 0006
> Type: Direct-Access ANSI SCSI revision: 03
> Host: scsi2 Channel: 00 Id: 01 Lun: 00
> Vendor: SEAGATE Model: ST336607LW Rev: 0006
> Type: Direct-Access ANSI SCSI revision: 03
> Host: scsi2 Channel: 00 Id: 02 Lun: 00
> Vendor: SEAGATE Model: ST336607LW Rev: 0006
> Type: Direct-Access ANSI SCSI revision: 03
> My
>
> My fstab looks like:
>
> java etc # cat /etc/fstab
> # This file is edited by fstab-sync - see 'man fstab-sync' for
> details
> # /etc/fstab: static file system information.
> # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14
> 2003/10/13 20:03:38 azarah Exp $
> #
> # noatime turns off atimes for increased performance (atimes normally
> aren't
> # needed; notail increases performance of ReiserFS (at the expense of
> storage
> # efficiency). It's safe to drop the noatime options if you want and
> to
> # switch between notail and tail freely.
>
> # <fs> <mountpoint> <type> <opts>
> <dump/pass>
>
> # NOTE: If your BOOT partition is ReiserFS, add the notail option to
> opts.
> /dev/sda1 /boot ext2
> noauto,noatime 1 1
> /dev/sda2 / reiserfs noatime
> 0 0
> /dev/sda3 none swap sw
> 0 0
> /dev/sdb2 none swap sw
> 0 0
> /dev/sda5 /usr reiserfs
> defaults,noatime 0 0
> /dev/sda6 /opt reiserfs
> defaults,noatime 0 0
> /dev/sdb1 /home reiserfs
> defaults,noatime 0 0
> /dev/sdb3 /var reiserfs
> defaults,noatime 0 0
> /dev/scd0 /mnt/dvd iso9660
> noauto,users,ro 0 0
> /dev/scd1 /mnt/cdrom iso9660
> noauto,users,rw 0 0
> /dev/scd2 /mnt/dvdrw iso9660
> noauto,users,rw 0 0
> /dev/fd0 /mnt/floppy auto
> noauto,users,rw 0 0
> none /proc/bus/usb usbdevfs defaults
> 0 0
>
>
> /dev/mp3 /mnt/mp3 auto
> noauto,users,rw 0 0
>
> 172.16.12.1:/multimedia/music /mnt/multimedia/music nfs
> auto,users,rw 0 0
> 172.16.12.1:/multimedia/video /mnt/multimedia/video nfs
> auto,users,rw 0 0
> 172.16.12.1:/multimedia/other /mnt/multimedia/other nfs
> auto,users,rw 0 0
>
> # NOTE: The next line is critical for boot!
> none /proc proc defaults
> 0 0
>
> # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
> # POSIX shared memory (shm_open, shm_unlink).
> # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
> # use almost no memory if not populated with files)
> # Adding the following line to /etc/fstab should take care of this:
>
> none /dev/shm tmpfs defaults
> 0 0
>
>
> Does anyone have any ideas?
> Bob
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
>
Dave J. Andruczyk
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug
More information about the nflug
mailing list