Sticky: When boot hangs at kernel boot stage...

Moderator: warpme

Locked
User avatar
warpme
Translator
Posts: 79
Joined: Fri Feb 07, 2014 9:13 pm
Poland

Sticky: When boot hangs at kernel boot stage...

Post by warpme »

mm2 has in-kernel included support for latest Intel/AMD HW

If You have issue with boot process hanging at early stage, then issue might be related to missing firmware.

mm2 has low-level drivers (FB/DRM) build-in into kernel. This allows to have KMS and splash at early boot.
Downside of this is that kernel hangs at boot process if users runs mm2 on AMD hw for which mm2 hasn't yet kernel build-in firmware.
Adding firmware is easy - but for this I need boot process log.
Unfortunately in such case there is no monitor/keyb/telnet console yet...

For such cases mm2 has build-in netconsole.

So - if You will have such issue with boot process, pls do following:

1. In iPXE boot script add netconsole into kernel boot commandline:
Change

Code: Select all

kernel http://<HTTP server IP>/minimyth2/boot.img/kernel ro root=/dev/ram0 initrd=rootfs ramdisk_size=160000
to

Code: Select all

kernel http://<HTTP server IP>/minimyth2/boot.img/kernel ro root=/dev/ram0 initrd=rootfs ramdisk_size=160000 netconsole=4444@<FE IP address>/eth0,9353@<sniffing host IP>/<sniffing host MAC>
where:
<FE IP address> is DHCP assigned IP of FE
<sniffing host IP> is IP of host where You wan to see netconsole output
<sniffing host MAC> is MAC address of host where You wan to see netconsole output

Example:

Code: Select all

kernel http://192.168.1.254/minimyth2/boot.img/kernel ro root=/dev/ram0 initrd=rootfs ramdisk_size=160000 netconsole=4444@192.168.1.130/eth0,9353@192.168.1.254/42:84:b6:8a:59:ec


2. On host where You want to see netconsole output, run in terminal:

Code: Select all

nc -u -l -p 9353
3. Try to boot mm2 and look at host where You want to see netconsole output. You should see kernel output.
Pls put this output here - or send me via PM
Locked