From owner-freebsd-firewire Sun Mar 2 8:16:52 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 C37AE37B401 for ; Sun, 2 Mar 2003 08:16:50 -0800 (PST) Received: from is2.mh.itc.u-tokyo.ac.jp (is2.mh.itc.u-tokyo.ac.jp [133.11.205.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DAD443FAF for ; Sun, 2 Mar 2003 08:16:49 -0800 (PST) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from is2.mh.itc.u-tokyo.ac.jp (is2.mh.itc.u-tokyo.ac.jp [127.0.0.1]) by is2.mh.itc.u-tokyo.ac.jp (Postfix) with ESMTP id 6123D378077 for ; Mon, 3 Mar 2003 01:16:47 +0900 (JST) Received: from mailhosting.itc.u-tokyo.ac.jp (IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3]) by is2.mh.itc.u-tokyo.ac.jp (8.11.3/8.11.3) with ESMTP id h22GGlR23719; Mon, 3 Mar 2003 01:16:47 +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 AHZ25707; Mon, 3 Mar 2003 01:16:45 +0900 (JST) Date: Mon, 03 Mar 2003 01:16:45 +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: <20030228080145.GA1736@athlon.pn.xcllnt.net> References: <20030222194741.GA579@dhcp01.pn.xcllnt.net> <20030226061321.GA549@dhcp01.pn.xcllnt.net> <20030226095348.GA565@dhcp01.pn.xcllnt.net> <20030228053856.GA640@dhcp01.pn.xcllnt.net> <20030228080145.GA1736@athlon.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 Does this patch fix your problem? /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html Index: fwohci.c =================================================================== RCS file: /home/ncvs/src/sys/dev/firewire/fwohci.c,v retrieving revision 1.41 diff -u -r1.41 fwohci.c --- fwohci.c 18 Feb 2003 09:39:48 -0000 1.41 +++ fwohci.c 2 Mar 2003 16:05:15 -0000 @@ -1784,11 +1784,13 @@ #endif fw_busreset(fc); +#if 0 OWRITE(sc, OHCI_AREQHI, 1 << 31); /* XXX insecure ?? */ OWRITE(sc, OHCI_PREQHI, 0x7fffffff); OWRITE(sc, OHCI_PREQLO, 0xffffffff); OWRITE(sc, OHCI_PREQUPPER, 0x10000); +#endif } busresetout: @@ -1857,6 +1859,13 @@ #endif /* Enable bus reset interrupt */ OWRITE(sc, FWOHCI_INTMASK, OHCI_INT_PHY_BUS_R); +#if 1 + OWRITE(sc, OHCI_AREQHI, 1 << 31); + /* XXX insecure ?? */ + OWRITE(sc, OHCI_PREQHI, 0x7fffffff); + OWRITE(sc, OHCI_PREQLO, 0xffffffff); + OWRITE(sc, OHCI_PREQUPPER, 0x10000); +#endif /* ** Checking whether the node is root or not. If root, turn on ** cycle master. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-firewire" in the body of the message From owner-freebsd-firewire Sun Mar 2 12:50:34 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 D0BFC37B401 for ; Sun, 2 Mar 2003 12:50:31 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD22643F3F for ; Sun, 2 Mar 2003 12:50:30 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.6/8.12.6) with ESMTP id h22KoU1o086275; Sun, 2 Mar 2003 12:50:30 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.7/8.12.7) with ESMTP id h22KoTB1015453; Sun, 2 Mar 2003 12:50:30 -0800 (PST) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.7/8.12.7/Submit) id h22KoTeR015452; Sun, 2 Mar 2003 12:50:29 -0800 (PST) (envelope-from marcel) Date: Sun, 2 Mar 2003 12:50:29 -0800 From: Marcel Moolenaar To: Hidetoshi Shimokawa Cc: firewire@FreeBSD.ORG Subject: Re: Bad news: bus resets not fixed yet Message-ID: <20030302205029.GA15426@dhcp01.pn.xcllnt.net> References: <20030226061321.GA549@dhcp01.pn.xcllnt.net> <20030226095348.GA565@dhcp01.pn.xcllnt.net> <20030228053856.GA640@dhcp01.pn.xcllnt.net> <20030228080145.GA1736@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.3i Sender: owner-freebsd-firewire@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Mar 03, 2003 at 01:16:45AM +0900, Hidetoshi Shimokawa wrote: > Does this patch fix your problem? No, sorry. I do see a difference: \begin{dmesg} firewire0: New S400 device ID:08004603011eb709 firewire0: Device SBP-II ad0: 28615MB [58140/16/63] at ata0-master UDMA100 pcm0: measured ac97 link rate at 3014 Hz (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition (probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:29,0 (probe0:umass-sim0:0:0:0): Power on, reset, or bus device reset occurred (probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 (probe0:umass-sim0:0:0:0): Medium not present (probe0:umass-sim0:0:0:0): Unretryable error Mounting root from ufs:/dev/ad0s1a \end{dmesg} I did not get the "Power on, reset, or bus device reset..." before. Is this a freak coincidence or is this something that can be caused by the patch? Other than that I still get the bus reset loop (dmesg given from the moment the sbp module is loaded until it's unloaded): \begin{dmesg} sbp_identify sbp_probe sbp0: on firewire0 sbp_attach (cold=0) sbp_post_explore (sbp_cold=1) sbp_post_explore: EUI:08004603011eb709 spec=1 key=1. target 0 lun 0 found sbp0:0:0 ordered:0 type:5 EUI:08004603011eb709 node:0 speed:2 maxrec:10 new! sbp0:0:0 'Sony' 'PCGA-DSM5' 'ad1830' sbp0:0:0 LOGIN fwohci0: BUS reset fwohci0: node_id = 0xc000ffc1, CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) sbp_post_explore (sbp_cold=0) sbp_post_explore: EUI:08004603011eb709 spec=1 key=1. sbp0:0:0 ordered:0 type:5 EUI:08004603011eb709 node:0 speed:2 maxrec:10 new! sbp0:0:0 'Sony' 'PCGA-DSM5' 'ad1830' sbp0:0:0 LOGIN sbp0:0:0 request timeout ... management ORB fwohci0: BUS reset fwohci0: node_id = 0xc000ffc1, CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) sbp_post_explore (sbp_cold=0) sbp_post_explore: EUI:08004603011eb709 spec=1 key=1. sbp0:0:0 ordered:0 type:5 EUI:08004603011eb709 node:0 speed:2 maxrec:10 new! sbp0:0:0 'Sony' 'PCGA-DSM5' 'ad1830' sbp0:0:0 LOGIN sbp0:0:0 request timeout ... management ORB fwohci0: BUS reset fwohci0: node_id = 0xc000ffc1, CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) sbp_post_explore (sbp_cold=0) sbp_post_explore: EUI:08004603011eb709 spec=1 key=1. sbp0:0:0 ordered:0 type:5 EUI:08004603011eb709 node:0 speed:2 maxrec:10 new! sbp0:0:0 'Sony' 'PCGA-DSM5' 'ad1830' sbp0:0:0 LOGIN sbp0:0:0 request timeout ... management ORB fwohci0: BUS reset fwohci0: node_id = 0xc000ffc1, CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) sbp_post_explore (sbp_cold=0) sbp_post_explore: EUI:08004603011eb709 spec=1 key=1. sbp0:0:0 ordered:0 type:5 EUI:08004603011eb709 node:0 speed:2 maxrec:10 new! sbp0:0:0 'Sony' 'PCGA-DSM5' 'ad1830' sbp_detach sbp_detach_target 0 sbp_logout_all sbp0: detached \end{dmesg} -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-firewire" in the body of the message From owner-freebsd-firewire Sun Mar 2 20:21:19 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 35AF937B401 for ; Sun, 2 Mar 2003 20:21:16 -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 C0A8743F3F for ; Sun, 2 Mar 2003 20:21:11 -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 5280A2180F9 for ; Mon, 3 Mar 2003 13:21:08 +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 h234L8c20247; Mon, 3 Mar 2003 13:21:08 +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 AHZ32626; Mon, 3 Mar 2003 13:21:06 +0900 (JST) Date: Mon, 03 Mar 2003 13:21:06 +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: <20030302205029.GA15426@dhcp01.pn.xcllnt.net> References: <20030226061321.GA549@dhcp01.pn.xcllnt.net> <20030226095348.GA565@dhcp01.pn.xcllnt.net> <20030228053856.GA640@dhcp01.pn.xcllnt.net> <20030228080145.GA1736@athlon.pn.xcllnt.net> <20030302205029.GA15426@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 As I mentioned in the latest commit message, I suspect that your chip is disabled for accepting asyc. request. Do you have any other FreeBSD box with FireWire? You can find OHCI 1.1 spec at: http://developer.intel.com/technology/1394/download/ohci_11.htm /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html At Sun, 2 Mar 2003 12:50:29 -0800, Marcel Moolenaar wrote: > > On Mon, Mar 03, 2003 at 01:16:45AM +0900, Hidetoshi Shimokawa wrote: > > Does this patch fix your problem? > > No, sorry. I do see a difference: > > \begin{dmesg} > firewire0: New S400 device ID:08004603011eb709 > firewire0: Device SBP-II > ad0: 28615MB [58140/16/63] at ata0-master UDMA100 > pcm0: measured ac97 link rate at 3014 Hz > (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition > (probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:29,0 > (probe0:umass-sim0:0:0:0): Power on, reset, or bus device reset occurred > (probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data) > (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition > (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 > (probe0:umass-sim0:0:0:0): Medium not present > (probe0:umass-sim0:0:0:0): Unretryable error > Mounting root from ufs:/dev/ad0s1a > \end{dmesg} > > I did not get the "Power on, reset, or bus device reset..." before. > Is this a freak coincidence or is this something that can be caused > by the patch? > > Other than that I still get the bus reset loop (dmesg given from the > moment the sbp module is loaded until it's unloaded): > > \begin{dmesg} > sbp_identify > sbp_probe > sbp0: on firewire0 > sbp_attach (cold=0) > sbp_post_explore (sbp_cold=1) > sbp_post_explore: EUI:08004603011eb709 spec=1 key=1. > target 0 lun 0 found > sbp0:0:0 ordered:0 type:5 EUI:08004603011eb709 node:0 speed:2 maxrec:10 new! > sbp0:0:0 'Sony' 'PCGA-DSM5' 'ad1830' > sbp0:0:0 LOGIN > fwohci0: BUS reset > fwohci0: node_id = 0xc000ffc1, CYCLEMASTER mode > firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) > sbp_post_explore (sbp_cold=0) > sbp_post_explore: EUI:08004603011eb709 spec=1 key=1. > sbp0:0:0 ordered:0 type:5 EUI:08004603011eb709 node:0 speed:2 maxrec:10 new! > sbp0:0:0 'Sony' 'PCGA-DSM5' 'ad1830' > sbp0:0:0 LOGIN > sbp0:0:0 request timeout ... management ORB > fwohci0: BUS reset > fwohci0: node_id = 0xc000ffc1, CYCLEMASTER mode > firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) > sbp_post_explore (sbp_cold=0) > sbp_post_explore: EUI:08004603011eb709 spec=1 key=1. > sbp0:0:0 ordered:0 type:5 EUI:08004603011eb709 node:0 speed:2 maxrec:10 new! > sbp0:0:0 'Sony' 'PCGA-DSM5' 'ad1830' > sbp0:0:0 LOGIN > sbp0:0:0 request timeout ... management ORB > fwohci0: BUS reset > fwohci0: node_id = 0xc000ffc1, CYCLEMASTER mode > firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) > sbp_post_explore (sbp_cold=0) > sbp_post_explore: EUI:08004603011eb709 spec=1 key=1. > sbp0:0:0 ordered:0 type:5 EUI:08004603011eb709 node:0 speed:2 maxrec:10 new! > sbp0:0:0 'Sony' 'PCGA-DSM5' 'ad1830' > sbp0:0:0 LOGIN > sbp0:0:0 request timeout ... management ORB > fwohci0: BUS reset > fwohci0: node_id = 0xc000ffc1, CYCLEMASTER mode > firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) > sbp_post_explore (sbp_cold=0) > sbp_post_explore: EUI:08004603011eb709 spec=1 key=1. > sbp0:0:0 ordered:0 type:5 EUI:08004603011eb709 node:0 speed:2 maxrec:10 new! > sbp0:0:0 'Sony' 'PCGA-DSM5' 'ad1830' > sbp_detach > sbp_detach_target 0 > sbp_logout_all > sbp0: detached > \end{dmesg} > > -- > Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-firewire" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-firewire" in the body of the message From owner-freebsd-firewire Sun Mar 2 21:37:35 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 1796437B401 for ; Sun, 2 Mar 2003 21:37:34 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E68643F85 for ; Sun, 2 Mar 2003 21:37:33 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.6/8.12.6) with ESMTP id h235bW1o088275; Sun, 2 Mar 2003 21:37:32 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.7/8.12.7) with ESMTP id h235bWB1016947; Sun, 2 Mar 2003 21:37:32 -0800 (PST) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.7/8.12.7/Submit) id h235bLMH016946; Sun, 2 Mar 2003 21:37:21 -0800 (PST) (envelope-from marcel) Date: Sun, 2 Mar 2003 21:37:21 -0800 From: Marcel Moolenaar To: Hidetoshi Shimokawa Cc: firewire@FreeBSD.ORG Subject: Re: Bad news: bus resets not fixed yet Message-ID: <20030303053721.GA16857@dhcp01.pn.xcllnt.net> References: <20030226061321.GA549@dhcp01.pn.xcllnt.net> <20030226095348.GA565@dhcp01.pn.xcllnt.net> <20030228053856.GA640@dhcp01.pn.xcllnt.net> <20030228080145.GA1736@athlon.pn.xcllnt.net> <20030302205029.GA15426@dhcp01.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.3i Sender: owner-freebsd-firewire@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Mar 03, 2003 at 01:21:06PM +0900, Hidetoshi Shimokawa wrote: > As I mentioned in the latest commit message, I suspect that your chip is > disabled for accepting asyc. request. I see. > Do you have any other FreeBSD box with FireWire? No, why? > You can find OHCI 1.1 spec at: > http://developer.intel.com/technology/1394/download/ohci_11.htm Thanks. I guess this means I have to dig into it myself. If I have any questions, I'll sure ask them :-) -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-firewire" in the body of the message From owner-freebsd-firewire Mon Mar 3 1:19:19 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 0386D37B401 for ; Mon, 3 Mar 2003 01:19:18 -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 A98C143F3F for ; Mon, 3 Mar 2003 01:19:15 -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 EC3DB2180F9 for ; Mon, 3 Mar 2003 18:19:13 +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 h239JDc15975; Mon, 3 Mar 2003 18:19:13 +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 AIA02833; Mon, 3 Mar 2003 18:19:12 +0900 (JST) Date: Mon, 03 Mar 2003 18:19:11 +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: <20030303053721.GA16857@dhcp01.pn.xcllnt.net> References: <20030226061321.GA549@dhcp01.pn.xcllnt.net> <20030226095348.GA565@dhcp01.pn.xcllnt.net> <20030228053856.GA640@dhcp01.pn.xcllnt.net> <20030228080145.GA1736@athlon.pn.xcllnt.net> <20030302205029.GA15426@dhcp01.pn.xcllnt.net> <20030303053721.GA16857@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 Sun, 2 Mar 2003 21:37:21 -0800, Marcel Moolenaar wrote: > > On Mon, Mar 03, 2003 at 01:21:06PM +0900, Hidetoshi Shimokawa wrote: > > As I mentioned in the latest commit message, I suspect that your chip is > > disabled for accepting asyc. request. > > I see. > > > Do you have any other FreeBSD box with FireWire? > > No, why? To send async. request to your laptop and see how it responses. Of course you can use other device/OS to generate such request but I don't know how to use them. > > You can find OHCI 1.1 spec at: > > http://developer.intel.com/technology/1394/download/ohci_11.htm > > Thanks. I guess this means I have to dig into it myself. If I > have any questions, I'll sure ask them :-) You are welcome. /\ 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 From owner-freebsd-firewire Mon Mar 3 1:52: 1 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 63EE037B401 for ; Mon, 3 Mar 2003 01:52:00 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F53643F85 for ; Mon, 3 Mar 2003 01:51:59 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.6/8.12.6) with ESMTP id h239px1o089208; Mon, 3 Mar 2003 01:51:59 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.7/8.12.7) with ESMTP id h239pwB1088086; Mon, 3 Mar 2003 01:51:58 -0800 (PST) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.7/8.12.7/Submit) id h239pwrc088085; Mon, 3 Mar 2003 01:51:58 -0800 (PST) (envelope-from marcel) Date: Mon, 3 Mar 2003 01:51:58 -0800 From: Marcel Moolenaar To: Hidetoshi Shimokawa Cc: firewire@FreeBSD.ORG Subject: Re: Bad news: bus resets not fixed yet Message-ID: <20030303095158.GA88014@dhcp01.pn.xcllnt.net> References: <20030226095348.GA565@dhcp01.pn.xcllnt.net> <20030228053856.GA640@dhcp01.pn.xcllnt.net> <20030228080145.GA1736@athlon.pn.xcllnt.net> <20030302205029.GA15426@dhcp01.pn.xcllnt.net> <20030303053721.GA16857@dhcp01.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.3i Sender: owner-freebsd-firewire@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Mar 03, 2003 at 06:19:11PM +0900, Hidetoshi Shimokawa wrote: > > > > > Do you have any other FreeBSD box with FireWire? > > > > No, why? > > To send async. request to your laptop and see how it responses. > Of course you can use other device/OS to generate such request but > I don't know how to use them. I installed Red Hat 8 on my old laptop and it has firewire as well. I'll nuke RH and reinstall FreeBSD. I don't use the laptop anyway now, so I might as well do something useful with it :-) -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-firewire" in the body of the message From owner-freebsd-firewire Mon Mar 3 4:51:35 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 BA5B337B401 for ; Mon, 3 Mar 2003 04:51:33 -0800 (PST) Received: from is2.mh.itc.u-tokyo.ac.jp (is2.mh.itc.u-tokyo.ac.jp [133.11.205.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20DB543FE1 for ; Mon, 3 Mar 2003 04:51:31 -0800 (PST) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from is2.mh.itc.u-tokyo.ac.jp (is2.mh.itc.u-tokyo.ac.jp [127.0.0.1]) by is2.mh.itc.u-tokyo.ac.jp (Postfix) with ESMTP id EEC70378076 for ; Mon, 3 Mar 2003 21:51:27 +0900 (JST) Received: from mailhosting.itc.u-tokyo.ac.jp (IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3]) by is2.mh.itc.u-tokyo.ac.jp (8.11.3/8.11.3) with ESMTP id h23CpRR04305; Mon, 3 Mar 2003 21:51:27 +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 AIA06329; Mon, 3 Mar 2003 21:51:26 +0900 (JST) Date: Mon, 03 Mar 2003 21:51:26 +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: <20030303095158.GA88014@dhcp01.pn.xcllnt.net> References: <20030226095348.GA565@dhcp01.pn.xcllnt.net> <20030228053856.GA640@dhcp01.pn.xcllnt.net> <20030228080145.GA1736@athlon.pn.xcllnt.net> <20030302205029.GA15426@dhcp01.pn.xcllnt.net> <20030303053721.GA16857@dhcp01.pn.xcllnt.net> <20030303095158.GA88014@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 Mon, 3 Mar 2003 01:51:58 -0800, Marcel Moolenaar wrote: > > On Mon, Mar 03, 2003 at 06:19:11PM +0900, Hidetoshi Shimokawa wrote: > > > > > > > Do you have any other FreeBSD box with FireWire? > > > > > > No, why? > > > > To send async. request to your laptop and see how it responses. > > Of course you can use other device/OS to generate such request but > > I don't know how to use them. > > I installed Red Hat 8 on my old laptop and it has firewire as well. > I'll nuke RH and reinstall FreeBSD. I don't use the laptop anyway > now, so I might as well do something useful with it :-) Make sure your old laptop has a OHCI chip. I heard some old sony laptop has a controller other than OHCI. The easiest way to do aync. request is using /dev/fwmem0. There are some examples in /sys/dev/firewire/00REAME using with ps, dmesg and so on. (sysctl node has changeg to 'hw.firewire.fwmem.eui64_{hi,lo}) To test write request, dcons/fwchat is an interesting application. You can find it at: http://people.freebsd.org/~simokawa/firewire/dcons-20030224.tar.gz /\ 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 From owner-freebsd-firewire Mon Mar 3 14:58: 1 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 4B61437B401 for ; Mon, 3 Mar 2003 14:58:00 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0BF543FD7 for ; Mon, 3 Mar 2003 14:57:58 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by ns1.xcllnt.net (8.12.6/8.12.6) with ESMTP id h23Mvw1o092814; Mon, 3 Mar 2003 14:57:58 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.7/8.12.7) with ESMTP id h23MvwUF000923; Mon, 3 Mar 2003 14:57:58 -0800 (PST) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.7/8.12.7/Submit) id h23Mvu2u000922; Mon, 3 Mar 2003 14:57:56 -0800 (PST) (envelope-from marcel) Date: Mon, 3 Mar 2003 14:57:56 -0800 From: Marcel Moolenaar To: Hidetoshi Shimokawa Cc: firewire@FreeBSD.ORG Subject: Re: Bad news: bus resets not fixed yet Message-ID: <20030303225756.GC837@athlon.pn.xcllnt.net> References: <20030228053856.GA640@dhcp01.pn.xcllnt.net> <20030228080145.GA1736@athlon.pn.xcllnt.net> <20030302205029.GA15426@dhcp01.pn.xcllnt.net> <20030303053721.GA16857@dhcp01.pn.xcllnt.net> <20030303095158.GA88014@dhcp01.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.3i Sender: owner-freebsd-firewire@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Mar 03, 2003 at 09:51:26PM +0900, Hidetoshi Shimokawa wrote: > At Mon, 3 Mar 2003 01:51:58 -0800, > Marcel Moolenaar wrote: > > > > On Mon, Mar 03, 2003 at 06:19:11PM +0900, Hidetoshi Shimokawa wrote: > > > > > > > > > Do you have any other FreeBSD box with FireWire? > > > > > > > > No, why? > > > > > > To send async. request to your laptop and see how it responses. > > > Of course you can use other device/OS to generate such request but > > > I don't know how to use them. > > > > I installed Red Hat 8 on my old laptop and it has firewire as well. > > I'll nuke RH and reinstall FreeBSD. I don't use the laptop anyway > > now, so I might as well do something useful with it :-) > > Make sure your old laptop has a OHCI chip. I heard some old sony laptop > has a controller other than OHCI. Pheeuw... It has... (at least according to Linux) > The easiest way to do aync. request is using /dev/fwmem0. > There are some examples in /sys/dev/firewire/00REAME using with ps, > dmesg and so on. > (sysctl node has changeg to 'hw.firewire.fwmem.eui64_{hi,lo}) > To test write request, dcons/fwchat is an interesting application. > You can find it at: > http://people.freebsd.org/~simokawa/firewire/dcons-20030224.tar.gz Thanks for the pointers. I thought about using fwe(4) myself, but this may be easier... -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-firewire" in the body of the message From owner-freebsd-firewire Mon Mar 3 22:39:19 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 7C04337B401 for ; Mon, 3 Mar 2003 22:39:18 -0800 (PST) Received: from is2.mh.itc.u-tokyo.ac.jp (is2.mh.itc.u-tokyo.ac.jp [133.11.205.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6775E43F75 for ; Mon, 3 Mar 2003 22:39:14 -0800 (PST) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from is2.mh.itc.u-tokyo.ac.jp (is2.mh.itc.u-tokyo.ac.jp [127.0.0.1]) by is2.mh.itc.u-tokyo.ac.jp (Postfix) with ESMTP id 8F84C37807E for ; Tue, 4 Mar 2003 15:39:11 +0900 (JST) Received: from mailhosting.itc.u-tokyo.ac.jp (IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3]) by is2.mh.itc.u-tokyo.ac.jp (8.11.3/8.11.3) with ESMTP id h246dBR10169; Tue, 4 Mar 2003 15:39:11 +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 AIA21815; Tue, 4 Mar 2003 15:39:10 +0900 (JST) Date: Tue, 04 Mar 2003 15:39:10 +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: <20030303225756.GC837@athlon.pn.xcllnt.net> References: <20030228053856.GA640@dhcp01.pn.xcllnt.net> <20030228080145.GA1736@athlon.pn.xcllnt.net> <20030302205029.GA15426@dhcp01.pn.xcllnt.net> <20030303053721.GA16857@dhcp01.pn.xcllnt.net> <20030303095158.GA88014@dhcp01.pn.xcllnt.net> <20030303225756.GC837@athlon.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 Mon, 3 Mar 2003 14:57:56 -0800, Marcel Moolenaar wrote: > > The easiest way to do aync. request is using /dev/fwmem0. > > There are some examples in /sys/dev/firewire/00REAME using with ps, > > dmesg and so on. > > (sysctl node has changeg to 'hw.firewire.fwmem.eui64_{hi,lo}) > > To test write request, dcons/fwchat is an interesting application. > > You can find it at: > > http://people.freebsd.org/~simokawa/firewire/dcons-20030224.tar.gz > > Thanks for the pointers. I thought about using fwe(4) myself, but > this may be easier... if_fwe is very easy to use because it looks like a usual ethernet and you can use bridging and vlan. However, it uses 'async. stream packet' which is different from 'async. request packet', so we cannot use it for testing 'async. request'. /\ 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