Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel would not add nic driver [SOLVED]
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
dialbat
n00b
n00b


Joined: 08 Jun 2004
Posts: 9

PostPosted: Tue Jun 08, 2004 3:55 am    Post subject: kernel would not add nic driver [SOLVED] Reply with quote

Hello folks. I've bene messing with this for 2 days with no luck, hopefully you guys can help.

I've installed Gentoo on my laptop Presario 1694, AMD-K6-450, 192Mgb Ram, 12Gb hard, Xircom PCMCIA nic.
Used minimal LiveCD, started with stage 1, to get the experience :)

I've followed handbook as best i could.
In kernel config, i've added my pcmcia Xircom card, kompiled it just as described, running
make dep
make bzImage && make modules
make modules_install

coped them over, rebooted, but my system would not pickup the card.
when i try to modprobe it, i get, module not found.
I've tryed compiling it 3 times, no luck. Going to module location, there is nothing for pcmcia cards at all, but when i go to drivers folder, i see
xirc2ps_cs.c and .o files.

What can or should i doo???
thank you


used
https://forums.gentoo.org/viewtopic.php?t=26716
to solve it


Last edited by dialbat on Wed Jun 09, 2004 8:53 am; edited 1 time in total
Back to top
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2527
Location: Denmark

PostPosted: Tue Jun 08, 2004 4:50 pm    Post subject: Reply with quote

try compiling it in [ * ] not [ M ]
_________________
linux: #232767
Back to top
View user's profile Send private message
really
Guru
Guru


Joined: 27 Aug 2002
Posts: 430
Location: nowhere

PostPosted: Tue Jun 08, 2004 5:23 pm    Post subject: Reply with quote

uname -a

get the version and name of the kernel running

ls /lib/modules/version_nameperhaps/pcmcia/ is there something there?

try modules-update
depmod

then modprobe pcmcia or whatever your module is called..
try insmod /fullpathtotit
_________________
NoManNoProblem

Get lost before you get shot.
Back to top
View user's profile Send private message
dialbat
n00b
n00b


Joined: 08 Jun 2004
Posts: 9

PostPosted: Tue Jun 08, 2004 7:37 pm    Post subject: Reply with quote

Ikaro>
i had them all on [*].

Really>
"uname -a" returnes following:
Linux tuxtop 2.4.25-gentoo-r3 #1 SMP Sun Jun 614:45:45 Local time zone must be set--see zic m i586 AMD-K6(tm) 3D processor AuthenticAMD GNU/Linux

/lib/modules/2.4.25-kernel-r3/pcmcia
is empty!!!!!

ran modules-update
nothing happened.

depmod returned following:
*** Unresolved symbols in /lib/modules/2.4.25-kernel-r3/kernel/drivers/net/dummy.0
*** Unresolved symbols in /lib/modules/2.4.25-kernel-r3/kernel/net/ipsec/ipsec.0

have no idea whats going on :(
Back to top
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2527
Location: Denmark

PostPosted: Tue Jun 08, 2004 7:59 pm    Post subject: Reply with quote

so when you say it doesnt pickup the card, you have no eth0 ?

try lspci
this is what i got :
Code:

0000:00:10.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)


which is my network adapter.
ifconfig show it as well.

can you paste a "lspci" in here, and write any additional hardware you might have, and if you can put the kernel config online somewhere.
_________________
linux: #232767
Back to top
View user's profile Send private message
really
Guru
Guru


Joined: 27 Aug 2002
Posts: 430
Location: nowhere

PostPosted: Tue Jun 08, 2004 8:00 pm    Post subject: Reply with quote

dialbat wrote:
Ikaro>
i had them all on [*].

Really>
"uname -a" returnes following:
Linux tuxtop 2.4.25-gentoo-r3 #1 SMP Sun Jun 614:45:45 Local time zone must be set--see zic m i586 AMD-K6(tm) 3D processor AuthenticAMD GNU/Linux

/lib/modules/2.4.25-kernel-r3/pcmcia
is empty!!!!!

ran modules-update
nothing happened.

