Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CDR-W Troubles
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
j7899
n00b
n00b


Joined: 16 May 2002
Posts: 30

PostPosted: Sun May 19, 2002 12:10 pm    Post subject: CDR-W Troubles Reply with quote

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
View user's profile Send private message
klieber
Administrator
Administrator


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Sun May 19, 2002 7:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
BillyD
Guru
Guru


Joined: 05 May 2002
Posts: 309
Location: Brisbane, Australia

PostPosted: Sun May 19, 2002 8:03 pm    Post subject: Reply with quote

Do you have it defined in your fstab?
Back to top
View user's profile Send private message
j7899
n00b
n00b


Joined: 16 May 2002
Posts: 30

PostPosted: Sun May 19, 2002 10:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
BillyD
Guru
Guru


Joined: 05 May 2002
Posts: 309
Location: Brisbane, Australia

PostPosted: Sun May 19, 2002 11:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
j7899
n00b
n00b


Joined: 16 May 2002
Posts: 30

PostPosted: Sun May 19, 2002 11:46 pm    Post subject: Reply with quote

Yeah I uncommented those lines and it created the devices, but they aren't linked to anything.
Back to top
View user's profile Send private message
jay
l33t
l33t


Joined: 08 May 2002
Posts: 980

PostPosted: Tue May 28, 2002 1:40 pm    Post subject: Re: CDR-W Troubles Reply with quote

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
View user's profile Send private message
rob
n00b
n00b


Joined: 30 May 2002
Posts: 4

PostPosted: Sat Jun 01, 2002 2:56 pm    Post subject: Reply with quote

/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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum