[SeaBIOS] S3 resume is broken on QEMU

Gerd Hoffmann kraxel at redhat.com
Fri Jan 20 10:02:36 CET 2012


On 01/20/12 02:40, Kevin O'Connor wrote:
> On Thu, Jan 19, 2012 at 12:16:25PM +0200, Gleb Natapov wrote:
>> There is absolutely nothing that vgabios may attempt to do that is
>> illegal on resume and may cause this kind of hang. The only thing that
>> is illegal on resume is to use non reserved RAM, but this will cause
>> OS to fail after resume, not vgabios to hang.
> 
> On an S3 resume, the bios isn't required to init hardware - in
> particular, the current seabios resume code doesn't initialize PCI or
> initialize the standard timer.  It's not clear to me that the VGA BIOS
> will run properly if these services aren't setup.

The vga bios tries to find the vga memory bar in pci config space (for
VBE, both bochs+cirrus, using pcibios).  Will that work?

cheers,
  Gerd



More information about the SeaBIOS mailing list