Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* /dev/scd0
@ 1998-04-29 19:28 Joakim Roubert
  1998-04-29 20:02 ` /dev/scd0 Stephen Oberski
  0 siblings, 1 reply; 4+ messages in thread
From: Joakim Roubert @ 1998-04-29 19:28 UTC (permalink / raw)
  To: Axp List

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)

Before I installed my new hd, it looked all the same, except the SEAGATE
one. Then everything worked just perfect and wonderful.

Suggestions, anyone...?

/Jokke tmw.
---
 * Origin: FUW95 http://www.efd.lth.se/~d97jro/ (2:200/127.9)
           Vem vill vara techno-hög när man kan vara teknolog? :nigirO *


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /dev/scd0
  1998-04-29 19:28 /dev/scd0 Joakim Roubert
@ 1998-04-29 20:02 ` Stephen Oberski
  1998-04-29 20:38   ` /dev/scd0 Joakim Roubert
  1998-04-29 20:44   ` /dev/scd0 Joakim Roubert
  0 siblings, 2 replies; 4+ messages in thread
From: Stephen Oberski @ 1998-04-29 20:02 UTC (permalink / raw)
  To: axp-list

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /dev/scd0
  1998-04-29 20:02 ` /dev/scd0 Stephen Oberski
@ 1998-04-29 20:38   ` Joakim Roubert
  1998-04-29 20:44   ` /dev/scd0 Joakim Roubert
  1 sibling, 0 replies; 4+ messages in thread
From: Joakim Roubert @ 1998-04-29 20:38 UTC (permalink / raw)
  To: Stephen.Oberski; +Cc: axp-list

On Wed, 29 Apr 1998, Stephen Oberski wrote:

> 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.

Hmm... scd0 ... ..

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

I'll try that.

/Jokke tmw.
---
 * Origin: FUW95 http://www.efd.lth.se/~d97jro/ (2:200/127.9)
           Vem vill vara techno-hög när man kan vara teknolog? :nigirO *


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /dev/scd0
  1998-04-29 20:02 ` /dev/scd0 Stephen Oberski
  1998-04-29 20:38   ` /dev/scd0 Joakim Roubert
@ 1998-04-29 20:44   ` Joakim Roubert
  1 sibling, 0 replies; 4+ messages in thread
From: Joakim Roubert @ 1998-04-29 20:44 UTC (permalink / raw)
  To: Stephen.Oberski; +Cc: axp-list

On Wed, 29 Apr 1998, Stephen Oberski wrote:

> SCSI devices are assigned to /dev/sg[abc...] in the order that they are 

sgc!! It worked! Thnx!!

/Jokke tmw.
---
 * Origin: FUW95 http://www.efd.lth.se/~d97jro/ (2:200/127.9)
           Vem vill vara techno-hög när man kan vara teknolog? :nigirO *


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-04-29 20:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-29 19:28 /dev/scd0 Joakim Roubert
1998-04-29 20:02 ` /dev/scd0 Stephen Oberski
1998-04-29 20:38   ` /dev/scd0 Joakim Roubert
1998-04-29 20:44   ` /dev/scd0 Joakim Roubert

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