--- Susan Macchia <[EMAIL PROTECTED]> wrote:
> First, thanks for your reply.
> 
> > I think you're greatly overcomplicating this process.  First, there
> > should be no need to create new block devices or symlinks to block
> > devices.  Remove all of that cruft, as its only confusing the
> > configuration further. 
> 
> I had to create the block device for SCSI because there was none; no
> /dev/sr0,
> /dev/sr1, etc.

I guess that's a RedHat-ism.

> And I already had /dev/cdrom linked to /dev/hdd.  Seemed reasonable to
> point
> /dev/cdrw to the device that the cdrw was on.  They're only soft links
> after
> all...  But you are right, I don't really need them.

When troubleshooting, don't use symlinks.  It makes it harder to figure
out what is going where, especially on my end.

> > Second, you should be able to access the vanilla CDROM drive as an
> IDE
> > drive, and the IDE CD burner as a SCSI drive. 
> 
> This is what I wanted and tried to do initially and couldn't access
> either
> drive.  Which is why I ended up pointing both to /dev/sr0 and
> /dev/sr1.
> 
> Maybe I should start over?
> 
> ---------------
> dmesg output:
> 
> <snip>
> hda: Maxtor 91296D6, ATA DISK drive
> hdb: Maxtor 53073U6, ATA DISK drive
> hdc: NEC CD-ROM DRIVE:28D, ATAPI CDROM drive
> hdd: YAMAHA CRW2100E, ATAPI CDROM drive
> <snip>
> 
> Ok there
> ---------------
> cdrecord --scanbus says:
> 
> Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg
> Schilling
> Linux sg driver version: 2.1.38
> Using libscg version 'schily-0.5'
> scsibus0:
> cdrecord: Warning: controller returns wrong size for CD capabilities
> page.
>         0,0,0     0) 'NEC     ' 'CD-ROM DRIVE:28D' '3.03' Removable
> CD-ROM
>         0,1,0     1) 'YAMAHA  ' 'CRW2100E        ' '1.0N' Removable
> CD-ROM
> 
> ---------------
> lsmod shows:
> 
> Module                  Size  Used by
> parport_probe           3428   0 (autoclean)
> parport_pc              7464   1 (autoclean)
> lp                      5416   0 (autoclean)
> parport                 7312   1 (autoclean) [parport_probe parport_pc
> lp]
> vfat                    9404   0 (autoclean) (unused)
> fat                    30688   0 (autoclean) [vfat]
> Mvnetd                  9168   1
> Mvnet                  52520   0 [Mvnetd]
> Mvnetint               11252   0 [Mvnet]
> Mvw                     4344   0
> Mvmouse                  604   0
> Mvkbd                    752   0
> Mvgic                   3332   0 (unused)
> Mvdsp                    804   0
> Mserial                 6412   0
> Mmpip                   7040   0
> Mmerge                128952   0 [Mvnetd Mvnet Mvnetint Mvw Mvmouse
> Mvkbd Mvgic
> Mvdsp Mserial Mmpip]
> autofs                  9124   1 (autoclean)
> lockd                  31176   1 (autoclean)
> sunrpc                 52964   1 (autoclean) [lockd]
> agpgart                18600   0 (unused)
> ide-scsi                7336   0
> sg                     15704   0
> snd-card-ymfpci         4080   0
> snd-ymfpci             34172   0 [snd-card-ymfpci]
> snd-pcm                29464   0 [snd-ymfpci]
> snd-ac97-codec         23616   0 [snd-ymfpci]
> snd-mixer              23356   0 [snd-ymfpci snd-ac97-codec]
> snd-opl3                4264   0 [snd-card-ymfpci]
> snd-timer               8096   0 [snd-pcm snd-opl3]
> snd-hwdep               2956   0 [snd-opl3]
> snd-mpu401-uart         2296   0 [snd-card-ymfpci]
> snd-rawmidi             9432   0 [snd-mpu401-uart]
> snd-seq-device          3652   0 [snd-rawmidi]
> snd                    35820   1 [snd-card-ymfpci snd-ymfpci snd-pcm
> snd-ac97-codec snd-mixer snd-opl3 snd-timer snd-hwdep snd-mpu401-uart
> snd-rawmidi snd-seq-device]
> soundcore               2596   0 [snd]
> usb-uhci               19052   0 (unused)
> usbcore                42088   1 [usb-uhci]
> 3c90x                  22200   1

Holy cow!  That's a lot of modules.  You're using all of them, right?

> 
> ------------------
> 
> OK so I backed up per your suggestion and did the following:
>     /dev/cdrom -> /dev/hdc
>     /dev/cdrw -> /dev/sr0

My suggestion was to not use symlinks at all.

>     
>     Then rebooted.
>     
> Now when I try and mount the cdrom:
>     $ mount /dev/cdrom /mnt/cdrom
>     /dev/cdrom: Input/output error
>     mount: you must specify the filesystem type
>     
> So I tried:
>     $ mount -t iso9660 /dev/cdrom /mnt/cdrom
>     mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
>             or too many mounted file systems
>             
> When I try and mount the cd-writer:
> 
>     $ mount /dev/cdrw /mnt/cdrw
>       mount: block device /dev/cdrw is write-protected, mounting
> read-only
> 
> But it mounts the first cdrom on /dev/hdc !!!  This is what confuses
> me...

Makes perfect sense to me.  Here's why:
Whatever "cdrecord --scanbus" sees is what you get, *in that order*. 
So, the SCSI device with id=0 becomes sr0, which in your case is the
CDROM.  The SCSI device with id=1 is sr1, which is your burner.  Try
these on for size:

to mount the burner:
mount -t iso9660 /dev/sr1 /mnt/whatever

to mount the CDROM:
mount -t iso9660 /dev/sr0 /mnt/cdrom

stick with raw block devices, and you'll save yourself alot of
confusion. If these 2 above doin't work, i'd be quite surprised.  Add
symlinks once things work to your liking, not beforehand.


=====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J. Friedman                          [EMAIL PROTECTED]

Linux FAQ & Step-by-step help:     http://netllama.ipfox.com

                                                 .

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
_______________________________________________
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

Reply via email to