Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Firewire disks
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Fri May 14, 2004 1:13 pm    Post subject: Firewire disks Reply with quote

Finally got to the issue of mounting my Firewire drive on my new system (have migrated a couple of weeks ago from 2.4-based Yellow Dog Linux to a 2.6-based Gentoo). It turns out to be indeed an issue: On my old system I would modprobe ohci1394, hotplug will load the sbp2 driver, and I was in business (had to rescan the SCSI bus and all, but this is immaterial as I am not getting this far now). On the new system I modprobe ohci1394 and I get in the system log:
Code:
May 13 14:06:21 localhost kernel: ohci1394: $Rev: 1172 $ Ben Collins <bcollins@debian.org>
May 13 14:06:21 localhost kernel: ohci1394: fw-host0: Unexpected PCI resource length of 1000!
May 13 14:06:21 localhost kernel: ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[40]  MMIO=[f5000000-f50007ff]  Max Packet=[2048]
May 13 14:06:22 localhost ieee1394.agent[5275]: ... no drivers for IEEE1394 product 0x/0x/0x

The "unexpected PCI length" is not worysome as I had the same message in the old days and it did not seem to affect the functionality of my drive. The last line however looks weird, in any case weird or not point is even if I modprobe sbp2 manually it just sits there and does nothing.

The SCSI support is compiled into the kernel, i.e.
Code:
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
CONFIG_CHR_DEV_SG=y

The disk (a 30G IBM in a CP Technology enclosure) works fine with the USB interface and worked fine under Firewire with the old system. Here are the system details: Tibook rev. III running kernel 2.6.5-rc3-ben0, hotplug 20040105, hotplug-base 20040401.

Solutions or workarounds are appreciated.
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Sat May 15, 2004 11:43 pm    Post subject: Reply with quote

Sort of an answer to my own question: after many kernel configuration tweaks I noticed that CONFIG_MODVERSIONS induces a bunch of problems, including the one reported in the initial post. With this option not set everything seems to work; at least my Firewire disk mounts and works as expected.

Incidentally, the "no drivers for IEEE1394 product 0x/0x/0x" message continues to appear but does not seem to affect the overall functionality of the Firewire subsystem.
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
reddan
n00b
n00b


Joined: 18 Mar 2004
Posts: 26
Location: Mumbai

PostPosted: Mon May 17, 2004 12:09 am    Post subject: Reply with quote

What kernel version are you using?

I had lots of firewire-related problems with 2.6.4, and so went back to 2.6.3 which has been rock-solid for me (I'm even using a fw drive as my root and swap drive).
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Mon May 17, 2004 1:18 pm    Post subject: Reply with quote

I am using 2.6.5-rc3-ben0 (rsync-ed from source.mvista.com::linuxppc-2.5-benh outside the portage tree). I also have a correction to my success story:

    ohci1394 compiled into the kernel will not work;

    ohci1394 compiled as a module (and with CONFIG_MODVERSIONS not set) works when it is loaded the first time;

    ohci1394 no longer works once it is unloaded and loaded again (so unload only sbp2 when you want to unmount your drive).


That's all (I hope).
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
genfoo
Apprentice
Apprentice


Joined: 17 Apr 2003
Posts: 192

PostPosted: Tue May 18, 2004 10:05 pm    Post subject: Reply with quote

I would suggest first of all not using benh's tree from mvista (it's not really for public consumption anymore by his admittance ... he says to use the kernel.org vanilla stuff). He does some whacky testing stuff in there and you take the chances when you are using it.

It's not the first mention I've seen of this module/non module problem but I don't remember the source of the discussions or if there was a solution ... maybe check out the linuxppc-dev lists from lists.linuxppc.org ...
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Fri May 21, 2004 4:02 pm    Post subject: Reply with quote

Agreed. Everything seems to run smoothly now that I built a 2.6.6 (though it is still early to tell, maybe). I even got back sound input which disappeared in the process of moving to current ppc-development-sources (2.6.4). Sweet.
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum