* [gentoo-user] strange /init kernel-2.6.12-gentoo-r5 boot problems
@ 2005-07-14 2:08 Iain Buchanan
2005-07-14 6:36 ` Richard Fish
0 siblings, 1 reply; 5+ messages in thread
From: Iain Buchanan @ 2005-07-14 2:08 UTC (permalink / raw
To: gentoo-user
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 E&OE !!)
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 <iaindb@netspace.net.au>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] strange /init kernel-2.6.12-gentoo-r5 boot problems
2005-07-14 2:08 [gentoo-user] strange /init kernel-2.6.12-gentoo-r5 boot problems Iain Buchanan
@ 2005-07-14 6:36 ` Richard Fish
2005-07-15 1:01 ` Iain Buchanan
0 siblings, 1 reply; 5+ messages in thread
From: Richard Fish @ 2005-07-14 6:36 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] strange /init kernel-2.6.12-gentoo-r5 boot problems
2005-07-14 6:36 ` Richard Fish
@ 2005-07-15 1:01 ` Iain Buchanan
2005-07-15 1:31 ` Zac Medico
0 siblings, 1 reply; 5+ messages in thread
From: Iain Buchanan @ 2005-07-15 1:01 UTC (permalink / raw
To: gentoo-user
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-user&m=112127857419654&w=2 and
Zac suggested some different options:
> root (hd0,0)
> kernel /kernel-genkernel-x86-2.6.12-gentoo-r4n
> root=/dev/hda11 video=vesafb:1024x768-32@72
> 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 <iaindb@netspace.net.au>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] strange /init kernel-2.6.12-gentoo-r5 boot problems
2005-07-15 1:01 ` Iain Buchanan
@ 2005-07-15 1:31 ` Zac Medico
2005-07-15 16:53 ` Chee Ong Loh
0 siblings, 1 reply; 5+ messages in thread
From: Zac Medico @ 2005-07-15 1:31 UTC (permalink / raw
To: gentoo-user
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-user&m=112127857419654&w=2 and
> Zac suggested some different options:
>
>
>>root (hd0,0)
>>kernel /kernel-genkernel-x86-2.6.12-gentoo-r4n
>>root=/dev/hda11 video=vesafb:1024x768-32@72
>>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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] strange /init kernel-2.6.12-gentoo-r5 boot problems
2005-07-15 1:31 ` Zac Medico
@ 2005-07-15 16:53 ` Chee Ong Loh
0 siblings, 0 replies; 5+ messages in thread
From: Chee Ong Loh @ 2005-07-15 16:53 UTC (permalink / raw
To: gentoo-user
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 luckzzzzzz
On 7/15/05, Zac Medico <zmedico@gmail.com> 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-user&m=112127857419654&w=2 and
> > Zac suggested some different options:
> >
> >
> >>root (hd0,0)
> >>kernel /kernel-genkernel-x86-2.6.12-gentoo-r4n
> >>root=/dev/hda11 video=vesafb:1024x768-32@72
> >>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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-07-15 17:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-14 2:08 [gentoo-user] strange /init kernel-2.6.12-gentoo-r5 boot problems Iain Buchanan
2005-07-14 6:36 ` Richard Fish
2005-07-15 1:01 ` Iain Buchanan
2005-07-15 1:31 ` Zac Medico
2005-07-15 16:53 ` Chee Ong Loh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox