Re: Fedora Core 3 and 1394 PCMCIA

From: Stefan Richter <stefanr_at_s5r6.in-berlin.de>
Date: Fri 22 Apr 2005 - 20:05:46 CEST
Message-ID: <42693CFA.2090901@s5r6.in-berlin.de>

Kevin Old wrote:
> I'm trying to
> mount an external harddrive via Firewire (it's in a USB 2.0/Firewire
> enclosure).

One of many possible reasons: A few USB/FireWire combo devices have an
extremely dumb port autosensing which switches to FireWire only if the
PC provides bus power. CardBus cards do not serve bus power, even if
they have 6-pin ports instead of the always unpowered 4-pin ports.

But it could also be a software problem, of course.

> I'm running FC3 with kernel-2.6.11-1.14_FC3.
...
> ieee1394: Initialized config rom entry `ip1394'
> ohci1394: $Rev: 1223 $ Ben Collins <bcollins@debian.org>
> PCI: Enabling device 0000:0b:00.0 (0000 -> 0002)
> ohci1394: fw-host0: Unexpected PCI resource length of 1000!
> ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[11]
> MMIO=[11800000-118007ff] Max Packet=[2048]
> ieee1394: Host added: ID:BUS[0-00:1023] GUID[00004c013000059a]

This is all OK. When you plug in the disk or a camera, another log
message "ieee1394: Node added: ID:BUS[...] GUID[...]" should appear.
After that, ieee1394 would try to read the device's type, would note t
as an SBP-2 device if successful and generate a hotplug event, sbp2
would try to get access ("ieee1394: sbp2: Logged into SBP-2 device"),
tell scsi_mod about it, and the latter would check its type too
(harddisk or CD-ROM or what else) and bind it to scsi device files
("kernel: Attached scsi disk sda at...").

The ieee1394 driver would also create various entries in
/sys/bus/ieee1394/devices. Have a look how many GUIDs are present there
and what the contents of fw-host0/node_count and fw-host0/nodes_active are.

> I'm
> not sure of the order of modprobe statements in /etc/rc.local as I've
> pieced them together from several places.

Module dependencies are automatically resolved by the kernel. No need to
worry about this.

The only variable is whether the system is able to load sbp2
automatically when needed; but it is also perfectly OK to load sbp2
manually or by a script anytime before or after the FireWire disk is
attached.

-- 
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 Apr 22 20:06:19 2005

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