Re: [gentoo-user] strange /init kernel-2.6.12-gentoo-r5 boot problems
solution are simple. there is a new version of genkernel in portage. try: emerge --sync and emerge genkernel and finally rebuild the entire kernel and that should solve. At least I've solve mine. good luckzz On 7/15/05, Zac Medico [EMAIL PROTECTED] wrote: Iain Buchanan wrote: On Thu, 2005-07-14 at 08:36 +0200, Richard Fish wrote: Iain Buchanan wrote: -install: applet not found /init: 41: In: not found /init: 45: cat: not found /init: 150: sed: not found Apparently it is a problem with busybox configuration: From another thread on this list less than 12 hours old: Zac Medico wrote: It's not as bad as it looks. I had the same problem. You simply need to enable CONFIG_FEATURE_INSTALLER in the busybox config. Then you can do busybox --install and it automatically creates hardlinks for all the enabled applets. What busybox config? `equery files busybox` doesn't show any config files for busybox. I found the previous thread here http://marc.theaimsgroup.com/?l=gentoo-userm=112127857419654w=2 and Zac suggested some different options: root (hd0,0) kernel /kernel-genkernel-x86-2.6.12-gentoo-r4n root=/dev/hda11 video=vesafb:[EMAIL PROTECTED] splash=verbose gentoo=nodevfs udev devfs=nomount initrd /initramfs-genkernel-x86-2.6.12-gentoo-r4n but that didn't help either. So it still uses the initramfs even though you didn't specify root=/dev/ram0? Richard said something about that (I wasn't aware of this behavior). Apparently you need to remove the initrd parameter in order to disable it. Genkernel builds busybox with the config file in /usr/share/genkernel/$arch/busy-config. Of course, it will only build busybox if it doesn't find a suitable binary in your bincache (specified in /etc/genkernel.conf). And why do I need to do a `busybox --install` ?? shouldn't this come up in some emerge warning or be done by genkernel or something? I monitor all the output from emerge with enotice, but I didn't see anything about busybox... TIA, You don't do busybox --install, that happens automatically in the init script. It seems that the genkernel devs may have overlooked this minor detail. It's easy to forget about it after you have a working busybox in your bincache. Zac -- gentoo-user@gentoo.org mailing list -- Regards, Chee Ong -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] strange /init kernel-2.6.12-gentoo-r5 boot problems
Iain Buchanan wrote: -install: applet not found /init: 41: In: not found /init: 45: cat: not found /init: 150: sed: not found Apparently it is a problem with busybox configuration: From another thread on this list less than 12 hours old: Zac Medico wrote: It's not as bad as it looks. I had the same problem. You simply need to enable CONFIG_FEATURE_INSTALLER in the busybox config. Then you can do busybox --install and it automatically creates hardlinks for all the enabled applets. Zac HTH, -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] strange /init kernel-2.6.12-gentoo-r5 boot problems
On Thu, 2005-07-14 at 08:36 +0200, Richard Fish wrote: Iain Buchanan wrote: -install: applet not found /init: 41: In: not found /init: 45: cat: not found /init: 150: sed: not found Apparently it is a problem with busybox configuration: From another thread on this list less than 12 hours old: Zac Medico wrote: It's not as bad as it looks. I had the same problem. You simply need to enable CONFIG_FEATURE_INSTALLER in the busybox config. Then you can do busybox --install and it automatically creates hardlinks for all the enabled applets. What busybox config? `equery files busybox` doesn't show any config files for busybox. I found the previous thread here http://marc.theaimsgroup.com/?l=gentoo-userm=112127857419654w=2 and Zac suggested some different options: root (hd0,0) kernel /kernel-genkernel-x86-2.6.12-gentoo-r4n root=/dev/hda11 video=vesafb:[EMAIL PROTECTED] splash=verbose gentoo=nodevfs udev devfs=nomount initrd /initramfs-genkernel-x86-2.6.12-gentoo-r4n but that didn't help either. And why do I need to do a `busybox --install` ?? shouldn't this come up in some emerge warning or be done by genkernel or something? I monitor all the output from emerge with enotice, but I didn't see anything about busybox... TIA, -- Iain Buchanan [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] strange /init kernel-2.6.12-gentoo-r5 boot problems
Iain Buchanan wrote: On Thu, 2005-07-14 at 08:36 +0200, Richard Fish wrote: Iain Buchanan wrote: -install: applet not found /init: 41: In: not found /init: 45: cat: not found /init: 150: sed: not found Apparently it is a problem with busybox configuration: From another thread on this list less than 12 hours old: Zac Medico wrote: It's not as bad as it looks. I had the same problem. You simply need to enable CONFIG_FEATURE_INSTALLER in the busybox config. Then you can do busybox --install and it automatically creates hardlinks for all the enabled applets. What busybox config? `equery files busybox` doesn't show any config files for busybox. I found the previous thread here http://marc.theaimsgroup.com/?l=gentoo-userm=112127857419654w=2 and Zac suggested some different options: root (hd0,0) kernel /kernel-genkernel-x86-2.6.12-gentoo-r4n root=/dev/hda11 video=vesafb:[EMAIL PROTECTED] splash=verbose gentoo=nodevfs udev devfs=nomount initrd /initramfs-genkernel-x86-2.6.12-gentoo-r4n but that didn't help either. So it still uses the initramfs even though you didn't specify root=/dev/ram0? Richard said something about that (I wasn't aware of this behavior). Apparently you need to remove the initrd parameter in order to disable it. Genkernel builds busybox with the config file in /usr/share/genkernel/$arch/busy-config. Of course, it will only build busybox if it doesn't find a suitable binary in your bincache (specified in /etc/genkernel.conf). And why do I need to do a `busybox --install` ?? shouldn't this come up in some emerge warning or be done by genkernel or something? I monitor all the output from emerge with enotice, but I didn't see anything about busybox... TIA, You don't do busybox --install, that happens automatically in the init script. It seems that the genkernel devs may have overlooked this minor detail. It's easy to forget about it after you have a working busybox in your bincache. Zac -- gentoo-user@gentoo.org mailing list
[gentoo-user] strange /init kernel-2.6.12-gentoo-r5 boot problems
I just compiled kernel-2.6.12-gentoo-r5 almost exactly the same way I've compiled every other kernel, but this one won't boot! I used genkernel as so: sudo genkernel --no-menuconfig --save-config --no-bootsplash --gensplash --gensplash=emergence --install --kernel-config=/home/iain/configs/2.6.12-gr5-2005-07-14 --makeopts=-j3 --mountboot --bootloader=grub all which is the same as I used for 2.6.12-gentoo and 2.6.11-gentoo-r11 (etc) and they worked fine. The only difference is I removed --udev from the genkernel options because genkernel told me its specified by default. The kernel and initrd files are named differently: kernel-genkernel-x86-2.6.12-gentoo-r5 initramfs-genkernel-x86-2.6.12-gentoo-r5 as opposed to kernel-2.6.11-gentoo-r11 initrd-2.6.11-gentoo-r11 Grub loads the initrd ok, but somewhere in the boot process, this happens (with lots more /init lines where I've placed 'etc'): ... ACPI wakeup devices: LID PBTN PCIO USB1 USB2 USB4 USB3 MODM PCIE ACPI: (supports S0 S1 S3 S4 S4bios S5) Freeing unused kernel memory: 228k freed all ok up to here, but then: -install: applet not found /init: 41: In: not found /init: 45: cat: not found /init: 150: sed: not found Loading modules /init: 172: touch: not found /init: 172: cat: not found ... etc! ... Activating udev /init: 178: mkdir: not found /init: 178: /sbin/udevstart: not found /init: 178: In: not found ... etc! ... [: /dev/md: unknown operand /init: 187: mkdir: not found Determining root device... !! The root block device is unspecified or not detected. Please specify a device to boot, or shell for a shell... boot() :: (this is typed from a photo, so EOE !!) At this stage, I can type shell, but I don't get any commands. When I try to use tab completion, I see some strange directory names (sorry can't remember exactly). I thought maybe for some reason I didn't have the right filesystem modules compiled in, but they're certainly there: CONFIG_EXT3_FS=y and so on, but anyway, I haven't changed this from 2.6.11. So, any ideas on what's going on? Something udev related? google only returned the usual init not found, MARC showed nothing and I can't connect to gmane, anyone know whats going on there? Many TIA! -- Iain Buchanan [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list