Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Jun 2008 10:53:04 -0700
From:      Sean Bruno <sbruno@miralink.com>
To:        Hidetoshi Shimokawa <simokawa@FreeBSD.ORG>
Cc:        freebsd-firewire@freebsd.org
Subject:   Re: sbp_targ errors with windows initiators
Message-ID:  <48482800.8000501@miralink.com>
In-Reply-To: <4846F3F9.1080302@miralink.com>
References:  <4846F3F9.1080302@miralink.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sean Bruno wrote:
> When connecting to a Windows 2K3 initiator, I seem to get different 
> behavior that I don't understand.  Can you explain what this firewire 
> debug log means?
>
> AFAIK my code base works with Linux, FreeBSD and OS/X based 
> initiators, yet Windows eludes me.  :(
>
>
> fwohci0: BUS reset
> fwohci0: node_id=0x8800ffc0, gen=4, non CYCLEMASTER mode
> firewire0: 2 nodes, maxhop <= 1, cable IRM = 1
> sbp_targ_recv: cannot resolve nodeid=1
> sbp_targ_recv: rtcode = 6 lo == 0x0
> fwohci0: start AT DMA status=0
> fwohci0: maxdesc: 3
> fwohci0: start AT DMA status=f
> fwohci0: fw_set_bus_manager: 1->1 (loop=0)
> firewire0: bus manager 1
> fwohci0: txd err= 3 miss Ack err
> fw_explore: node 2, err = -1
> fwohci0: txd err= 3 miss Ack err
> fw_explore: node 2, err = -1
> fwohci0: txd err= 3 miss Ack err
> fw_explore: node 2, err = -1
> bus_explore done
> sbp_targ_recv: cannot resolve nodeid=1
> sbp_targ_recv: rtcode = 6 lo == 0x0
> sbp_targ_recv: cannot resolve nodeid=1
> sbp_targ_recv: rtcode = 6 lo == 0x0
> sbp_targ_recv: cannot resolve nodeid=1
> sbp_targ_recv: rtcode = 6 lo == 0x0
> sbp_targ_recv: cannot resolve nodeid=1
> sbp_targ_recv: rtcode = 6 lo == 0x0
>
>
Ok, with more debugging enabled, it seems that a Windows initiator is 
attempting to read ffff:f0000428 and failing.  I'm looking over sbp-2 
and I can't quite make out what that entry is supposed to be.  Here's 
the debugging output in full:

fwohci0: BUS reset
fwohci0: node_id=0x8800ffc0, gen=4, non CYCLEMASTER mode
sbp_targ_recv: cannot resolve nodeid=1
sbp_targ_recv: rtcode = 6 lo == 0x0
fwohci0: start AT DMA status=0
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1
fwohci0: maxdesc: 3
fwohci0: start AT DMA status=11
fwohci0: fw_set_bus_manager: 1->1 (loop=0)
firewire0: bus manager 1
fwmem_read_quad: 1 ffff:f0000400
fwmem_read_quad: 1 ffff:f0000404
fwmem_read_quad: 1 ffff:f0000408
fwmem_read_quad: 1 ffff:f000040c
fwmem_read_quad: 1 ffff:f0000410
firewire0: New S400 device ID:0011060000004d63
fwmem_read_quad: 1 ffff:f0000414
fwmem_read_quad: 1 ffff:f0000418
fwmem_read_quad: 1 ffff:f000041c
fwmem_read_quad: 1 ffff:f0000420
fwmem_read_quad: 1 ffff:f0000424
fwmem_read_quad: 1 ffff:f0000428
fwohci0: txd err= 3 miss Ack err
fw_explore: node 2, err = -1
fwmem_read_quad: 1 ffff:f0000400
fwmem_read_quad: 1 ffff:f0000404
fwmem_read_quad: 1 ffff:f0000408
fwmem_read_quad: 1 ffff:f000040c
fwmem_read_quad: 1 ffff:f0000410
fwmem_read_quad: 1 ffff:f0000414
fwmem_read_quad: 1 ffff:f0000418
fwmem_read_quad: 1 ffff:f000041c
fwmem_read_quad: 1 ffff:f0000420
fwmem_read_quad: 1 ffff:f0000424
fwmem_read_quad: 1 ffff:f0000428
fwohci0: txd err= 3 miss Ack err
fw_explore: node 2, err = -1
fwmem_read_quad: 1 ffff:f0000400
fwmem_read_quad: 1 ffff:f0000404
fwmem_read_quad: 1 ffff:f0000408
fwmem_read_quad: 1 ffff:f000040c
fwmem_read_quad: 1 ffff:f0000410
fwmem_read_quad: 1 ffff:f0000414
fwohci0: txd err= 3 miss Ack err
fw_explore: node 2, err = -1
bus_explore done
sbp_targ_recv: cannot resolve nodeid=1
sbp_targ_recv: rtcode = 6 lo == 0x0
sbp_targ_recv: cannot resolve nodeid=1
sbp_targ_recv: rtcode = 6 lo == 0x0
sbp_targ_recv: cannot resolve nodeid=1
sbp_targ_recv: rtcode = 6 lo == 0x0
sbp_targ_recv: cannot resolve nodeid=1
sbp_targ_recv: rtcode = 6 lo == 0x0
fwohci0: txd err= 3 miss Ack err
~                                

-- 
Sean Bruno
MiraLink Corporation
6015 NE 80th Ave, Ste 100
Portland, OR 97218
Phone 503-621-5143
Fax 503-621-5199




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48482800.8000501>