Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Using the wrong kernel?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
mohbandy
n00b
n00b


Joined: 14 Aug 2006
Posts: 16

PostPosted: Wed Aug 16, 2006 2:10 am    Post subject: Using the wrong kernel? Reply with quote

I'm trying to do various things like get my ethernet working and so i've been trying to do a net-setup, but the result for every command is:

Code:
# net-setup eth0
bash: net-setup: command not found

if i check the kernels i have on my system, i get:
Code:
# ls /etc/kernels/
kernel-config-x86-2.6.17-gentoo-r4

so now lets say i try to modprobe my ethernet module:
Code:
# modprobe b44
FATAL: Could not load /lib/modules/2.6.15-gentoo-r5/modules.dep: No such file or directory


what the deuce? my understanding is that its not even looking at the right kernel. So if thats right, how do i change it so that its looking at the kernel i listed before?

I don't know if it matters or not but having this problem because i'm booting from the livecd because i need to emerge shadow.

thanks in advance
Back to top
View user's profile Send private message
seren
Guru
Guru


Joined: 27 Aug 2005
Posts: 448
Location: Wisconsin

PostPosted: Wed Aug 16, 2006 3:05 am    Post subject: Reply with quote

what method did you use to compile the kernel?

whats the output of uname -r?
Back to top
View user's profile Send private message
mohbandy
n00b
n00b


Joined: 14 Aug 2006
Posts: 16

PostPosted: Wed Aug 16, 2006 3:21 am    Post subject: Reply with quote

uname -r returns:
2.6.15-gentoo-r5
Back to top
View user's profile Send private message
belrpr
Guru
Guru


Joined: 22 May 2006
Posts: 440

PostPosted: Wed Aug 16, 2006 7:20 am    Post subject: Reply with quote

mohbandy wrote:
uname -r returns:
2.6.15-gentoo-r5

Then you are using 2.6.15
are you sure that the symlink to /usr/src/linux is correct?
(How to check it? ls -FGg /usr/src/linux and post the results)
Back to top
View user's profile Send private message
To
Veteran
Veteran


Joined: 12 Apr 2003
Posts: 1145
Location: Coimbra, Portugal

PostPosted: Wed Aug 16, 2006 10:14 am    Post subject: Reply with quote

how did you made your kernel image? by hand or using genkernel?
_________________

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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