The iPXE codebase has code for things like UNDI ('legacy' bios generic network stack) and SNP/NII for UEFI. As far as code running targeting these, the nic vendor shouldn't matter, because they abstract away their differences in their uefi driver.
The ipxe code also strives to port in specific drivers, that bypass the generic and target the network hardware more like linux would. iPXE does this so it could boot from usb key or actually get flashed and be? the firmware driver of an adapter card. When building ipxe from source, you specify your target name: make bin-x864_64-efi/ipxe.efi That builds an ipxe with every driver bundled in and tries to use specific driver for each possible device. make bin-x86_64-efi/snponly.efi Builds a binary suitable only for chainloader, delegating the network hardware operation to the implementation provided by the firmware rather than trying to do direct driver binding. With default config options: jjohnson2@wirbelwind:~/devel/ipxe/src$ ls -lh bin-x86_64-efi/*.efi -rw-rw-r-- 1 jjohnson2 jjohnson2 1.1M Jun 2 14:13 bin-x86_64-efi/ipxe.efi -rw-rw-r-- 1 jjohnson2 jjohnson2 234K Jun 2 14:13 bin-x86_64-efi/snponly.efi The snponly.efi is much smaller (my production build is smaller still, I think my config drops some features that I don't use) ________________________________ From: Thomas HUMMEL <thomas.hum...@pasteur.fr> Sent: Wednesday, June 2, 2021 1:14 PM To: xcat-user@lists.sourceforge.net <xcat-user@lists.sourceforge.net> Subject: Re: [xcat-user] [External] Re: xCAT 2.16.2 new xNBA issue Hello, thanks for your answer. Let me get this straight: basically you're saying that xnba can either use ipxe.efi which would somehow user its own nic driver vs snponly.efi which would rely on the built-in nic driver or something like this ? I did indeed substitute xnba.efi with the one coming from the xnba-undi-1.0.3 package (just the file, which is a dirty fix I know). Thanks for your help -- TH On 02/06/2021 18:36, Jarrod Johnson wrote: > I decided to take a peek and note that the efi binary is pretty large, > so I guess it built ipxe.efi instead of 'snponly.efi', which may > complicate uefi boots (it at least means having to tftp down 10x as much > content before http can begin, which somewhat reduces the point of ipxe > chain booting). ipxe.efi will try to use the 'good' drivers for every > network device while snponly.efi will try to hook the generic uefi > protocols provided by the devices. > > When the 'good' drivers work, it generally does have somewhat better > performance, but I have generally better luck with the snponly.efi builds. > > Might want to roll back to > https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fxcat.org%2Ffiles%2Fxcat%2Frepos%2Fyum%2F2.16%2Fxcat-dep%2Fxnba-undi-1.0.3-131028.noarch.rpm&data=04%7C01%7Cjjohnson2%40lenovo.com%7C670c545b49d9431173a608d925ea22b8%7C5c7d0b28bdf8410caa934df372b16203%7C1%7C0%7C637582509812053894%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=NMbStO8pBhneWbPy091jtS5LW7qtrax4kaDincBYtuw%3D&reserved=0 > <https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Fxcat.org%2Ffiles%2Fxcat%2Frepos%2Fyum%2F2.16%2Fxcat-dep%2Fxnba-undi-1.0.3-131028.noarch.rpm__%3B!!JFdNOqOXpB6UZW0!6qpRG5NAI9z1J0vKAjYRLInh8G_Ce4PMXR9wecE-uPtkM38P9Arf76U-o7jLMfjioNLUlQ%24&data=04%7C01%7Cjjohnson2%40lenovo.com%7C670c545b49d9431173a608d925ea22b8%7C5c7d0b28bdf8410caa934df372b16203%7C1%7C0%7C637582509812053894%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=DASb7ZFfbKRmlH%2BcrXAet806ZvuLhuVrGuPxiw9KSgA%3D&reserved=0> > for > now, might be also interesting to build an snponly.efi instead of > ipxe.efi for a test.. > > ------------------------------------------------------------------------ > *From:* Thomas HUMMEL <thomas.hum...@pasteur.fr> > *Sent:* Wednesday, June 2, 2021 10:52 AM > *To:* xcat-user@lists.sourceforge.net <xcat-user@lists.sourceforge.net> > *Subject:* [External] Re: [xcat-user] xCAT 2.16.2 new xNBA issue > So, basically, for me: > > Supermicro H12DST-B with Intel 10G X550T (rev 01) and BIOS configured in > full UEFI mode with new xNBA: > > a) does not boot if FW 1.93 and PXE version 2.4.16 > > b) does boot if PXE upgraded to 2.4.44 but after what seems an anormaly > long time spent in that stage: > > > downloading NBP file : 10s > xNBA initializing devices : 15s > start of osimage fetch : 15s later > > whereas regardless of PXE version, with old xNBA systems boot and spend > max 1s in xNBA stage. > > What do you think about it ? > > Thanks for your help > > -- > Thomas HUMMEL > > On 02/06/2021 14:34, Thomas HUMMEL wrote: >> Hello, thanks for your answer. >> >> On 01/06/2021 22:42, Nathan A Besaw wrote: >> >>> xNBA 1.20.1 is almost identical to iPXE 1.20.1 with minimal >>> customization. >> >> I'm by no means a PXE expert : am I right assuming iPXE and/or xNBA use >> some PXE firmware built in into some EEPROM on the nic or board ? >> >> >>> Are there any differences in the BIOS boot mode settings between the >>> servers that are working and the servers that are failing? >>> Legacy mode vs Legacy + UEFI mode vs UEFI only mode? >> >> No. They both boot in full UEFI mode (no legacy, no dual). Some may have >> a different version but the issue occurs across the same BIOS version too. >> >> >>> Do you have better results if you downgrade xNBA to the previous version? >> >> I indeed manage to workaround the issue by savagely replacing xnba.efi >> by the one I extracted from the 2.15 branch, which I believe was already >> xnba-undi-1.0.3-131028.noarch.rpm >> >> Supermicro provided me as well with: >> >> - nic EEPROM new firmare (I did not use nor flash) >> - new PXE firmware which I flashed: this made the new xNBA works as >> expected. >> >> They stated that: >> >> Batch 1 was shipped with a different EEPROM and PXE option ROIM version >> then Batch 2 and 3. >> Batch one has FW 1.93 and PXE version 2.4.16 while batch 2 and 3 will >> have FW 2.2 and PXE version 2.4.44 >> >> I still have to test flashing this new PXE fw to a batch2 node (which >> worked with the new xNBA but spent >30s in it) and see if it fixes the >> slow initialization. >> >> Thanks >> >> -- >> Thomas HUMMEL >> >> >> _______________________________________________ >> xCAT-user mailing list >> xCAT-user@lists.sourceforge.net >> https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fxcat-user__%3B!!JFdNOqOXpB6UZW0!7CP7jiJu_SapsF7A5b-99TpS0lU01tKQJu5BHi7YpIvbH3ekgOyxSZXEftL6i0z5gH4nOA%24&data=04%7C01%7Cjjohnson2%40lenovo.com%7C670c545b49d9431173a608d925ea22b8%7C5c7d0b28bdf8410caa934df372b16203%7C1%7C0%7C637582509812063820%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=MIQ%2BZeb31pZ1X%2Ba%2FarIbGWyh8%2FoxUMyj3f7H9RLu7rE%3D&reserved=0 > <https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Fapc01.safelinks.protection.outlook.com%2F%3Furl%3Dhttps*3A*2F*2Furldefense.com*2Fv3*2F__https*3A*2F*2Flists.sourceforge.net*2Flists*2Flistinfo*2Fxcat-user__*3B!!JFdNOqOXpB6UZW0!7CP7jiJu_SapsF7A5b-99TpS0lU01tKQJu5BHi7YpIvbH3ekgOyxSZXEftL6i0z5gH4nOA*24%26amp%3Bdata%3D04*7C01*7Cjjohnson2*40lenovo.com*7Cf83e67c87894408a53e708d925d63f3e*7C5c7d0b28bdf8410caa934df372b16203*7C1*7C0*7C637582424394899812*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C1000%26amp%3Bsdata%3DMv26iG1vAmV6VkL9T2y9y7mCw2HynRccrgLEmkI7qPE*3D%26amp%3Breserved%3D0__%3BJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSU!!JFdNOqOXpB6UZW0!6qpRG5NAI9z1J0vKAjYRLInh8G_Ce4PMXR9wecE-uPtkM38P9Arf76U-o7jLMfhpT0Lceg%24&data=04%7C01%7Cjjohnson2%40lenovo.com%7C670c545b49d9431173a608d925ea22b8%7C5c7d0b28bdf8410caa934df372b16203%7C1%7C0%7C637582509812063820%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=W2RnPg6%2FgLMHOeUd%2BIWpAOcpR8L611KCet3RMfR9QSc%3D&reserved=0> > >> > > > _______________________________________________ > xCAT-user mailing list > xCAT-user@lists.sourceforge.net > https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fxcat-user&data=04%7C01%7Cjjohnson2%40lenovo.com%7C670c545b49d9431173a608d925ea22b8%7C5c7d0b28bdf8410caa934df372b16203%7C1%7C0%7C637582509812063820%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=0CSRpbq%2By49yGyAuyvlRxvYaKdzwoSa0YD69vJAQNIk%3D&reserved=0 > <https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Fapc01.safelinks.protection.outlook.com%2F%3Furl%3Dhttps*3A*2F*2Flists.sourceforge.net*2Flists*2Flistinfo*2Fxcat-user%26amp%3Bdata%3D04*7C01*7Cjjohnson2*40lenovo.com*7Cf83e67c87894408a53e708d925d63f3e*7C5c7d0b28bdf8410caa934df372b16203*7C1*7C0*7C637582424394899812*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C1000%26amp%3Bsdata%3D1*2BBbHF*2Fq9PcNucuoI32A1qlGVfsV2yKX*2Btz80loBUj8*3D%26amp%3Breserved%3D0__%3BJSUlJSUlJSUlJSUlJSUlJSUlJSUlJQ!!JFdNOqOXpB6UZW0!6qpRG5NAI9z1J0vKAjYRLInh8G_Ce4PMXR9wecE-uPtkM38P9Arf76U-o7jLMfi7F465LQ%24&data=04%7C01%7Cjjohnson2%40lenovo.com%7C670c545b49d9431173a608d925ea22b8%7C5c7d0b28bdf8410caa934df372b16203%7C1%7C0%7C637582509812063820%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=vOgdDEZJ0BadJgRX9OtnaC7UaTmK7XVD%2BVtqbywlQaU%3D&reserved=0> > > > _______________________________________________ > xCAT-user mailing list > xCAT-user@lists.sourceforge.net > https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fxcat-user__%3B!!JFdNOqOXpB6UZW0!6qpRG5NAI9z1J0vKAjYRLInh8G_Ce4PMXR9wecE-uPtkM38P9Arf76U-o7jLMfiyL43Yzw%24&data=04%7C01%7Cjjohnson2%40lenovo.com%7C670c545b49d9431173a608d925ea22b8%7C5c7d0b28bdf8410caa934df372b16203%7C1%7C0%7C637582509812063820%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=BSU%2F844zxzhH%2BaGO%2BQwuobBKKpYpjuG%2FHX7bjzQ2BVU%3D&reserved=0 > _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fxcat-user&data=04%7C01%7Cjjohnson2%40lenovo.com%7C670c545b49d9431173a608d925ea22b8%7C5c7d0b28bdf8410caa934df372b16203%7C1%7C0%7C637582509812063820%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=0CSRpbq%2By49yGyAuyvlRxvYaKdzwoSa0YD69vJAQNIk%3D&reserved=0
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user