Thinstation / thinstation

A framework for making thin and light Linux based images for x86 based machines and thinclients.
https://www.thinstation.net/
804 stars 187 forks source link

Kernel Panic - error: lib/relocator.c:1455:couldn't find suitable memory target. #847

Closed rohrbachger closed 1 month ago

rohrbachger commented 1 month ago

On Dell optiplex 790 using the onboard graphic card after build --allmodules still we have the kernel panic. The same hardware but using nvidia graphic card with dual head we have no issue.

On older thinstation versions with older kernel this has been working fine for years. 4GB of memory is installed on all those machines, it's an i5 processor so not too bad.

I tried already bootverbosity=63, but can´t read messages that fast... We are doing PXE-boot with iPXE.

Thinstation commented 1 month ago

This usually means the initrd is too big. How big is your image?

rohrbachger commented 1 month ago

I removed he vmview package to get the image smaller, it`s know 326MB size. That works now. Strange is, that my former images is working on the Optiplex with NVIDIA card, and he same image is working on Lenovo M710. But his I guess it is the right hint, I will try to get the image smaller. When I add vmview package I get 569MB for initrd. The view package is really large, I will check if there is something large not really needed. The ISO has a size of 596, with vmview, that is obviously to large.

rohrbachger commented 1 month ago

I guess I have found a solution in our case. In the view package is a large lib for html5 access, in our case no need as we use only pcoip and blast. The libcef.so located under bin/vmware/view/html5mmr and has a size of 313MB. I deleted for testing, so far it seems not needed. I will try in production env with some test candidates. The life system is the best test system... And we can roll back very fast in pxe environment Thanks for point in the right direction. Anyway there is a problem with the new view client. bin/vmware-view uses an array for testing some libs. This seems no to be supported in busybox in this way. I removed / changed this, but means I changed an original file.

Thinstation commented 1 month ago

Some onboard video cards share the system memory. So even though the the system has 4gb or RAM, it might be partitioned between system and video. 4gb could really be 2gb. This is somewhat adjustable in the BIOS.