Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
invalid module format error, and wrong kernel version
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
athena810
Apprentice
Apprentice


Joined: 23 Jun 2012
Posts: 176

PostPosted: Wed Jul 04, 2012 1:53 am    Post subject: invalid module format error, and wrong kernel version Reply with quote

So im in a hotel room using hotel wifi. I configured wpa_supplicant.conf for it but it doesn't help. I deleted my boot partitin by accident but tried to remake it. i need connection to emerge grub, however my modules don't work. it says that i have an invalid mdule format. my kernel is 3.3.8 but it says that my kernel is 3.2.12. wth is wrong?

when i ./autrun.sh, it gets info from 3.2.12-gent, idk why. it shuld be 3.3.8-gentoo. how do i change this?

when i modprobe r8101, i get a

couldnt load /lib/modules/3.2.12-gentoo/modules.dep: No such file or directory. it should be loading it frm /lib/modules/3.3.8-gentoo/modules.dep. 3.2.12-gentoo does not exist. WTF???

uname -r returns 3.2.12-gentoo....WTF??? it was always 3.3.8-gentoo. What do i do now?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21490

PostPosted: Wed Jul 04, 2012 2:08 am    Post subject: Reply with quote

Where did you get autrun.sh? What does it do? You should contact its author to understand why it picked the wrong kernel version, but my guess is that it picked your running kernel version.
Back to top
View user's profile Send private message
athena810
Apprentice
Apprentice


Joined: 23 Jun 2012
Posts: 176

PostPosted: Wed Jul 04, 2012 2:20 am    Post subject: Reply with quote

./autorun.sh just automatically updates the kernel driver so i dont need to do the whole make clean, make install thing (that doesnt work either). i blackilsted r8169 but thats the one its trying to use to connect to the internet which doesn't help me if there is no r8169. I just make && make modules_install and its been running so i think it might rebuild it back t 3.3.8-gentoo. I don't even know how this could happen.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Wed Jul 04, 2012 2:31 am    Post subject: Reply with quote

Not sure what is happening there. I assume you did not install 3.3.8 properly, rebooted to old kernel and removed old sources? Then you are pretty screwed without network. Unless you still have old sources, then you could use old sources to get the wireless up.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Jul 04, 2012 4:39 am    Post subject: Reply with quote

Well, if you want to troubleshoot, the first thing would be to see what you've got. What kernel source directories do you have in /usr/src?

Also, why would you need a network connection to re-emerge grub? Did you erase your distfiles directory too?

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Wed Jul 04, 2012 4:47 am    Post subject: Reply with quote

athena810 wrote:
./autorun.sh just automatically updates the kernel driver so i dont need to do the whole make clean, make install thing (that doesnt work either). i blackilsted r8169 but thats the one its trying to use to connect to the internet which doesn't help me if there is no r8169. I just make && make modules_install and its been running so i think it might rebuild it back t 3.3.8-gentoo. I don't even know how this could happen.

If that was the last kernel you compiled why not just copy bzImage to /boot/kernel-3.3.8-gentoo :?
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
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