From owner-freebsd-firewire Wed Feb 26 2:38:58 2003 Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BFAB37B401 for ; Wed, 26 Feb 2003 02:38:56 -0800 (PST) Received: from is1.mh.itc.u-tokyo.ac.jp (is1.mh.itc.u-tokyo.ac.jp [133.11.205.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FE8843FDD for ; Wed, 26 Feb 2003 02:38:54 -0800 (PST) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from is1.mh.itc.u-tokyo.ac.jp (is1.mh.itc.u-tokyo.ac.jp [127.0.0.1]) by is1.mh.itc.u-tokyo.ac.jp (Postfix) with ESMTP id 34F252180A5 for ; Wed, 26 Feb 2003 19:38:53 +0900 (JST) Received: from mailhosting.itc.u-tokyo.ac.jp (IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3]) by is1.mh.itc.u-tokyo.ac.jp (8.11.3/8.11.3) with ESMTP id h1QAcqc05893; Wed, 26 Feb 2003 19:38:52 +0900 Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [133.11.135.3]) by mailhosting.itc.u-tokyo.ac.jp (Mirapoint Messaging Server MOS 2.9.3.2) with ESMTP id AHY65747; Wed, 26 Feb 2003 19:38:51 +0900 (JST) Date: Wed, 26 Feb 2003 19:38:51 +0900 Message-ID: From: Hidetoshi Shimokawa To: Marcel Moolenaar Cc: firewire@FreeBSD.ORG Subject: Re: Bad news: bus resets not fixed yet In-Reply-To: <20030226095348.GA565@dhcp01.pn.xcllnt.net> References: <20030222002547.GA1247@dhcp01.pn.xcllnt.net> <20030222194741.GA579@dhcp01.pn.xcllnt.net> <20030226061321.GA549@dhcp01.pn.xcllnt.net> <20030226095348.GA565@dhcp01.pn.xcllnt.net> User-Agent: Wanderlust/2.11.0 (Wonderwall) REMI/1.14.3 (Matsudai) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.4 (patch 8) (Honest Recruiter) (i386--freebsd) X-Face: OE([KxWyJI0r[R~S/>7ia}SJ)i%a,$-9%7{*yihQk|]gl}2p#"oXmX/fT}Bn7: #j7i14gu$jgR\S*&C3R/pJX List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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