Mailinglist Archive: opensuse (3261 mails)

< Previous Next >
Re: [SLE] Linux + CD-Writer + Laptop
  • From: Chris Reeves <chris.reeves@xxxxxxxxx>
  • Date: Sun, 01 Apr 2001 10:20:52 +0100
  • Message-id: <3AC6F2F4.27613C65@xxxxxxxxx>
dproc@xxxxxxx wrote:
>
> On Tue, 27 Mar 2001, Rick Green wrote:
>
> > On Tue, 27 Mar 2001, Jerry Kreps wrote:
> >
> > > I get two scsi devices recognized at boot. And while my PleXWriter
> > > is scd0, it appears that scd1 isn't connecting to the Zip250 using
> > > mount -t iso9660 /dev/scd1 /zip or mount -t vfat /dev/scd1 /zip
> > > (because the iomega zip disk is vfat.)
> >
> > I'm talking off the top of my head, because I haven't got any
> > scsi-emulated devices to look at right now.
> >
> > Are these scsi-emulated devices named/numbered like IDE and real scsi
> > devices? If so, scd1 would be partition 1 on device scd, not a separate
> > device, right?
> > With IDE, devices are hda, hdb, hdc, hdd
> > With real SCSI, they're sda, sdb, sdc, sdd, etc.
> >
> <SNIP>
> > What is the equivalent naming/numbering scheme for the scsi-over-whatever
> > emulated devices?
>
> I guess numbering depends a little on what order your
> modules load. But it seems that emulated-scsi numbering is
> just like the numbering of real SCSI devices.
>
> In my case I have a box with a cheap ISA SCSI card driving a
> real SCSI scanner, and a cheap IDE CD-Writer using kernel
> module ide-scsi emulation.
>
> > la /dev/scanner
> lrwxrwxrwx 1 root root 3 Feb 23 16:16 /dev/scanner -> sg0
> > la /dev/cdrom
> lrwxrwxrwx 1 root root 4 Feb 19 20:06 /dev/cdrom -> scd0
>
> You might find it confusing (as I do) that my kernel has
> numbered both devices "0" but this is how it is. It works.
>
> Tim Gerla's tcd (or gtcd) program has no problem playing audio CDs.
>
> I am not sure how xcdroast works, but I have successfully
> done 4X burns using the commandline utility 'cdrecord'. I
> don't use a Linux /dev file directly. Instead I gave
> cdrecord the SCSI address of the CD-RW directly on the
> commandline.
>
> ide-scsi created a virtual scsibus1. Use this command to find the
> SCSI address of your IDE CD burner :
>
> # cdrecord -scanbus
> Cdrecord release 1.8a30 Copyright (C) 1995-1999 Jörg Schilling
> Using libscg version 'schily-0.1'
> scsibus0:
> 0,0,0 0) *
> 0,1,0 1) *
> 0,2,0 2) *
> 0,3,0 3) *
> 0,4,0 4) *
> 0,5,0 5) 'UMAX ' 'Astra 2200 ' 'V2.3' Scanner
> 0,6,0 6) *
> 0,7,0 7) *
> scsibus1:
> 1,0,0 100) 'SONY ' 'CD-RW CRX140E ' '1.0n' Removable CD-ROM
> 1,1,0 101) *
> 1,2,0 102) *
> 1,3,0 103) *
> 1,4,0 104) *
> 1,5,0 105) *
> 1,6,0 106) *
> 1,7,0 107) *
>
> I think xcdroast is easier because it tries to find your
> burner automaticaly. AFAIR it found it on my system, but sorry to
> say I didn't bother burning anything with it.
>
> My guess is that a SCSI IOMEGA ZIP drive (is that what a
> Zip250 is?) will be numbered as a hard disk /dev/sda and its
> formatted partition(s) will be /dev/sda1 and so on.

/dev/scd? is for SCSI CDs
/dev/sd? is for SCSI hard drives
/dev/sg? is for 'generic' SCSI devices, like scanners, etc.

You should be able to mount the zip drives as /dev/sda4 (for some
only-partially-understood reason).

Old thread, buy hey...
Chris
--
__ _
-o)/ / (_)__ __ ____ __ Chris Reeves
/\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005
_\_v __/_/_//_/\_,_/ /_/\_\

< Previous Next >
This Thread
Follow Ups