View previous topic :: View next topic |
Author |
Message |
j7899 n00b
Joined: 16 May 2002 Posts: 30
|
Posted: Sun May 19, 2002 12:10 pm Post subject: CDR-W Troubles |
|
|
I cant get my CDR-W drive to mount. In Grub I have hdc=ide-scsi and am loading the modules. cdrecord -scanbus returns:
scsibus0:
0,0,0 0) 'SONY ' 'CD-RW CRX160E ' '1.0e' Removable CD-ROM
I even created /dev/sr0 and linked /dev/cdrw to it. The problem is when I try to mount I get an error saying not a valid block device. I tried linking /dev/sr0 to something like /dev/scsi/host0/bus0/target0/lun0 but that didn't work I also tried linking to /dev/ide/host0/bus1/target1/lun0 with no luck. Any advice? |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Sun May 19, 2002 7:09 pm Post subject: |
|
|
Does dmesg return anything pertinent? Also, are you getting any error messages in your logs?
Generally, these types of problems are due to a kernel config error, so you might double-check your config to make sure all the right things are compiled. Also, I'm assuming you tried the '-t iso9660' option to the mount command, right?
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
BillyD Guru
Joined: 05 May 2002 Posts: 323 Location: Australia
|
Posted: Sun May 19, 2002 8:03 pm Post subject: |
|
|
Do you have it defined in your fstab? |
|
Back to top |
|
|
j7899 n00b
Joined: 16 May 2002 Posts: 30
|
Posted: Sun May 19, 2002 10:57 pm Post subject: |
|
|
No errors, it is just that sr0 doesn't point to anything, ie, cdrom0 points to /dev/ide/etc...... and sr0 doesn't. sg0 does point to generic scsi support, but it wont work
It is somewhat defined in fstab right now, I need to figure out setting it up and linking it first before I am worried about fstab, it basically looks as so:
/dev/sro /mnt/cdrecorder is09660 user,noauto,rw 0 0 |
|
Back to top |
|
|
BillyD Guru
Joined: 05 May 2002 Posts: 323 Location: Australia
|
Posted: Sun May 19, 2002 11:44 pm Post subject: |
|
|
How about your /etc/devfsd.conf file? You may have already done it, however there are some lines in there you may need to uncomment...take a look. Sorry if these suggestions aren't helping - just things that are popping into my head that may have something to do with it. |
|
Back to top |
|
|
j7899 n00b
Joined: 16 May 2002 Posts: 30
|
Posted: Sun May 19, 2002 11:46 pm Post subject: |
|
|
Yeah I uncommented those lines and it created the devices, but they aren't linked to anything. |
|
Back to top |
|
|
jay l33t
Joined: 08 May 2002 Posts: 980
|
Posted: Tue May 28, 2002 1:40 pm Post subject: Re: CDR-W Troubles |
|
|
j7899 wrote: | I cant get my CDR-W drive to mount. In Grub I have hdc=ide-scsi and am loading the modules. cdrecord -scanbus returns:
scsibus0:
0,0,0 0) 'SONY ' 'CD-RW CRX160E ' '1.0e' Removable CD-ROM
I even created /dev/sr0 and linked /dev/cdrw to it. The problem is when I try to mount I get an error saying not a valid block device. I tried linking /dev/sr0 to something like /dev/scsi/host0/bus0/target0/lun0 but that didn't work I also tried linking to /dev/ide/host0/bus1/target1/lun0 with no luck. Any advice? |
You have to edit /etc/devfsd.conf and link it to /dev/sg0 instead, then it will work.
Code: |
# Create /dev/cdrw for the first cdrom on the emulated scsi bus
# (change 'sg0' to suite your setup)
LOOKUP ^cdrw$ CFUNCTION GLOBAL mksymlink sg0 cdrw
REGISTER ^sg0$ CFUNCTION GLOBAL mksymlink $devname cdrw
UNREGISTER ^sg0$ CFUNCTION GLOBAL unlink cdrw
|
_________________ Do you want your posessions identified? [ynq] (n) |
|
Back to top |
|
|
rob n00b
Joined: 30 May 2002 Posts: 4
|
Posted: Sat Jun 01, 2002 2:56 pm Post subject: |
|
|
/dev/sro /mnt/cdrecorder is09660 user,noauto,rw 0 0
You may have made a typo but that should be iso9660 not is<zero>9660.
Also you will want sr_mod, sg, scsi_mod, iso9660 (with joliette extentions) and ide-scsi compiled in or as modules for your kernel. ide-scsi should be compiled in if you are booting with ide-scsi=hd?.
not sure if this helps but good luck.
-rob_ |
|
Back to top |
|
|
|