Lenovo N24 / USB NIC with ASIX AX88772C chip
-
used Win32DiskImager
usb booted
selected “fog official kernel - /boot/bzimage” and “fog debug kernel - /boot/11_bzimage”same results on both
https://i.imgur.com/I5uPXH3.jpg -
@bloodwar Ok, I forgot to add one parameter and therefore it fails. But booting essentially works. Could you please take a video of the start sequence between the point where you hit ENTER after selecting one of the two kernels and where the kernel messages scroll past. I’d like to see the GRUB debug messages! You could even just take a picture of it if you know exactly which debug messages I mean. On the screen it should say something like
loader/i386/linux.c ....
-
i think this is it… first thing that pops up after you select fog default kernel.
https://i.imgur.com/tw5mYSl.jpg
if not i’ll take a video of it -
@bloodwar Please plug the USB key back into a running (Windows) machine and edit the file
boot\grub2\grub.cfg
and add,mmap
to line number 6, so it looks like this:set myimage=/boot/bzImage set mydbgimage=/boot/11_bzImage set myinit=/boot/init.xz set myloglevel=7 set pager=1 set debug=linux,mmap set timeout=-1 insmod all_video ...
Boot from that USB key again - now you need to skip through the pages as there are many messages on screen… Best if you can take a steady video of all this.
-
https://i.imgur.com/LXbIQfu.jpg
seems to be endless if i hold enter
-
@bloodwar Yeah, but there are the debug messages from the last picture you took somewhere in between. I’d like to see exactly that screen as picture. Things like
real_mode_target ...
andreal_mode_mem ...
should be on there. -
i’ll try and get a better video… what i have for now
https://youtu.be/e7tUmhpUPMY -
@bloodwar The video is pretty good, though it’s not with the
mmap
debug enabled. -
Alright tried booting it up again. Held the spacebar till any actually information showed up. Problem is it scrolls way to quickly to record anything. Are therre any log files i can create/capture to show what it’s doing?
-
@bloodwar Don’t think it’s easy to get that information dumped to a file. But shouldn’t be necessary on the other hand. You just need to be patient and page through the messages one by one. I know this may take a couple of minutes. On the other hand this is just a plain test to see if any other loader can properly do the UEFI “exit_boot_service” stuff that seems to hang when we chainload the kernel through iPXE. Right now I am lost with ideas but will look through the code again…
-
@bloodwar I have looked through the code up and down, forth and back… Just don’t know all about UEFI and have no idea why this goes wrong. I am pretty close to sending a message to the kernel mailinglist. But before that I’d like you to try other kernels first. Please use some older kernels just to see if those can boot on that device. I think the easiest way is to download old kernel binaries here and here, plugin the USB key you made and put the kernel binary on it as
EFI/BOOT/BOOTX64.EFI
(rename that file - GRUB EFI binary).Now boot the Lenovo N24 off that USB key and see how far you get. If you see
Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0))
than you are past the issue. If it just sits there for 3 minutes then I’d expect it to be locked. Please try at least 10 kernel binaries of various versions from the links above.