Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Firewire modules not loading
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
nickeh
Tux's lil' helper
Tux's lil' helper


Joined: 15 Feb 2004
Posts: 137

PostPosted: Sat Jun 30, 2007 12:27 am    Post subject: Firewire modules not loading Reply with quote

Hi!

I have some strange problem with firewire with my kernel (gentoo-sources-2.6.20-r8).

At first i tried to compile it into the kernel but it didn't work so i started to search the internet. Found that firewire is bust run as modular so i tried that and thats when i realized why it didn't work in the first place. When i try to load the modules ieee1394 and ohci1394 i get the following message:
Code:
Egendomlig nicke # modprobe ieee1394
FATAL: Error inserting ieee1394 (/lib/modules/2.6.20-gentoo-r8/kernel/drivers/ieee1394/ieee1394.ko): Invalid module format
Egendomlig nicke # modprobe ohci1394
WARNING: Error inserting ieee1394 (/lib/modules/2.6.20-gentoo-r8/kernel/drivers/ieee1394/ieee1394.ko): Invalid module format
FATAL: Error inserting ohci1394 (/lib/modules/2.6.20-gentoo-r8/kernel/drivers/ieee1394/ohci1394.ko): Invalid module format

and in dmesg:
Code:
ieee1394: exports duplicate symbol _csr1212_destroy_keyval (owned by kernel)
ieee1394: exports duplicate symbol _csr1212_destroy_keyval (owned by kernel)
ohci1394: exports duplicate symbol ohci1394_unregister_iso_tasklet (owned by kernel)

Seems like the kernel already has some sort of IEEE1394 code in it?

Have been searching for a solution a few days now but i can't seem to find the problem...

I have an amd64 system
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Sat Jun 30, 2007 1:29 am    Post subject: Reply with quote

That means the kernel you're running probably has ieee1394 built-in. You need to re-configure the kernel, turn that off, recompile the kernel, install it, then rebuild the modules.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
nickeh
Tux's lil' helper
Tux's lil' helper


Joined: 15 Feb 2004
Posts: 137

PostPosted: Sat Jun 30, 2007 3:03 pm    Post subject: Reply with quote

I only reconfigured and compiled. Is it necessary to turn it of and do the whole process and then reconfigure again?
I will give it a try.
EDIT: Still doesn't work :cry:
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Sat Jun 30, 2007 8:48 pm    Post subject: Reply with quote

Ok, sorry, from the way you described the problem, it sounded like you were building external ieee1394 modules (as in a separate package with the modules). But, that would be difficult, since I don't think any exist. Ok, so enable firewire as modules in the kernel, rebuild, install the kernel and modules, reboot. That should get us back to where we started, and I'll pay better attention this time around.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
nickeh
Tux's lil' helper
Tux's lil' helper


Joined: 15 Feb 2004
Posts: 137

PostPosted: Sat Jun 30, 2007 9:46 pm    Post subject: Reply with quote

Easy mistake, was writing half of the post during a phone conversation so its a bit messy.

However, as it is now I've tried it both as compiled in and module with same result on 2.6.18-r8 and 2.6.20-r3. Is there maybe some other kernel option that could conflict with IEEE1394?
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Sat Jun 30, 2007 10:40 pm    Post subject: Reply with quote

Ok, just noticed something. It went away in 2.6.21, but it's still in 2.6.20. See if this feature is enabled for ieee1394:
Code:

[ ]   Export all symbols of ieee1394's API (deprecated)

_________________
Thomas S. Howard
Back to top
View user's profile Send private message
nickeh
Tux's lil' helper
Tux's lil' helper


Joined: 15 Feb 2004
Posts: 137

PostPosted: Sun Jul 01, 2007 9:27 am    Post subject: Reply with quote

Im now running 2.6.21 so i don't have that option...
this is what the kernel says about firewire during bot
Code:

ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[18]  MMIO=[fb004000-fb0047ff]  Max Packet=[2048]  IR/IT contexts=[4/8]
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[001a4d5600e8194c]
ieee1394: raw1394: /dev/raw1394 device initialized
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Sun Jul 01, 2007 12:26 pm    Post subject: Reply with quote

Well, that looks good. Have you been able to communicate with any devices?
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
nickeh
Tux's lil' helper
Tux's lil' helper


Joined: 15 Feb 2004
Posts: 137

PostPosted: Sun Jul 01, 2007 6:00 pm    Post subject: Reply with quote

Strange, now it seem to be working without any kernel module loaded or copiled in...
Guess some portage package has installed what was needed from ebuilds... [/code]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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