Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Stephen Oberski <sfo@sanetwork.on.ca>
To: axp-list@redhat.com
Subject: Re: /dev/scd0
Date: Wed, 29 Apr 1998 16:02:54 -0400 (EDT)	[thread overview]
Message-ID: <199804292002.QAA31011@roadkill.deterministic.com> (raw)
In-Reply-To: <Pine.LNX.3.96.980429212415.198A-100000@octavia.wopr> from "Joakim Roubert" at Apr 29, 98 09:28:34 pm

According to Joakim Roubert:
> Hi!
> 
> I just installed a second hd. It works fine. cdda2wav don't. :-(
> 
> $ cdda2wav
> this is neither scsi cdrom nor worm
> $
> 
> Before, I had my first hd as SCSI device 0, and my CD-ROM as device 4.
> Then I added this hd as device 2:
> 
> Apr 29 21:23:37 octavia kernel: scsi-ncr53c7,8xx : at PCI bus 0, device 6,  function 0
> Apr 29 21:23:37 octavia kernel: scsi-ncr53c7,8xx : NCR53c810 at memory 0x5001000, io 0x8800, irq 11
> Apr 29 21:23:37 octavia kernel: scsi0 : burst length 8
> Apr 29 21:23:37 octavia kernel: scsi0 : NCR code relocated to 0x4057069c (virt 0xfffffc000057069c)
> Apr 29 21:23:37 octavia kernel: scsi0 : test 1 started
> Apr 29 21:23:37 octavia kernel: scsi0 : NCR53c{7,8}xx (rel 17)
> Apr 29 21:23:37 octavia kernel: scsi : 1 host.
> Apr 29 21:23:37 octavia kernel: scsi0 : target 0 accepting asynchronous SCSI
> Apr 29 21:23:37 octavia kernel: scsi0 : setting target 0 to asynchronous SCSI
> Apr 29 21:23:37 octavia kernel:   Vendor: CONNER    Model: CFP1080S          Rev: 4649
> Apr 29 21:23:37 octavia kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
> Apr 29 21:23:37 octavia kernel: Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
> Apr 29 21:23:37 octavia kernel: scsi0 : target 2 accepting asynchronous SCSI
> Apr 29 21:23:37 octavia kernel: scsi0 : setting target 2 to asynchronous SCSI
> Apr 29 21:23:37 octavia kernel:   Vendor: SEAGATE   Model: ST31200N          Rev: 8008
> Apr 29 21:23:37 octavia kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
> Apr 29 21:23:37 octavia kernel: Detected scsi disk sdb at scsi0, channel 0, id 2, lun 0
> Apr 29 21:23:37 octavia kernel: scsi0 : target 4 accepting asynchronous SCSI
> Apr 29 21:23:37 octavia kernel: scsi0 : setting target 4 to asynchronous SCSI
> Apr 29 21:23:37 octavia kernel:   Vendor: DEC       Model: RRD43   (C) DEC   Rev: 1084
> Apr 29 21:23:37 octavia kernel:   Type:   CD-ROM                             ANSI SCSI revision: 02
> Apr 29 21:23:37 octavia kernel: Detected scsi CD-ROM sr0 at scsi0, channel 0, id 4, lun 0
> Apr 29 21:23:37 octavia kernel: scsi : detected 1 SCSI cdrom 2 SCSI disks total.
> Apr 29 21:23:37 octavia kernel: SCSI device sda: hdwr sector= 512 bytes. Sectors= 2110812 [1030 MB] [1.0 GB]
> Apr 29 21:23:37 octavia kernel: SCSI device sdb: hdwr sector= 512 bytes. Sectors= 2061108 [1006 MB] [1.0 GB]
> 
> (from /var/log/messages)
> 

cdda2wav uses the SCSI generic interface.
SCSI devices are assigned to /dev/sg[abc...] in the order that they are 
detected, so in your case id 0 is /dev/sga, id 2 is /dev/sgb and id 4
(your CD-ROM drive) is /dev/sgc.

Before you added the 2nd SCSI disk the CD-ROM was probably /dev/sgb.

You can tell cdda2wav which SCSI generic device to use
either by compiling in a default or thru a command line argument.

-- 
Stephen Oberski  sfo@deterministic.com   416 704 7456 Voice   905 455 2827 FAX
Deterministic Software Ltd., 134 Morton Way, Brampton, Ontario L6Y 2P5  Canada
http://www.deterministic.com/         finger sfo@deterministic.com for PGP key
          I was playing poker the other night ... with Tarot cards.
                 I got a full house and four people died.


  reply	other threads:[~1998-04-29 20:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-29 19:28 /dev/scd0 Joakim Roubert
1998-04-29 20:02 ` Stephen Oberski [this message]
1998-04-29 20:38   ` /dev/scd0 Joakim Roubert
1998-04-29 20:44   ` /dev/scd0 Joakim Roubert
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox