View previous topic :: View next topic |
Author |
Message |
dialbat n00b
Joined: 08 Jun 2004 Posts: 9
|
Posted: Tue Jun 08, 2004 3:55 am Post subject: kernel would not add nic driver [SOLVED] |
|
|
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 |
|
|
ikaro Advocate
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Tue Jun 08, 2004 4:50 pm Post subject: |
|
|
try compiling it in [ * ] not [ M ] _________________ linux: #232767 |
|
Back to top |
|
|
really Guru
Joined: 27 Aug 2002 Posts: 430 Location: nowhere
|
Posted: Tue Jun 08, 2004 5:23 pm Post subject: |
|
|
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 |
|
|
dialbat n00b
Joined: 08 Jun 2004 Posts: 9
|
Posted: Tue Jun 08, 2004 7:37 pm Post subject: |
|
|
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 |
|
|
ikaro Advocate
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Tue Jun 08, 2004 7:59 pm Post subject: |
|
|
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 |
|
|
really Guru
Joined: 27 Aug 2002 Posts: 430 Location: nowhere
|
Posted: Tue Jun 08, 2004 8:00 pm Post subject: |
|
|
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 |
|
|
saccory Apprentice
Joined: 18 Feb 2004 Posts: 176 Location: Göttingen, Germany
|
Posted: Tue Jun 08, 2004 8:01 pm Post subject: |
|
|
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 |
|
|
dialbat n00b
Joined: 08 Jun 2004 Posts: 9
|
Posted: Tue Jun 08, 2004 9:18 pm Post subject: |
|
|
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 |
|
|
dialbat n00b
Joined: 08 Jun 2004 Posts: 9
|
Posted: Wed Jun 09, 2004 12:14 am Post subject: |
|
|
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 |
|
|
dialbat n00b
Joined: 08 Jun 2004 Posts: 9
|
Posted: Wed Jun 09, 2004 1:27 am Post subject: |
|
|
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 |
|
|
really Guru
Joined: 27 Aug 2002 Posts: 430 Location: nowhere
|
Posted: Wed Jun 09, 2004 10:43 am Post subject: |
|
|
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 |
|
|
dialbat n00b
Joined: 08 Jun 2004 Posts: 9
|
Posted: Wed Jun 09, 2004 8:25 pm Post subject: |
|
|
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 |
|
|
|