Date: Sat, 22 Feb 2003 22:25:54 +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: <ybssmugmopp.wl@ett.sat.t.u-tokyo.ac.jp> In-Reply-To: <20030222002547.GA1247@dhcp01.pn.xcllnt.net> References: <20030222002547.GA1247@dhcp01.pn.xcllnt.net>
next in thread | previous in thread | raw e-mail | index | archive | help
At Fri, 21 Feb 2003 16:25:47 -0800, Marcel Moolenaar wrote: > > Gang, > > I rebooted after Hidetoshi-san's patch has been committed and I > also made sure to include ken's cd(4) fixes, but unfortunately > the bus resets have returned. We may have timing problems that > were hidden by the additional overhead of emitting the debug info. > Unfortunately I don't have much time to experiment with that, but > do want to pitch the following question(s): > o Aren't bus resets expensive operations in general/principle? It's expensive, at least, for bus operation. We cannot do transactions while bus reset phase. > o My logs show 6 resets per second (unoptimized :-). Isn't this > high no matter if there's a bug or not? Too high and unusual. Please note the driver doesn't initiate bus reset at all as far as dmesg says. Your CD drive seems initiate bus reset. (fwcontrol -t shows who initiated bus reset last time) phy chip of your laptop may initiate bus reset. > o Are we not supposed to give devices some time to react upon the > or otherwise build in some safety? I don't know about that. Even with the success case: http://www.xcllnt.net/~marcel/vaio.txt Feb 20 13:10:17 dhcp01 kernel: sbp_post_explore (sbp_cold=2) Feb 20 13:10:17 dhcp01 kernel: sbp_post_explore: EUI:08004603011eb709 spec=1 key=1. Feb 20 13:10:17 dhcp01 kernel: target 0 lun 0 found Feb 20 13:10:17 dhcp01 kernel: sbp0:0:0 LOGIN Feb 20 13:10:17 dhcp01 kernel: sbp0:0:0 ordered:0 type:5 EUI:08004603011eb709 node:1 speed:2 maxrec:10 new! Feb 20 13:10:17 dhcp01 kernel: sbp0:0:0 'Sony' 'PCGA-DSM5' 'ad1830' Feb 20 13:10:17 dhcp01 kernel: fwohci0: BUS reset Someone initiated bus reset just after login operation. I'd like to know why this happens... /\ 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?ybssmugmopp.wl>