Re: Trouble with ACPI and ASUS MB

2003-07-15 Thread Stefan Eßer
On 2003-07-14 20:33 -0400, Scott Robbins [EMAIL PROTECTED] wrote:
 I installed 5.1 RELEASE on a box with an ASUS A7A266 motherboard.  Not
 having done enough reading, I had put device apm in the kernel and added 
 apmd_enable=YES to /etc/rc.conf.
 
 The box wouldn't turn off in response to shutdown -p.  I then looked
 through NOTES and added device acpi, which fixed the problem.
 
 However, on IRC, someone with far more knowledge than myself mentioned
 that this could be dangerous. As it is a test box, he asked that I cvsup
 CURRENT and see if adding 
 
 acpi_load=YES to /boot/loader.conf (and removing the apm stuff, as
 well as the device acpi) would fix the problem. 
 
 It didn't. For the heck of it, I then tried recompiling the kernel with
 the device acpi put back in, despite the possible dangers, but it didn't
 work either.  kldstat shows that the acip module is loaded.  The error
 that I get is ACPI timed out.  
 
 ACPI power-off failed  - timeout
 The operating system has halted
 Press any key to reboot

Try

sysctl hw.acpi.disable_on_poweroff=0

and put the assignment into /etc/sysctl.conf, if it makes a difference ...
(It does, on my system ...)

Regards, STefan

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trouble with ACPI and ASUS MB

2003-07-15 Thread Scott Robbins
On Wed, Jul 16, 2003 at 12:57:38AM +0200, Stefan E?er wrote:


 On 2003-07-14 20:33 -0400, Scott Robbins [EMAIL PROTECTED] wrote:
  I installed 5.1 RELEASE on a box with an ASUS A7A266 motherboard.  Not
  
  
  
  ACPI power-off failed  - timeout
  The operating system has halted
  Press any key to reboot
 
 Try
 
   sysctl hw.acpi.disable_on_poweroff=0


Bingo.  That fixed it, thank you so much. 

Most sincerely,



-- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Riley: Way I heard it. You were all peaceable now. You didn't by
any chance go and lose that pesky soul again, did you? 
Angel: Don't push me, boy. 
Riley: Now what possibly could've happened with Buffy that would 
make you lose your soul? 
Angel: That'd be between me and her. 
Riley: Where do you think you're going? 
Angel: Going to see an old girlfriend. 



pgp0.pgp
Description: PGP signature


Trouble with ACPI and ASUS MB

2003-07-14 Thread Scott Robbins
I installed 5.1 RELEASE on a box with an ASUS A7A266 motherboard.  Not
having done enough reading, I had put device apm in the kernel and added 
apmd_enable=YES to /etc/rc.conf.

The box wouldn't turn off in response to shutdown -p.  I then looked
through NOTES and added device acpi, which fixed the problem.

However, on IRC, someone with far more knowledge than myself mentioned
that this could be dangerous. As it is a test box, he asked that I cvsup
CURRENT and see if adding 

acpi_load=YES to /boot/loader.conf (and removing the apm stuff, as
well as the device acpi) would fix the problem. 

It didn't. For the heck of it, I then tried recompiling the kernel with
the device acpi put back in, despite the possible dangers, but it didn't
work either.  kldstat shows that the acip module is loaded.  The error
that I get is ACPI timed out.  

ACPI power-off failed  - timeout
The operating system has halted
Press any key to reboot

uname -a shows 5.1-CURRENT FreeBSD 5.1-CURRENT #5: Tue Jul 15 00:23
machinename:/usr/src/sys/i386/compile/SRKERN

Some googling has indicated that this problem might be confined to ASUS
boards, but I'm not sure. My IRC friend suggested that I post the
problem here and see if anyone had solutions.

Hopefully, I have given enough information--if not, please let me know.
In a nutshell, on RELEASE it would work if I included device acpi in the
kernel, but this doesn't work in CURRENT.

Please cc me as I'm not on this list.

Thank you very much for any help you can give--or at least point me in
the right direction to solve the issue.

Most sincerely,


-- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Cordelia: Hi! You having fun?
Angel: Sure. This is, uh...
Cordelia: Your idea of hell.
Angel: Actually, in hell you tend to know a lot of the people


pgp0.pgp
Description: PGP signature


Re: Trouble with ACPI and ASUS MB

2003-07-14 Thread Doug White
On Mon, 14 Jul 2003, Scott Robbins wrote:

 It didn't. For the heck of it, I then tried recompiling the kernel with
 the device acpi put back in, despite the possible dangers, but it didn't
 work either.  kldstat shows that the acip module is loaded.  The error
 that I get is ACPI timed out.

 ACPI power-off failed  - timeout
 The operating system has halted
 Press any key to reboot

Is this the only time you have problems?  If so, I'd count yourself
awfully lucky.

 Some googling has indicated that this problem might be confined to ASUS
 boards, but I'm not sure. My IRC friend suggested that I post the
 problem here and see if anyone had solutions.

This isn't enough information. We'd also need to see the dmesg from the
offending machine, with any and all ACPI error messages that may be
printed.

Using acpidump to extract the DSDT is also helpful in case someone asks
for it.

-- 
Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED]  |  www.FreeBSD.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]