Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Nov 2004 12:20:20 +0100
From:      Marcin <creep@desk.pl>
To:        freebsd-acpi@freebsd.org
Subject:   FBSD5.3 Compaq AP400 cannot warm-reboot (as in kern/27834) 
Message-ID:  <20041119112020.GA12853@daedalus.desk.pl>

next in thread | raw e-mail | index | archive | help
Hello FreeBSD users!

I have posted this problem to freebsd-questions, but then figured it was not actually the best place to send it.

I'm experiencing the same problem described in http://www.freebsd.org/cgi/query-pr.cgi?pr=27834 but the fix included doesn't actually fix the problem.

The system is FreeBSD 5.3 with GENERIC kernel on dual Compaq AP400 (Professional workstation) (dmesg/mptables below). When i reboot the system shutdowns properly (prints Rebooting...) but then just hangs with no activity (screen blank, disk diodes dead,etc). I have to push power button two times to reboot it, which is impossible with remote administration.

This is the case with acpi.ko not loaded or with acpi.ko loaded but APIC disabled with hints.acpi.0.disabled.

When i want to load acpi.ko wit APIC enabled i get a panic at system boottime with following message:

"ACPI disabled by blacklist.  Contact your BIOS vendor."
(from sys/dev/acpica/acpi.c acpi_Startup returning AE_ERROR)

called by:
MADT: ACPI Startup failed with
ACPI disabled by blacklist.  Contact your BIOS vendor.
Try disabling either ACPI or apic support.
  panic("Using MADT but ACPI doesn't work");

(from sys/i386/acpica/madt.c madt_setup_io())

(i'm writing these from memory, i didn't have serial console to catch the exact message. If it's needed, i'll provide the exact hand written version)

I thought that there is nothing i could do except installing linux back 
[there was a linux system there before, the person using it said he had no 
problem with rebooting] but when the ACPI panic happes (the one listed above)
and the user is prompted to press any key [or wait 15 secs]
system prints Rebooting... and really restarts the machine the way i want!

I searched for 'Rebooting' code in the kernel. found sys/kern/kern_shutdown.c
shutdown_reset which calls cpu_reset(), then, checked what shutdown(1)/reboot(1)
do and found they call the same function...
so what happens in cpu_reset() what is different at panic and normal shutdown
is still a mystery to me, but may be a hint for someone knowing the subject.

Hints? Ideas? Pointers?

-- 
Best regards,
m.

DMESG: [with apic disabled, unfortunately i can't catch messages on panic]

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
    root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (399.06-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
  Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 335544320 (320 MB)
avail memory = 318705664 (303 MB)
ACPI disabled by blacklist.  Contact your BIOS vendor.
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 8 Entries> on motherboard
pci0: <PCI bus> on pcib0
$PIR: No matching entry for 0.11.INTA
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0x54000000-0x57ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
sym0: <875> port 0x5000-0x50ff mem 0x50a00000-0x50a00fff,0x50b00000-0x50b000ff irq 11 at device 11.0 on pci0
sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
sym0: [GIANT-LOCKED]
fxp0: <Intel 82558 Pro/100 Ethernet> port 0x5400-0x541f mem 0x50800000-0x508fffff,0x50c00000-0x50c00fff irq 11 at device 12.0 on pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:08:c7:5c:cc:38
pci0: <display, VGA> at device 15.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 20.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0x5440-0x544f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 20.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x5420-0x543f irq 11 at device 20.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <bridge, PCI-unknown> at device 20.3 (no driver attached)
cpu0 on motherboard
orm0: <ISA Option ROMs> at iomem 0xec000-0xeffff,0xc8000-0xcbfff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (port)
Timecounter "TSC" frequency 399062929 Hz quality 800
Timecounters tick every 10.000 msec
acd0: CDROM <COMPAQ CR-588/LC15> at ata0-master PIO4
Waiting 15 seconds for SCSI devices to settle
da0 at sym0 bus 0 target 0 lun 0
da0: <HP 4.26GB B 68-5541 5541> Fixed Direct Access SCSI-2 device 
da0: 40.000MB/s transfers (20.000MHz, offset 16, 16bit), Tagged Queueing Enabled
da0: 4067MB (8330543 512 byte sectors: 255H 63S/T 518C)
Mounting root from ufs:/dev/da0s1a

MPTables [with blank lines truncated]
===============================================================================
MPTable, version 2.0.15
-------------------------------------------------------------------------------
MP Floating Pointer Structure:
  location:			BIOS
  physical address:		0x000f6420
  signature:			'_MP_'
  length:			16 bytes
  version:			1.4
  checksum:			0xfd
  mode:				Virtual Wire
-------------------------------------------------------------------------------
MP Config Table Header:
  physical address:		0x000f6430
  signature:			'PCMP'
  base table length:		396
  version:			1.4
  checksum:			0x75
  OEM ID:			'COMPAQ  '
  Product ID:			'Workstation '
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			40
  local APIC address:		0xfee00000
  extended table length:	0
  extended table checksum:	0
-------------------------------------------------------------------------------
MP Config Base Table Entries:
--
Processors:	APIC ID	Version	State		Family	Model	Step	Flags
		 1	 0x10	 BSP, usable	 6	 5	 2	 0x183fbff
		 0	 0x10	 AP, usable	 6	 5	 2	 0x183fbff
--
Bus:		Bus ID	Type
		 0	 PCI   
		 1	 PCI   
		 9	 ISA   
--
I/O APICs:	APIC ID	Version	State		Address
		 8	 0x11	 usable		 0xfec00000
--
I/O Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		INT	active-lo       level	     0	12:A	      8	  20
		INT	active-lo       level	     0	11:A	      8	  21
		INT	active-lo       level	     0	 1:A	      8	  22
		INT	active-lo       level	     0	 1:B	      8	  23
		INT	active-lo       level	     0	16:A	      8	  16
		INT	active-lo       level	     0	16:B	      8	  17
		INT	active-lo       level	     0	16:C	      8	  18
		INT	active-lo       level	     0	16:D	      8	  19
		INT	active-lo       level	     0	15:A	      8	  18
		INT	active-lo       level	     0	15:B	      8	  19
		INT	active-lo       level	     0	15:C	      8	  16
		INT	active-lo       level	     0	15:D	      8	  17
		INT	active-lo       level	     0	14:A	      8	  19
		INT	active-lo       level	     0	14:B	      8	  16
		INT	active-lo       level	     0	14:C	      8	  17
		INT	active-lo       level	     0	14:D	      8	  18
		INT	active-lo       level	     0	13:A	      8	  17
		INT	active-lo       level	     0	13:B	      8	  18
		INT	active-lo       level	     0	13:C	      8	  19
		INT	active-lo       level	     0	13:D	      8	  16
		INT	 conforms    conforms	     9	   0	      8	   2
		INT	 conforms    conforms	     9	   1	      8	   1
		INT	 conforms    conforms	     9	   3	      8	   3
		INT	 conforms    conforms	     9	   4	      8	   4
		INT	 conforms    conforms	     9	   5	      8	   5
		INT	 conforms    conforms	     9	   6	      8	   6
		INT	 conforms    conforms	     9	   7	      8	   7
		INT	 conforms    conforms	     9	   8	      8	   8
		INT	 conforms    conforms	     9	   9	      8	   9
		INT	 conforms    conforms	     9	  10	      8	  10
		INT	 conforms    conforms	     9	  12	      8	  12
		INT	 conforms    conforms	     9	  13	      8	  13
		INT	 conforms    conforms	     9	  14	      8	  14
		INT	 conforms    conforms	     9	  15	      8	  15
===============================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041119112020.GA12853>