svn commit: r233797 - in stable/9/sys: amd64/conf i386/conf
Jung-uk Kim
jkim at FreeBSD.org
Tue Apr 10 17:13:19 UTC 2012
On Monday 09 April 2012 07:01 pm, Gavin Atkinson wrote:
> On Mon, 2 Apr 2012, Jung-uk Kim wrote:
> > Author: jkim
> > Date: Mon Apr 2 18:13:29 2012
> > New Revision: 233797
> > URL: http://svn.freebsd.org/changeset/base/233797
> >
> > Log:
> > MFC: r232416, r232561
> >
> > Add VESA option to GENERIC for amd64 and i386.
>
> This commit breaks resume for me on an IBM ThinkPad X60 running
> i386 9.0. Removing VESA from the kernel again fixes resume. On
> resume, I get this panic:
> http://people.freebsd.org/~gavin/IMAG0881.jpg . I've tested it on
> head, and get the same panic with VESA in the kernel. From the
> debugger, "show registers" gives:
> cs 0xc000
> ss 0x28
> edx 0x80
> esp 0xc1821fe8
> eip 0xe44f
> efl 0xb0202
> with all other registers are zero.
> Unfortunately, I don't know what other information I can get from
> this panic. The backtrace gives no useful information, and the IP
> is not within kernel space.
The address is for VM86 call for video BIOS (i.e., 16-bit real mode)
and it is trying to access 0x1000, which is not in the mapped address
range. I have heard that some broken IBM/Lenovo BIOSes may do
something like this, unfortunately. Probably we should map the whole
first page for that to work around it. I'll write a patch for that
and let you know privately.
> BTW, this machine used to require hw.acpi.reset_video=1, but no
> longer appears to require this. However, whether this is set or
> not appears to make no difference to the panic above.
"hw.acpi.reset_video" tunable is dangerous and deprecated. VESA
module does it more safely and that's why I added it by default. :-)
Jung-uk Kim
More information about the svn-src-stable-9
mailing list