Hi,

for me this usually fails w/ out-of-memory, and then likely no memory is 
available
to fork and run new processes anyway. We could certainly try to handle
non zero exist status and properly error out there for a maybe 50/50 chance
some stuff can still run? Especially in your case of unsupported format, …
maybe I try add handle that live this lunch break ;-)

Bonne journée,
        René

> On 18. Jul 2021, at 09:44, Tomáš Glozar <[email protected]> wrote:
> 
> Hello,
> 
> I came across this issue while trying to network boot into the T2
> installer. The decompression of stage2 fails for some reason (that's
> not important here), but the script attempts to switch root anyway,
> leading to a kernel panic:
> 
> Enter base URL (e.g. http://192.168.3.1/): http://192.168.3.2:8080
> Select a second stage image file:
>     1. stage2ext.tar.zst
> Enter number or image file names (default=1): 1
> Extracting second stage filesystem ...
> zstd: /*stdin*\: unsupported format
> Can't find /sbinKernel panic - not syncing:
> /init.
> /init[45Kernel panic - not syncing:
> 2]: /sbin/init: not found
> Attempted to kill init! exitcode=0x00007f00
> CPU: 0 PID: 1 Comm: init Not tainted 5.13.2-t2-rt1 #1
> Hardware name: 9000/785/C3750
> Backtrace:
> [<1018b6ac>] show_stack+0x44/0x64
> [<107cfaf8>] dump_stack+0x38/0x44
> [<107ccf50>] panic+0xd8/0x470
> [<101ad9a8>] do_exit+0x264/0xae4
> [<101ae310>] do_group_exit+0x70/0xe4
> [<101ae3a0>] sys_exit_group+0x1c/0x30
> [<1018720c>] syscall_exit+0x0/0x14
> ---[ end Kernel panic - not syncing: Attempted to kill init!
> exitcode=0x00007f00 ]---
> 
> Fixing this would make it easier to debug issues with the loading of
> stage2, not having to reboot after each try.
> 
> Have a nice day (hopefully without too many kernel bugs),
> 
> Tomáš
> 
> ----------------------------------------------------------- 
> If you wish to unsubscribe from this mailing, send mail to
> [email protected] with a subject of: unsubscribe t2

-- 
 ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin, https://exactcode.com
 https://exactscan.com | https://ocrkit.com | https://t2sde.org | 
https://rene.rebe.de

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to