Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Fredrik Drugge on February 19, 2003, 12:23:24 AM

Title: missing module for Myson NIC
Post by: Fredrik Drugge on February 19, 2003, 12:23:24 AM
Hi there,
I recently installed 5.6 for a friend of mine, but ran into som impossible problems with the nic:s installed.
It seems that my friend bought 2 Surecom EP-320x-s nic:s, which need the module fealnx.o to be of any use.
Unfortunatly that module isn't included with the kernel, so I'm pretty stuck.
Of course I can but 2 new nic:s, but that seems like a sad solution, since all that's needed is that module ;)
Is there someone that has a dev enviroment and could compile it ?
I'm running the stock 2.4.18-5 kernel which is included.
Could switch to 2.4.18-5-i586 if needed though ;)

// Fredrik
Title: Re: missing module for Myson NIC
Post by: Nathan Fowler on February 19, 2003, 04:03:20 AM
Why not compile it yourself :)

Install egcs, make, kernel-headers, etc.
http://www.e-smith.org/faq.php3#8q7

I believe the FAQ is outdated, I don't think 5.6 is RH7.1 based, I would try to match up the kernel (rpm -qa|grep -i kernel) and egcs versions with RH8 or newer.  Try http://www.rpmfind.net

If all else fails, I can try to compile the module for you, but I'm 2.2.16 and I'm not sure if it will load on your newer 2.4 kernel (let alone compile with my version).

Nathan
Title: Re: missing module for Myson NIC
Post by: Fredrik Drugge on February 19, 2003, 10:23:40 AM
Ok, I'll try to install some dev tools when getting home tonight.
I tried compiling it on my slackware-based machine against 2.4.18 source, but that module wouldn't load ;)
Sure is strange that the module didn't make it into the kernel-package though.
Thanks for the help.

// Fredrik

Nathan Fowler wrote:
>
> Why not compile it yourself :)
>
> Install egcs, make, kernel-headers, etc.
> http://www.e-smith.org/faq.php3#8q7
>
> I believe the FAQ is outdated, I don't think 5.6 is RH7.1
> based, I would try to match up the kernel (rpm -qa|grep -i
> kernel) and egcs versions with RH8 or newer.  Try
> http://www.rpmfind.net
>
> If all else fails, I can try to compile the module for you,
> but I'm 2.2.16 and I'm not sure if it will load on your newer
> 2.4 kernel (let alone compile with my version).
>
> Nathan
Title: Re: missing module for Myson NIC
Post by: Fredrik Drugge on February 20, 2003, 12:12:31 AM
Damn, tried to compile now, but god knows what is wrong...
Installed nessecary packages, gcc and so on, force with --nodeps at some places.
I was force to manually add links from /usr/include to /usr/src/linux/include and so on, but after compile I get unresolved symbols when trying to load the module...
I do want to use the stock kernel (2.4.18-5) that is in the package, so I'm kind of stuck now ;)
Is there someone here that develops the SME-server that could enable module fealnx.o and send it to med in a tar ?

// Fredrik
Title: Re: missing module for Myson NIC
Post by: Nathan Fowler on February 20, 2003, 12:41:20 AM
Compile module using these parameters:
gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -c fealnx.c

Then try to insmod it.
insmod fealnx.o
Title: Re: missing module for Myson NIC
Post by: Nathan Fowler on February 20, 2003, 12:43:19 AM
If you can't compile it, see if you can use the one from this link:
http://trinux.sourceforge.net/modules/2.4.18/kernel/drivers/net/

Are you sure you don't have this driver in /usr/src/linux/net?
Title: Re: missing module for Myson NIC
Post by: Nathan Fowler on February 20, 2003, 12:44:29 AM
Also look in /lib/modules/[YOUR KERNEL]/kernel/drivers/net/fealnx.o
Title: Re: missing module for Myson NIC
Post by: Fredrik Drugge on February 20, 2003, 08:55:41 PM
I have just installed a redhat 7.3 system in VMware and will compile there.
I have checked the usual places, like in /lib/modules/linux.... and the module is nowhere to be found.
It isn't compiled in redhat 7.3 either...so it must be that these cards are extremely rare or something ;)
Well well, I'll hopefully find my way ;)
Thanx anyway ;)

// Fredrik