Gentoo Archives: gentoo-dev

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

Replies

Subject Author
Re: [gentoo-dev] kernel source for gentoo AGottinger@t-online.de (Achim Gottinger)