Date: Mon, 24 Jan 2000 11:08:34 -0800 (PST) From: Ralph Seguin <rpseguin@yahoo.com> To: ROGIER MULHUIJZEN <MULHUIJZEN@PZH.NL> Cc: freebsd-hackers@freebsd.org, brooks@one-eyed-alien.net Subject: Re: FreBSD 3.3, power off and power button stuff Message-ID: <20000124190834.15693.qmail@web2103.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
> 'dmesg | grep apm' > If that returns nothing your kernel doesn't have APM > in it. Check if > you went through all the steps of compiling and > installing a custom kernel. Pretty sure I did all of this correctly. Mr Brooks gave me a useful pointer: remove disable from the apm config line. I guess I should actually READ what I'm doing... :-) Here's what I've got: cd /usr/src/sys/i386/conf /usr/sbin/config -g TESTKERNEL cd ../../compile/TESTKERNEL make depend make all Then, I FTP'ed the kernel over to the test machine and did the install line, by hand: Pilfered from the kernel Makefile: bash-2.03# cat kinst #!/bin/sh chflags noschg /kernel mv /kernel /kernel.old PATH=${PATH}:/sbin:/usr/sbin if [ `sysctl -n kern.bootfile` = ${DESTDIR}/kernel ] ; then sysctl -w kern.bootfile=${DESTDIR}/kernel.old ; if [ -f /var/db/kvm_kernel.db ] ; then mv -f /var/db/kvm_kernel.db /var/db/kvm_kernel.old.db fi fi install -c -m 555 -o root -g wheel -fschg kernel / > Or you might get something along the lines of 'apm0 > not found at .....' > in that case your BIOS doesn't have APM enabled. (if > it supports it at all) It's an Intel i810E motherboard which has APM support. Apparently other people have had trouble with shutdown -p not working in 3.x kernels. Unfortunately, I don't have the option of going to -current, so I need to get it going in 3.3-RELEASE. What files are involved in APM and power control? Would it be easy to produce a patch to merge in to 3.3-RELEASE? Does anyone have shutdown -p / halt -p working in 3.3-RELEASE? Reading the LINT kernel config file, it mentions VM86 being related to apm? Should I be turning this option on (I'm going to try that as an experiment soon)? Thanks. -Ralph rpseguin@yahoo.com __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000124190834.15693.qmail>