Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel compiling
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
nerd811
n00b
n00b


Joined: 21 Jul 2016
Posts: 36

PostPosted: Sun Jul 24, 2016 2:15 am    Post subject: Kernel compiling Reply with quote

Hi gentoo users,
I'm currently struggling with wich things do I keep in my kernel.Although I did try my best trough reading gentoo's documentation and doing an lspci and lsmod to see what I should put into the kernel I cant figure it out. On freebsd all I needed to do was see wich modules were loaded and add them to a kernel config. So it's being really hard seeing what parts of the kernel mean the modules currently loaded.Here's the result of my lspci http://pastebin.com/HUXREaCF and my lsmod http://pastebin.com/H3kfnvas . If I posted this on the wrong part of the forum I'm sorry.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

PostPosted: Sun Jul 24, 2016 2:35 am    Post subject: Reply with quote

Boot with some good liveCD, like SyetmRescueCD, and run lspci -k, you will see what drivers are loaded for each device.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
nerd811
n00b
n00b


Joined: 21 Jul 2016
Posts: 36

PostPosted: Sun Jul 24, 2016 3:17 am    Post subject: Reply with quote

I'm thinking of installing a binary kernel.... Really having trouble with linux menuconfig.
Back to top
View user's profile Send private message
jonathan183
Guru
Guru


Joined: 13 Dec 2011
Posts: 309

PostPosted: Sun Jul 24, 2016 10:31 am    Post subject: Reply with quote

genkernel should get you a system which boots and works, you an optimise things if you want after that.

You might also find kernel-seeds useful, although you will need to run make silentoldconfig and make a decision yourself about what to do with later options. I think a mirror of kernel-seeds.org is still available ;)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jul 24, 2016 11:08 am    Post subject: Reply with quote

nerd811,

That kernel seeds mirror explains how to choose things for your kernel.

As jonathan183 says, genkernel or even genkernel-next, will get you going.
You can optimise your kernel later. Most users have several kernels installed to avoid the chroot dance when they make a dud. We all do that from time to time.

The system keeps kernels separate by versions. Use genkernel to get you going then get a different kernel version to do manual configuration on.
The drivers identified by lspci -k are required but not sufficient.
e.g. The filesystems you need will not appear there. Your HDD may need AHCI. That you also need PCI, SCSI, SD, libATA to support AHCI will not be shown.
_________________
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
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