6285 - Kernel panic not syncing when trying to image
-
#!ipxe set fog-ip X.X.X.37 set fog-webroot fog set boot-url http://${fog-ip}/${fog-webroot} #!ipxe cpuid --ext 29 && set arch x86_64 || set arch i386 iseq ${platform} efi && set key 0x1b || set key 0x127e iseq ${platform} efi && set keyName ESC || set keyName F6 prompt --key ${key} --timeout 3000 Booting... (Press ${keyName} to access the menu) && goto menuAccess || sanboot --no-describe --drive 0x80 :menuAccess login params param mac0 ${net0/mac} param arch ${arch} param platform ${platform} param username ${username} param password ${password} param menuaccess 1 param debug 1 isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme :bootme chain -ar http://X.X.X.37/fog/service/ipxe/boot.php##params```
-
@MRCUR can you, for now, disable hidden menu, and see if this fixes the problem?
-
@Tom-Elliott Same issue.
-
Are you sure both cloud versions are the same?
Can you test with some basic moving tricks?
mv /var/www/fog /home/fog/web rm /var/www/html/fog -rf rm /var/www/fog -rf
Then rerun the installer?
The only reason I move it first is so if you have any special iso’s we can recover them later on.
-
@Tom-Elliott Same issue after running the installer again.
They’ve been the same throughout the day and were both 6285 when I updated last night when the problem started. The production is 6295 now as I’ve grabbed the latest a few times today.
-
@MRCUR As this is about getting into the inits and bzImage files, can you setup a simple debug tasking for both the test and prod servers? Then try booting the same system on both servers? Do both have the same problem?
After that, go ahead and cancel the tasking on both systems and try to do a simple tasking of the same on both servers. Do both systems perform the same way?
Just trying to help narrow down on the issue.
-
@Tom-Elliott On the production server, the client throws the kernel panic with both tasks. On the test server, the client gets into the debug and then shows an “unknown task” error (maybe this is normal for debug?). With a deploy task it boots and begins imaging correctly.
-
@MRCUR Can you scp the files from the test to the production server?
Then try the same stuff.
Simple Debug I don’t expect to actually do anything as there is nothing set.
Just want to help get to the bottom of this. I wonder if other kernel params are being passed between the test and production servers though.
-
@Tom-Elliott Took the ipxe directory from the test server and copied it to the production server. Reapplied permissions and same results on the client. Kernel panic with any task.
-
@MRCUR With both systems in “tasking”, can you get the output of the test and the prod servers and print them here? I suspect something is different though I haven’t a clue what.
-
@Tom-Elliott Output from where?
-
@MRCUR The browser like you did before, but with the host in tasking.
-
@Tom-Elliott First is the production server, second is test.
#!ipxe set fog-ip 172.16.56.37 set fog-webroot fog set boot-url http://${fog-ip}/${fog-webroot} #!ipxe kernel http://172.16.56.37/fog/service/ipxe/ loglevel=4 initrd=http://172.16.56.37/fog/service/ipxe/ root=/dev/ram0 rw ramdisk_size=127000 keymap= web=172.16.56.37/fog/ conosoleblank=0 mac=28:80:23:09:28:56 ftp=172.16.56.37 storage= storageip= web=172.16.56.37/fog/ osid= consoleblank=0 irqpoll hostname=TEA-440TEST mode=onlydebug imgfetch http://172.16.56.37/fog/service/ipxe/ boot
#!ipxe set fog-ip 172.16.200.10 set fog-webroot fog set boot-url http://${fog-ip}/${fog-webroot} #!ipxe kernel loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=172.16.200.10/fog/ conosoleblank=0 mac=28:80:23:09:28:56 ftp=172.16.200.10 storage= storageip= web=172.16.200.10/fog/ osid= consoleblank=0 irqpoll hostname=TEA-440TEST mode=onlydebug imgfetch init_32.xz boot
-
@Tom-Elliott I did notice on the test server in /var/www, there is a symlink for fog to /var/www/html/fog. On the production server, this symlink doesn’t exist (everything is in /var/www/html/fog).
-
@MRCUR he initrd line is the issue.
It’s not set right on the production server.
-
I’d like to add that my output is the same for my machines…I did the browser test you mentioned and I got the first result…Imaging doesn’t work at all for my sysprep machine…
it just sits here with no kernel panic errors. It looks as though the actual kernel filenames are missing, and only showing directory where file should reside.
-
Do both of you use the location plugin? (On production and not on test if that’s your setup?)
-
@Tom-Elliott yessir, unfortunatley I only have the 1 setup so that’s why I’m quick to bother you…LOL
-
@Hanz See in your screenshot. Both lines that should download bzImage (linux kernel) and init.xz (init ram disk) are missing the filenames!!! I am sure this cannot work.
Edit: Seams like Tom has found the issue and will update the code soon and let you know I am sure.
-
Fix should be pushed. It was, semi, related to location, but indirectly.
The hook that processes for the bootmenu in this case was not setting needed variables first. This should now work as intended, of course please update and test.