Date: Mon, 10 Feb 2003 17:13:43 +0100 From: Andrea Campi <andrea@webcom.it> To: "M. Warner Losh" <imp@bsdimp.com> Cc: simokawa@sat.t.u-tokyo.ac.jp, current@FreeBSD.ORG Subject: Re: firewire hangs on Thinkpad Message-ID: <20030210161343.GA744@webcom.it> In-Reply-To: <20030209.100654.133045082.imp@bsdimp.com> References: <20030129114951.GA3635@webcom.it> <ybs8yx3x6s0.wl@ett.sat.t.u-tokyo.ac.jp> <ybsy94psbp8.wl@ett.sat.t.u-tokyo.ac.jp> <20030209.100654.133045082.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 09, 2003 at 10:06:54AM -0700, M. Warner Losh wrote: > Maybe something more like the following would be closer to correct: > Yes, that seems to work. After changing carbus.c as you suggested, kldload'ing sbp.ko and inserting the card results in: brian# cbb0: card inserted: event=0x00000000, state=30000920 cbb0: cbb_power: CARD_VCC_0V and CARD_VPP_0V [44] cbb0: cbb_power: CARD_VCC_3V and CARD_VPP_VCC [11] found-> vendor=0x104c, dev=0x8023, revid=0x00 class=0c-00-10, hdrtype=0x00, mfdev=0 cmdreg=0x0000, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0xa8 (5040 ns), mingnt=0x02 (500 ns), maxlat=0x04 (1000 ns) intpin=a, irq=255 cardbus0: Expecting link target, got 0x42 cardbus0: Resource not specified in CIS: id=10, size=800 cardbus0: Resource not specified in CIS: id=14, size=4000 cardbus0: Resource not specified in CIS: id=18, size=800 cardbus0: Non-prefetchable memory at 88004000-88008fff cardbus0: Non-prefetchable memory rid=14 at 88004000-88007fff (4000) cardbus0: Non-prefetchable memory rid=18 at 88008000-880087ff (800) cardbus0: Non-prefetchable memory rid=10 at 88008800-88008fff (800) fwohci0: <Texas Instruments TSB43AB22/A> mem 0x88008000-0x880087ff,0x88004000-0x 88007fff,0x88008800-0x88008fff irq 11 at device 0.0 on cardbus0 fwohci0: PCI bus latency was changing to 250. fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channel is 4. fwohci0: EUI64 00:01:fb:00:00:00:00:6e fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: <IEEE1394(FireWire) bus> on fwohci0 sbp0: <SBP2/SCSI over firewire> on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: BUS reset fwohci0: node_id = 0xc000ffc0, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) However, if I do it in the opposite direction, i.e. I load sbp.ko when the card is already in the system I get: found-> vendor=0x104c, dev=0x8023, revid=0x00 class=0c-00-10, hdrtype=0x00, mfdev=0 cmdreg=0x0000, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0xa8 (5040 ns), mingnt=0x02 (500 ns), maxlat=0x04 (1000 ns) intpin=a, irq=11 cardbus0: Bad header in rom 0: [0] ffff fwohci0: <Texas Instruments TSB43AB22/A> at device 0.0 on cardbus0 fwohci0: PCI bus latency is 255. fwohci0: Could not map memory device_probe_and_attach: fwohci0 attach returned 6 This might be completely unrelated but it might help you, I don't know. What's weird is that my Thinkpad 570E has never had any problem recognizing cards already present at boot, for instance. Bye, Andrea -- To boldly go where I surely don't belong. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030210161343.GA744>