Date: Fri, 6 Jun 2008 23:11:17 -0400 From: John Baldwin <jhb@freebsd.org> To: src-committers@freebsd.org Cc: cvs-src@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/boot/i386/libi386 biossmap.c Message-ID: <200806062311.17987.jhb@freebsd.org> In-Reply-To: <200806070307.m5737jno010251@repoman.freebsd.org> References: <200806070307.m5737jno010251@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 06 June 2008 11:07:32 pm John Baldwin wrote: > jhb 2008-06-07 03:07:32 UTC > > FreeBSD src repository > > Modified files: > sys/boot/i386/libi386 biossmap.c > Log: > SVN rev 179631 on 2008-06-07 03:07:32Z by jhb > > Workaround a bug in the BIOS of Dell R900 machines. Specifically, each > entry in the SMAP is a 20 byte structure and they are queried from the > BIOS via sucessive BIOS calls. Due to an apparent bug in the R900's > BIOS, for some SMAP requests the BIOS overflows the 20 byte buffer > trashing a few bytes of memory immediately after the SMAP structure. As > a workaround, add 8 bytes of padding after the SMAP structure used in > the loader for SMAP queries. > > PR: i386/122668 > Submitted by: Mike Hibler mike flux.utah.edu, silby > MFC after: 3 days The code to parse the SMAP in the kernel from vm86 mode is unaffected as it allocates an entire page for use when fetching the SMAP entry. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806062311.17987.jhb>