Click to See Complete Forum and Search --> : can't mount cdr - I searched & searched
rickenbacherus
02-23-2003, 07:33 PM
Here's what happens when I try to mount my cd burner:
bash-2.05b# mount /dev/cdwriter
mount: /dev/cdwriter is not a valid block device
Here are the relevant lines from dmesg:
hdb: CD-RW CRX100E, ATAPI CD/DVD-ROM drive<-here it lists both of my cd drives. That seems strange to me but maybe not.
hdb: ATAPI 24X CD-ROM CD-R/RW drive, 1024kB Cache, DMA
scsi1 : SCSI host adapter emulation for IDE ATAPI devices<-this means that SCSI emulation is installed yes??
Here are the results of cdrecord -scanbus
bash-2.05b# cdrecord -scanbus
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) *
0,1,0 1) 'HP ' '9.10GB B 68-5541' '5541' Disk
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *<-shouldn't my cdburner show up in here somewhere??
Here is a line from my fstab:
/dev/cdwriter /mnt/cdwriter iso 9660 defaults,noauto,ro,user 0 0
Here's another something that I checked (but I couldn't tell you what it is).
bash-2.05b# ls -l /dev/cdwriter
lrwxrwxrwx 1 root root 4 Feb 20 12:57 /dev/cdwriter -> scd0
It appears that my cdburner has a SCSI i.d. of 0. Is that right?
If anyone can decipher some of this for me I'd appreciate it. I'm off to look for more info. I can post more if necessary. THANKS!! (again) :)
cnjohnson
02-23-2003, 07:39 PM
Originally posted by rickenbacherus
Here's what happens when I try to mount my cd burner:
bash-2.05b# mount /dev/cdwriter
mount: /dev/cdwriter is not a valid block device
Here is a line from my fstab:
/dev/cdwriter /mnt/cdwriter iso 9660 defaults,noauto,ro,user 0 0
If anyone can decipher some of this for me I'd appreciate it. I'm off to look for more info. I can post more if necessary. THANKS!! (again) :)
Did you try
mount /dev/cdwriter /mnt/cdwriter
Cheers--
Charles
rickenbacherus
02-23-2003, 07:44 PM
bash-2.05b# mount /dev/cdwriter /mnt/cdwriter
mount: /dev/cdwriter is not a valid block device
lazarus777
02-23-2003, 07:55 PM
search here or G4L for 'valid block device'. Most likely your kernel doesn't recognize it or your symlink is wrong. My cdr is /dev/sr0; you may want to try reassigning your link. Your cd burner should be 0,0,0
rickenbacherus
02-23-2003, 09:36 PM
After reading ALOT of posts I tried this:
bash-2.05b# lsmod
Module Size Used by Not tainted
usb-ohci 18216 0 (unused)
usbcore 57440 1 [usb-ohci]
eepro100 19124 1
mii 2256 0 [eepro100]
I don't see any mention of scsi emulation. I should shouldn't I?
dmesg says scsi1 : SCSI host adapter emulation for IDE ATAPI device
I interpret this to mean that scsi emulation IS installed but apparently only for the host adapter and yet my scsi controller is not an ide atapi device. I don't know how to interpret this. Does anyone else? :confused:
The searches I've done tell me dozens of things to type at the command line, some return info (sometimes it means something to me sometimes not) and some commands just leave me with a blinking cursor. I know that different distros have lots of things that aren't the same so I try to keep notes of what commands work and what ones don't.
A search for "valid block device" returns thousands of results. Many of them saying the same thing "Do a search for 'valid block device" Thanks for the advice lazarus but I already did that. That's where I learned what I originally posted.
Here's an example: at the command line I type:
ls -l /dev/cdwriter
and the results I get are:
lrwxrwxrwx 1 root root 4 Feb 20 12:57 /dev/cdwriter -> scd0
I got that command from a search although I never learned what it means. So.............................what does it mean? I'm thinking that my cdr is represented as scd0. yes? no? anybody???
My best guess is that I do NOT have scsi emulation installed. I've done searches on JL & G4L for "modules" & " modules install" but just get alot of seemingly unrelated nonsense, columns relating to older kernels and "how I did it back in 1999" stories. If someone could point me to someplace that would tell me how to install a module (and where to get one) it would be a big help. If I'm barking up the wrong tree then could someone say so? I'll read it all eventually but if the best advice is "do a search" then thanks anyway, don't waste your time because I already have and will continue to do so. Maybe I'm a jerk but I'm not stupid and I don't expect to just show up here, ask questions that have been answered repeatedly and get responses. I always search for answers on my own and I try to return the favor and help anyone else that I can (although my knowledge is limited). I'm not a freeloader so please don't presume me to be. Sorry if I sound disgruntled, maybe I ought to hang it up for a day. To those of you who have assisted people like me- THANK YOU sincerely.
doublec16
02-24-2003, 01:56 PM
Are you using lilo or grub for your bootloader? I have just installed a cd writer and I had to modify that to get scsi emulation to work. If grub, you should have a line like
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ hdc=ide-scsi
in your grub.conf where I have bolded what I had to add to get my cd writer (which is the secondary master drive) to be emulated as a scsi drive. On my system this makes it /dev/scd0, and instead of having any /dev/cdwriter symbolic link, I have the following line in my /etc/fstab:
/dev/scd0 /mnt/cdrw iso9660 defaults,noauto,ro,user 0 0
If you run lilo, in your lilo.conf you should have a line like
append = " hdc=ide-scsi"
(note the space) above where all your kernel stuff goes.
I'm still just learning this stuff myself. For instance, I am about to start a new thread about playing DVDs with mplayer on a drive which is emulated as a SCSI drive because I can't get it to work.
If you have a second CD or DVD drive you should emulate it as SCSI as well so that you can read from CDs with the CD writing software. All you would do if the second drive is the secondary slave is add the same stuff with "hdd" in place of "hdc" and "scd1" in place of "scd0", but you should probably figure out how to mount your CD writer properly first.
Anyway, check what it says in your grub.conf or lilo.conf file and post again if you're not sure what to do.