[OmniOS-discuss] SAS tape driver
Tom Robinson
tom.robinson at motec.com.au
Tue Oct 8 06:12:44 UTC 2013
Hi Garret,
Thanks for your help on this.
At the moment I'm actually trying to get to grips with the device management by trying to restore
the installed settings I had before I attempted the IBMtape driver installation. My thinking was
that if I can restore those settings I will understand the whole set up a bit better.
So I have re-established the 'st' driver by doing the following:
# rem_drv st
Driver (st) not installed.
# add_drv st
devfsadm: driver failed to attach: st
# modinfo -cw | grep '\<st\>'
288 1 st LOADED/INSTALLED
# update_drv -av -i '"scsiclass,01"' st
exit status = 0
devfsadm[957]: verbose: symlink /dev/rmt/0 ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:
devfsadm[957]: verbose: symlink /dev/rmt/0n ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:n
devfsadm[957]: verbose: symlink /dev/rmt/0b ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:b
devfsadm[957]: verbose: symlink /dev/rmt/0bn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:bn
devfsadm[957]: verbose: symlink /dev/rmt/0l ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:l
devfsadm[957]: verbose: symlink /dev/rmt/0m ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:m
devfsadm[957]: verbose: symlink /dev/rmt/0h ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:h
devfsadm[957]: verbose: symlink /dev/rmt/0c ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:c
devfsadm[957]: verbose: symlink /dev/rmt/0u ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:u
devfsadm[957]: verbose: symlink /dev/rmt/0ln ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:ln
devfsadm[957]: verbose: symlink /dev/rmt/0mn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:mn
devfsadm[957]: verbose: symlink /dev/rmt/0hn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:hn
devfsadm[957]: verbose: symlink /dev/rmt/0cn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:cn
devfsadm[957]: verbose: symlink /dev/rmt/0un ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:un
devfsadm[957]: verbose: symlink /dev/rmt/0lb ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:lb
devfsadm[957]: verbose: symlink /dev/rmt/0mb ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:mb
devfsadm[957]: verbose: symlink /dev/rmt/0hb ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:hb
devfsadm[957]: verbose: symlink /dev/rmt/0cb ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:cb
devfsadm[957]: verbose: symlink /dev/rmt/0ub ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:ub
devfsadm[957]: verbose: symlink /dev/rmt/0lbn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:lbn
devfsadm[957]: verbose: symlink /dev/rmt/0mbn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:mbn
devfsadm[957]: verbose: symlink /dev/rmt/0hbn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:hbn
devfsadm[957]: verbose: symlink /dev/rmt/0cbn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:cbn
devfsadm[957]: verbose: symlink /dev/rmt/0ubn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:ubn
devfsadm[957]: verbose: symlink /dev/rmt/1 ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:
devfsadm[957]: verbose: symlink /dev/rmt/1n ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:n
devfsadm[957]: verbose: symlink /dev/rmt/1b ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:b
devfsadm[957]: verbose: symlink /dev/rmt/1bn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:bn
devfsadm[957]: verbose: symlink /dev/rmt/1l ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:l
devfsadm[957]: verbose: symlink /dev/rmt/1m ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:m
devfsadm[957]: verbose: symlink /dev/rmt/1h ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:h
devfsadm[957]: verbose: symlink /dev/rmt/1c ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:c
devfsadm[957]: verbose: symlink /dev/rmt/1u ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:u
devfsadm[957]: verbose: symlink /dev/rmt/1ln ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:ln
devfsadm[957]: verbose: symlink /dev/rmt/1mn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:mn
devfsadm[957]: verbose: symlink /dev/rmt/1hn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:hn
devfsadm[957]: verbose: symlink /dev/rmt/1cn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:cn
devfsadm[957]: verbose: symlink /dev/rmt/1un ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:un
devfsadm[957]: verbose: symlink /dev/rmt/1lb ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:lb
devfsadm[957]: verbose: symlink /dev/rmt/1mb ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:mb
devfsadm[957]: verbose: symlink /dev/rmt/1hb ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:hb
devfsadm[957]: verbose: symlink /dev/rmt/1cb ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:cb
devfsadm[957]: verbose: symlink /dev/rmt/1ub ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:ub
devfsadm[957]: verbose: symlink /dev/rmt/1lbn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:lbn
devfsadm[957]: verbose: symlink /dev/rmt/1mbn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:mbn
devfsadm[957]: verbose: symlink /dev/rmt/1hbn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:hbn
devfsadm[957]: verbose: symlink /dev/rmt/1cbn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:cbn
devfsadm[957]: verbose: symlink /dev/rmt/1ubn ->
../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f/tape at w5000e11156304002,0:ubn
Now I need to try again with the IBMtape driver.
Regards,
Tom
On 08/10/13 02:05, Garrett D'Amore wrote:
> Need to see the IBM changes to /etc/driver_aliases. My guess is that this is the source of the problem. If you know the name of the kernel driver for the IBM tape module, you could rem_drv it. A reboot may be required for the change to take effect.
>
> - Garrett
>
> On Oct 6, 2013, at 9:37 PM, Tom Robinson <tom.robinson at motec.com.au> wrote:
>
>> Hi,
>>
>> I'm running OmniOS r151006 on a SuperMicro X9 motherboard.
>>
>> I'm trying to configure an IBM TS3100 tape library with not much luck.
>>
>> I used to see the tape through the 'st' driver (at least I think it was the st driver). But after
>> following the IBM documentation and installing the IBMtape driver a I can no longer see the tape.
>>
>> I'm also having issues with the 'reboot -- -r' command hanging on 'rebooting...' message and am
>> wondering if that is compounding the issue (see separate thread).
>>
>> After no luck with the IBMtape driver, I am now trying to revert to the st driver and not having any
>> luck with that either.
>>
>> The device links under /dev/rmt had to be removed as part of the IBMtape setup but they were similar
>> to the following listing:
>> lrwxrwxrwx 1 root root 88 Sep 20 03:18 0 ->
>> ../../devices/pci at 0,0/pci8086,3c0a at 3,2/pci1000,3020 at 0/iport at f0/tape at w5000e11156304003,0:
>>
>> I now have nothing listed under /dev/rmt and the st module appears not to load:
>> # modinfo -cw | grep '\<st\>'
>> 287 11 st UNLOADED/UNINSTALLED
>>
>> # modload -p drv/st
>> can't load module: No such device or address
>>
>> # modload -p drv/amd64/st
>> can't load module: No such device or address
>>
>> (not sure which of the above is the correct driver actually)
>>
>> Any help is much appreciated.
>>
>> Kind regards,
>> Tom
>>
>> More info:
>> # uname -m
>> i86pc
>>
>> /kernel/drv/st.conf
>> name="st" class="scsi" target=0 lun=0;
>> name="st" class="scsi" target=1 lun=0;
>> name="st" class="scsi" target=2 lun=0;
>> name="st" class="scsi" target=3 lun=0;
>> name="st" class="scsi" target=4 lun=0;
>> name="st" class="scsi" target=5 lun=0;
>> name="st" class="scsi" target=6 lun=0;
>>
>> /etc/driver_aliases
>> ...
>> st "scsiclass,01"
>> ...
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> Tom Robinson
>> IT Manager/System Administrator
>>
>> MoTeC Pty Ltd
>>
>> 121 Merrindale Drive
>> Croydon South
>> 3136 Victoria
>> Australia
>>
>> T: +61 3 9761 5050
>> F: +61 3 9761 5051
>> E: tom.robinson at motec.com.au
>>
>>
>> _______________________________________________
>> OmniOS-discuss mailing list
>> OmniOS-discuss at lists.omniti.com
>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
URL: <https://omniosce.org/ml-archive/attachments/20131008/427d7ff4/attachment.bin>
More information about the OmniOS-discuss
mailing list