<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
I've been banging on the IBMtape driver configuration but I can't
get it to work. I found that I actually won't need it as I can use
a combination of st and sgen drivers. st does the tape and sgen
does the library robot via the mtx utility (installed from
openCSW).<br>
<br>
I hope this helps someone else sometime so here's my
configuration:<br>
<br>
I actually commented out the example entries in
/kernel/drv/st.conf and /kernel/drv/sgen.conf so these files are
effectively empty. The SAS addressing is different to the examples
and the drivers seem to dynamically pick up the target addresses
and LUNs anyway.<br>
<br>
# add_drv st<br>
# add_drv sgen<br>
<br>
For each target address, the tape driver is on LUN 0 and the
library on LUN 1. Check the /etc/path_to_inst.<br>
<br>
# grep -e '\<st\>' -e '\<sgen\>' /etc/path_to_inst<br>
"/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0"
2 "st"<br>
"/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/medium-changer@w5000e11156304003,1"
3 "st"<br>
"/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/medium-changer@w5000e11156304003,1"
1 "sgen"<br>
"/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0"
4 "st"<br>
"/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/medium-changer@w5000e11156304002,1"
3 "sgen"<br>
"/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0"
0 "st"<br>
"/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/medium-changer@w5000e11156304002,1"
1 "st"<br>
"/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/medium-changer@w5000e11156304002,1"
0 "sgen"<br>
"/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0"
5 "st"<br>
"/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/medium-changer@w5000e11156304003,1"
2 "sgen"<br>
<br>
The st driver wants to sit on the same address/LUN as sgen for the
library. I tried removing it but it kept re-appearing so I left in
there.<br>
<br>
# update_drv -av -i '"scsiclass,01"' st<br>
# update_drv -av -i '"scsiclass,08"' sgen<br>
<br>
(not sure about ownership or permissions?)<br>
<br>
The devices are created!<br>
<br>
# ls -l /dev/scsi/changer/<br>
total 1<br>
lrwxrwxrwx 1 root root 107 Oct 11 14:23 c1t5000E11156304003d1
->
../../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/medium-changer@w5000e11156304003,1:changer<br>
lrwxrwxrwx 1 root root 108 Oct 11 14:23 c2t5000E11156304002d1
->
../../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/medium-changer@w5000e11156304002,1:changer<br>
<br>
# ls -l /dev/rmt<br>
total 24<br>
lrwxrwxrwx 1 root root 87 Oct 11 14:22 0 ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:<br>
lrwxrwxrwx 1 root root 88 Oct 11 14:22 0b ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:b<br>
lrwxrwxrwx 1 root root 89 Oct 11 14:22 0bn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:bn<br>
lrwxrwxrwx 1 root root 88 Oct 11 14:22 0c ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:c<br>
lrwxrwxrwx 1 root root 89 Oct 11 14:22 0cb ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:cb<br>
lrwxrwxrwx 1 root root 90 Oct 11 14:22 0cbn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:cbn<br>
lrwxrwxrwx 1 root root 89 Oct 11 14:22 0cn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:cn<br>
lrwxrwxrwx 1 root root 88 Oct 11 14:22 0h ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:h<br>
lrwxrwxrwx 1 root root 89 Oct 11 14:22 0hb ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:hb<br>
lrwxrwxrwx 1 root root 90 Oct 11 14:22 0hbn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:hbn<br>
lrwxrwxrwx 1 root root 89 Oct 11 14:22 0hn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:hn<br>
lrwxrwxrwx 1 root root 88 Oct 11 14:22 0l ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:l<br>
lrwxrwxrwx 1 root root 89 Oct 11 14:22 0lb ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:lb<br>
lrwxrwxrwx 1 root root 90 Oct 11 14:22 0lbn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:lbn<br>
lrwxrwxrwx 1 root root 89 Oct 11 14:22 0ln ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:ln<br>
lrwxrwxrwx 1 root root 88 Oct 11 14:22 0m ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:m<br>
lrwxrwxrwx 1 root root 89 Oct 11 14:22 0mb ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:mb<br>
lrwxrwxrwx 1 root root 90 Oct 11 14:22 0mbn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:mbn<br>
lrwxrwxrwx 1 root root 89 Oct 11 14:22 0mn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:mn<br>
lrwxrwxrwx 1 root root 88 Oct 11 14:22 0n ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:n<br>
lrwxrwxrwx 1 root root 88 Oct 11 14:22 0u ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:u<br>
lrwxrwxrwx 1 root root 89 Oct 11 14:22 0ub ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:ub<br>
lrwxrwxrwx 1 root root 90 Oct 11 14:22 0ubn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:ubn<br>
lrwxrwxrwx 1 root root 89 Oct 11 14:22 0un ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304003,0:un<br>
lrwxrwxrwx 1 root root 88 Oct 11 14:22 1 ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:<br>
lrwxrwxrwx 1 root root 89 Oct 11 14:22 1b ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:b<br>
lrwxrwxrwx 1 root root 90 Oct 11 14:22 1bn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:bn<br>
lrwxrwxrwx 1 root root 89 Oct 11 14:22 1c ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:c<br>
lrwxrwxrwx 1 root root 90 Oct 11 14:22 1cb ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:cb<br>
lrwxrwxrwx 1 root root 91 Oct 11 14:22 1cbn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:cbn<br>
lrwxrwxrwx 1 root root 90 Oct 11 14:22 1cn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:cn<br>
lrwxrwxrwx 1 root root 89 Oct 11 14:22 1h ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:h<br>
lrwxrwxrwx 1 root root 90 Oct 11 14:22 1hb ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:hb<br>
lrwxrwxrwx 1 root root 91 Oct 11 14:22 1hbn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:hbn<br>
lrwxrwxrwx 1 root root 90 Oct 11 14:22 1hn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:hn<br>
lrwxrwxrwx 1 root root 89 Oct 11 14:22 1l ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:l<br>
lrwxrwxrwx 1 root root 90 Oct 11 14:22 1lb ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:lb<br>
lrwxrwxrwx 1 root root 91 Oct 11 14:22 1lbn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:lbn<br>
lrwxrwxrwx 1 root root 90 Oct 11 14:22 1ln ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:ln<br>
lrwxrwxrwx 1 root root 89 Oct 11 14:22 1m ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:m<br>
lrwxrwxrwx 1 root root 90 Oct 11 14:22 1mb ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:mb<br>
lrwxrwxrwx 1 root root 91 Oct 11 14:22 1mbn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:mbn<br>
lrwxrwxrwx 1 root root 90 Oct 11 14:22 1mn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:mn<br>
lrwxrwxrwx 1 root root 89 Oct 11 14:22 1n ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:n<br>
lrwxrwxrwx 1 root root 89 Oct 11 14:22 1u ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:u<br>
lrwxrwxrwx 1 root root 90 Oct 11 14:22 1ub ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:ub<br>
lrwxrwxrwx 1 root root 91 Oct 11 14:22 1ubn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:ubn<br>
lrwxrwxrwx 1 root root 90 Oct 11 14:22 1un ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304002,0:un<br>
<br>
Ok, still reading? Here's cfgadm output:<br>
<br>
# cfgadm -av <br>
...8<...<br>
c1::rmt/0 connected configured
unknown IBM ULT3580-TD5<br>
unavailable tape n
/devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f:scsi::rmt/0<br>
c1::scsi/changer/c1t5000E1115 connected configured
unknown IBM 3573-TL<br>
unavailable med-changer n
/devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f:scsi::scsi/changer/c1t5000E11156304003d1<br>
...8<...<br>
<br>
Make sure you reboot -- -r to confirm the configuration.<br>
<br>
Here's mt and mtx output:<br>
<br>
# mt -f /dev/rmt/0 config<br>
"IBM ULT3580-TD5", "IBM ULT3580-TD5 ",
"CFGIBMULT3580TD5";<br>
CFGIBMULT3580TD5 =
2,0x3B,0,0x1018619,4,0x46,0x46,0x58,0x58,3,60,1500,600,16920,780,780,16380;<br>
<br>
# mt -f /dev/rmt/0 status<br>
IBM ULT3580-TD5 tape drive:<br>
sense key(0x0)= No Additional Sense residual= 0 retries= 0<br>
file no= 0 block no= 0<br>
<br>
# mtx -f /dev/scsi/changer/c1t5000E11156304003d1 inquiry<br>
Product Type: Medium Changer<br>
Vendor ID: 'IBM '<br>
Product ID: '3573-TL '<br>
Revision: 'B.90'<br>
Attached Changer API: No<br>
<br>
# mtx -f /dev/scsi/changer/c1t5000E11156304003d1 status<br>
Storage Changer /dev/scsi/changer/c1t5000E11156304003d1:1
Drives, 24 Slots ( 1 Import/Export )<br>
Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag
= 050CHOL5 <br>
Storage Element 1:Empty<br>
Storage Element 2:Full
:VolumeTag=051CHOL5 <br>
Storage Element 3:Full
:VolumeTag=052CHOL5 <br>
Storage Element 4:Full
:VolumeTag=053CHOL5 <br>
Storage Element 5:Full
:VolumeTag=054CHOL5 <br>
Storage Element 6:Empty<br>
Storage Element 7:Empty<br>
Storage Element 8:Empty<br>
Storage Element 9:Empty<br>
Storage Element 10:Empty<br>
Storage Element 11:Empty<br>
Storage Element 12:Empty<br>
Storage Element 13:Empty<br>
Storage Element 14:Empty<br>
Storage Element 15:Empty<br>
Storage Element 16:Empty<br>
Storage Element 17:Empty<br>
Storage Element 18:Empty<br>
Storage Element 19:Empty<br>
Storage Element 20:Empty<br>
Storage Element 21:Empty<br>
Storage Element 22:Empty<br>
Storage Element 23:Empty<br>
Storage Element 24 IMPORT/EXPORT:Empty<br>
<br>
Regards,<br>
Tom<br>
<br>
On 08/10/13 17:12, Tom Robinson wrote:<br>
</div>
<blockquote cite="mid:5253A25C.2020306@motec.com.au" type="cite">
<pre wrap="">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@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:
devfsadm[957]: verbose: symlink /dev/rmt/0n ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:n
devfsadm[957]: verbose: symlink /dev/rmt/0b ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:b
devfsadm[957]: verbose: symlink /dev/rmt/0bn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:bn
devfsadm[957]: verbose: symlink /dev/rmt/0l ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:l
devfsadm[957]: verbose: symlink /dev/rmt/0m ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:m
devfsadm[957]: verbose: symlink /dev/rmt/0h ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:h
devfsadm[957]: verbose: symlink /dev/rmt/0c ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:c
devfsadm[957]: verbose: symlink /dev/rmt/0u ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:u
devfsadm[957]: verbose: symlink /dev/rmt/0ln ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:ln
devfsadm[957]: verbose: symlink /dev/rmt/0mn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:mn
devfsadm[957]: verbose: symlink /dev/rmt/0hn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:hn
devfsadm[957]: verbose: symlink /dev/rmt/0cn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:cn
devfsadm[957]: verbose: symlink /dev/rmt/0un ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:un
devfsadm[957]: verbose: symlink /dev/rmt/0lb ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:lb
devfsadm[957]: verbose: symlink /dev/rmt/0mb ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:mb
devfsadm[957]: verbose: symlink /dev/rmt/0hb ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:hb
devfsadm[957]: verbose: symlink /dev/rmt/0cb ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:cb
devfsadm[957]: verbose: symlink /dev/rmt/0ub ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:ub
devfsadm[957]: verbose: symlink /dev/rmt/0lbn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:lbn
devfsadm[957]: verbose: symlink /dev/rmt/0mbn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:mbn
devfsadm[957]: verbose: symlink /dev/rmt/0hbn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:hbn
devfsadm[957]: verbose: symlink /dev/rmt/0cbn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:cbn
devfsadm[957]: verbose: symlink /dev/rmt/0ubn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@w5000e11156304003,0:ubn
devfsadm[957]: verbose: symlink /dev/rmt/1 ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:
devfsadm[957]: verbose: symlink /dev/rmt/1n ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:n
devfsadm[957]: verbose: symlink /dev/rmt/1b ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:b
devfsadm[957]: verbose: symlink /dev/rmt/1bn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:bn
devfsadm[957]: verbose: symlink /dev/rmt/1l ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:l
devfsadm[957]: verbose: symlink /dev/rmt/1m ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:m
devfsadm[957]: verbose: symlink /dev/rmt/1h ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:h
devfsadm[957]: verbose: symlink /dev/rmt/1c ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:c
devfsadm[957]: verbose: symlink /dev/rmt/1u ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:u
devfsadm[957]: verbose: symlink /dev/rmt/1ln ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:ln
devfsadm[957]: verbose: symlink /dev/rmt/1mn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:mn
devfsadm[957]: verbose: symlink /dev/rmt/1hn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:hn
devfsadm[957]: verbose: symlink /dev/rmt/1cn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:cn
devfsadm[957]: verbose: symlink /dev/rmt/1un ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:un
devfsadm[957]: verbose: symlink /dev/rmt/1lb ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:lb
devfsadm[957]: verbose: symlink /dev/rmt/1mb ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:mb
devfsadm[957]: verbose: symlink /dev/rmt/1hb ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:hb
devfsadm[957]: verbose: symlink /dev/rmt/1cb ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:cb
devfsadm[957]: verbose: symlink /dev/rmt/1ub ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:ub
devfsadm[957]: verbose: symlink /dev/rmt/1lbn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:lbn
devfsadm[957]: verbose: symlink /dev/rmt/1mbn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:mbn
devfsadm[957]: verbose: symlink /dev/rmt/1hbn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:hbn
devfsadm[957]: verbose: symlink /dev/rmt/1cbn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@w5000e11156304002,0:cbn
devfsadm[957]: verbose: symlink /dev/rmt/1ubn ->
../../devices/pci@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f/tape@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:
</pre>
<blockquote type="cite">
<pre wrap="">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 <a class="moz-txt-link-rfc2396E" href="mailto:tom.robinson@motec.com.au"><tom.robinson@motec.com.au></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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@0,0/pci8086,3c0a@3,2/pci1000,3020@0/iport@f0/tape@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: <a class="moz-txt-link-abbreviated" href="mailto:tom.robinson@motec.com.au">tom.robinson@motec.com.au</a>
_______________________________________________
OmniOS-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a>
<a class="moz-txt-link-freetext" href="http://lists.omniti.com/mailman/listinfo/omnios-discuss">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a>
</pre>
</blockquote>
</blockquote>
<pre wrap="">
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OmniOS-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a>
<a class="moz-txt-link-freetext" href="http://lists.omniti.com/mailman/listinfo/omnios-discuss">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a>
</pre>
</blockquote>
<br>
</body>
</html>