Invalid module format - PS3ubuntu

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4949

Espionage

15-08-2008 08:32:15

I'm currently running Ubuntu 7.10 PowerPC from a PS3. I'm still a VERY fresh linux user, and can't quite remember everything I did when I first installed it, but I'm running an edited 2.6.24 to make the PS3's wifi work correctly, and the default kernel is 2.6.22-14-cell.

Even with wifi fixed, the PS3's wireless card drops my connection too often, so I want to use an Asus WL-167G v2 USB adapter, and I keep receiving problem after problem.

Installing works fine until I get to this part

[codeufvbi18p]sudo modprobe rt73[/codeufvbi18p]

I get an error saying that the module could not be found.

I then looked at the make install log, and it is using "linux-headers-2.6.22-14-powerpc" and the kernel that I'm running on is 2.6.24. I did a quick googlesearch and a "solution" that somebody posted gave this

[codeufvbi18p]sudo cp /lib/modules/2.6.22-14-powerpc/extra/rt73.ko /lib/modules/2.6.24/extra/rt73.ko[/codeufvbi18p]

I then tried that method and did sudo modprobe rt73 again. It gives this error now

[codeufvbi18p]FATAL: Error inserting rt73 (/lib/modules/2.6.24/extra/rt73.ko): Invalid module format[/codeufvbi18p]

The only thing I can think of is that it's using the headers of the original kernel, and I don't have any 2.6.24 headers. I tried looking for 2.6.24 headers, but each one said "Error Dependency is not satisfiable"

I then did
[codeufvbi18p]aptitude search linux-headers[/codeufvbi18p]
and all that came up in the list were 2.6.22.

I have no clue what to do now, and it's driving me insane. Is there ANY way that it'll work?

IvD

15-08-2008 11:15:26

Well the problem is that rt73 isn't compiled for the currently running kernel, you must make sure you install the kernel sources of the currently running kernel and compile rt73 against those sources.

Espionage

15-08-2008 23:55:10

I'm stumped on how to get linux-headers for 2.6.24 inorder to compile rt73. I'm currently rebuilding a 2.6.24 kernel I received from here
http//www.kernel.org/pub/linux/kernel/ ... 24.tar.bz2

and hoping that'll work.. If not, I guess I can just format the partition and start fresh with a Hardy Heron PPC version and hope THAT'LL work.