Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2003 19:38:51 +0900
From:      Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        firewire@FreeBSD.ORG
Subject:   Re: Bad news: bus resets not fixed yet
Message-ID:  <ybsof4zl41w.wl@ett.sat.t.u-tokyo.ac.jp>
In-Reply-To: <20030226095348.GA565@dhcp01.pn.xcllnt.net>
References:  <20030222002547.GA1247@dhcp01.pn.xcllnt.net> <ybssmugmopp.wl@ett.sat.t.u-tokyo.ac.jp> <20030222194741.GA579@dhcp01.pn.xcllnt.net> <ybs3cmdn37u.wl@ett.sat.t.u-tokyo.ac.jp> <ybsznolll5j.wl@ett.sat.t.u-tokyo.ac.jp> <20030226061321.GA549@dhcp01.pn.xcllnt.net> <ybsptpfl7oa.wl@ett.sat.t.u-tokyo.ac.jp> <20030226095348.GA565@dhcp01.pn.xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At Wed, 26 Feb 2003 01:53:48 -0800,
Marcel Moolenaar wrote:
> 
> On Wed, Feb 26, 2003 at 06:20:37PM +0900, Hidetoshi Shimokawa wrote:
> > > 
> > > Non-verbose boot info can be found here:
> > > 	http://www.xcllnt.net/~marcel/vaio.txt
> > > Verbose boot info can be found here:
> > > 	http://www.xcllnt.net/~marcel/vaio-verbose.txt
> > 
> > The verbose output seems too verbose.
> > Can you take non-verbose but enabling debug in sbp.c?
> 
> Yes, see: http://www.xcllnt.net/~marcel/vaio-debug.txt
> 
> Not much difference, really.
Thanks.

It retries with LOGIN after first LOGIN failure as I intended.
It seems that your drive need a wait more than reconnect_hold 
time(see SBP-2 spec) to login.

> > Inserting some delay might be a workaround but we have to
> > finish probing before CAM start scan the bus....
> 
> You sent a patch for that as well. If you can resent it, then
> I'll try that too.

I have not sent it yet :-)

I assume you have a access to P4 depot.
I have rewritten major part of the probe routine and
implemented "wait before login" in P4 branch simokawa_sbp.

Copy //depot/user/simokawa/sbp/sys/dev/firewire/* to
/sys/dev/firewire/ and try that.

It waits 2 sec. before login and waits more 2 sec. before
 scan the (SCSI) bus(except boot-time).

If your BIOS has logined with reconnet_hold=0, 2 sec should be enough.

> BTW: Can you give me a pointer to the firewire specs? Maybe I
> can read up on it enough to think along (if I have the time).

IEEE-1394 spec is not freely available but you can get 
SBP-2 spec from:
http://www.t10.org/scsi-3.htm

I think it's enough for the moment.

/\ Hidetoshi Shimokawa
\/  simokawa@sat.t.u-tokyo.ac.jp
PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-firewire" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ybsof4zl41w.wl>