Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Solaris10 x86 breaks tape

0 views
Skip to first unread message

ji...@specsol.spam.sux.com

unread,
Sep 25, 2008, 5:35:01 PM9/25/08
to
I'm migrating stuff from ancient Solaris9 SPARC boxes to a Sun Fire
X2250 running Solaris10 x86.

Everything is working except the SONY TSL-9000 DDS autoloaders.

The st driver configures properly and finds the tape drives.

The sgen driver finds the tape drives on LUN 0 and creates the
/dev/scsi/sequential tree but it can't seem to find the changer devices
on LUN 1 to create the /dev/scsi/changer tree.

The scsi driver is mpt if that makes a difference.

Anyone got a clue why sgen can't find LUN 1?

--
Jim Pennino

Remove .spam.sux to reply.

Jeff Wieland

unread,
Sep 25, 2008, 10:20:13 PM9/25/08
to

Yes -- you need to enable LUNs > 0 by editing the /kernel/drv/sgen.conf
file and rebooting (or manually unloading the driver).

Take a look at the sgen.conf file on the Solaris 9 boxes -- it was
probably done there on them as well.
--
Jeff Wieland

ji...@specsol.spam.sux.com

unread,
Sep 25, 2008, 11:05:01 PM9/25/08
to

Here's what's in sgen.conf:

name="sgen" class="scsi" target=4 lun=0;
name="sgen" class="scsi" target=4 lun=1;
name="sgen" class="scsi" target=5 lun=0;
name="sgen" class="scsi" target=5 lun=1;

Neither enable_drv -f sgen nor a reconfigure boot finds lun 1.

ji...@specsol.spam.sux.com

unread,
Sep 25, 2008, 11:15:01 PM9/25/08
to

Typo; that should be update_drv.

Message has been deleted

Oscar del Rio

unread,
Sep 26, 2008, 8:53:58 AM9/26/08
to
ji...@specsol.spam.sux.com wrote:

> Here's what's in sgen.conf:
>
> name="sgen" class="scsi" target=4 lun=0;
> name="sgen" class="scsi" target=4 lun=1;
> name="sgen" class="scsi" target=5 lun=0;
> name="sgen" class="scsi" target=5 lun=1;

Is that all you have in sgen.conf? How about

device-type-config-list=changer

and perhaps

inquiry-config-list= "ACME", "UltraToast";

as per the man page?

ji...@specsol.spam.sux.com

unread,
Sep 26, 2008, 11:45:01 AM9/26/08
to

device-type-config-list="changer","sequential","type_unknown";

inquiry-config-list= "*", "*";

And like I said, update_drv creates the links for sequential (the drive
itself) on lun 0 but NOT changer on lun 1.

Oscar del Rio

unread,
Sep 26, 2008, 11:59:02 AM9/26/08
to
ji...@specsol.spam.sux.com wrote:

> device-type-config-list="changer","sequential","type_unknown";
>
> inquiry-config-list= "*", "*";

I don't think "*" is valid for product-id, but I don't know if that would make
any difference.

ji...@specsol.spam.sux.com

unread,
Sep 26, 2008, 1:45:00 PM9/26/08
to
In comp.sys.sun.admin Oscar del Rio <del...@mie.utoronto.ca> wrote:

I've tried it both with and without that line and it didn't make any
difference, i.e. it finds lun 0 but not lun 1.

Some more information:

The Solaris 9 system doesn't have a inquiry-config-list line and it works,
so I tried that on Solaris 10; no difference.

Thinking maybe it is the card or peculiar to x86, I attached one of the
drives to a V440 running Solaris 10; same results as on x86, i.e.
lun 0 is found but not lun 1.

So, that eliminates it being a difference between the x86 architecture
and SPARC or the scsi card and driver, or the cable.

It is also not the tape drive as I have several drives and they all do
the same thing.

The only thing left is a potential difference with the sgen driver on
Solaris 9 versus Solaris 10 as far as I can see.

It would be interesting to know if anyone has been successful in getting
sgen to attach to lun 1 on Solaris 10 with any device.

Oscar del Rio

unread,
Sep 26, 2008, 2:09:47 PM9/26/08
to
ji...@specsol.spam.sux.com wrote:

> It would be interesting to know if anyone has been successful in getting
> sgen to attach to lun 1 on Solaris 10 with any device.

Try searching the bugs database. For example
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6606382

ji...@specsol.spam.sux.com

unread,
Sep 26, 2008, 4:05:00 PM9/26/08
to
In comp.sys.sun.admin Oscar del Rio <del...@mie.utoronto.ca> wrote:

I would have never thought of searching opensolaris as I have the
official bought and payed for 5/08 release on DVD.

Anyway, that sounds exactly like my problem, BUT, the workaround
doesn't seem to make any difference.

The release for U6 is supposed to be "any day now" from what I've
heard and maybe that will fix it, but I'm not holding my breath.

Oscar del Rio

unread,
Sep 26, 2008, 4:30:39 PM9/26/08
to
ji...@specsol.spam.sux.com wrote:
> The release for U6 is supposed to be "any day now" from what I've
> heard and maybe that will fix it, but I'm not holding my breath.

Test it with Solaris Express to see if it was actually fixed.
If you have Sun Support, they might be able to give you a patch.

ji...@specsol.spam.sux.com

unread,
Sep 26, 2008, 5:05:01 PM9/26/08
to
In comp.sys.sun.admin Oscar del Rio <del...@mie.utoronto.ca> wrote:
> ji...@specsol.spam.sux.com wrote:
>> The release for U6 is supposed to be "any day now" from what I've
>> heard and maybe that will fix it, but I'm not holding my breath.
>
> Test it with Solaris Express to see if it was actually fixed.

I'm afraid that's not an option as I don't have a free machine to
do that.

> If you have Sun Support, they might be able to give you a patch.

Nope, no support since 2002.

And, FWIW, all patches are up to date.

Alexander J. Maidak

unread,
Sep 27, 2008, 12:57:11 AM9/27/08
to

Are you running Solaris 10 5/08 without any additional patches?

I seem to recall the 10 5/08 kernel patch contained a problem in the mpt
driver that caused issues with the sg driver if you didn't apply a mpt
specific patch.

Check out: http://sunsolve.sun.com/search/document.do?
assetkey=1-66-231243-1

Solaris MPT(7D) patch May Cause Loss of Devices in NetBackup

ji...@specsol.spam.sux.com

unread,
Sep 27, 2008, 1:15:01 AM9/27/08
to

All the latest patches are installed.

ji...@specsol.com

unread,
Oct 18, 2008, 11:51:22 PM10/18/08
to

In case anyone else has this problem and finds this thread..

The Solaris mpt driver is broken as of Solaris10 U5 and patches as of
Oct 2008.

Get and install the itmpt driver from www.lsi.com and the problem goes
away.

0 new messages