NetBSD Problem Report #39852

From www@NetBSD.org  Sun Nov  2 13:43:37 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 2889063BAB3
	for <gnats-bugs@gnats.netbsd.org>; Sun,  2 Nov 2008 13:43:37 +0000 (UTC)
Message-Id: <20081102134336.A561F63B88A@narn.NetBSD.org>
Date: Sun,  2 Nov 2008 13:43:36 +0000 (UTC)
From: kretschm@cs.uni-bonn.de
Reply-To: kretschm@cs.uni-bonn.de
To: gnats-bugs@NetBSD.org
Subject: firewire/sbp hickups on NetBSD 5.0_BETA
X-Send-Pr-Version: www-1.0

>Number:         39852
>Category:       kern
>Synopsis:       firewire/sbp hickups on NetBSD 5.0_BETA
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 02 13:45:00 +0000 2008
>Last-Modified:  Sun Feb 26 06:36:00 +0000 2012
>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:/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:

>Release-Note:

>Audit-Trail:

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.