Help: Can't access my CDROM, but can access my second CDR

Help: Can't access my CDROM, but can access my second CDR

Post by Michael Bad » Sat, 18 May 2002 23:26:38



Hello,
Recently I installed LM 8.2 om my dual-boot PC which has TWO IDE cdrom
drives:
1. One CDROM (Asus X40) connected to /dev/hdd.
2. One CDR (LG) connected to /dev/hdb.

Both drives work (under Windows) and are recognized by the BIOS during
boot.
LM 8.2 created TWO CDROM icons on my desktop.
Yet, I can not access (read/eject) the ASUS (read-only) from Linux.

Please advise !

Following are the contents of my fstab file and the result from (a)
cdrecord -scanbus and (b) ls -l /dev/cdr*.

Thanks a lot !
-----------------------------------------------

==========Outpur from: "cdrecord-scanbus"=========================
Cdrecord 1.11a15 (i586-mandrake-linux-gnu) Copyright (C) 1995-2001 J?rg Schilling
Using libscg version 'schily-0.5'
scsibus0:
        0,0,0     0) 'HL-DT-ST' 'CD-RW GCE-8160B ' '1.02' Removable CD-ROM
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *

=============== my /etc/fstab file=============================
/dev/hdc1 / reiserfs notail 1 1
none /dev/pts devpts mode=0620 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdc9 /home reiserfs notail 1 2
/mnt/cdrom /mnt/cdrom supermount dev=/dev/scd0,fs=iso9660,ro,--,iocharset=iso8859-1 0 0
/mnt/cdrom2 /mnt/cdrom2 supermount dev=/dev/hdd,fs=iso9660,ro,--,iocharset=iso8859-1 0 0
/mnt/floppy /mnt/floppy supermount dev=/dev/fd0,fs=vfat,--,iocharset=iso8859-1,umask=0,sync,codepage=850 0 0
/dev/hda1 /mnt/win_c vfat iocharset=iso8859-1,umask=0,codepage=850 0 0
/dev/hda5 /mnt/win_d vfat iocharset=iso8859-1,umask=0,codepage=850 0 0
/dev/hda6 /mnt/win_e vfat iocharset=iso8859-1,umask=0,codepage=850 0 0
/dev/hda7 /mnt/win_f vfat iocharset=iso8859-1,umask=0,codepage=850 0 0
/dev/hda8 /mnt/win_g vfat iocharset=iso8859-1,umask=0,codepage=850 0 0
/dev/hdc10 /opt reiserfs notail 1 2
none /proc proc defaults 0 0
/dev/hdc8 /tmp reiserfs notail 1 2
/dev/hdc6 /usr reiserfs notail 1 2
/dev/hdc7 /var reiserfs notail 1 2
/dev/hdc5 swap swap defaults 0 0

==========output from: "ls -l /dev/cdr*"=============================
lr-xr-xr-x    1 root     root           13 May 17 14:52 cdrom -> cdroms/cdrom0
lr-xr-xr-x    1 root     root           13 May 17 14:52 cdrom0 -> cdroms/cdrom0
lr-xr-xr-x    1 root     root           13 May 17 11:53 cdrom1 -> cdroms/cdrom1

cdroms:
total 0
lr-xr-xr-x    1 root     root           33 Jan  1  1970 cdrom0 -> ../ide/host0/bus1/target1/lun0/cd
lr-xr-xr-x    1 root     root           34 Jan  1  1970 cdrom1 -> ../scsi/host0/bus0/target0/lun0/cd

 
 
 

Help: Can't access my CDROM, but can access my second CDR

Post by Garry Knigh » Sun, 19 May 2002 02:42:35




> LM 8.2 created TWO CDROM icons on my desktop.
> Yet, I can not access (read/eject) the ASUS (read-only) from Linux.

Try the following, and try accessing the drive after each:
1) Add your username to the 'cdrom' group.
2) Create a new icon pointing to the correct device and mount point.
3) Try mounting it manually with 'mount -t iso9660 /dev/hdd /mnt/cdrom2'

--
Garry Knight

Linux registered user 182025

 
 
 

Help: Can't access my CDROM, but can access my second CDR

Post by The_Red_Bul » Sun, 19 May 2002 09:50:33



Quote:> Both drives work (under Windows) and are recognized by the BIOS during
> boot.
> LM 8.2 created TWO CDROM icons on my desktop.
> Yet, I can not access (read/eject) the ASUS (read-only) from Linux.
> scsibus0:
>    0,0,0     0) 'HL-DT-ST' 'CD-RW GCE-8160B ' '1.02' Removable CD-ROM

The drive that is setup as a scsi device (see lilo.conf) is detected via cdrecord

Quote:> /mnt/cdrom /mnt/cdrom supermount dev=/dev/scd0,fs=iso9660,ro,--,iocharset=iso8859-1 0 0
> /mnt/cdrom2 /mnt/cdrom2 supermount dev=/dev/hdd,fs=iso9660,ro,--,iocharset=iso8859-1 0 0

