Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qemu seabios bug and workaround
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jamapii
l33t
l33t


Joined: 16 Sep 2004
Posts: 637

PostPosted: Sun Nov 18, 2012 3:32 pm    Post subject: qemu seabios bug and workaround Reply with quote

Hi,

I'm using qemu booting from (virtual) floppies on amd64. This fails with certain seabioses:

Fails: seabios 1.7.0 compiled with gcc 4.7
Works: seabios 1.7.0 compiled with gcc 4.6
Fails: seabios 1.7.1 compiled with gcc 4.7, USE=-binary
Fails: seabios 1.7.1 compiled with USE=binary
Works: seabios 1.7.1 compiled with gcc 4.6, USE=-binary

I tried some debugging with the monitor interface. It seems to be stuck in a tight loop, the PC / IP register stays within a range of less than 256 bytes. The machine hangs and uses 100% of its only assigned CPU.

The workaround is to USE=-binary and no gcc 4.7

It's a closed-source proprietary copyrighted boot floppy, but maybe it fails with any boot floppy, then someone can file a bug. But if nobody noticed yet, maybe it's just this specific boot floppy.

Why this forum? well it's hardware, sort of. Virtual hardware. ;)
Back to top
View user's profile Send private message
jamapii
l33t
l33t


Joined: 16 Sep 2004
Posts: 637

PostPosted: Mon Mar 04, 2013 11:32 am    Post subject: Reply with quote

Didn't try: seabios 1.7.2 compiled with gcc 4.7, USE=-binary
Fails: seabios 1.7.2 compiled with USE=binary
Works: seabios 1.7.2 compiled with gcc 4.6, USE=-binary

---
Edit on 2013-05-08: Same for 1.7.2.1 (with qemu 1.4.0, but it's very unlikely that 1.4.1 would be any different)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum