NetBSD Problem Report #44874

From jmmv+mini.jmmv@julipedia.org  Sun Apr 17 14:53:14 2011
Return-Path: <jmmv+mini.jmmv@julipedia.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id BDA9C63C1D3
	for <gnats-bugs@gnats.netbsd.org>; Sun, 17 Apr 2011 14:53:14 +0000 (UTC)
Message-Id: <20110417133220.BBD0D62F127@mini.julipedia.org>
Date: Sun, 17 Apr 2011 14:32:20 +0100 (IST)
From: jmmv+mini.jmmv@julipedia.org
Reply-To: jmmv+mini.jmmv@julipedia.org
To: gnats-bugs@gnats.NetBSD.org
Subject: Firewire broken: too many cycle lost, no cycle master present?
X-Send-Pr-Version: 3.95

>Number:         44874
>Category:       kern
>Synopsis:       Firewire broken: too many cycle lost, no cycle master present?
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 17 14:55:00 +0000 2011
>Originator:     Julio Merino
>Release:        NetBSD 5.99.49
>Organization:

>Environment:


System: NetBSD mini.julipedia.org 5.99.49 NetBSD 5.99.49 (GENERIC) #1: Sun Apr 17 08:45:23 IST 2011 builder@mini.julipedia.org:/home/builder/obj/usr/src/sys/arch/macppc/compile/GENERIC macppc
Architecture: powerpc
Machine: macppc
>Description:
	After upgrading my Mac Mini G4 1.2GHz from NetBSD 5.1 to current
	(5.99.49), my Firewire 400 hard disk has stopped working.

        I was tempted to file this as port-macppc but I believe this is a
	generic problem in the driver not really related to the platform.
	(This supposition may be of course wrong.)

	The fwohci driver has suffered several changes since 5.x was
	branched and I presume some of them have broken the driver.

	During the boot process, I see the following relevant messages:

	fwohci0 at pci2 dev 14 function 0: Apple Computer UniNorth Firewire (rev. 0x81)
	fwohci0: interrupting at irq 40
	fwohci0: OHCI version 1.10 (ROM=0)
	fwohci0: No. of Isochronous channels is 8.
	fwohci0: EUI64 00:11:24:ff:fe:76:e8:3e
	fwohci0: Phy 1394a available S400, 2 ports.
	fwohci0: Link S400, max_rec 2048 bytes.
	ieee1394if0 at fwohci0: IEEE1394 bus
	fwip0 at ieee1394if0: IP over IEEE1394
	fwohci0: Initiate bus reset
	[...]
	fwohci0: BUS reset
	fwohci0: node_id=0xc800ffc1, gen=2, CYCLEMASTER mode
	ieee1394if0: 2 nodes, maxhop <= 1 cable IRM irm(1) (me)
	ieee1394if0: bus manager 1
	[...]
	fwohci0: too many cycle lost, no cycle master present?

        Later on, if I turn off and on the hard disk, I get these:

	fwohci0: BUS reset
	fwohci0: node_id=0xc800ffc0, gen=3, CYCLEMASTER mode
	fwohci0: txd err= f flushed
	ieee1394if0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me)
	ieee1394if0: bus manager 0
	ieee1394if0: fwdev->speed(S800) decremented due to negotiation
	fwohci0: txd err= 3 miss Ack err
	ieee1394if0: fwdev->speed(S400) decremented due to negotiation
	fwohci0: txd err= 3 miss Ack err
	ieee1394if0: fwdev->speed(S200) decremented due to negotiation
	ieee1394if0: New S100 device ID:00d04b831607baa9
	fwohci0: txd err= 3 miss Ack err
	fwohci0: txd err= 3 miss Ack err
	ieee1394if0: node0: explore_read_quads failure
	fwohci0: txd err= 3 miss Ack err
	ieee1394if0: node0: explore_read_quads failure
	fwohci0: BUS reset
	fwohci0: node_id=0x8800ffc0, gen=4, non CYCLEMASTER mode
	ieee1394if0: 2 nodes, maxhop <= 1 cable IRM irm(0) (me)
	ieee1394if0: root node is not cycle master capable
	ieee1394if0: bus manager 0
	fwohci0: too many cycle lost, no cycle master present?
	fwohci0: txd err=14 ack busy_X
	ieee1394if0: node1: explore_read_quads failure
	fwohci0: txd err=14 ack busy_X
	ieee1394if0: node1: explore_read_quads failure
	fwohci0: txd err=14 ack busy_X
	ieee1394if0: node1: explore_read_quads failure
	fwohci0: BUS reset
	fwohci0: node_id=0xc800ffc0, gen=5, CYCLEMASTER mode
	ieee1394if0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me)
	ieee1394if0: bus manager 0
	fwohci0: BUS reset
	fwohci0: node_id=0x8800ffc0, gen=6, non CYCLEMASTER mode
	ieee1394if0: 2 nodes, maxhop <= 1 cable IRM irm(0) (me)
	ieee1394if0: root node is not cycle master capable
	ieee1394if0: bus manager 0
	fwohci0: too many cycle lost, no cycle master present?
	fwohci0: txd err=14 ack busy_X
	ieee1394if0: node1: explore_read_quads failure
	fwohci0: txd err=14 ack busy_X
	ieee1394if0: node1: explore_read_quads failure
	fwohci0: txd err=14 ack busy_X
	ieee1394if0: node1: explore_read_quads failure
	fwohci0: BUS reset
	fwohci0: node_id=0xc800ffc1, gen=7, CYCLEMASTER mode
	ieee1394if0: 2 nodes, maxhop <= 1 cable IRM irm(1) (me)
	ieee1394if0: bus manager 1
>How-To-Repeat:
	Get a machine with a fw400 port (maybe needs to be a macppc) and plug
	a device.
>Fix:
	Yes please.

>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.