NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/39852: firewire/sbp hickups on NetBSD 5.0_BETA



>Number:         39852
>Category:       kern
>Synopsis:       firewire/sbp hickups on NetBSD 5.0_BETA
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 02 13:45:00 +0000 2008
>Originator:     Matthias Kretschmer
>Release:        NetBSD 5.0_BETA
>Organization:
>Environment:
NetBSD fourier.hangelar.local 5.0_BETA NetBSD 5.0_BETA (GENERIC) #0: Sun Nov  2 
12:41:11 CET 2008  
root%fourier.hangelar.local@localhost:/usr/netbsd5/usr/src/sys/arch/amd64/compile/obj/GENERIC
 amd64
>Description:
sbp not working properly anymore.  After having some load (e.g. ./build.sh), I 
can't attach my firewire hdd any longer.  This problem occurred after switching 
from NetBSD-4.0_STABLE to NetBSD-5.0_BETA.  In the -4 series (including 4.0 
release) it worked.  Now I get the following message:

fwohci0: BUS reset
fwohci0: node_id=0x8800ffc0, gen=2, non CYCLEMASTER mode
ieee1394if0: 2 nodes, maxhop <= 1, cable IRM = 0 (me)
ieee1394if0: root node is not cycle master capable
ieee1394if0: bus manager 0 (me)
fwohci0: too many cycle lost, no cycle master presents?
ieee1394if0: split transaction timeout: tl=0x1 flag=0x04
send: dst=0x01 tl=0x01 rt=0 tcode=0x4 pri=0x0 src=0x000
fwohci0: BUS reset
fwohci0: txd err= 3 miss Ack err
fwohci0: node_id=0xc800ffc1, gen=3, CYCLEMASTER mode
ieee1394if0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
ieee1394if0: bus manager 1 (me)
fwohci0: txd err= 3 miss Ack err
ieee1394if0: New S400 device ID:01ac912000002684
sbp0 at ieee1394if0: SBP-2/SCSI over IEEE1394
scsibus1 at sbp0: 1 target, 0 luns per target
sbp_attach: cannot create dmamap
ocb shortage!!!

If I do fwctl -r fw0 a few times or remove and reinsert the device the box 
freezes.  No ddb or kernel dump.

The controller is the following:
fwohci0 at pci2 dev 5 function 0: vendor 0x1106 product 0x3044 (rev. 0x46)
fwohci0: interrupting at ioapic0 pin 20
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:0a:48:00:00:00:04:5e
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
(some VIA chipset)

I run it on the ASUS AM2-VM motherboard with the latest BIOS upgrade just in 
case there are any ACPI or other problems which don't show up on -4.  As 
mentioned before, on -4 I don't get such problems.

--
Matthias Kretschmer
>How-To-Repeat:
run ./build.sh and insert hdd
>Fix:



Home | Main Index | Thread Index | Old Index