if_few borked?

Stefan Bethke stb at lassitu.de
Tue Aug 19 05:04:54 PDT 2003


On Dienstag, 19. August 2003 13:17 Uhr +0900 Hidetoshi Shimokawa 
<simokawa at sat.t.u-tokyo.ac.jp> wrote:

> It looks like there is no cycle master on the bus.
> Theoretically, there is no need for cycle master for asynchronous
> packets but I observed that VIA chip can't send any packet without it.
>
>
> At Mon, 18 Aug 2003 17:29:49 +0200,
> Stefan Bethke wrote:
>
>> fwohci0: Initiate bus reset
>> fwohci0: BUS reset
>> fwohci0: node_id=0x8800ffc0, gen=1, non CYCLEMASTER mode
>
> This node is not the cyclemaster. How about the other box?
>
>> firewire0: split transaction timeout dst=0xffc1 tl=0x1 state=2
>> firewire0: bus manager election failed
>> fw_xfer_free FWXF_START
>> firewire0: split transaction timeout dst=0xffc1 tl=0x2 state=2
>> node1: resp=60 addr=0x400
>> fw_xfer_free FWXF_START
>> probe failed for 1 node
>
> This means that VIA OHCI chip hasn't sent out the packet yet.

> Can you give me the both output of the two boxes?

Sure. If you need more, just let me know. I also have a serial console on 
these two, so I could some debugging...


This is the first one:

>>> dmesg
fwohci0: <VIA VT6306> port 0xec00-0xec7f mem 0xec105000-0xec1057ff irq 12 
at dev
ice 16.0 on pci0
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channel is 8.
fwohci0: EUI64 00:00:00:30:1b:27:f7:87
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
if_fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:00:00:27:f7:87
sbp0: <SBP2/SCSI over firewire> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0x8800ffc0, gen=1, non CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1
firewire0: split transaction timeout dst=0xffc1 tl=0x1 state=2
firewire0: bus manager election failed
fw_xfer_free FWXF_START
firewire0: split transaction timeout dst=0xffc1 tl=0x2 state=2
node1: resp=60 addr=0x400
fw_xfer_free FWXF_START
probe failed for 1 node

# ifconfig fwe0
fwe0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        inet 204.152.65.249 netmask 0xfffffff8 broadcast 204.152.65.255
        ether 02:00:00:27:f7:87
        ch 1 dma 0
# fwcontrol
1 devices (info_len=1)
node       EUI64       status
   0  000000301b27f787      0
# fwcontrol -t
crc_len: 4 generation:1 node_count:2 sid_count:2
id link gap_cnt speed delay cIRM power port0 port1 port2 ini more
00    1       5  S400     0    1   15W     P     -     -   1    0
01    1       5  S400     0    1   15W     -     C     -   0    0


This is the second one:

>>> dmesg
fwohci0: <VIA VT6306> port 0xec00-0xec7f mem 0xec105000-0xec1057ff irq 12 
at device 16.0 on pci0
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channel is 8.
fwohci0: EUI64 00:00:00:30:1b:27:b0:17
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
if_fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:00:00:27:b0:17
sbp0: <SBP2/SCSI over firewire> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0x8800ffc0, gen=1, non CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1
firewire0: split transaction timeout dst=0xffc1 tl=0x1 state=2
firewire0: bus manager election failed
fw_xfer_free FWXF_START
firewire0: split transaction timeout dst=0xffc1 tl=0x2 state=2
node1: resp=60 addr=0x400
fw_xfer_free FWXF_START
probe failed for 1 node
# ifconfig fwe0
fwe0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        inet 204.152.65.250 netmask 0xfffffff8 broadcast 204.152.65.255
        ether 02:00:00:27:b0:17
        ch 1 dma 0
# fwcontrol
1 devices (info_len=1)
node       EUI64       status
   0  000000301b27b017      0
# fwcontrol -t
crc_len: 4 generation:1 node_count:2 sid_count:2
id link gap_cnt speed delay cIRM power port0 port1 port2 ini more
00    1      63  S400     0    1   15W     -     P     -   1    0
01    1      63  S400     0    1   15W     C     -     -   0    0


I also did a bus reset on the second box:
# fwcontrol -r
fwohci0: Initiate bus reset
# fwcontrol
1 devices (info_len=1)
node       EUI64       status
   0  000000301b27b017      0
# fwcontrol -t
crc_len: 4 generation:1 node_count:2 sid_count:2
id link gap_cnt speed delay cIRM power port0 port1 port2 ini more
00    1      63  S400     0    1   15W     -     P     -   1    0
01    1      63  S400     0    1   15W     C     -     -   0    0



-- 
Stefan Bethke, Phone +49 170 346 0140



More information about the freebsd-firewire mailing list