I cannot use my combination cdrom/cdrw drive. I'm using Slack 10 with the 2.4.26 kernel. I have an append line in lilo.conf that says "hdc=ide-scsi" I seem to be lacking block devices, proper mount points and a good line in fstab.
I have tried all of the following lines in my /etc/fstab (at different times):
/dev/scd0 /mnt/cdrom iso9660 auto,users,exec,suid 0 0
/dev/cdrom /mnt/cdrom iso9660 auto,users,exec,suid 0 0
/dev/sr0 /mnt/cdrom iso9660 auto,users,exec,suid 0 0
/dev/hdc /mnt/cdrom iso9660 auto,users,exec,suid 0 0
I was using the /dev/sr0 line and it was almost OK. It let me see and work with a mounted disk, but wouldn't let me unmount it. Kept saying /mnt cdrom was not mounted. Then, I read Patrick's advice in the message to /root where he talks about doing
cd /dev
rm cdrom
ln -sf scd0 cdrom
Did that. Now I can't even mount anything! If I open the cdrom drive by clicking the cdrom icon on the KDE desktop, it says "/dev/scd0 is not a valid block device." Then, I can't eject the disk because it won't let me unmount the device, It says "/mnt/cdrom not mounted" I have to reboot the computer to eject the disk.
lsmod shows:
root@localhost:/home/tigerflag# lsmod
Module Size Used by Not tainted
ppp_deflate 3256 0 (autoclean)
zlib_deflate 18328 0 (autoclean) [ppp_deflate]
bsd_comp 4344 0 (autoclean)
ppp_async 7392 1 (autoclean)
ppp_generic 19492 3 (autoclean) [ppp_deflate bsd_comp ppp_async]
slhc 4976 1 (autoclean) [ppp_generic]
snd-pcm-oss 37736 0 (unused)
snd-mixer-oss 12504 0 [snd-pcm-oss]
ipt_state 504 18 (autoclean)
ipt_REJECT 3160 4 (autoclean)
ipt_limit 856 6 (autoclean)
ipt_LOG 3416 6 (autoclean)
ip_conntrack_ftp 3888 0 (unused)
ip_conntrack 19236 1 [ipt_state ip_conntrack_ftp]
iptable_filter 1644 1 (autoclean)
ip_tables 12416 5 [ipt_state ipt_REJECT ipt_limit ipt_LOG iptab le_filter]
snd-cmipci 16964 0
gameport 1420 0 [snd-cmipci]
snd-pcm 56072 0 [snd-pcm-oss snd-cmipci]
snd-page-alloc 6328 0 [snd-pcm]
snd-opl3-lib 5892 0 [snd-cmipci]
snd-hwdep 4804 0 [snd-opl3-lib]
snd-timer 13604 0 [snd-pcm snd-opl3-lib]
snd-mpu401-uart 3200 0 [snd-cmipci]
snd-rawmidi 12740 0 [snd-mpu401-uart]
snd-seq-device 3888 0 [snd-opl3-lib snd-rawmidi]
snd 30852 0 [snd-pcm-oss snd-mixer-oss snd-cmipci snd-pcm snd-opl3-lib snd-hwdep snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3396 4 [snd]
uhci 24444 0 (unused)
ehci-hcd 17580 0 (unused)
usbcore 59308 1 [uhci ehci-hcd]
nls_cp850 3580 1 (autoclean)
I tried "cdrecord -scanbus" as root and got an error with a hint to try "cdrecord dev=help":
root@localhost:~# cdrecord -scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
root@localhost:~#
root@localhost:~# cdrecord dev=help
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Supported SCSI transports for this platform:
Transport name: sg
Transport descr.: Generic transport independent SCSI
Transp. layer ind.:
Target specifier: bus,target,lun
Target example: 1,2,0
SCSI Bus scanning: supported
Open via UNIX device: not supported
Transport name: pg
Transport descr.: SCSI transport for ATAPI over Parallel Port
Transp. layer ind.:
Target specifier: bus,target,lun
Target example: 1,2,0
SCSI Bus scanning: supported
Open via UNIX device: not supported
Transport name: ATA
Transport descr.: ATA Packet specific SCSI transport
Transp. layer ind.: ATAPI:
Target specifier: bus,target,lun
Target example: ATAPI:1,2,0
SCSI Bus scanning: supported
Open via UNIX device: not supported
Transport name: RSCSI
Transport descr.: Remote SCSI
Transp. layer ind.: REMOTE:
Target specifier: rscsi@host:bus,target,lun
Target example: REMOTE:rscsi@host:1,2,0
SCSI Bus scanning: supported
Open via UNIX device: not supported
I have no idea what most of this means.
I've RTFM'ed for 16 hours straight on this, read the man pages for mount and fstab repeatedly, googled, read my Linux and UNIX books, searched these forums (This came close:
http://www.linuxquestions.org/questi...evFcdrom+mount), and now I'm feeling more confused and stupid than ever. The fixes are always so simple when I find them, but I feel like a monkey forever hammering on a typewriter, hoping to come up with Hamlet. I need some advice, hopefully with examples, of how to get /fstab properly configured, and looking at the correct entries in /dev and /mount. Any help is GREATLY appreciated.
Siri Amrit