Shouldn't the two line above read something like /dev/cdrom /mnt/cdrom .......
and /dev/cdrom2 /mnt/cdrom2 ......
where /dev/cdrom* are symlinks to the actual devices.

Iain
--
If the brain is root, we only have a shell account.
Unless you're schizophrenic, in which case you have several shell accounts.
Savants have Superuser!

 
 
 

Help: Can't access my CDROM, but can access my second CDR

Post by Robert G. Ragost » Sun, 19 May 2002 11:05:36




Quote:> <snip>
>> /mnt/cdrom /mnt/cdrom supermount
>> dev=/dev/scd0,fs=iso9660,ro,--,iocharset=iso8859-1 0 0 /mnt/cdrom2
>> /mnt/cdrom2 supermount
>> dev=/dev/hdd,fs=iso9660,ro,--,iocharset=iso8859-1 0 0

> Shouldn't the two line above read something like /dev/cdrom /mnt/cdrom
> ....... and /dev/cdrom2 /mnt/cdrom2 ......
> where /dev/cdrom* are symlinks to the actual devices.

> Iain

Well as regards my trials with CD-Rom issues- you may find the
following Mandrake reference useful:

http://www.mandrakeuser.org/docs/troubles/tqhvit1.html#sm

The article states that the first two parameters (/mnt/cdrom?) MUST be
present and identical for "supermount" to properly function. At least
that's my reading....

Also, you may want to read carefully this other Mandrake "errata" note:

http://www.mandrakeuser.org/docs/troubles/tqhvit3.html#cd

After reading, you may wish to do a "ls -l /dev/cdrom" and see where it
REALLY is linking to... I has a surprise you may too....

For some continual enjoyment you can read the thread "Re: floppy disk
and cd rom mounting problems" for a whole litany of on-going
"discoveries" regarding the supposedly AOK state the Mandrake
setup-scripts left my system in...

Regards

 
 
 

Help: Can't access my CDROM, but can access my second CDR

Post by Dances With Crow » Sun, 19 May 2002 13:24:24


[ This is not an administration question, so c.o.l.admin removed. ]
On Sat, 18 May 2002 00:50:33 +0000 (UTC), The_Red_Bull staggered into
the Black Sun and said:



>> Both drives work (under Windows) and are recognized by the BIOS
>> during boot.  LM 8.2 created TWO CDROM icons on my desktop.  Yet, I
>> can not access (read/eject) the ASUS (read-only) from Linux.

>> scsibus0:
>> 0,0,0  'HL-DT-ST' 'CD-RW GCE-8160B ' '1.02' Removable CD-ROM

> The drive that is setup as a scsi device (see lilo.conf) is detected
> via cdrecord

>> /mnt/cdrom /mnt/cdrom supermount
>> dev=/dev/scd0,fs=iso9660,ro,--,iocharset=iso8859-1 0 0 /mnt/cdrom2
>> /mnt/cdrom2 supermount
>> dev=/dev/hdd,fs=iso9660,ro,--,iocharset=iso8859-1 0 0

> Shouldn't the two line above read something like /dev/cdrom /mnt/cdrom
> .......  and /dev/cdrom2 /mnt/cdrom2 ......  where /dev/cdrom* are
> symlinks to the actual devices.

That's how things are done *normally*, but the OP is using Mandrake.
For some bizarre reason, Mandrake's recent distros use the
not-ready-for-prime-time devfs, and instead of using the tried-and-true
"mount", they use "supermount".  mount and supermount do the same
things, but the syntax is totally different for supermount.  devfs adds
another layer of complexity, since the old device names like /dev/hdd
are not there; instead, you have /dev/ide/host0/bus1/target1 .

This plays hell with newbies because then they try to get advice, and
all the old farts have no idea what is going on since no other distro
uses these things by default.

--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /
http://www.brainbench.com     /  "He is a rhythmic movement of the
-----------------------------/    penguins, is Tux." --MegaHAL

 
 
 

1. It's not bad canned meat...

Thanks for your time.  We at I.S.P.O.T. (The International Society
for the Preservation Of Trees (URL http://www.local-touch.com/ISPOT/)) feel
that electronic messages are great for getting the word out while preserving
our friend the tree.  Anyway, please stop by our home page!

Thanks again!

SusieQ

2. Journaling filesystems. Where can I find a comparison?

3. A newbie? Welcome to comp.os.linux.misc, read this first if you're new here (FAQ)

4. Canned Proxy URLs to Filter

5. Newbie - where to get new pre-built kernels

6. CGI: apache canned response

7. HPGL to .ps / xfig conversion

8. For those of you tired of canned distributions...

9. Canned "ping"

10. Any Canned Class code?

11. PPPD or Tin Cans: Which is Better?

12. Still can't access Mitsumi CDROM HELP??!