Gentoo Archives: gentoo-dev

From: AGottinger@t-online.de (Achim Gottinger)
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] kernel source for gentoo
Date: Fri, 18 May 2001 11:37:32
Message-Id: 3B05570A.4866E010@gentoo.org
In Reply to: Re: [gentoo-dev] kernel source for gentoo by Collins Richey
1 Collins Richey wrote:
2 >
3 > On Fri, 18 May 2001 01:44:52 +0200 AGottinger@××××××××.de (Achim Gottinger)
4 > wrote:
5 >
6 > > Collins Richey wrote:
7 > > >
8 > > > On Sun, 13 May 2001 16:08:07 +0200 AGottinger@××××××××.de (Achim
9 > > Gottinger)
10 > > > wrote:
11 > > >
12 > > > > Collins Richey wrote:
13 > > > > >
14 >
15 > > > > > The kernel you supply, for example, has no sound modules compiled,
16 > > and
17 > > > > I would like to recompile for sound support (esssolo1.o and
18 > > soundcore.o
19 > > > > are needed) without breaking anything else.
20 > > > >
21 > > > > (The default kernel contains all alsa sound modules)
22 > > > >
23 > > >
24 > > > fyi, this doesn't do much good unless you have a sound card that works
25 > > with
26 > > > als.
27 > > >
28 > > > > Current kernel source poackage is broken, eigher use
29 > > > > linux-source-2.4.4-rx.ebuild or
30 > > > > use a default kernel and run a manual config inbetween.
31 > > > >
32 > > > > cd /usr/portage/sys-kernel/linux
33 > > > > ebuild linux-2.4.4.5.ebuild unpack
34 > > > > cd /tmp/portage/linux-2.4.4.5/work/linux
35 > > > > make menuconfig
36 > > > > cd /usr/portage/sys-kernel/linux
37 > > > > ebuild linux-2.4.4.5.ebuild merge
38 > > > >
39 > > > >
40 > > >
41 > > > As I alluded to earlier, it isn't a really good idea to overwrite the
42 > > > working kernel. Fortunately I saved the old kernel and modules. The
43 > > only
44 > > > change I made was to add the esssolo1 module, but the new kernel came
45 > > up
46 > > > with modules problems and no working eth0.
47 > > >
48 > > > I think I'll try standard kernel build procedures from the
49 > > > /tmp/portage/linux-2.4.4.5/work/linux directory with all your patches
50 > > > applied.
51 > >
52 > > Hi Collins,
53 > >
54 > > I updated the kernel packages yesterday, you can now use
55 > > linux-sources-2.4.4.9
56 > >
57 > > If you want the default configuration copy
58 > > /usr/portage/sys-kernel/linux-sources/files/2.4.4-ac9/config.bootcomp to
59 > > /usr/src/linux/.config before you run make {x,menu}config.
60 > >
61 > > This kernel package uses the following USE variables for extras "lvm
62 > > lm_sensors pcmcia-cs alsa".
63 > > Add the ones you want top the USE variable in /etc/make.conf.
64 > >
65 > > After you have build the kernel you can build the extras modules and
66 > > utilities by installing
67 > >
68 > > linux-extras-2.4.4.9.ebuild.
69 > >
70 >
71 > It doesn't work. I did the following
72 >
73 > cd /usr/portage/sys-kernel/linux-sources
74 > ebuild linux-2.4.4.9.ebuild unpack
75 > cp /usr/portage/sys-kernel/linux-sources/files/2.4.4-ac9/config.bootcomp
76 > /usr/src/linux/.config
77 > cd /tmp/portage/linux-2.4.4.9/work/linux
78 > tried make xconfig (error option not found)
79 > make menuconfig (added esssolo1 and corrected stuff for ide-scsi)
80 > cd /usr/portage/sys-kernel/linux-sources
81 > ebuild linux-2.4.4.9.ebuild merge
82 >
83 > When I booted from the new kernel, eth0 would not start. I discovered that
84 > the procedure had added empty /etc/modules/2.4.4-ac5 for 2.4.4-ac5 but no
85 > /lib/modules/2.4.4-ac5. Only /etmodules/2.4.4-ac3 and
86 > /lib/modules/2.4.4-ac3 contain data. Since the kernel calls itself -ac5,
87 > modprobe, etc. will not use any of the modules.
88
89 Hmm, there seems to be a bug in modultils.
90 /lib/modules/[uname-r]/modules.dep is not generated correct.
91
92 Remove /etc/modules/[unname -r] and /etc/modules.conf and run
93 /etc/rc.d/init.d/modules. This will generate those files again.
94
95 I'm working on that bug here at the moment.
96
97 bye achim~
98 >
99 > --
100 > Collins Richey
101 > Denver area
102 > gentoo system
103 >
104 > _______________________________________________
105 > gentoo-dev mailing list
106 > gentoo-dev@g.o
107 > http://www.gentoo.org/mailman/listinfo/gentoo-dev

Replies

Subject Author
Re: [gentoo-dev] kernel source for gentoo Collins Richey <erichey2@××××.com>