On Tuesday 04 February 2003 23:32, John Cunningham wrote:
>Gene (and anybody else who may be up),
>
>I got this set up, but when running the label utility
>I get the following:
>
>sbin]$ ./amlabel Daily Daily-01 slot 0
>amlabel: could not load slot "0": open: /dev/sg1: Bad
>file descriptor
Humm, if, and only if I think, you have all that scsi emulation
compiled into the kernel so it can find it during the bott process,
you wull find the proper device is named in the /var/log/dmesg
file. It should look something like this in that case.
----------------------
Linux version 2.4.21-pre3 (root AT coyote.coyote DOT den) (gcc version 3.2
20020903 (Red Hat Linux 8.0 3.2-7)) #6 Sat Feb 1 22:32:59 EST 2003
[snip down to the meat & potatoes]
SCSI subsystem driver Revision: 1.00
scsi0 : AdvanSys SCSI 3.3G: PCI Ultra: IO 0xD000-0xD00F, IRQ 0xB
Vendor: ARCHIVE Model: 4586XX 28887-XXX Rev: 0420
Type: Sequential-Access ANSI SCSI revision: 02
Vendor: ARCHIVE Model: 4586XX 28887-XXX Rev: 0420
Type: Medium Changer ANSI SCSI revision: 02
scsi1 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: CREATIVE Model: CD-RW RW1210E Rev: LCS6
Type: CD-ROM ANSI SCSI revision: 02
st: Version 20020805, bufsize 32768, wrt 30720, max init. bufs 4,
s/g segs 16
Attached scsi tape st0 at scsi0, channel 0, id 6, lun 0
Attached scsi CD-ROM sr0 at scsi1, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
Attached scsi generic sg1 at scsi0, channel 0, id 6, lun 1, type 8
-------------------------
The last line above should properly identify the robot devices
/dev/name, in this case sg1. Note also the 'lun 1' in that line
above, you must have the option in the scsi portions of the kernel
config file set for 'scan all luns' else it will not find a non
zero logical unit number when scanning the bus at boot time. This
means you may have to rebuild the kernel to get this turned on.
>I'm going to keep playing, but in the meantime any
>insight would be greatly appreciated...
Thats my best shot at 2:20 am. If thats not it... Its past this
old mans bedtime anyway. :)
[...]
--
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz 512M
99.23% setiathome rank, not too shabby for a WV hillbilly
|