If you use acpi with -current it should reboot via acpi.

Try disable apm via doing the following at the boot prompt.
boot -c
disable apm
quit

This can be made more permanent via config(8).

On Thu, Dec 20, 2007 at 06:41:05PM +0700, Ilya A. Kovalenko wrote:
>    Good time of day,
> 
> -------------------------
> orphan# uname -a
> OpenBSD orphan.oganer.net 4.2 GENERIC#0 i386
> orphan# reboot
> /etc/rc.shutdown in progress...
> /etc/rc.shutdown complete.
> syncing disks... done
> rebooting...
> *HANG*
> -------------------------
> 
> same on latest snapshot kernel (w/ -stable userland)
> halt(8) works fine,
> strl-Alt-Del (before kernel boot) works fine
> BIOS Setup defaults reset does not help
> 
> some kernel debugging:
> printf() control points on cpu_reset():
> -------------------------
> syncing disks... done
> rebooting...
> cpu_reset(): disabling IRQs ...
> cpu_reset(): calling (*cpuresetfn)() ...
> cpu_reset(): hacking keyboard ...
> *HANG*
> -------------------------
> 
> comment out keyboard controller code:
> -------------------------
> syncing disks... done
> rebooting...
> cpu_reset(): disabling IRQs ...
> cpu_reset(): calling (*cpuresetfn)() ...
> cpu_reset(): hacking keyboard (disabled) ...
> cpu_reset(): causing triple fault by IDT ...
> *HANG*
> -------------------------
> 
> comment out IDT invalidation code:
> -------------------------
> syncing disks... done
> rebooting...
> cpu_reset(): disabling IRQs ...
> cpu_reset(): calling (*cpuresetfn)() ...
> cpu_reset(): hacking keyboard (disabled) ...
> cpu_reset(): causing triple fault by IDT (disabled) ...
> cpu_reset(): causing triple fault by address space unmap ...
> cpu_reset(): entering infinite loop ...
> *HANG*
> -------------------------
> 
> Any clue ?
> Faulty hardware ? (looking for identical hardware to test)
> 
> Kind regards,
> 
> Ilya A. Kovalenko                  (mailto:[EMAIL PROTECTED])
> SpecialEQ SW section
> JSC Oganer-Service
> 
> P.S. dmesg (latest snapshot):
> 
> OpenBSD 4.2-current (GENERIC) #607: Tue Dec 18 18:36:52 MST 2007
>     [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel(R) Celeron(R) CPU 2.53GHz ("GenuineIntel" 686-class) 2.54 GHz
> cpu0: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CNXT-ID,CX16,xTPR
> real mem  = 502820864 (479MB)
> avail mem = 478240768 (456MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 10/27/05, BIOS32 rev. 0 @ 0xfbf60, 
> SMBIOS rev. 2.2 @ 0xf0000 (33 entries)
> bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 10/27/2005
> apm0 at bios0: Power Management spec V1.2 (slowidle)
> apm0: AC on, battery charge unknown
> acpi at bios0 function 0x0 not configured
> pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdef4
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde50/160 (8 entries)
> pcibios0: PCI Exclusive IRQs: 5 9 10 11
> pcibios0: PCI Interrupt Router at 000:02:0 ("SiS 85C503 System" rev 0x00)
> pcibios0: PCI bus #1 is the last bus
> bios0: ROM list: 0xc0000/0x8000 0xc8000/0x8000! 0xd0000/0x1800 0xd2000/0x1800 
> 0xd4000/0x1800 0xef000/0x1000!
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "SiS 661 PCI" rev 0x11
> agp0 at pchb0: aperture at 0xd0000000, size 0x8000000
> ppb0 at pci0 dev 1 function 0 "SiS 648FX AGP" rev 0x00
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "SiS 6330 VGA" rev 0x00
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> pcib0 at pci0 dev 2 function 0 "SiS 964 ISA" rev 0x36
> pciide0 at pci0 dev 2 function 5 "SiS 5513 EIDE" rev 0x01: 661: DMA, channel 
> 0 configured to compatibility, channel 1 configured to compatibility
> wd0 at pciide0 channel 0 drive 0: <WDC WD800BB-22JHC0>
> wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
> pciide0: channel 1 disabled (no drives)
> auich0 at pci0 dev 2 function 7 "SiS 7012 AC97" rev 0xa0: irq 5, SiS7012 AC97
> ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0)
> audio0 at auich0
> ohci0 at pci0 dev 3 function 0 "SiS 5597/5598 USB" rev 0x0f: irq 5, version 
> 1.0, legacy support
> ohci1 at pci0 dev 3 function 1 "SiS 5597/5598 USB" rev 0x0f: irq 10, version 
> 1.0, legacy support
> ohci2 at pci0 dev 3 function 2 "SiS 5597/5598 USB" rev 0x0f: irq 11, version 
> 1.0, legacy support
> ehci0 at pci0 dev 3 function 3 "SiS 7002 USB" rev 0x00: irq 9
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "SiS EHCI root hub" rev 2.00/1.00 addr 1
> sis0 at pci0 dev 4 function 0 "SiS 900 10/100BaseTX" rev 0x91: irq 10, 
> address 00:14:2a:f7:30:dd
> rlphy0 at sis0 phy 9: RTL8201L 10/100 PHY, rev. 1
> pciide1 at pci0 dev 5 function 0 "SiS 180 SATA" rev 0x01: DMA
> pciide1: using irq 11 for native-PCI interrupt
> em0 at pci0 dev 9 function 0 "Intel PRO/1000MT (82540EM)" rev 0x02: irq 11, 
> address 00:07:e9:2a:a0:74
> em1 at pci0 dev 10 function 0 "Intel PRO/1000MT (82540EM)" rev 0x02: irq 5, 
> address 00:07:e9:2a:9f:9b
> em2 at pci0 dev 11 function 0 "Intel PRO/1000MT (82540EM)" rev 0x02: irq 10, 
> address 00:07:e9:2a:a2:a5
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> it0 at isa0 port 0x2e/2: IT8705F rev 0x03, EC port 0x290
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> usb1 at ohci0: USB revision 1.0
> uhub1 at usb1 "SiS OHCI root hub" rev 1.00/1.00 addr 1
> usb2 at ohci1: USB revision 1.0
> uhub2 at usb2 "SiS OHCI root hub" rev 1.00/1.00 addr 1
> usb3 at ohci2: USB revision 1.0
> uhub3 at usb3 "SiS OHCI root hub" rev 1.00/1.00 addr 1
> biomask ff65 netmask ff65 ttymask ffe7
> mtrr: Pentium Pro MTRR support
> uhidev0 at uhub1 port 2 configuration 1 interface 0 "vendor 0x10d5 UKU-M02 
> 1.7" rev 1.10/0.00 addr 2
> uhidev0: iclass 3/1
> ukbd0 at uhidev0: 8 modifier keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> wskbd1: connecting to wsdisplay0
> uhidev1 at uhub1 port 2 configuration 1 interface 1 "vendor 0x10d5 UKU-M02 
> 1.7" rev 1.10/0.00 addr 2
> uhidev1: iclass 3/1, 3 report ids
> ums0 at uhidev1 reportid 1: 5 buttons and Z dir.
> wsmouse0 at ums0 mux 0
> uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
> uhid1 at uhidev1 reportid 3: input=2, output=0, feature=0
> softraid0 at root
> root on wd0a swap on wd0b dump on wd0b

Reply via email to