GA-8S661FXM-775 Rev.1 P4 motherboard cannot reboot or halt

2006-06-25 Thread Soner Tari
Hi All,

I'm running OpenBSD on a box with GA-8S661FXM-775 Rev.1 motherboard,
with the latest bios F4 (please see dmesg below). Previously I know that
FreeBSD and Linux could not reboot this hardware, but I was hoping
OpenBSD could, but it can't either. Linux can halt though, but others
can't halt either. (I don't know what Windows would do.)

So this is not specific to OpenBSD, but I think misc@ may have some idea
why these different OSs, and specifically OpenBSD, cannot reboot this
hardware (i.e. when I enter 'reboot' at command line, the system stops
after rebooting... line, and I have to press the reset button myself).
The system otherwise does not have any problems that I know of.

I tried different BIOS settings, removed NICs, etc. without success. I
contacted Gigabyte too, no replies yet, and I'm not too hopeful. I
googled too, but probably missed a relevant answer to my problem.

What could be the reason? ACPI? PCI interrupt routing warning in dmesg?
Hardware support? Any links? Any ideas please...

Thanks,


OpenBSD 3.9 (GENERIC) #617: Thu Mar  2 02:26:48 MST 2006
[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,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,TM2,CNXT-ID
real mem  = 502833152 (491048K)
avail mem = 451727360 (441140K)
using 4278 buffers containing 25243648 bytes (24652K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(b3) BIOS, date 10/14/05, BIOS32 rev. 0 @
0xfb4d0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0xd914
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfd880/128 (6 entries)
pcibios0: PCI Exclusive IRQs: 5 6 7 9 10 11 12
pcibios0: no compatible PCI ICU found: ICU vendor 0x1039 product 0x0964
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x8000
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
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: aperture at
0xe000, size 0x40
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
pciide0: channel 0 ignored (disabled)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, CD-ROM GCR-8522B, 1.03 SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 3, DMA mode 1
sis0 at pci0 dev 4 function 0 SiS 900 10/100BaseTX rev 0x90: irq 10,
address 00:14:85:cb:2c:85
icsphy0 at sis0 phy 1: ICS1893 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
wd0 at pciide1 channel 0 drive 0: SAMSUNG HD080HJ
wd0: 16-sector PIO, LBA48, 76318MB, 156299375 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
ne3 at pci0 dev 9 function 0 Surecom Surecom NE-34 rev 0xd1: irq 11,
address 00:00:21:c7:e8:a3
ne4 at pci0 dev 10 function 0 Surecom Surecom NE-34 rev 0x01: irq 12,
address 00:00:21:50:72:91
ne5 at pci0 dev 11 function 0 Surecom Surecom NE-34 rev 0xd1: irq 10,
address 00:00:21:c7:e8:40
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
it0 at isa0 port 0x290/8: IT87
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
biomask ebe5 netmask ffe5 ttymask ffe7
pctr: user-level cycle counter enabled
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
ne3: device timeout



Re: GA-8S661FXM-775 Rev.1 P4 motherboard cannot reboot or halt

2006-06-25 Thread Berk D. Demir

Soner Tari wrote:



What could be the reason? ACPI? PCI interrupt routing warning in dmesg?
Hardware support? Any links? Any ideas please...


Did you try with an ACPI enabled kernel?
Defining ACPI_DEBUG (sys/dev/acpi/acpivar.h) will be needed.

Even the default acpi_debug value is 11, I'm not sure if more verbose 
debugging is needed but to be safe, making it 20 is suitable for now.


While booting the new ACPI kernel, drop into ddb (either via -d boot 
option or after boot via Ctrl+Alt+Esc when ddb.console=1) and set it to 
20 with w acpi_debug 20 command.


Serial connection to the host will be convenient for collecting output.
Don't forget the use the latest snapshot.

I'm also interested in seeing an acpidump output.