Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
My network card don´t work!!! [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
el_miki
Apprentice
Apprentice


Joined: 16 Mar 2006
Posts: 178
Location: Ciudad Real (Spain)

PostPosted: Tue Apr 20, 2010 7:59 am    Post subject: My network card don´t work!!! [SOLVED] Reply with quote

Hi everybody,

This week I had some troubles with my grub and my kernel...

And today my network card dont want to work!!!

I´ve got kernel 2.6.33-r1 and Ethernet Controller: Intel Corporation 82562EZ 10/100 (e100)

I tried:

modprobe e100

And i get:

FATAL: Error inserting e100 (/lib/modules/2.6.33-gentoo-r1/kernel/drivers/net/e100.ko): Invalid module format

then I tried:

insmod -f .../e100.ko

and I get:

insmod: error inserting '...': -1 Unknown symbol in module

I tried to remove /lib/modules/2.6.33-gentoo-r1/ folder and recompile my kernel but it didn´t work also!!!

Somebody help me?


Last edited by el_miki on Fri Apr 23, 2010 7:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
yzg
Guru
Guru


Joined: 18 Jun 2005
Posts: 481

PostPosted: Tue Apr 20, 2010 8:24 am    Post subject: Reply with quote

What is the log file says about this operation?
Back to top
View user's profile Send private message
el_miki
Apprentice
Apprentice


Joined: 16 Mar 2006
Posts: 178
Location: Ciudad Real (Spain)

PostPosted: Tue Apr 20, 2010 8:45 am    Post subject: Reply with quote

yzg wrote:
What is the log file says about this operation?


Sorry but I´m very very newbie...

Where is the log file?

Thanks.
Back to top
View user's profile Send private message
yzg
Guru
Guru


Joined: 18 Jun 2005
Posts: 481

PostPosted: Tue Apr 20, 2010 8:54 am    Post subject: Reply with quote

The log file is /var/log/messages or /var/log/everything/current depending on package you choose for syslog.
Back to top
View user's profile Send private message
el_miki
Apprentice
Apprentice


Joined: 16 Mar 2006
Posts: 178
Location: Ciudad Real (Spain)

PostPosted: Tue Apr 20, 2010 9:05 am    Post subject: Reply with quote

I found somethig: dmesg

for example:

snd: disagrees about version of symbol module_layout
snd: disagrees about version of symbol module_layout
snd: disagrees about version of symbol module_layout
snd: disagrees about version of symbol module_layout
snd: disagrees about version of symbol module_layout
ipv6: disagrees about version of symbol module_layout
ipv6: disagrees about version of symbol module_layout
ipv6: disagrees about version of symbol module_layout
i2c_core: disagrees about version of symbol module_layout

How can i solve?

Thanks.
Back to top
View user's profile Send private message
yzg
Guru
Guru


Joined: 18 Jun 2005
Posts: 481

PostPosted: Tue Apr 20, 2010 9:14 am    Post subject: Reply with quote

"Invalid module format" problem is usually caused by version mismatch between the module and the kernel.
Back to top
View user's profile Send private message
yzg
Guru
Guru


Joined: 18 Jun 2005
Posts: 481

PostPosted: Tue Apr 20, 2010 9:17 am    Post subject: Reply with quote

Re-compile the kernel. Do know how to do it?
Back to top
View user's profile Send private message
el_miki
Apprentice
Apprentice


Joined: 16 Mar 2006
Posts: 178
Location: Ciudad Real (Spain)

PostPosted: Tue Apr 20, 2010 9:24 am    Post subject: Reply with quote

yzg wrote:
Re-compile the kernel. Do know how to do it?


I´he just recompiled my kernel, but It didn´t work!!!

I did:

gcc-config list

* gcc-config: Could not locate 'list' in '/etc/env.d/gcc/' !

Is it possible that the version of kernel now was recompiled with a different version of gcc or what???

Rebuild gcc??? or I´m wrong?

Thanks.
Back to top
View user's profile Send private message
yzg
Guru
Guru


Joined: 18 Jun 2005
Posts: 481

PostPosted: Tue Apr 20, 2010 9:41 am    Post subject: Reply with quote

Did you build and install the kernel?

Code:

cd  /usr/src/linux
mv  .config   ~
make  mrproper
mv  ~/.config   .
make
make  modules_install


mount /boot
Code:

mount  /boot
cp  /usr/src/linux/arch/i386/boot/bzImage   /boot/kernel-2.6.32-gentoo-r7


edit /boot/grub/menu.lst
Code:

title  Gentoo Linux 2.6.32-gentoo-r7 2010-04-10
root   (hd0,0)
kernel (hd0,0)/kernel-2.6.32-gentoo-r7 root=/dev/sda3 udev


Note: change the kernel version or the disk according to your setup
Back to top
View user's profile Send private message
el_miki
Apprentice
Apprentice


Joined: 16 Mar 2006
Posts: 178
Location: Ciudad Real (Spain)

PostPosted: Tue Apr 20, 2010 1:02 pm    Post subject: Reply with quote

Hi, is not possible to use mrproper with genkernel???

Thanks
Back to top
View user's profile Send private message
yzg
Guru
Guru


Joined: 18 Jun 2005
Posts: 481

PostPosted: Tue Apr 20, 2010 2:29 pm    Post subject: Reply with quote

You have to tell me more about your setup.

Please check the running kernel version
Code:

uname  -r


And the version of the e100 module
Code:

modinfo  e100
Back to top
View user's profile Send private message
el_miki
Apprentice
Apprentice


Joined: 16 Mar 2006
Posts: 178
Location: Ciudad Real (Spain)

PostPosted: Fri Apr 23, 2010 7:06 pm    Post subject: Reply with quote

Solved, thank you!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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