Machine did not reboot

Alexander Logvinov abuse at akavia.ru
Tue Jun 6 22:44:40 PDT 2006


Hello.

>> > > I had FreeBSD 5.4. After entering 'shutdown -r now' the system
>> > > hanged on: 'Shutting down ACPI'
>> > > 'Rebooting'
>> > > but did not reboot.
>> > > Upgraded to 6.1, it didn't help.
>> > > hw.acpi.disable_on_poweroff="1" has no effect. What should I
>> > > do?
>> > > Motherboard: Chaintech 7VJL with latest BIOS.
>> > Try the reset_register method.  I have MFC'd the patch to
>> > RELENG_6 so you can cvsup, recompile your acpi.ko, and test.
 It doesn't help. Because acpi_shutdown_final in function goes to 

 else if (panicstr == NULL) {
        printf("Shutting down ACPI\n");
        AcpiTerminate();
    }

 and hangs up.

>> RB_AUTOBOOT is defined as 0 in sys/reboot.h.  I don't think this
>> test will ever work:
>>       if ((howto & RB_AUTOBOOT) != 0 && AcpiGbl_FADT->ResetRegSup) {
> It's little radical but what do you think about the attached patch?  I 
> don't think we have to call AcpiTerminate() to reboot at all.  In 
> fact, I have a box which does not reboot.  Writing ACPI_DISABLE to 
> SMI_CMD hangs the system and it does not support RESET_REG. :-(  If I 
> don't call AcpiTerminate(), everything's fine.
  I'll try this patch soon, thanks.

-- 
WBR



More information about the freebsd-acpi mailing list