Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to force load "conflicting" driver at boot?
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
fbr
n00b
n00b


Joined: 15 Jul 2004
Posts: 2

PostPosted: Thu Jul 15, 2004 4:10 pm    Post subject: How to force load "conflicting" driver at boot? Reply with quote

I'm adding a Linux box to my home network and I run into a compatibility issue between gentoo current release and network driver I'm using.

I use a Diamond HomeFree HomePNA 2.0 PCI card based on Broadcom chip. The Linux driver for this chip is made available by Linksys at ftp://ftp.linksys.com/beta/linux_hpna2_0_v2_34_0_2.exe. The driver is half source code/half pre-compiled binaries. I I followed the included instructions to make the driver module (il.o).

The trouble is that the binaries are compiled with v. 2.* complier. As a result "modprobe" refuses to load the driver with error message that sounds something like "The module you are trying to load is compiled with a gcc version 2 compiler, while the kernel you are running is compiled with a gcc version 3 compiler."

If I force load the driver (il.o) with "insmod -f il" command (that gives the same warning) and then bring up eth0 with "ifconfing blah blah", the network starts to work without a glitch.

Here's my problem: Although I configured the eth0 to start at the boot time with il.o driver, the system refuses to load it at boot time due to above problem.

I'm not that familiar with Linux boot process so I'm looking for an advice on how should I modify boot scripts to ignore the warnings and force load that particular driver and bring the eth0 up.

Here's some details of my setup

Linux 2.4.25-gentoo
Gentoo 2004.2 distro for AMD Athlon XP

Fedor.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54808
Location: 56N 3W

PostPosted: Thu Jul 15, 2004 4:43 pm    Post subject: Reply with quote

fbr,

There isn't a tidy answer to this that I'm aware of. You need to automate what you do manually.

Edit /etc/conf.d/local.start to add the following:
Code:

insmod -f il
/etc/init.d/net.eth0 restart

You may need to give insmod the full path to the module
You may want to change restart to start.
There is no point in having network startup in the default runlevel since its bound to fail.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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