Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Configuring 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
EddMan83
n00b
n00b


Joined: 20 Oct 2016
Posts: 4

PostPosted: Thu Oct 20, 2016 8:13 pm    Post subject: Configuring Kernel Reply with quote

Hi Guys, been installing Gentoo and so far so good, but stuck one a particular issue, I am wanting to configure the Kernel but when i enter

find /lib/modules/kernel-3.7.10-gentoo-r1/ -type f -iname '*.o' -or -iname '*.ko' | less for a custom Kernel i get no such file or directory error.

Any advice?
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Thu Oct 20, 2016 8:23 pm    Post subject: Reply with quote

Hmmm ... if you are following a tutorial then stop reading it. Use Gentoo Wiki instead.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 38855
Location: 56N 3W

PostPosted: Thu Oct 20, 2016 8:26 pm    Post subject: Reply with quote

EddMan83,

Welcome to Gentoo.

That step is mostly redundant now. Module autoloading has got much better. Most users don't need to populate /etc/conf.d/modules.
There are a few oddballs and some things that cannot be autodetected.

find /lib/modules/kernel-3.7.10-gentoo-r1/ -type f -iname '*.o' -or -iname '*.ko' | less
The kernel name (in red) needs to be the running kernel. That changes every six weeks or so.

Code:
uname -r
will tell the version you need to use.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
EddMan83
n00b
n00b


Joined: 20 Oct 2016
Posts: 4

PostPosted: Thu Oct 20, 2016 8:45 pm    Post subject: Reply with quote

NeddySeagoon wrote:
EddMan83,

Welcome to Gentoo.

That step is mostly redundant now. Module autoloading has got much better. Most users don't need to popopulate /etc/conf.d/modules.
There are a few oddballs and some things that cannot be autodetected.

find /lib/modules/kernel-3.7.10-gentoo-r1/ -type f -iname '*.o' -or -iname '*.ko' | less
The kernel name (in red) needs to be the running kernel. That changes every six weeks or so.

Code:
uname -r
will tell the version you need to use.


Hi NeddySeagon

Thanks for the response, ive checked the version, i get the same error when i correct the version
Back to top
View user's profile Send private message
EddMan83
n00b
n00b


Joined: 20 Oct 2016
Posts: 4

PostPosted: Thu Oct 20, 2016 8:48 pm    Post subject: Reply with quote

EddMan83 wrote:
NeddySeagoon wrote:
EddMan83,

Welcome to Gentoo.

That step is mostly redundant now. Module autoloading has got much better. Most users don't need to popopulate /etc/conf.d/modules.
There are a few oddballs and some things that cannot be autodetected.

find /lib/modules/kernel-3.7.10-gentoo-r1/ -type f -iname '*.o' -or -iname '*.ko' | less
The kernel name (in red) needs to be the running kernel. That changes every six weeks or so.

Code:
uname -r
will tell the version you need to use.


Hi NeddySeagon

Thanks for the response, ive checked the version, i get the same error when i correct the version


If i run ls /boot/kernel* /boot/initramfs*

you can also see the version but still get the same error if i correct the version
Back to top
View user's profile Send private message
EddMan83
n00b
n00b


Joined: 20 Oct 2016
Posts: 4

PostPosted: Thu Oct 20, 2016 9:18 pm    Post subject: Reply with quote

EddMan83 wrote:
EddMan83 wrote:
NeddySeagoon wrote:
EddMan83,

Welcome to Gentoo.

That step is mostly redundant now. Module autoloading has got much better. Most users don't need to popopulate /etc/conf.d/modules.
There are a few oddballs and some things that cannot be autodetected.

find /lib/modules/kernel-3.7.10-gentoo-r1/ -type f -iname '*.o' -or -iname '*.ko' | less
The kernel name (in red) needs to be the running kernel. That changes every six weeks or so.

Code:
uname -r
will tell the version you need to use.


Hi NeddySeagon

Thanks for the response, ive checked the version, i get the same error when i correct the version


If i run ls /boot/kernel* /boot/initramfs*

you can also see the version but still get the same error if i correct the version



I came right, i see what you mean by its no longer in use. Just for the record this isnt my first rodeo, its just been a very very very long time.

Im going off my previous notes.

Thanks for the response tho bud i appreciate it.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7374
Location: Goose Creek SC

PostPosted: Fri Oct 21, 2016 3:37 pm    Post subject: Reply with quote

kernel-3.7.10-gentoo-r1 is not the correct format for <kernel version> at /lib/modules/<kernel version>
run ls /lib/modules to see the format in use
if you want to run the given find command from the handbook (hopefully not) you would then use the correct format for the kernel you just compiled.
_________________
Defund the FCC.
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