Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
486er hangs on boot with iPXE floppy
2017-12-28, 13:04
Post: #10
RE: 486er hangs on boot with iPXE floppy
MultimediaMan: There is NE2000 drivers as well, but I think those needs to be built separately since there is no autodetection for them so can't be included in the normal ipxe binary.

If you are having issues with getting iPXE to run, then it might be easier to concentrate on that, no need to mention and risk confusing with the other stuff.

I would never use prebuilt version of iPXE from any distro since you never know how it was built which for one makes it harder to debug, also it is often just to old.

Please build the ipxe.fd image
Code:
make bin/ipxe.dsk
from sources yourself.
You can find latest prebuilt one at http://boot.ipxe.org/

Unfortunately I can confirm that this does not work on 486 with this:
Code:
qemu-system-x86_64 -cpu 486 -m 24 -fda bin/ipxe.dsk

To fix this edit src/config/local/general.h and add this
Code:
#undef TIVOLI_VMM_WORKAROUND
now you can build the latest version, and it will work on machines without MMX instructions, such as the 486.


Below is just technical details on how I found this

After running git bisect between current master and an old version that I found working:
Quote:71560d185475117b10994d839afe059577e7768c is the first bad commit
Author: Michael Brown <mcb30@ipxe.org>
Date: Wed Apr 27 11:03:18 2016 +0100

[librm] Preserve FPU, MMX and SSE state across calls to virt_call()

So to get a working build for 486, this works:
Code:
git clone git://git.ipxe.org/ipxe.git
cd git
git checkout fe62f3c831
cd src
make bin/ipxe.dsk

Later TIVOLI_VMM_WORKAROUND was implemented to revert this behavior so that is the better way get it working on older CPUs

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: 486er hangs on boot with iPXE floppy - NiKiZe - 2017-12-28 13:04
What if... - His_Cifnes - 2018-01-04, 00:23
RE: What if... - NiKiZe - 2018-01-04, 00:41
test finished. - His_Cifnes - 2018-01-09, 22:36



User(s) browsing this thread: 3 Guest(s)