depmod returned following:
*** Unresolved symbols in /lib/modules/2.4.25-kernel-r3/kernel/drivers/net/dummy.0
*** Unresolved symbols in /lib/modules/2.4.25-kernel-r3/kernel/net/ipsec/ipsec.0

have no idea whats going on :(
if you had them as *
that measn they arent modules and thus they are not in thad directory and you cannot load them.

they are already loaded.

dmesg says?

ifconfig eth0 up gives?
_________________
NoManNoProblem

Get lost before you get shot.
Back to top
View user's profile Send private message
saccory
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 176
Location: Göttingen, Germany

PostPosted: Tue Jun 08, 2004 8:01 pm    Post subject: Reply with quote

dialbat wrote:
i had them all on [*].

Which means you compiled the drivers into the kernel, ergo no modules. Doesn't it work?
Back to top
View user's profile Send private message
dialbat
n00b
n00b


Joined: 08 Jun 2004
Posts: 9

PostPosted: Tue Jun 08, 2004 9:18 pm    Post subject: Reply with quote

ikaro>
lspci give: command not found

really>
loaded dmesg with | less
went through whoel list, nothing mensioning my pcmcia card.
"ifconfig eth0" gives
eth0: error fetching interface information: Device not found

when linux is loading, it does detect my pcmcia bridge, but not the actual adapter.

here is my device list
Compaq Presario 1694
AMD K6-450, 192Mgb Ram, 12 Gb Fujitsu HD, Toshiba SD-2202 DVD, Xircom RealPort Ethernet 10/100+Modem 56 combo card.
that is it, nothing else attached.

Card works fine when loading with LiveCD or Knoppix.
Back to top
View user's profile Send private message
dialbat
n00b
n00b


Joined: 08 Jun 2004
Posts: 9

PostPosted: Wed Jun 09, 2004 12:14 am    Post subject: Reply with quote

One more thing,
in kernel config, i've [*] couple of other drivers, that i thought i might need and will use, can that have any effect on it??
Back to top
View user's profile Send private message
dialbat
n00b
n00b


Joined: 08 Jun 2004
Posts: 9

PostPosted: Wed Jun 09, 2004 1:27 am    Post subject: Reply with quote

could not wait so i recompiled kernel with [M] on xircom drivers.
after reboot, tried loading it with modprob, and i get "unresolved symbol", than i tried insmod, and i get same response.

i've checked folder
/lib/modules/2.4.25-gentoo-r3/kernel/drivers/net/pcmcia
xirc2ps_cs.o is there.

pleeeezzz help :?
Back to top
View user's profile Send private message
really
Guru
Guru


Joined: 27 Aug 2002
Posts: 430
Location: nowhere

PostPosted: Wed Jun 09, 2004 10:43 am    Post subject: Reply with quote

dialbat wrote:
could not wait so i recompiled kernel with [M] on xircom drivers.
after reboot, tried loading it with modprob, and i get "unresolved symbol", than i tried insmod, and i get same response.

i've checked folder
/lib/modules/2.4.25-gentoo-r3/kernel/drivers/net/pcmcia
xirc2ps_cs.o is there.

pleeeezzz help :?
when you made the kernel, copy over hte bzImage to and boot with it..

if it still says unresolved.. before you make another kernel. rm -Rf /lib/modules/yourkernel, then make dep && make bzImage modules modules_install

then try it.

are you sure thats the module needed?

if you dont have lspci, do a cat /proc/pci
_________________
NoManNoProblem

Get lost before you get shot.
Back to top
View user's profile Send private message
dialbat
n00b
n00b


Joined: 08 Jun 2004
Posts: 9

PostPosted: Wed Jun 09, 2004 8:25 pm    Post subject: Reply with quote

Really>
thanks for all ur help, i found the solution.
From what i understood, my problem was that i did not add proper pcmci bridge, thus the not recognition.

one thing i have to say for myself is that i've learned whole lot of new stuff. I've installed linux befor a couple of time, but they all were premade packages, like Mandrake.
It'sa first time i did Stage1 :) - takes forever, but teaches you a lot!!!!..
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