Re: kexec and frame buffer

Luca Falavigna
2005-08-06T12:18:11Z

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eric W. Biederman ha scritto:
> So without doing passing --real-mode the vga= parameter currently
> cannot work. The vga= parameter is processed by vga.S which
> make BIOS calls and we bypass all of the BIOS calls.
Actually that file is video.S

> So you can try with the --real-mode option and you have
> a chance of the code working. Or you can figure out which
> information video.S passes to the kernel figure out how
> to get that same information out of a running kernel
> and then /sbin/kexec can be tweaked to pass the current
> video mode. Changing frame buffer modes shouldn't work
> but you should at least be able to preserve the existing
> ones.
I tried to pass --real-mode flag to kexec but my virtual machine doesn't like
it. When I launch kexec -e, it tells me: "A strange behaviour occourred which
crashed virtual machine". I'll dig source code ASAP to figure out this matter.
Meanwhile I'm going to follow your advice to inspect video.S in order to track
down something useful.

Regards,
- --
Luca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQEVAwUBQvTG5czkDT3RfMB6AQJY8Qf9HucRMCCAvta/pAs1CakqwJs5bZo4uJUu
3tat7+24I57mDmj+2IGe7qLO9W9ctCyVJStHTMCpjYq0qF7TA9VZSsU3ip1h9/IG
HnCzozUGpd3yrNsrs3v0fvinQ1z2UtrOY8lxCUISchI3Ho43KnPDoAV2mfT+eEcP
pN/lUz6Z/Jb0YbNS9Z352bqs+JtuxHzX1pVD4uH4X+Dkua3kAde5C0bwP9K+O15A
//qlXb4AJErv6I5+Q/RxCDAn4TtVJCcdoA9Sp84ZH8jnxiYkg2coijvwFHLLvPD/
bK49QyD5QHmsVC3x/pIefd3qPEOphbNPE7AlN86X8B4i8lI6jr2x3g==
=YhUC
-----END PGP SIGNATURE-----