Re: Compaq DL360 Debian kernel 2.4.27-1-386 cannot mount firewire

From: Stefan Richter <stefanr_at_s5r6.in-berlin.de>
Date: Fri 25 Feb 2005 - 17:40:31 CET
Message-ID: <421F54FF.7080904@s5r6.in-berlin.de>

Jim Ladd wrote:
> It does show something now.
>
> ===reboot whithout anything attached to the firewire port.
[...]
> # more /proc/bus/ieee1394/devices
> Node[0-00:1023] GUID[0010b5000009c83a]:
> Vendor ID: `Linux OHCI-1394' [0x000000]
> Capabilities: 0x0083c0
> Bus Options:
> IRMC(1) CMC(1) ISC(1) BMC(0) PMC(0) GEN(0)
> LSPD(2) MAX_REC(2048) CYC_CLK_ACC(0)
> Host Node Status:
> Host Driver : ohci1394
> Nodes connected : 1
> Nodes active : 1
> SelfIDs received: 1
> Irm ID : [0-00:1023]
> BusMgr ID : [0-63:1023]
> In Bus Reset : no
> Root : yes
> Cycle Master : yes
> IRM : yes
> Bus Manager : no

This is OK. So the initialization of the OHCI chip is no problem.

> ===after I attach the device to the port then:
[...]
> ohci1394: $Rev: 1045 $ Ben Collins <bcollins@debian.org>
> ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[48] MMIO=[fdff0000-fdff07ff] Max
> Packet=[2048]
> ieee1394: Host added: ID:BUS[0-00:1023] GUID[0010b5000009c83a]
> sbp2: $Rev: 1074 $ Ben Collins <bcollins@debian.org>
> ieee1394: sbp2: Driver forced to serialize I/O (serialize_io = 1)
> ohci1394_0: SelfID received, but NodeID invalid (probably new bus reset
> occurred): 0800FFC0

Everytime a device is added to or removed from the FireWire bus, the bus
has to reconfigure itself. The question is now, is the reconfiguration
failing at a low level (e.g. because of a hardware defect), or is some
unexpected behaviour of the device causing trouble for Linux' higher
level software (especially the nodemgr kernel daemon of the ieee1394
driver, which is responsible for device type detection and is
maintaining the /proc information)? I think the absence of the /proc
info points towards a low-level problem. However it would be necessary
to trace the function calls in ohci1394 and ieee1394 in order to find an
answer. The "excessive logging" compile option may perhaps help here.

-- 
Stefan Richter
-=====-=-=-= --=- ==--=
http://arcgraph.de/sr/
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
mailing list Linux1394-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux1394-user
Received on Fri Feb 25 17:53:25 2005

This archive was generated by hypermail 2.1.8 : Mon 02 May 2005 - 09:16:53 CEST