Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Jim Danvers on April 09, 2003, 06:21:03 PM

Title: RH 7.x bug mounting cdrom drive
Post by: Jim Danvers on April 09, 2003, 06:21:03 PM
Hey guys...

I have experienced and read about a known bug in older versions of RH (or at least 7.2 & 7.3 revisions) whereby the cdrom drive could not be mounted (something about an invalid block device).  I just encountered this on a machine that I use here @work.  ;(  I slapped a cd into the drive, ssh'd in to mount it (mount /mnt/cdrom) and got that err msg.  (invalid block device)

Anyone know how to work around/correct this issue?

I can still do what I wanted to do, I'm just going to have to do it in another way....

-=- jd -=-
Title: Re: RH 7.x bug mounting cdrom drive
Post by: Graeme Fleming on April 09, 2003, 11:57:02 PM
Helps to search the forums first!!

Check out my post - it should cover most of what you need to know.

http://forums.contribs.org/index.php?topic=16857.msg65294#msg65294

It occurs due to the 5.6 Update2 being applied.

This has been reported to Mitel as a bug.
Title: Re: RH 7.x bug mounting cdrom drive
Post by: Perry Michalski on April 11, 2003, 09:33:21 PM
Simply edit your /etc/fstab file and change /dev/cdrom to /dev/scd0

that should do it!
Title: Re: RH 7.x bug mounting cdrom drive
Post by: Charlie Brady on April 11, 2003, 09:58:38 PM
Perry Michalski wrote:

> Simply edit your /etc/fstab file and change /dev/cdrom to
> /dev/scd0
>
> that should do it!

Or alternatively,

ln -sf /dev/scd0 /dev/cdrom

IOW, change the device file that the symlink /dev/cdrom points to.

Charlie
Title: Re: RH 7.x bug mounting cdrom drive
Post by: Jim Danvers on April 11, 2003, 11:50:34 PM
Perry,Charlie...  

Thanks guys - I tried Perry's 1st, haven't tried yours yet Charlie, but here is what I got (I even rebooted after making the change):

login as: root
Sent username "root"
root@helpdesk's password:
Last login: Fri Apr 11 14:38:00 2003 from jdanversxp
Welcome to the Mitel Networks SME Server.
[root@imaging root]# mount /mnt/cdrom
mount: /dev/scd0 is not a valid block device
[root@imaging root]#

;(  No joy.  I'm therefore NOT expecting yours (Charlie) to work either as the symlink is just the same thing as pointing to it directly via the fstab, yes?

I'm thinking that Graeme's is the way to go...  just requires more work that I haven't had time to do yet.  You guys suggestions were quick & dirty...  ;), but unfortunately no go...   ;(

Thanks guys!

-=- jd -=-
Title: Re: RH 7.x bug mounting cdrom drive
Post by: Graeme Fleming on April 13, 2003, 10:07:47 AM
Jeez guys, read my post, it covers most if not all you need to know including the scd0 failure!
Title: Re: RH 7.x bug mounting cdrom drive
Post by: Ben Morrisson on April 30, 2003, 09:32:31 AM
Had same problem after upgrade to 5.6U4
Seems the symlink to /dev/cdrom is missing as detailed above.

If you are looking for the correct device then do :

dmesg | more

look through bootlog until you find where it detects you ATAPI/SCSI CDROM
note the device id

ln -sf /dev/hdc /dev/cdrom

where hdc is my device on my system for IDE/ATAPI CDROM

exception here would be if you are using SCSI CDROM
or runnign CDBurner and emulating SCSI
this would then be a different device.

I notice that MITEL hasnt added this as a bug?
happened three times in a row on three different systems for me.
Title: Re: RH 7.x bug mounting cdrom drive
Post by: Kevin Tollison on April 30, 2003, 09:56:15 AM
Same here but with Dell Poweredge's (600SC) and I have 5 that I am setting up.  The CD is on a Tertiary channel so I had to use 'hde'.  Hope this helps someone.

Kevin