Subject: FireWire HDD setup
To: None <port-i386@netbsd.org>
From: Rishabh Kumar Goel <Rishabh@soc-soft.com>
List: port-i386
Date: 06/24/2003 20:36:53
hey guys i have got a Firewire HDD, but even after making the initial =
changes in the configuration file i m not able to detect it.

The demesg detects the fwnode but not the HDD on SD. I m using an IOI =
46022 firewire card. It has 2 TSB43AB22 TI's iOHCI chips with 4 ports.

Can nebody help me out of this.

Regards,
Rishabh


the dmesg looks something like this
-------------------------------------------------------------------------=
----
fwohci1 at pci1 dev 8 function 0: Texas Instruments TSB43AA22/A OHCI =
IEEE 1394 Host Controller (rev. 0x00)
fwohci1: interrupting at PCI-C
fwohci1: OHCI 1.1, 00:02:7a:06:00:00:04:86, 400Mb/s, 2048 max_rec, 4 =
ir_ctx, 8 it_ctx
root device: ne0
dump device:=20
file system (default generic): nfs
root on ne0
nfs_boot: trying DHCP/BOOTP
FWNODE not successfully recognisedfw0 at fwohci0: =
00:02:7a:06:00:00:04:85:0a:02:ff:ff:f0:01:00:00
Successfully detected the nodefwnode0 at fwohci0In Fwnode attach =
function  Node 0: UID 00:66:77:6f:68:63:69:65
AB_DATA: 0
AB_ADDR: FFFF F0000400
AB_RETADDR: 0 0
AB_TCODE: 0
AB_TLABEL: 0
AB_LENGTH: 4
AB_RETLEN: 0
AB_RETRIES: 0
AB_SUBOK: 0
fwohci_handler_set: ctx 3, tcode 6, key 0x0, 0x0, 0x0
Return value from HANDLER 0   Return value from AT_OUTPUT 35   fwohci0: =
Config ROM:
    0404c36d 31333934 6000a002 00027a06 00000485 00042236 0300005e =
81000003
    0c0083c0 d1000006 00049b20 00000000 00000000 4e657442 53440000 =
0005635c
    1200005e 81000004 13000001 81000006 95000009 0003c150 00000000 =
00000000
    49414e41 0003170d 00000000 00000000 49507634 0004127c 0000ffff =
f0010001
    0000ffff f0010000
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000400, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000404, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000408, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf000040c, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000410, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000414, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000418, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf000041c, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000420, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000424, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000428, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf000042c, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000430, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000434, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000438, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf000043c, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000440, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000444, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000448, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf000044c, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000450, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000454, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000458, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf000045c, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000460, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000464, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000468, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf000046c, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000470, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000474, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000478, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf000047c, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000480, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000484, 0x0
fwohci_handler_set: ctx 2, tcode 0, key 0xffff, 0xf0000000, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000000, 0x0
fwohci_handler_set: ctx 2, tcode 0, key 0xffff, 0xf0000004, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000004, 0x0
fwohci_handler_set: ctx 2, tcode 0, key 0xffff, 0xf0000200, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000200, 0x0
fwohci_handler_set: ctx 2, tcode 0, key 0xffff, 0xf0000204, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000204, 0x0
fwohci_handler_set: ctx 2, tcode 0, key 0xffff, 0xf0000210, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000210, 0x0
fwohci_handler_set: ctx 2, tcode 0, key 0xffff, 0xf000021c, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf000021c, 0x0
fwohci_handler_set: ctx 2, tcode 0, key 0xffff, 0xf0000224, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000224, 0x0
fwohci_handler_set: ctx 2, tcode 0, key 0xffff, 0xf0000228, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000228, 0x0
fwohci_handler_set: ctx 2, tcode 0, key 0xffff, 0xf0000234, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000234, 0x0
fwohci0: intmask=3D0x00020010: BusReset RQPkt(0x8409)
fwohci0: intmask=3D0x00010000: SelfIDComplete
fwohci0: SelfID: 0x0001000c
    00010000 807f8052 7f807fad
fwohci0: nodeid=3D0xffc0(0), rootid=3D0, irmid=3D63
fwnode0: Updating nodeid to 0
FWNODE not successfully recognisedfw1 at fwohci1: =
00:02:7a:06:00:00:04:86:0a:02:ff:ff:f0:01:00:00
Successfully detected the nodefwnode1 at fwohci1In Fwnode attach =
function  Node 0: UID 00:66:77:6f:68:63:69:65
AB_DATA: 0
AB_ADDR: FFFF F0000400
AB_RETADDR: 0 0
AB_TCODE: 0
AB_TLABEL: 0
AB_LENGTH: 4
AB_RETLEN: 0
AB_RETRIES: 0
AB_SUBOK: 0
fwohci_handler_set: ctx 3, tcode 6, key 0x0, 0x0, 0x0
Return value from HANDLER 0   Return value from AT_OUTPUT 35   fwohci1: =
Config ROM:
    0404f30e 31333934 6000a002 00027a06 00000486 00042236 0300005e =
