From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1Dsmn9-0000lQ-54 for garchives@archives.gentoo.org; Wed, 13 Jul 2005 19:21:11 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6DJIl5L019473; Wed, 13 Jul 2005 19:18:47 GMT Received: from smtp102.mail.sc5.yahoo.com (smtp102.mail.sc5.yahoo.com [216.136.174.140]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6DJEZk4012068 for ; Wed, 13 Jul 2005 19:14:36 GMT Received: (qmail 90311 invoked from network); 13 Jul 2005 19:15:39 -0000 Received: from unknown (HELO ?192.168.50.105?) (richard?j?fish@212.180.33.26 with plain) by smtp102.mail.sc5.yahoo.com with SMTP; 13 Jul 2005 19:15:39 -0000 Message-ID: <42D56903.8020100@asmallpond.org> Date: Wed, 13 Jul 2005 21:18:27 +0200 From: Richard Fish User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050623) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] udev & recent genkernel + gentoo-sources References: <200507131139.34961.dmitry@athabascau.ca> In-Reply-To: <200507131139.34961.dmitry@athabascau.ca> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: b51c7227-5b7c-462f-b61d-eed492b8298f X-Archives-Hash: d3ac4250b5258ebeaf40cb799041f023 Dmitry S. Makovey wrote: >I recently updated portage tree & kernel and using usual > >genkernel --menuconfig --save-config all > >produced unbootable system :( >Symptoms point most probably to udev being used by default etc. Here's >what I have in grub.conf: > >title Gentoo linux (updated) > root (hd0,0) > kernel /kernel-genkernel-x86-2.6.12-gentoo-r4n root=/dev/ram0 >real_root=/dev/hda11 init=/linuxrc video=vesafb:1024x768-32@72 >splash=verbose gentoo=nodevfs udev devfs=nomount > initrd /initramfs-genkernel-x86-2.6.12-gentoo-r4n > > >I've tried to follow those: > >http://www.gentoo.org/doc/en/udev-guide.xml >http://webpages.charter.net/decibelshelp/LinuxHelp_UDEVPrimer.html >http://gentoo-wiki.com/HOWTO_Migrate_to_UDEV >http://ftp.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ > >But it doesn't look like it applies to my case or maybe I jumped too >far ahead and udev is not fully supported yet? > > > Well, udev is most definitly supported, since as of 2.6.12 devfs has been officially "removed" from the kernel. Ok, technically only the config option was removed, but you can expect that 2.6.13 will be released without any devfs at all. >Here's what I get booting (I'm writing it from memory mostly so don't >think it's exact output): > >-install: applet not found >/init: 41: ln: not found >/init: 45: cat: not found > > It looks to me like your /initramfs is completely screwed. Whatever created that missed copying a bunch of necessary utilities (or more likely, a dependant library) to the /initramfs. The "/init" messages you see are almost certainly from the "/init" script in the initramfs. Every line indicates it went to run a command, and either the command or a library wasn't found. I'm with Aj here...you need to skip genkernel and configure a kernel from scratch. Compile everything you need to boot (disk drivers, root filesystem driver, etc) into the kernel statically (not as a module!). Then get rid of the "initrd" line in grub, lose the real_root=, init=, splash=, gentoo=, and devfs= options on the kernel command line, and change the "root=" option to "root=/dev/hda11". What a freakin' mess! -Richard -- gentoo-user@gentoo.org mailing list