From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DATE_IN_PAST_12_24, DMARC_MISSING,FREEMAIL_FROM,INVALID_DATE,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2 autolearn=no autolearn_force=no version=4.0.0 Received: from mailout01.sul.t-online.com ([194.25.134.80]) by cvs.gentoo.org with esmtp (Exim 3.22 #1) id 151BNH-0006xn-00 for gentoo-dev@gentoo.org; Sat, 19 May 2001 12:22:48 -0600 Received: from fwd03.sul.t-online.de by mailout01.sul.t-online.com with smtp id 151BNB-0002b3-05; Sat, 19 May 2001 20:22:41 +0200 Received: from helios.bagwan (320095285153-0001@[62.155.143.151]) by fwd03.sul.t-online.com with smtp id 151BNM-1BFbkmC; Sat, 19 May 2001 20:22:52 +0200 Received: (qmail 4689 invoked by uid 0); 19 May 2001 21:05:44 -0000 Received: from sadchitananda2.bagwan (HELO gentoo.org) (achim@192.168.2.1) by helios.bagwan with SMTP; 19 May 2001 21:05:43 -0000 Message-ID: <3B06B324.11D03C37@gentoo.org> From: AGottinger@t-online.de (Achim Gottinger) X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686) X-Accept-Language: en MIME-Version: 1.0 To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] kernel source for gentoo References: <20010513070106.7a57bde7.erichey2@home.com> <3AFE9547.7B9189AC@gentoo.org> <20010517181422.078d0c99.erichey2@home.com> <3B046274.7BD9939C@gentoo.org> <20010518062148.2e657e18.erichey2@home.com> <3B05570A.4866E010@gentoo.org> <20010518204053.422af17f.erichey2@home.com> <20010519101818.1b712248.erichey2@home.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Sender: 320095285153-0001@t-dialin.net Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@gentoo.org X-Reply-To: achim@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Sat May 19 12:23:01 2001 X-Original-Date: Sat, 19 May 2001 19:53:40 +0200 X-Archives-Salt: 63a5ded1-1e6b-4d84-a8c8-debd1e796f05 X-Archives-Hash: 2c696829f7b9abc1238afb0562fbdb65 Collins Richey wrote: > > On Fri, 18 May 2001 20:40:53 -0600 Collins Richey > wrote: > > > On Fri, 18 May 2001 19:08:26 +0200 AGottinger@t-online.de (Achim > > Gottinger) > > wrote: > > > > > Collins Richey wrote: > > > > > > > > On Fri, 18 May 2001 01:44:52 +0200 AGottinger@t-online.de (Achim > > > Gottinger) > > > > wrote: > > > > > > > > > Collins Richey wrote: > > > > > > > > > > > > On Sun, 13 May 2001 16:08:07 +0200 AGottinger@t-online.de (Achim > > > > > Gottinger) > > > > > > wrote: > > > > > > > > > > > > > Collins Richey wrote: > > > > > > > > > > > > > > > > > > > > The kernel you supply, for example, has no sound modules > > > compiled, > > > > > and > > > > > > > I would like to recompile for sound support (esssolo1.o and > > > > > soundcore.o > > > > > > > are needed) without breaking anything else. > > > > > > > > > > > > > > (The default kernel contains all alsa sound modules) > > > > > > > > > > > > > > > > > > > fyi, this doesn't do much good unless you have a sound card that > > > works > > > > > with > > > > > > als. > > > > > > > > > > > > > Current kernel source poackage is broken, eigher use > > > > > > > linux-source-2.4.4-rx.ebuild or > > > > > > > use a default kernel and run a manual config inbetween. > > > > > > > > > > > > > > cd /usr/portage/sys-kernel/linux > > > > > > > ebuild linux-2.4.4.5.ebuild unpack > > > > > > > cd /tmp/portage/linux-2.4.4.5/work/linux > > > > > > > make menuconfig > > > > > > > cd /usr/portage/sys-kernel/linux > > > > > > > ebuild linux-2.4.4.5.ebuild merge > > > > > > > > > > > > > > > > > > > > > > > > > > As I alluded to earlier, it isn't a really good idea to overwrite > > > the > > > > > > working kernel. Fortunately I saved the old kernel and modules. > > > The > > > > > only > > > > > > change I made was to add the esssolo1 module, but the new kernel > > > came > > > > > up > > > > > > with modules problems and no working eth0. > > > > > > > > > > > > I think I'll try standard kernel build procedures from the > > > > > > /tmp/portage/linux-2.4.4.5/work/linux directory with all your > > > patches > > > > > > applied. > > > > > > > > > > Hi Collins, > > > > > > > > > > I updated the kernel packages yesterday, you can now use > > > > > linux-sources-2.4.4.9 > > > > > > > > > > If you want the default configuration copy > > > > > > > /usr/portage/sys-kernel/linux-sources/files/2.4.4-ac9/config.bootcomp > > > to > > > > > /usr/src/linux/.config before you run make {x,menu}config. > > > > > > > > > > This kernel package uses the following USE variables for extras > > "lvm > > > > > lm_sensors pcmcia-cs alsa". > > > > > Add the ones you want top the USE variable in /etc/make.conf. > > > > > > > > > > After you have build the kernel you can build the extras modules > > and > > > > > utilities by installing > > > > > > > > > > linux-extras-2.4.4.9.ebuild. > > > > > > > > > > > > > It doesn't work. I did the following > > > > > > > > cd /usr/portage/sys-kernel/linux-sources > > > > ebuild linux-2.4.4.9.ebuild unpack > > > > cp > > > /usr/portage/sys-kernel/linux-sources/files/2.4.4-ac9/config.bootcomp > > > > /usr/src/linux/.config > > > > cd /tmp/portage/linux-2.4.4.9/work/linux > > > > tried make xconfig (error option not found) > > > > make menuconfig (added esssolo1 and corrected stuff for > > > ide-scsi) > > > > cd /usr/portage/sys-kernel/linux-sources > > > > ebuild linux-2.4.4.9.ebuild merge > > > > > > > > When I booted from the new kernel, eth0 would not start. I > > discovered > > > that > > > > the procedure had added empty /etc/modules/2.4.4-ac5 for 2.4.4-ac5 > > but > > > no > > > > /lib/modules/2.4.4-ac5. Only /etmodules/2.4.4-ac3 and > > > > /lib/modules/2.4.4-ac3 contain data. Since the kernel calls itself > > > -ac5, > > > > modprobe, etc. will not use any of the modules. > > > > > > Hmm, there seems to be a bug in modultils. > > > /lib/modules/[uname-r]/modules.dep is not generated correct. > > > > > > Remove /etc/modules/[unname -r] and /etc/modules.conf and run > > > /etc/rc.d/init.d/modules. This will generate those files again. > > > > > > I'm working on that bug here at the moment. > > > > > > > That may be a problem, too, but I don't think that will fix my problem. > > Something went wrong with the kernel + modules ebuild. The normal output > > of the kernel sequence, ie make mrproper, make xxxconfig, make deps make, > > make modules and make modules_install is a bzImage (ebuild got that > > right) > > and a modules directory /lib/module/kernelname (ebuild did not produce > > this), so the merge really failed even though it said it was complete. > > It > > won't do me any good to rebuild the modules.conf etc - the modules > > themselves are missing in action. > > > > FYI. I've found part of the problem with your kernel ebuild. I don't know > whether the problen is yours or modutils. Here's what I did to get a > working kernel > > cd /usr/portage/sys-kernel/linu > ebuild linux-2.4.4.5.ebuild unpack > cp -a /tmp/portage/linux-sources-2.4.4.9/work/linux-2.4.4-ac9 /home/collins > cd /home/collins/linux-2.4.4-ac9 > make mrproper > make menuconfig > loaded > /usr/portage/sys-kernel/linux-sources/files/2.4.4-ac9/config.bootcomp > modified to add support for esssolo1 and altered a few SCSI settings to get > my CDRW to work > mv'd the /usr/modules/2.4.4-ac3 directory to another name > make dep && make bzImage && make modules && make modules_install > Everything successful, except at the end of make modules install > the script attempted to write to /lib/modules/2.4.4-ac3 !!! and failed > (even though everything else was done for 2.4.4-ac9) > Created an empty 2.4.4-ac3 directory > reran make modules_install > The script created the mod*** entries in 2.4.4-ac3 instead of > in 2.4.4-ac9 where they belong yes that is a modutils problem. I'm currently testing a new modules ini.d script that should do a workaround for that prob. thanks for the detailed description. bye achim~