From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 18448 invoked from network); 29 Apr 1998 20:03:12 -0000 Received: from roadkill.deterministic.com (sfo@199.85.17.7) by mail2.redhat.com with SMTP; 29 Apr 1998 20:03:12 -0000 Received: (from sfo@localhost) by roadkill.deterministic.com (8.6.12/8.6.9) id QAA31011 for axp-list@redhat.com; Wed, 29 Apr 1998 16:02:54 -0400 From: Stephen Oberski Message-Id: <199804292002.QAA31011@roadkill.deterministic.com> Subject: Re: /dev/scd0 To: axp-list@redhat.com Date: Wed, 29 Apr 1998 16:02:54 -0400 (EDT) In-Reply-To: from "Joakim Roubert" at Apr 29, 98 09:28:34 pm Organization: Deterministic Software Ltd. Reply-to: Stephen.Oberski@deterministic.com X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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.