SGEN driver troubles on L9 / DLT8000

From: Urie, Todd (TUrie@trueposition.com)
Date: Fri Dec 06 2002 - 08:29:28 EST


I'm trying to configure the 'sgen' driver to enable 'mtx' on an L9 / DLT8000
tape drive setup. I currently have two tape drives attached to a Netra
t1125: one HP-DAT and one L9 / DLT8000. The HP_DAT shows up as /dev/rmt/0
and the L9 / DLT8000 shows up as /dev/rmt/1.

Running 'mtx -f /dev/rmt1 inquiry' returns:

Product Type: Tape Drive
Vendor ID: 'QUANTUM '
Product ID: 'DLT8000 '
Revision: '0114'
Attached Changer: No

The relevant parts of my sgen.conf are:

device-type-config-list="changer";
name="sgen" class="scsi" target=0 lun=0;
name="sgen" class="scsi" target=1 lun=0;
name="sgen" class="scsi" target=1 lun=1;
name="sgen" class="scsi" target=1 lun=2;
name="sgen" class="scsi" target=1 lun=3;
name="sgen" class="scsi" target=1 lun=4;
name="sgen" class="scsi" target=1 lun=5;
name="sgen" class="scsi" target=1 lun=6;
name="sgen" class="scsi" target=1 lun=7;
name="sgen" class="scsi" target=2 lun=0;
name="sgen" class="scsi" target=3 lun=0;
name="sgen" class="scsi" target=4 lun=0;
name="sgen" class="scsi" target=5 lun=0;
name="sgen" class="scsi" target=6 lun=0;
name="sgen" class="scsi" target=7 lun=0;
name="sgen" class="scsi" target=8 lun=0;
name="sgen" class="scsi" target=9 lun=0;
name="sgen" class="scsi" target=10 lun=0;
name="sgen" class="scsi" target=11 lun=0;
name="sgen" class="scsi" target=12 lun=0;
name="sgen" class="scsi" target=13 lun=0;
name="sgen" class="scsi" target=14 lun=0;

The /dev/rmt/1 entry maps to:

/devices/pci@1f,4000/scsi@4,1/st@1,0:

Based upon that, I thought that the 'name="sgen" class="scsi" target=1
lun=0' entry should do the trick. The other entries are a sign of
desperation, trying to catch one that will work.

When I attempt to attach the sgen driver using 'devfsadm -i sgen' I get a
"driver not attached" error. If I use 'truss' to help identify the problem
I see 'devfsadm' attempt the following:

open("/devices/pseudo/devinfo@0:devinfo", O_RDONLY) = 5
ioctl(5, 0xDF81, 0xFFBEF7D0) Err#6 ENXIO
close(5) = 0
write(2, " d e v f s a d m", 8) = 8
write(2, " : ", 2) = 2
write(2, " d r i v e r f a i l e".., 25) = 25
write(2, " s g e n", 4) = 4
write(2, "\n", 1) = 1
fcntl(4, F_SETLK, 0xFFBEFB4C) = 0
close(4) = 0
llseek(0, 0, SEEK_CUR) = 52585
_exit(11)

Per the man page for devfsadm, this tells me that the ioctl parameters are
correct, but there is some problem with the associated subdevice. This is
about as far as I have gotten.

Extensive searches using 'google' and man pages tell me that this should be
simple. But I'm at a loss as to what I'm missing. Any help would be
greatly appreciated.

Thanks,
Todd Urie
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:25 EDT