Your kernel is most likely missing the correct driver
-
@lanius said in Your kernel is most likely missing the correct driver:
I am on the latest fog version 1.5.9.
Ok there is one component that you need to upgrade. There is a custom OS that runs on the target computer to capture and deploy the image. This OS is called FOS (a.k.a “the kernel”) You update that via the web ui in FOG Configuration->Kernel update. You want to install the 5.10.x release for both x64 and x32 bit platforms. The 5.10.x supports the latest hardware. Your current release is 4.19.x, which was the last long term support linux kernel at the time 1.5.9 was released. 1.5.10 (when released) will come standard with 5.10.(current).
-
Hi, Thanks for your response. I have installed the 5.10.50 x32 x64 and arm64 , rebooted client machine and presented with the same error. I have tried with the Ethernet Extension Adapter Gen2 as well as the Thinkpad Ultra docking station. Is there something else I can do? Thanks!
-
@lanius OK then, from a windows computer, go into the device manager and get the hardware ID of that network adapter we will need both the vendor and device ID. I’ll look up to see if linux has a driver for it.
-
@george1421 It appears its the same hardware Id for both.
Intel Ethernet Connection (10) l219-V
PCI\VEN_8086&DEV_0D4F&SUBSYS_22AF17AA&REV_00
PCI\VEN_8086&DEV_0D4F&SUBSYS_22AF17AA
PCI\VEN_8086&DEV_0D4F&CC_020000
PCI\VEN_8086&DEV_0D4F&CC_0200Thanks again.
-
@lanius Ok what I want you to do (since you said you downloaded 5.10.x) is to prove that its booting that kernel. The nic card you mentioned should have been in linux 5.5, if I remember correctly. Its possible that the kernel update didn’t do what was expected.
Schedule another capture/deploy task to this target computer. On the schedule task tick the debug checkbox before you press the schedule task button. Now pxe boot the target computer. On the target computer you will have to clear several screens of text with the enter key. Then you will be dropped to the FOS Linux command prompt.
key in
uname -a
. It will tell you the version of the kernel. If it doesn’t say 5.10.x then the kernel update didn’t work as expected. This is what I think is wrong right now. -
@Lanius As well please run the following commands on your FOG server command shell (not the client this time) and post output here:
ls -al /var/www ls -al /var/www/html file /var/www/fog/service/ipxe/bzImage* file /var/www/html/fog/service/ipxe/bzImage*
-
@sebastian-roth
Here is the output
ls -al /var/www/
total 20
drwxr-xr-x 4 root root 4096 Sep 14 04:10 .
drwxr-xr-x 14 root root 4096 Sep 14 04:07 …
drwxr-xr-x 11 www-data www-data 4096 Sep 14 04:10 fog
drwxr-xr-x 3 root root 4096 Sep 15 06:51 html
-rw-r–r-- 1 www-data www-data 52 Sep 14 04:10 index.phpls -al /var/www/html
total 28
drwxr-xr-x 3 root root 4096 Sep 15 06:51 .
drwxr-xr-x 4 root root 4096 Sep 14 04:10 …
drwxr-xr-x 10 www-data www-data 4096 Sep 15 06:52 fog
-rw-r–r-- 1 root root 10918 Sep 14 04:07 index.html
-rw-r–r-- 1 www-data www-data 52 Sep 15 06:51 index.phpfile /var/www/fog/service/ipxe/bzImage*
/var/www/fog/service/ipxe/bzImage: Linux kernel x86 boot executable bzImage, version 5.10.50 (buildkite-agent@Tollana) #1 SMP Sat Jul 17 07:06:37 CDT 2021, RO-rootFS, swap_dev 0x8, Normal VGA
/var/www/fog/service/ipxe/bzImage32: Linux kernel x86 boot executable bzImage, version 5.10.50 (buildkite-agent@Tollana) #1 SMP Sat Jul 17 07:10:37 CDT 2021, RO-rootFS, swap_dev 0x8, Normal VGAfile /var/www/html/fog/service/ipxe/bzImage*
/var/www/html/fog/service/ipxe/bzImage: Linux kernel x86 boot executable bzImage, version 4.19.145 (sebastian@Tollana) #1 SMP Sun Sep 13 05:35:01 CDT 2020, RO-rootFS, swap_dev 0x8, Normal VGA
/var/www/html/fog/service/ipxe/bzImage32: Linux kernel x86 boot executable bzImage, version 4.19.145 (sebastian@Tollana) #1 SMP Sun Sep 13 05:43:10 CDT 2020, RO-rootFS, swap_dev 0x7, Normal VGA -
@Lanius Ok, seems like you have an issue with a duplicated web directory. Please run the following commands and post output here:
grep DocumentRoot /etc/apache2/sites-available/001-fog.conf grep docroot /opt/fog/.fogsettings
-
grep DocumentRoot /etc/apache2/sites-available/001-fog.conf
DocumentRoot /var/www/html/
grep docroot /opt/fog/.fogsettings
docroot=‘/var/www/html/’
@george1421 I’ll be going in tomorrow so I will be able to run tests from client. Sorry for the wait
-
@Lanius Unfortunately you seem to have a duplicated web root on your server. This does happen in certain cases but can be fixed manually, no problem.
sudo -i cp /var/www/fog/service/ipxe/bzImage* /var/www/html/fog/service/ipxe/ mv /var/www/fog /root/old_fog_www_dir_can_be_deleted_soon ln -s /var/www/html/fog /var/www/fog
Now when you PXE boot client machines you should have them use the newer kernel version.
-
This post is deleted! -
@sebastian-roth
Thank you! Not sure how that happens but I am happy to say that the T14s is now booting and have successfully captured an image!!!, I can’t thank you guys enough for your support and hard work you guys do for the community. -
@george1421 Thank you for the assistance you have provided in this. , I can’t thank you guys enough for your support and hard work you guys do for the community.