I know it's been a while and I bet you weren't expecting to hear back from me yet. Unfortunately I had to put my time elsewhere - but I've been keeping up with the group and suggestions to my problem.
>From what I can tell of my /var/log/dmesg file my autoloader is on /dev/st0 - which is odd because mtx doesn't seem to agree. when I run: mtx -f /dev/st0 inquiry I get: failed to set sg timeout - Invalid argument when I do the same with sg0: (mtx -f /dev/sg0 inquiry) I get: Product Type: Tape Drive Vendor ID: 'SEAGATE ' Product ID: 'DAT 06241-XXX' Revision: '8110' Attached Changer: No that's the only command that comes back with anything sensible - everything else is errors Here's the SCSI section from /var/log/dmesg: scsi0 : ioc0: LSI53C1030, FwRev=01000400h, Ports=1, MaxQ=222, IRQ=27 scsi1 : ioc1: LSI53C1030, FwRev=01000400h, Ports=1, MaxQ=222, IRQ=28 Vendor: SEAGATE Model: DAT 06241-XXX Rev: 8110 Type: Sequential-Access ANSI SCSI revision: 03 scsi2 : IBM PCI ServeRAID 4.90.18 <ServeRAID 4Mx> Vendor: IBM Model: SERVERAID Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02 Vendor: IBM Model: SERVERAID Rev: 1.00 Type: Processor ANSI SCSI revision: 02 Vendor: IBM Model: 32P0042a S320 1 Rev: 1 Type: Processor ANSI SCSI revision: 02 Attached scsi disk sda at scsi2, channel 0, id 0, lun 0 SCSI device sda: 286744576 512-byte hdwr sectors (146813 MB) Partition check: sda: sda1 sda2 sda3 sda4 < sda5 > Journalled Block Device driver loaded kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Freeing unused kernel memory: 320k freed Adding Swap: 2096252k swap-space (priority -1) usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-ohci.c: USB OHCI at membase 0xf8995000, IRQ 3 usb-ohci.c: usb-00:0f.2, ServerWorks OSB4/CSB5 OHCI USB Controller usb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub found hub.c: 4 ports detected EXT3 FS 2.4-0.9.18, 14 May 2002 on sd(8,2), internal journal kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.18, 14 May 2002 on sd(8,5), internal journal EXT3-fs: mounted filesystem with ordered data mode. st: Version 20020205, bufsize 32768, wrt 30720, max init. bufs 4, s/g segs 16 Attached scsi tape st0 at scsi1, channel 0, id 6, lun 0 Once a tape is manually loaded, I can write to it (this is how I've been backing up while too busy to just fix it) but I can't get the autoloader part to do anything. any ideas? I really appreciate the help on this - this is one of the best groups I've dealt with and I apologize for my ignorance. I'm reading up as fast as I can... -John --- Gene Heskett <[EMAIL PROTECTED]> wrote: > 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 ([EMAIL PROTECTED]) > (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 __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com
