[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: busybox init returns fails with error code -1 (0x00007f00)
From:       samuel ammonius <sfammonius () gmail ! com>
Date:       2022-11-29 20:25:36
Message-ID: CALbUA4hSmwm+G7u4h_nJWcNizM5smLh6TQyOgxS389_Pq3wfiw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Sorry about not responding. I've been using another address for some time.

I don't know anything about initrd. I selected some packages, and added an
overlay filesystem where inittab was configured to have my application run
on start.

Could the error code be from the application rather than busybox itself?

On Tue, Nov 29, 2022 at 10:34 AM Denys Vlasenko <vda.linux@googlemail.com>
wrote:

> On Tue, Oct 25, 2022 at 10:56 PM samuel ammonius <sfammonius@gmail.com>
> wrote:
> > Hello,
> >
> > I have a simple ISO filesystem set up with busybox and grub.These are
> the commands I use in GRUB2 to start the system:
> >
> > grub> set root=(cd)
> > grub> linux /boot/bzImage root=/dev/sda1
> > grub> initrd /boot/initrd
> > grub> boot
> >
> > I don't know how to get the full kernel error log, but the final error
> is "kernel panic: attempted to kill init! error code: 0x00007f00". I tried
> building a static "Hello, world!" program as the FAQ said, and it worked.
> What could be causing the error?
>
> Error code 0x00007f00 means that init exited with exit code 127 (0x7f).
> IOW: it did not crash with a signal, it called exit(127).
> Did it print any error message?
>

[Attachment #5 (text/html)]

<div dir="ltr">Sorry about not responding. I&#39;ve been using another address for \
some time.<div><br></div><div>I don&#39;t know anything about initrd. I selected some \
packages, and added an overlay filesystem where inittab was configured to have my \
application run on start.</div><div><br></div><div>Could the error code be from the \
application rather than busybox itself?</div></div><br><div class="gmail_quote"><div \
dir="ltr" class="gmail_attr">On Tue, Nov 29, 2022 at 10:34 AM Denys Vlasenko &lt;<a \
href="mailto:vda.linux@googlemail.com">vda.linux@googlemail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, Oct 25, 2022 \
at 10:56 PM samuel ammonius &lt;<a href="mailto:sfammonius@gmail.com" \
target="_blank">sfammonius@gmail.com</a>&gt; wrote:<br> &gt; Hello,<br>
&gt;<br>
&gt; I have a simple ISO filesystem set up with busybox and grub.These are the \
commands I use in GRUB2 to start the system:<br> &gt;<br>
&gt; grub&gt; set root=(cd)<br>
&gt; grub&gt; linux /boot/bzImage root=/dev/sda1<br>
&gt; grub&gt; initrd /boot/initrd<br>
&gt; grub&gt; boot<br>
&gt;<br>
&gt; I don&#39;t know how to get the full kernel error log, but the final error is \
&quot;kernel panic: attempted to kill init! error code: 0x00007f00&quot;. I tried \
building a static &quot;Hello, world!&quot; program as the FAQ said, and it worked. \
What could be causing the error?<br> <br>
Error code 0x00007f00 means that init exited with exit code 127 (0x7f).<br>
IOW: it did not crash with a signal, it called exit(127).<br>
Did it print any error message?<br>
</blockquote></div>



_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic