Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!usenet.eel.ufl.edu!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: APM on thinkpad 755 Date: 17 Aug 1996 11:56:14 GMT Organization: Private BSD site, Dresden Lines: 37 Message-ID: <4v4c0u$au3@uriah.heep.sax.de> References: <32124744.4759@browncow.com> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.6 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Bill Kish <kish@browncow.com> wrote: > I've got FreeBSD 2.1.0-RELEASE installed on my ThinkPad 755. > The kernel panics with a write (page not present) page fault when APM > is configured and apm code is executed. I believe that this is a > known problem. I don't think it's already fixed. I remember a discussion on the -hackers list recently about the following part of /sys/i386/i386/machdep.c: /* * Print a warning if the official BIOS interface disagrees * with the hackish interface used above. Eventually only * the official interface should be used. */ if (bootinfo.bi_memsizes_valid) { if (bootinfo.bi_basemem != biosbasemem) printf("BIOS basemem (%ldK) != RTC basemem (%dK)\n", bootinfo.bi_basemem, biosbasemem); if (bootinfo.bi_extmem != biosextmem) printf("BIOS extmem (%ldK) != RTC extmem (%dK)\n", bootinfo.bi_extmem, biosextmem); } I think it was found that using the RTC value is wrong for APM machines. Try this (after the above lines), and see if it will help you: biosbasemem = bootinfo.bi_basemem; -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)