From owner-freebsd-firewire Mon Feb 18 8:14:38 2002 Delivered-To: freebsd-firewire@freebsd.org Received: from brain-stream.com (brain-stream.com [209.95.107.206]) by hub.freebsd.org (Postfix) with ESMTP id 1CE6437B402 for ; Mon, 18 Feb 2002 08:14:25 -0800 (PST) Received: from dreadnought.pobox.com (TRIAD-DHCP-01.MIT.EDU [18.39.0.152]) by brain-stream.com (8.9.3/8.9.3) with ESMTP id IAA24642 for ; Mon, 18 Feb 2002 08:14:23 -0800 (PST) Message-Id: <5.1.0.14.2.20020218111417.023cb090@pop.earthlink.net> X-Sender: bdelong@pop.earthlink.net (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 18 Feb 2002 11:14:24 -0500 To: freebsd-firewire@FreeBSD.ORG From: "B.K. DeLong" Subject: Status of adding Firewire support to kernel? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 Hey all - I've been searching around the Web over the last week for signs firewire support will become part of the Kernel or at least an option. I received this email from another firewall-bsd list I'm on that looks promising but I'm not sure if I can install it and get a card to work along with a Firewire drive.... Thoughts? >Date: Mon, 18 Feb 2002 23:43:25 +0900 >From: Hidetoshi Shimokawa >To: Katsushi Kobayashi >Cc: firewire-bsd@marahute.cc.uec.ac.jp >Subject: [Firewire-BSD 253] Re: [Firewire-BSD 252] Re: SBP-II fix > >I modularized the firewire/sbp driver. >It can be compiled and run on both FreeBSD-current and -stable. > >I put the tar ball in: >http://people.FreeBSD.org/~simokawa/firewire-20020218.tar.gz > >1. extract it at root directory. >2. cd /sys/dev/firewire >3. make >4. make install >5. kldload firewire >6. bus reset (run ibr in ftp://ftp.uec.ac.jp/pub/firewire/beta/tool.tar) >7. camcontrol rescan 0 (or whatever scsi bus number on sbp) >8. you should find your SBP devices. > >Please note you cannot unload the driver yet.. >You may need some tweaks in cam code to disable 6 bytes read/write >operations. > >Enjoy! > >/\ Hidetoshi Shimokawa >\/ simokawa@sat.t.u-tokyo.ac.jp >PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html -- B.K. DeLong bkdelong@pobox.com 617.877.3271 http://www.brain-stream.com Play. http://www.the-leaky-cauldron.org Potter. http://www.attrition.org Security. http://www.artemisiabotanicals.com Herb. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-firewire" in the body of the message From owner-freebsd-firewire Mon Feb 18 19:30:45 2002 Delivered-To: freebsd-firewire@freebsd.org Received: from mail.sat.t.u-tokyo.ac.jp (nat.keisu.t.u-tokyo.ac.jp [133.11.68.2]) by hub.freebsd.org (Postfix) with ESMTP id 8A91337B400 for ; Mon, 18 Feb 2002 19:30:42 -0800 (PST) Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [10.6.1.30]) by mail.sat.t.u-tokyo.ac.jp (Postfix) with ESMTP id 5BE082DABA; Tue, 19 Feb 2002 12:30:41 +0900 (JST) Date: Tue, 19 Feb 2002 12:30:41 +0900 Message-ID: From: Hidetoshi Shimokawa To: "B.K. DeLong" Cc: freebsd-firewire@FreeBSD.ORG Subject: Re: Status of adding Firewire support to kernel? In-Reply-To: <5.1.0.14.2.20020218111417.023cb090@pop.earthlink.net> References: <5.1.0.14.2.20020218111417.023cb090@pop.earthlink.net> User-Agent: Wanderlust/2.4.1 (Stand By Me) REMI/1.14.3 (Matsudai) FLIM/1.13.2 (Kasanui) APEL/10.3 MULE XEmacs/21.2 (beta19) (Shinjuku) (i386-unknown-freebsd3.2) 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, 18 Feb 2002 11:14:24 -0500, B.K. DeLong wrote: > > Hey all - > > I've been searching around the Web over the last week for signs firewire > support will become part of the Kernel or at least an option. > > I received this email from another firewall-bsd list I'm on that looks > promising but I'm not sure if I can install it and get a card to work along > with a Firewire drive.... > > Thoughts? I don't think it's production level. But it's worth to try. I believe most of the OHCI chips are supported by the fwohci code, SBP devices which has only one LUN should be detected correctly by sbp code. You may need some quirks in CAM layer. Give me a feedback. /\ 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 Feb 18 19:37: 8 2002 Delivered-To: freebsd-firewire@freebsd.org Received: from brain-stream.com (brain-stream.com [209.95.107.206]) by hub.freebsd.org (Postfix) with ESMTP id 88EF737B402 for ; Mon, 18 Feb 2002 19:37:05 -0800 (PST) Received: from laptop.pobox.com (h00609708e398.ne.mediaone.net [24.128.187.79]) by brain-stream.com (8.9.3/8.9.3) with ESMTP id TAA09708; Mon, 18 Feb 2002 19:36:44 -0800 (PST) Message-Id: <5.1.0.14.2.20020218223500.0176f2c0@pop.earthlink.net> X-Sender: bkdelong@pop.earthlink.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 18 Feb 2002 22:36:47 -0500 To: Hidetoshi Shimokawa From: "B.K. DeLong" Subject: Re: Status of adding Firewire support to kernel? Cc: freebsd-firewire@FreeBSD.ORG In-Reply-To: References: <5.1.0.14.2.20020218111417.023cb090@pop.earthlink.net> <5.1.0.14.2.20020218111417.023cb090@pop.earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 At 12:30 PM 02/19/2002 +0900, Hidetoshi Shimokawa wrote: >I don't think it's production level. But it's worth to try. >I believe most of the OHCI chips are supported by the fwohci code, >SBP devices which has only one LUN should be detected correctly by sbp >code. You may need some quirks in CAM layer. > >Give me a feedback. Hehehe. I should have known you'd be on this list too. I'll let you know how it goes - my brother and I are working on installing this drive: http://www.zeehoo.com/miva/merchant.mv?Screen=PROD&Store_Code=zeehoo&Product_Code=firewirehd81gb7200&Category_Code=HD -- B.K. DeLong bkdelong@pobox.com 617.877.3271 http://www.brain-stream.com Play. http://www.the-leaky-cauldron.org Potter. http://www.attrition.org Security. http://www.artemisiabotanicals.com Herb. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-firewire" in the body of the message From owner-freebsd-firewire Tue Feb 19 19:30:13 2002 Delivered-To: freebsd-firewire@freebsd.org Received: from mail.sat.t.u-tokyo.ac.jp (nat.keisu.t.u-tokyo.ac.jp [133.11.68.2]) by hub.freebsd.org (Postfix) with ESMTP id 991B837B416 for ; Tue, 19 Feb 2002 19:30:06 -0800 (PST) Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [10.6.1.30]) by mail.sat.t.u-tokyo.ac.jp (Postfix) with ESMTP id A04A02DABB; Wed, 20 Feb 2002 12:30:04 +0900 (JST) Date: Wed, 20 Feb 2002 12:30:04 +0900 Message-ID: From: Hidetoshi Shimokawa To: Alan Clegg , "B.K. DeLong" Cc: freebsd-firewire@FreeBSD.ORG Subject: Re: Status of adding Firewire support to kernel? In-Reply-To: <5.1.0.14.2.20020218111417.023cb090@pop.earthlink.net> References: <5.1.0.14.2.20020218111417.023cb090@pop.earthlink.net> User-Agent: Wanderlust/2.4.1 (Stand By Me) REMI/1.14.3 (Matsudai) FLIM/1.13.2 (Kasanui) APEL/10.3 MULE XEmacs/21.2 (beta19) (Shinjuku) (i386-unknown-freebsd3.2) 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 > >Date: Mon, 18 Feb 2002 23:43:25 +0900 > >From: Hidetoshi Shimokawa > >To: Katsushi Kobayashi > >Cc: firewire-bsd@marahute.cc.uec.ac.jp > >Subject: [Firewire-BSD 253] Re: [Firewire-BSD 252] Re: SBP-II fix > > > >I modularized the firewire/sbp driver. > >It can be compiled and run on both FreeBSD-current and -stable. > > > >I put the tar ball in: > >http://people.FreeBSD.org/~simokawa/firewire-20020218.tar.gz > > > >1. extract it at root directory. > >2. cd /sys/dev/firewire > >3. make > >4. make install > >5. kldload firewire If you are using it on FreeBSD-4. you may have to make /dev/fw0 manually. # cd /dev # mknod fw0 c 127 0 this should do the job. > >6. bus reset (run ibr in ftp://ftp.uec.ac.jp/pub/firewire/beta/tool.tar) > >7. camcontrol rescan 0 (or whatever scsi bus number on sbp) > >8. you should find your SBP devices. > > > >Please note you cannot unload the driver yet.. > >You may need some tweaks in cam code to disable 6 bytes read/write > >operations. > > > >Enjoy! /\ 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 Tue Feb 19 20:36: 8 2002 Delivered-To: freebsd-firewire@freebsd.org Received: from mail.sat.t.u-tokyo.ac.jp (nat.keisu.t.u-tokyo.ac.jp [133.11.68.2]) by hub.freebsd.org (Postfix) with ESMTP id E22FA37B402 for ; Tue, 19 Feb 2002 20:36:04 -0800 (PST) Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [10.6.1.30]) by mail.sat.t.u-tokyo.ac.jp (Postfix) with ESMTP id AAC542DABB; Wed, 20 Feb 2002 13:36:03 +0900 (JST) Date: Wed, 20 Feb 2002 13:36:03 +0900 Message-ID: From: Hidetoshi Shimokawa To: Alan Clegg Cc: freebsd-firewire@freebsd.org Subject: Re: Status of adding Firewire support to kernel? In-Reply-To: <20020219210222.A23686@shell.wetworks.org> References: <5.1.0.14.2.20020218111417.023cb090@pop.earthlink.net> <20020219210222.A23686@shell.wetworks.org> User-Agent: Wanderlust/2.4.1 (Stand By Me) REMI/1.14.3 (Matsudai) FLIM/1.13.2 (Kasanui) APEL/10.3 MULE XEmacs/21.2 (beta19) (Shinjuku) (i386-unknown-freebsd3.2) 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 Tue, 19 Feb 2002 21:02:22 -0500, Alan Clegg wrote: > > [1 ] > Unless the network is lying to me again, Hidetoshi Shimokawa said: > > > I don't think it's production level. But it's worth to try. > > I believe most of the OHCI chips are supported by the fwohci code, > > SBP devices which has only one LUN should be detected correctly by sbp > > code. You may need some quirks in CAM layer. > > > > Give me a feedback. > > Got it working with my Sony Vaio PCG-C1VN with the following: > > fwohci0: mem 0xfc018000-0xfc01bfff,0xfc01d000-0xfc01d7ff irq 9 at device 8.0 on pci0 > fwohci0: PCI bus latency was changing to 250. > cache size 8. > fwohciinit -1 > fwohci0: No. of Isochronous channel is 4. > fwohci0: cannot read phy ^^^^^^^^^^^^^^^^ > fwohci0: Link 1394 only S100, 0 ports. ^^^^^^^^^ This should be a problem. Could you increase time of DELAY() in fwohci.c and try again? /* * probe PHY parameters * 0. to prove PHY version, whether compliance of 1394a. * 1. to probe maximum speed supported by the PHY and * number of port supported by core-logic. * It is not actually available port on your PC . */ /* Wait a while */ DELAY(100); ^^^^^^^^^^^ reg = fwphy_rddata(sc, FW_PHY_SPD_REG); /\ 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 Wed Feb 20 0:19:12 2002 Delivered-To: freebsd-firewire@freebsd.org Received: from mail.sat.t.u-tokyo.ac.jp (nat.keisu.t.u-tokyo.ac.jp [133.11.68.2]) by hub.freebsd.org (Postfix) with ESMTP id 08ECC37B400 for ; Wed, 20 Feb 2002 00:19:10 -0800 (PST) Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [10.6.1.30]) by mail.sat.t.u-tokyo.ac.jp (Postfix) with ESMTP id 21CF22DABB; Wed, 20 Feb 2002 17:19:09 +0900 (JST) Date: Wed, 20 Feb 2002 17:19:09 +0900 Message-ID: From: Hidetoshi Shimokawa To: freebsd-firewire@freebsd.org Cc: Katsushi Kobayashi Subject: Re: Status of adding Firewire support to kernel? Newsgroups: freebsd.firewire In-Reply-To: References: <20020219210222.A23686@shell.wetworks.org> <5.1.0.14.2.20020218111417.023cb090@pop.earthlink.net> User-Agent: Wanderlust/2.4.1 (Stand By Me) REMI/1.14.3 (Matsudai) FLIM/1.13.2 (Kasanui) APEL/10.3 MULE XEmacs/21.2 (beta19) (Shinjuku) (i386-unknown-freebsd3.2) 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 I have updated the tarball. http://people.FreeBSD.org/~simokawa/firewire-20020220.tar.gz You don't need 'bus reset' or 'camcontrol rescan' anymore. You may still need to do mknod or patch cam/scsi code, see MAKEDEV and CAM-patch in the archive. /\ 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