Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Another unmountable cd-rom drive post
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
CDRuzin
n00b
n00b


Joined: 22 Jan 2004
Posts: 35
Location: AR-USA

PostPosted: Mon Jan 26, 2004 6:16 am    Post subject: Another unmountable cd-rom drive post Reply with quote

I've read a lot of other posts with people who had problems similar to mine, but none of them seemed to help me out.

Whenever I try to mount my CD/DVD-ROM drive on my Pismo, I get:
Code:
mount: special device /dev/cdroms/cdrom0 does not exist


When I look in /dev/cdroms/, there's nothing in it. When I look at my /etc/fstab file, I see:
Code:
/dev/cdroms/cdrom0     /mnt/cdrom     iso9660     noauto,ro,users     0 0


Do I need to create this cdrom0 file or what?
Back to top
View user's profile Send private message
gordin
Guru
Guru


Joined: 11 Oct 2002
Posts: 300
Location: Germany/WI

PostPosted: Mon Jan 26, 2004 9:12 am    Post subject: Reply with quote

What kernel do you use?
Do you use ide-scsi? And if so, do you have set the option hdx=ide-scsi in yaboot.conf?

The entry in fstab just points to the dev-file under /dev/. That is created by the devfs-driver in the kernel.
The devicelink must exist, fstab has nothing to do with the real existens under /dev/

If you don't use ide-scsi or kernel 2.6.x the device should be /dev/hdc or maybe /dev/hdb wich then should be a link to /dev/ide/host0/bus0/target1/lun0/cd wich is the real device.
You can either create a new link /dev/cdroms/cdrom0 to /dev/ide/host0/bus0/target1/lun0/cd or change the entry in fstab to /dev/hdb
But, as mentioned above this should happen automaticly if your kernel is build correct.

Do you have cdrom support in the kernel at all? And loaded all modules you need (ide-cd; ide-scsi, sr_mod)?

[edit]: corrected some typos
Back to top
View user's profile Send private message
CDRuzin
n00b
n00b


Joined: 22 Jan 2004
Posts: 35
Location: AR-USA

PostPosted: Mon Jan 26, 2004 5:21 pm    Post subject: Reply with quote

I'm using 2.4.24-benh0, and I compiled SCSI support into the kernel. If it's compiled in, do I need to add the extra line into my yaboot.conf?

I followed the PPC instructions for compiling your kernel:
Quote:
Important: If you have an IDE CD burner and/or DVD, then you need to enable SCSI emulation in the kernel. Turn on "ATA/IDE/MFM/RLL support" ---> "IDE, ATA and ATAPI Block devices" ---> "SCSI emulation support" (I usually make it a module), then under "SCSI support" enable "SCSI support", "SCSI CD-ROM support" and "SCSI generic support" (again, I usually compile them as modules). If you also choose to use modules, then echo -e "ide-scsi\nsg\nsr_mod" >> /etc/modules.autoload to have them automatically added at boot time. You should also add this line to your /etc/yaboot.conf file append="hdc=ide-scsi".
But instead of modularizing SCSI support, I compiled it in. Was this a mistake? If so, it would be nice if it said "you MUST make these as modules".

How would I double check to see if I really have SCSI support in my kernel? Would dmesg work? When I type in
Code:
dmesg | grep SCSI
I get
Quote:
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Back to top
View user's profile Send private message
legspinner
n00b
n00b


Joined: 06 Feb 2004
Posts: 2

PostPosted: Fri Feb 06, 2004 4:36 am    Post subject: ignore Reply with quote

sorry wrong forum
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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