From owner-freebsd-current Sun Sep 27 14:22:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA18449 for freebsd-current-outgoing; Sun, 27 Sep 1998 14:22:28 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA18402 for ; Sun, 27 Sep 1998 14:22:08 -0700 (PDT) (envelope-from tlambert@usr05.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id OAA13157; Sun, 27 Sep 1998 14:21:58 -0700 (MST) Received: from usr05.primenet.com(206.165.6.205) via SMTP by smtp02.primenet.com, id smtpd013142; Sun Sep 27 14:21:53 1998 Received: (from tlambert@localhost) by usr05.primenet.com (8.8.5/8.8.5) id OAA29704; Sun, 27 Sep 1998 14:21:51 -0700 (MST) From: Terry Lambert Message-Id: <199809272121.OAA29704@usr05.primenet.com> Subject: Re: VM86 and APM To: yokota@zodiac.mech.utsunomiya-u.ac.jp (Kazutaka YOKOTA) Date: Sun, 27 Sep 1998 21:21:51 +0000 (GMT) Cc: current@FreeBSD.ORG, yokota@zodiac.mech.utsunomiya-u.ac.jp In-Reply-To: <199809270917.SAA08901@zodiac.mech.utsunomiya-u.ac.jp> from "Kazutaka YOKOTA" at Sep 27, 98 06:17:31 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Does anybody know of any problem using VM86 and the apm driver together? > > Looking casually at the source code of apm.c, I realize that it tries > to use the VM86 service if available. > > However, when I boot the kernel with VM86, I get: > > apm0 not found. > > The kernel without VM86 used to detect the apm BIOS in my box all right. I think that you may have APM disabled in your CMOS setup? I think the APM VM86() call will detect this because it uses BIOS-specific code that knows about the CMOS setting, but the non-VM86() code ignores the CMOS setting (which can cause other, interesting problems, like being able to suspend, but the laptop not waking up on an event that should result in a "resume"). > PS. The SMP kernel needs a slight modification in VM86 to boot the > kernel with apm or VESA service. tegge@fast.no has the fix. However, > even after his fix, the apm BIOS is not found by the kernel. I saw this go by on the SMP list; is anyone going to commit it? Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message