Hello all. First time posting here, so I apologize in advance if my question doesn't belong on this list. I've been using some Compaq Deskpro DPENS Pentium II machines as OpenBSD firewalls since late 2.x to early 3.x. Recently I made the jump to 4.8 and all seems to work fine except I noticed the reboot command does not appear to work. The machine gets halted, screen blanks out, but that's as far as it goes. I re-installed 3.3 and confirmed the reboot works fine under 3.3. Any tips/hints to help troubleshoot or resolve this problem would be greatly appreciated. Thanks in advance! MC.
I am running both 32bit and 64 bit as virtual Servers on VirtualBOX. Pls see my /etc/rc.shutdown file below. it is default. I just hit *reboot* command. reboot works fine on both machines. # cat /etc/rc.shutdown # $OpenBSD: rc.shutdown,v 1.7 2006/06/22 00:41:59 deraadt Exp $ # # If it exists, this script is run at system-shutdown by reboot(8), # halt(8). If the architecture supports keyboard requested halting, # it is also run by init(8) when such an event happens. # *powerdown=NO* # set to YES for powerdown # # Your shell code goes here On Fri, Dec 31, 2010 at 12:20 PM, Markus Bergkvist < -- Thank you Indunil Jayasooriya
Sorry, my subject line should have been more specific..... Yes, I should have mentioned that I have tested reboot command with VMWare and Virtualbox virtual machines and it works fine. The problem is with my Compaq Deskpro DPENS-P350/6.4/N4. I have tried 'powerdown=YES' in rc.shutdown, but it made no difference. I did notice with 'dmesg', that there was an error on startup regarding "........can't enable ACPI", so I tried booting a kernel file with ACPI disabled. Still no successful reboot. Not sure what else to try, or even how to go about troubleshooting this problem.
I dont know if it helps but have you tried setting machdep.apmhalt=1? Luis.
On Fri, Dec 31, 2010 at 1:50 AM, Markus Bergkvist We wouldn't have to play guess the machine if you sent a dmesg, but my That has nothing to do with rebooting.
Here's the dmesg from my machine....
OpenBSD 4.8 (GENERIC) #136: Mon Aug 16 09:06:23 MDT 2010
deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache) 350 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR
real mem = 66678784 (63MB)
avail mem = 55726080 (53MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/29/98, BIOS32 rev. 0 @ 0xec700,
SMBIOS rev. 2.1 @ 0xf1146 (48 entries)
bios0: vendor Compaq version "686T5" date 06/29/98
bios0: Compaq Deskpro EN Series SFF
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5, can't enable ACPI
bios0: ROM list: 0xc0000/0x8000 0xe0000/0x8000!
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x02
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0x44000000, size 0x4000000
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x02
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Rage Pro" rev 0x5c
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
fxp0 at pci0 dev 10 function 0 "Intel 8255x" rev 0x05, i82558: irq 11,
address 00:08:c7:81:20:fc
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 0
xl0 at pci0 dev 13 function 0 "3Com 3c905 100Base-TX" rev 0x00: irq 11,
address 00:60:97:cf:35:9b
nsphy0 at xl0 phy 24: DP83840 10/100 PHY, rev. 1
xl1 at pci0 dev 14 function 0 "3Com 3c905 100Base-TX" rev 0x00: irq 11,
address 00:60:08:b0:cc:d9
nsphy1 at xl1 phy 24: DP83840 10/100 PHY, rev. 1
piixpcib0 at pci0 dev 20 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 20 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <WDC AC26400R>
wd0: 16-sector PIO, LBA, 6149MB, 12594960 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at ...I have tried booting kernel files with acpi enabled only, apm enabled only, acpi & apm disabled, and acpi & apm disabled. Still no successful reboot. Don't know of anything else to try, so any other tips/hints would be appreciated. Thanks in advance! MC.
Try a -current snapshot to prove the problem still exists. Try 3.4, 3.5. 3.6, 3.7, 3.8, 3.9, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5, 4.6, 4.7 and see where it breaks. Read the FAQ for more suggestions. Starting with http://www.openbsd.org/report.html