81000003
    0c0083c0 d1000006 00049b20 00000000 00000000 4e657442 53440000 =
0005635c
    1200005e 81000004 13000001 81000006 95000009 0003c150 00000000 =
00000000
    49414e41 0003170d 00000000 00000000 49507634 0004127c 0000ffff =
f0010001
    0000ffff f0010000
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000400, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000404, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000408, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf000040c, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000410, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000414, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000418, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf000041c, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000420, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000424, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000428, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf000042c, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000430, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000434, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000438, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf000043c, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000440, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000444, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000448, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf000044c, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000450, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000454, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000458, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf000045c, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000460, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000464, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000468, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf000046c, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000470, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000474, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000478, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf000047c, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000480, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000484, 0x0
fwohci_handler_set: ctx 2, tcode 0, key 0xffff, 0xf0000000, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000000, 0x0
fwohci_handler_set: ctx 2, tcode 0, key 0xffff, 0xf0000004, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000004, 0x0
fwohci_handler_set: ctx 2, tcode 0, key 0xffff, 0xf0000200, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000200, 0x0
fwohci_handler_set: ctx 2, tcode 0, key 0xffff, 0xf0000204, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000204, 0x0
fwohci_handler_set: ctx 2, tcode 0, key 0xffff, 0xf0000210, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000210, 0x0
fwohci_handler_set: ctx 2, tcode 0, key 0xffff, 0xf000021c, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf000021c, 0x0
fwohci_handler_set: ctx 2, tcode 0, key 0xffff, 0xf0000224, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000224, 0x0
fwohci_handler_set: ctx 2, tcode 0, key 0xffff, 0xf0000228, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000228, 0x0
fwohci_handler_set: ctx 2, tcode 0, key 0xffff, 0xf0000234, 0x0
fwohci_handler_set: ctx 2, tcode 4, key 0xffff, 0xf0000234, 0x0
fwohci1: intmask=3D0x00020010: BusReset RQPkt(0x8409)
fwohci1: intmask=3D0x00010000: SelfIDComplete
fwohci1: SelfID: 0x0001001c
    00010000 807f8094 7f807f6b 817f8062 7e807f9d 827f84f4 7d807b0b
fwohci1: nodeid=3D0xffc1(1), rootid=3D2, irmid=3D63
fwohci_handler_set: ctx 3, tcode 6, key 0x0, 0x1, 0x0
fwohci_at_output: tcode 0x4, tlabel 0x1 hlen 12, dlen 0
    00000540 ffc0ffff f000040c$
fwohci_at_output: desc 24
    123c000c 00000000 00000000 00000000 00000540 ffc0ffff f000040c =
33ec73c8
fwohci1: intmask=3D0x00000001: ReqTxComplete(0x8012)
fwohci1: intmask=3D0x00000020: RSPkt(0x8411)
fwohci_handler_set: ctx 3, tcode 6, key 0x0, 0x2, 0x0
fwohci_at_output: tcode 0x4, tlabel 0x2 hlen 12, dlen 0
    00000940 ffc0ffff f0000410$
fwohci_at_output: desc 26
    123c000c 00000000 00000000 00000000 00000940 ffc0ffff f0000410 =
31dcb3cc
fwnode1: Updating nodeid to 1
fwohci1: intmask=3D0x00000021: ReqTxComplete(0x8012) RSPkt(0x8411)
fwohci_handler_set: ctx 3, tcode 6, key 0x2, 0x3, 0x0
fwohci_at_output: tcode 0x4, tlabel 0x3 hlen 12, dlen 0
    00000d40 ffc2ffff f000040c$
fwohci_at_output: desc 28
    123c000c 00000000 00000000 00000000 00000d40 ffc2ffff f000040c =
735c790d
fwohci_handler_set: ctx 3, tcode 6, key 0x2, 0x4, 0x0
fwohci1: intmask=3D0x00000001: ReqTxComplete(0x8003)
fwohci_at_output: tcode 0x4, tlabel 0x4 hlen 12, dlen 0
    00001140 ffc2ffff f0000410$
fwohci_at_output: desc 30
    123c000c 00000000 00000000 00000000 00001140 ffc2ffff f0000410 =
33ce63cc
fwohci_at_done: desc 24 (2)fwohci1: intmask=3D0x00000001: =
ReqTxComplete(0x8003)

    123c000c 00000000 00c571a2 84120407 00000540 ffc0ffff f000040c =
