>>>>> "Thomas" == Thomas Niederreiter <[EMAIL PROTECTED]>
>>>>> wrote the following on Thu, 15 Mar 101 11:49:52 +0100 (MET)
mck> The problem is that only the first scsi bus is reported by
mck> executing cdrecord -scanbus, which makes it difficult to use
mck> cdrecord with xcdroast when the CD-R is not on the first bus.
mck> The machine has an Adaptec 2940 as scsi0, an Adaptec 2940uw as
mck> scsi1 and ide-scsi emulation for an ATAPI CD-R as scsi2. =
mck>
Thomas> Perhaps you run out of /dev/sg* devices? You have awful
Thomas> lot devices found...and some linux-distributions only
Thomas> provider 8 /dev/sg devices. For each device recognized you
Thomas> need an extra /dev/sg device. So go ahead and create 32 of
Thomas> them and try again.
Thomas> Good luck,
Thomas> Thomas
Thanks, Thomas. I actually had 26 /dev/sg's, which should have been
sufficient. As expected, rounding up to 32 didn't help.
I did a little more experimenting, though, and this might be
interesting. If I remove _all_ the devices on scsi0, cdrecord
-scanbus does the right thing.
[root@tivoli i686-linux-cc]# ./cdrecord -scanbus
Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
Linux sg driver version: 3.1.17
Using libscg version 'schily-0.1'
scsibus1:
1,0,0 100) 'IBM-PCCO' 'DDRS-39130W !#' 'S97B' Disk
1,1,0 101) 'COMPAQPC' 'DDRS-39130W ' 'S99C' Disk
1,2,0 102) *
1,3,0 103) 'IBM-PSG ' 'DNES-309170W !#' 'SAHR' Disk
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
scsibus2:
2,0,0 200) 'MITSUMI ' 'CR-4801TE ' '1.04' Removable CD-ROM
2,1,0 201) *
2,2,0 202) *
2,3,0 203) *
2,4,0 204) *
2,5,0 205) *
2,6,0 206) *
2,7,0 207) *
But if I put back even a scsi tape device, I have the problem again.
echo "scsi add-single-device 0 0 4 0" > /proc/scsi/scsi
[root@tivoli i686-linux-cc]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 04 Lun: 00
Vendor: HP Model: C1533A Rev: 9406
Type: Sequential-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: IBM-PCCO Model: DDRS-39130W !# Rev: S97B
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 01 Lun: 00
Vendor: COMPAQPC Model: DDRS-39130W Rev: S99C
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 03 Lun: 00
Vendor: IBM-PSG Model: DNES-309170W !# Rev: SAHR
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: MITSUMI Model: CR-4801TE Rev: 1.04
Type: CD-ROM ANSI SCSI revision: 02
[root@tivoli i686-linux-cc]# ./cdrecord -scanbus
Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
Linux sg driver version: 3.1.17
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) 'HP ' 'C1533A ' '9406' Removable Tape
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
Does this suggest something?
Thanks again,
Mike McKernan
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]