Hi! I'm another newbie (to ALUG not Linux) and here I go starting with a plea for help!
I've just updated one of my machines which previously ran RH 5.X then 6.0 to RH 7.3.
Well, actually, I didn't update - as always I cleaned the disk right down, low-level formatted, re-partitioned and did a completely new installation.
Most things run fine BUT I can't seem to mount a CD. I know there's nothing wrong with the drive because I did the installation from it!
Here's the dirt:
####################################### [andrew.wallis]# cat /etc/fstab LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 LABEL=/home /home ext3 defaults 1 2 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 LABEL=/tmp /tmp ext3 defaults 1 2 LABEL=/usr /usr ext3 defaults 1 2 LABEL=/usr/local /usr/local ext3 defaults 1 2 LABEL=/usr/src /usr/src ext3 defaults 1 2 LABEL=/var /var ext3 defaults 1 2 /dev/sda3 swap swap defaults 0 0 /dev/cdrom /mnt/cdrom iso9660 noauto,user,kudzu,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,user,kudzu 0 0 [root@vulpes]# mount /mnt/cdrom mount: /dev/cdrom: unknown device [root@vulpes]# ls -l /dev/cdrom /dev/scd0 lrwxrwxrwx 1 root root 9 Mar 5 19:15 /dev/cdrom -> /dev/scd0 [root@vulpes]# ls -l /dev/cdrom /dev/scd0 lrwxrwxrwx 1 root root 9 Mar 5 19:15 /dev/cdrom -> /dev/scd0 brw------- 1 andrew.w disk 11, 0 Aug 30 2001 /dev/scd0 [root@vulpes]# cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: IBM Model: DGVS09U Rev: 03B0 Type: Direct-Access ANSI SCSI revision: 03 Host: scsi0 Channel: 00 Id: 03 Lun: 00 Vendor: PLEXTOR Model: CD-ROM PX-32TS Rev: 1.02 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 05 Lun: 00 Vendor: SONY Model: SDT-9000 Rev: 0123 Type: Sequential-Access ANSI SCSI revision: 02 #######################################
So you can see that the system seems to know the device is there but the /dev/scd0 device (11, 0) doesn't seem to be able to access it.
I'm embarrassed to admit that I'm flummoxed. Any suggestions, please?
Regards
Andrew Wallis St Cross South Elmham HARLESTON
on Fri, Mar 15, 2002 at 08:37:03AM -0000, Andrew Wallis wrote:
LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 LABEL=/home /home ext3 defaults 1 2 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0
[...]
/dev/sda3 swap swap defaults 0 0 /dev/cdrom /mnt/cdrom iso9660 noauto,user,kudzu,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,user,kudzu 0 0
(omigod, what has happened to linux's /etc/fstab?!)
[root@vulpes]# mount /mnt/cdrom mount: /dev/cdrom: unknown device
[...]
Host: scsi0 Channel: 00 Id: 03 Lun: 00 Vendor: PLEXTOR Model: CD-ROM PX-32TS Rev: 1.02 Type: CD-ROM ANSI SCSI revision: 02
[...]
So you can see that the system seems to know the device is there but the /dev/scd0 device (11, 0) doesn't seem to be able to access it.
I'm embarrassed to admit that I'm flummoxed. Any suggestions, please?
dmesg | grep 'scd[0-9]' might be interesting. Maybe the device wasn't attached at (11, 0) but somewhere else, eg /dev/scd[12]. Is scsi cdrom support in a seperate module? Is it loaded? Does dmesg show any errors about the cdrom or scsi stuff in general?
On Fri, Mar 15, 2002 at 08:37:03AM -0000, Andrew Wallis wrote:
Hi! I'm another newbie (to ALUG not Linux) and here I go starting with a plea for help!
[root@vulpes]# mount /mnt/cdrom mount: /dev/cdrom: unknown device
This means that the kernel doesn't know what to do with the device. Probably you need to load a module, but I don't know which one for a scsi CDROM. You might find that
modprobe cdrom
will do the trick. If not, check the HOWTO's on SCSI cdroms...
Many thanks - yes it was as simple as loading the (presumably) generic cdrom module.
I was fooled only (honest!) because neither of my previous RH installations had required me to do this.
I'll now edit something like /etc/modules.conf to make sure this module is loaded every time & all will be well.
BTW isn't it just a little bit lame that an installation which can detect a CDROM and install from it can't then set the configuration up so that it's subsequently known about!
That was, of course, just a little whinge to make myself feel better about having missed something so obvious :o)
Regards
Andrew Wallis
-----Original Message----- From: Chris Allen [mailto:chris@cjx.com] Sent: 15 March 2002 10:30 To: Andrew Wallis Cc: Alug Subject: Re: [Alug] Why won't RH 7.2 mount my CD?
On Fri, Mar 15, 2002 at 08:37:03AM -0000, Andrew Wallis wrote:
Hi! I'm another newbie (to ALUG not Linux) and here I go starting with a plea for help!
[root@vulpes]# mount /mnt/cdrom mount: /dev/cdrom: unknown device
This means that the kernel doesn't know what to do with the device. Probably you need to load a module, but I don't know which one for a scsi CDROM. You might find that
modprobe cdrom
will do the trick. If not, check the HOWTO's on SCSI cdroms...
Hi Andrew
In defense of the RH installer - It does a fairly good job of detecting CD burners, which I suspect is what has happened here. If this is a plain old IDE read only drive, find the model number and file a bug report.
Regards, Paul.
On Friday 15 Mar 2002 5:22 pm, Andrew Wallis wrote:
BTW isn't it just a little bit lame that an installation which can detect a CDROM and install from it can't then set the configuration up so that it's subsequently known about!
That was, of course, just a little whinge to make myself feel better about having missed something so obvious :o)
Hi,
brw------- 1 andrew.w disk 11, 0 Aug 30 2001 /dev/scd0
Only andrew.w has access to /dev/scd0. Can you mount the disk as root? Any other "peasent" accounts on the machine will not be able to access it.
On my machine I have the following... brw-rw---- 1 root cdwriter 11, 0 Sep 27 2000 scd0
Does the automounter mount it successfully (if you are using it) check /etc/auto.misc
Chris *************************************************************************** E Mail Chris@glovercc.clara.co.uk WWW http://www.glovercc.clara.co.uk ICQ 18054759 Someday, we'll look back on this, laugh nervously and change the subject. -Anon
On Fri, 15 Mar 2002, Andrew Wallis wrote:
Hi! I'm another newbie (to ALUG not Linux) and here I go starting with a plea for help!
I've just updated one of my machines which previously ran RH 5.X then 6.0 to RH 7.3.
Well, actually, I didn't update - as always I cleaned the disk right down, low-level formatted, re-partitioned and did a completely new installation.
Most things run fine BUT I can't seem to mount a CD. I know there's nothing wrong with the drive because I did the installation from it!
Here's the dirt:
####################################### [andrew.wallis]# cat /etc/fstab LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 LABEL=/home /home ext3 defaults 1 2 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 LABEL=/tmp /tmp ext3 defaults 1 2 LABEL=/usr /usr ext3 defaults 1 2 LABEL=/usr/local /usr/local ext3 defaults 1 2 LABEL=/usr/src /usr/src ext3 defaults 1 2 LABEL=/var /var ext3 defaults 1 2 /dev/sda3 swap swap defaults 0 0 /dev/cdrom /mnt/cdrom iso9660 noauto,user,kudzu,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,user,kudzu 0 0 [root@vulpes]# mount /mnt/cdrom mount: /dev/cdrom: unknown device [root@vulpes]# ls -l /dev/cdrom /dev/scd0 lrwxrwxrwx 1 root root 9 Mar 5 19:15 /dev/cdrom -> /dev/scd0 [root@vulpes]# ls -l /dev/cdrom /dev/scd0 lrwxrwxrwx 1 root root 9 Mar 5 19:15 /dev/cdrom -> /dev/scd0 brw------- 1 andrew.w disk 11, 0 Aug 30 2001 /dev/scd0 [root@vulpes]# cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: IBM Model: DGVS09U Rev: 03B0 Type: Direct-Access ANSI SCSI revision: 03 Host: scsi0 Channel: 00 Id: 03 Lun: 00 Vendor: PLEXTOR Model: CD-ROM PX-32TS Rev: 1.02 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 05 Lun: 00 Vendor: SONY Model: SDT-9000 Rev: 0123 Type: Sequential-Access ANSI SCSI revision: 02 #######################################
So you can see that the system seems to know the device is there but the /dev/scd0 device (11, 0) doesn't seem to be able to access it.
I'm embarrassed to admit that I'm flummoxed. Any suggestions, please?
Regards
Andrew Wallis St Cross South Elmham HARLESTON
main@lists.alug.org.uk http://www.anglian.lug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!