Gentoo Archives: gentoo-user

From: Lavender <448463782@××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Anyone can afford information about build kernel?
Date: Sun, 09 Oct 2011 04:55:05
Message-Id: tencent_07C598A9658B33231C66C863@qq.com
1 Yeah, your reply is exact what I mean , but I'm really confused by those modules' names, I can't find any contact between the hard device name and its module name . For example, there is a module named 3c59x.ko , I totally don't know what device it present for , I mean I can't figure out that which module correspond to which device though I know the hard devices consisted of my PC. So I need information about contact between them so that I could know what modules need to be chosen in kernel , also the options of kernel are quiet a lot , there're many features that I never heard , I want to find them out .
2 May be you think these problems are too easy , but I have never contacted them before . Forum I visited and books about Linux I readed are both not mentioned them , so I wish you all could instruct me.
3 ------------------ Original ------------------
4 From: "Nilesh Govindarajan"<contact@××××××××.com>;
5 Date: Sun, Oct 9, 2011 10:09 AM
6 To: "gentoo-user"<gentoo-user@l.g.o>;
7
8 Subject: Re: [gentoo-user] Anyone can afford information about build kernel?
9
10
11 On 10/09/2011 06:25 AM, Lavender wrote:
12 > It seems that no matter I build gentoo manually or with genkernel I
13 > can't have a fine-working kernel finally. Obviously I must solve it by
14 > myself , so I determined to build entire kernel all manually , it
15 > requests a lot of linux knowlege . All for that, I hope someone could
16 > tell me where to get this information , I haven't found them on
17 > gentoo.org , so please lead me to the correct direction, thank you for
18 > you all !
19
20 If you're new to building kernel, it will take some time to learn what
21 modules you need what options you should enable, etc.
22 You're building gentoo on some host Linux os, so you can use that os's
23 lsmod utility to know what modules you require.
24
25 Also, if some modules may be compiled right into the kernel you may not
26 be able to see them in the lsmod produces, instead use lspci -v for that.
27
28 One important thing I learnt the hard way while building gentoo for a
29 server- Always compile the critical modules like disk controllers, RAID,
30 also don't forget to use RAID autodetection if you're not going to use
31 an initramfs and filesystems (involved at boot) statically.
32
33 While citing my experience about building gentoo on a server, you have
34 to do the things invisibly, so you can't see what the kernel emits befor
35 panic.
36
37 It turned out that I'd disabled RAID autodetection and wasn't using an
38 initramfs either (which will load the arrays using mdadm).
39
40 --
41 Nilesh Govindarajan
42 http://nileshgr.com

Replies

Subject Author
Re: [gentoo-user] Anyone can afford information about build kernel? Nilesh Govindarajan <contact@××××××××.com>
Re: [gentoo-user] Anyone can afford information about build kernel? Michael Mol <mikemol@×××××.com>