33ec73c8
fwohci_at_done: desc 26 (2)
    123c000c 00000000 00c571c2 841206db 00000940 ffc0ffff f0000410 =
31dcb3cc
fwohci_at_done: desc 28 (2)
    123c000c 00000000 00c571e2 840309b1 00000d40 ffc2ffff f000040c =
735c790d
fwohci_at_done: desc 30 (2)
    123c000c 00000000 00000000 84030c29 00001140 ffc2ffff f0000410 =
33ce63cc
fwohci_buf_pktget: desc 16, off 0, req 4096, res 4056, len 4, avail 40
fwohci_buf_pktget: desc 16, off 4, req 4096, res 4056, len 8, avail 36
fwohci_buf_input: tcode=3D0x6, tlabel=3D0x1, hlen=3D12, dlen=3D4
fwohci_buf_pktget: desc 16, off 12, req 4096, res 4056, len 4, avail 28
fwohci_buf_pktget: desc 16, off 16, req 4096, res 4056, len 4, avail 24
fwohci_arrs_input: tcode 0x6, from 0xffc0, tlabel 0x1, rcode 0x0, hlen =
12, dlen 4
In UID_Input
PKT_TCODE 6
PKT_HLEN C
PKT_DLEN 4
PKT_HDR
	FFC10560 FFC00000 0 0
fwohci_buf_pktget: desc 16, off 20, req 4096, res 4056, len 4, avail 20
fwohci_buf_pktget: desc 16, off 24, req 4096, res 4056, len 8, avail 16
fwohci_buf_input: tcode=3D0x6, tlabel=3D0x2, hlen=3D12, dlen=3D4
fwohci_buf_pktget: desc 16, off 32, req 4096, res 4056, len 4, avail 8
fwohci_buf_pktget: desc 16, off 36, req 4096, res 4056, len 4, avail 4
fwohci_arrs_input: tcode 0x6, from 0xffc0, tlabel 0x2, rcode 0x0, hlen =
12, dlen 4
In UID_Input
PKT_TCODE 6
PKT_HLEN C
PKT_DLEN 4
PKT_HDR
	FFC10960 FFC00000 0 0
fwohci_uid_input: Node 0, UID 00:02:c0:00:05:21:05:50
Successfully detected the nodefwnode2 at fwohci1In Fwnode attach =
function  Node 0: UID 00:02:c0:00:05:21:05:50
AB_DATA: 0
AB_ADDR: FFFF F0000400
AB_RETADDR: 0 0
AB_TCODE: 0
AB_TLABEL: 0
AB_LENGTH: 4
AB_RETLEN: 0
AB_RETRIES: 0
AB_SUBOK: 0
fwohci_handler_set: ctx 3, tcode 6, key 0x0, 0x5, 0x0
Return value from HANDLER 0   fwohci_at_output: tcode 0x4, tlabel 0x5 =
hlen 12, dlen 0
    00001540 ffc0ffff f0000400$
fwohci_at_output: desc 24
    123c000c 00000000 00000000 00000000 00001540 ffc0ffff f0000400 =
33ec73c8
Return value from AT_OUTPUT 0   fwohci1: intmask=3D0x00000021: =
ReqTxComplete(0x8012) RSPkt(0x8411)
fwohci_buf_pktget: desc 16, off 40, req 4096, res 4036, len 4, avail 20
fwohci_buf_pktget: desc 16, off 44, req 4096, res 4036, len 8, avail 16
fwohci_buf_input: tcode=3D0x3, tlabel=3D0x31, hlen=3D12, dlen=3D0
fwohci_buf_pktget: desc 16, off 52, req 4096, res 4036, len 4, avail 8
fwohci_arrs_input: tcode 0x3, from 0xcc33, tlabel 0x31, rcode 0xc, hlen =
12, dlen 0
fwohci_arrs_input: no listner
fwohci_buf_pktget: desc 16, off 56, req 4096, res 4036, len 4, avail 4
fwohci_buf_pktget: desc 16, off 60, req 4096, res 4036, len 8, avail 0
fwohci_buf_input: malformed input 1: 8
fwohci_at_done: desc 24 (2)
    123c000c 00000000 00000000 84121d4a 00001540 ffc0ffff f0000400 =
33ec73c8
PKT_TCODE FFFFFFFF
PKT_HLEN 0
PKT_DLEN 0
PKT_HDR
	1540 0 0 0
fwohci_buf_pktget: desc 16, off 60, req 4096, res 4036, len 4, avail 0
fwohci_buf_input: no input for 3
-------------------------------------------------------------------------=
----
Scanned by SecureSynergy VirusScreen Service. 
For more information log on to : http://www.securesynergyonline.com or http://www.securesynergy.com