Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2014 11:32:15 -0500
From:      Larry Baird <lab@gta.com>
To:        freebsd-acpi@FreeBSD.org
Subject:   ACPI issues with PC engines APU beta board
Message-ID:  <20140122163215.GA46029@gta.com>

next in thread | raw e-mail | index | archive | help

--+QahgC5+KEYLbs62
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I have a protoype board from PC Engines for their upcoming APU board.
The board runs fine under FreeBSD 8.4 release but fails to boot using either
FreeBSD 9.2 release or FreeBSD 10.0 release. Verbose boot seems to indicate
issue is with ACPI.  I am working with PC Engines to get FreeBSD up and
running on their board.  Hopefully attached information is enough to
determine issue with BIOS. I'll then feed this information back to PC
Engines so they can provide the information to their BIOS provider.

Attached is a verbose dmesg from 9.2. In case it gets stripped you
can also find dmesg at: ftp://ftp.gta.com/pub/apu/FreeBSD9.2/bootVerbose.txt

Dmesg from booting 8.4 is at: ftp://ftp.gta.com/pub/apu/FreeBSD8.4/dmesg.boot

Dump of sysctl.hw.acpi from FreeBSD 8.4 is:

hw.acpi.supported_sleep_state: S1 S2 S3 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 1
hw.acpi.s4bios: 0
hw.acpi.verbose: 0
hw.acpi.disable_on_reboot: 0
hw.acpi.handle_reboot: 1
hw.acpi.reset_video: 0
hw.acpi.cpu.cx_lowest: C1

acpidump -dt from from FreeBSD 8.4 is at:
    ftp://ftp.gta.com/pub/apu/FreeBSD8.4/lab-pcengines-apu1b.asl

Thank you for your time,
Larry

-- 
------------------------------------------------------------------------
Larry Baird
Global Technology Associates, Inc. 1992-2012 	| http://www.gta.com
Celebrating Twenty Years of Software Innovation | Orlando, FL
Email: lab@gta.com                 		| TEL 407-380-0220

--+QahgC5+KEYLbs62
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="bootVerbose.txt"

SMAP type=01 base=0000000000000000 len=000000000009fc00
SMAP type=02 base=000000000009fc00 len=0000000000000400
SMAP type=02 base=00000000000f0000 len=0000000000010000
SMAP type=01 base=0000000000100000 len=000000007e06cc00
SMAP type=02 base=000000007e16cc00 len=0000000000e93000
SMAP type=02 base=00000000f8000000 len=0000000001000000
Table 'FACP' at 0x7e1739d8
Table 'HPET' at 0x7e173ad0
Table 'APIC' at 0x7e173b08
APIC: Found table at 0x7e173b08
APIC: Using the MADT enumerator.
MADT: Found CPU APIC ID 0 ACPI ID 0: enabled
SMP: Added CPU 0 (AP)
MADT: Found CPU APIC ID 1 ACPI ID 1: enabled
SMP: Added CPU 1 (AP)
Copyright (c) 1992-2013 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013
    root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
gcc version 4.2.1 20070831 patched [FreeBSD]
Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff817bb000.
Calibrating TSC clock ... TSC clock: 1000019972 Hz
CPU: AMD G-T40N Processor (1000.02-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x500f20  Family = 0x14  Model = 0x2  Stepping = 0
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x802209<SSE3,MON,SSSE3,CX16,POPCNT>
  AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
  AMD Features2=0x35ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,IBS,SKINIT,WDT>
  TSC: P-state invariant, performance statistics
L1 2MB data TLB: 8 entries, fully associative
L1 2MB instruction TLB: 8 entries, fully associative
L1 4KB data TLB: 40 entries, fully associative
L1 4KB instruction TLB: 0 entries, 0-way associative
L1 data cache: 32 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative
L1 instruction cache: 32 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L2 2MB unified TLB: 0 entries, disabled/not present
L2 4KB data TLB: 512 entries, 4-way associative
L2 4KB instruction TLB: 512 entries, 4-way associative
L2 unified cache: 512 kbytes, 64 bytes/line, 1 lines/tag, 16-way associative
real memory  = 2115420160 (2017 MB)
Physical memory chunk(s):
0x0000000000010000 - 0x000000000009bfff, 573440 bytes (140 pages)
0x0000000000100000 - 0x00000000001fffff, 1048576 bytes (256 pages)
0x00000000017e9000 - 0x000000007a5e1fff, 2027917312 bytes (495097 pages)
avail memory = 2011820032 (1918 MB)
INTR: Adding local APIC 0 as a target
Event timer "LAPIC" quality 400
ACPI APIC Table: <CORE   COREBOOT>
INTR: Adding local APIC 0 as a target
INTR: Adding local APIC 1 as a target
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
APIC: CPU 0 has ACPI ID 0
APIC: CPU 1 has ACPI ID 1
x86bios:  IVT 0x000000-0x0004ff at 0xfffffe0000000000
x86bios: SSEG 0x098000-0x098fff at 0xffffff800022d000
x86bios: EBDA 0x09f000-0x09ffff at 0xfffffe000009f000
x86bios:  ROM 0x0a0000-0x0fefff at 0xfffffe00000a0000
ULE: setup cpu 0
ULE: setup cpu 1
ACPI: RSDP 0xfd9f0 00014 (v00 CORE  )
ACPI: RSDT 0x7e171024 00040 (v01 CORE   COREBOOT 00000000 CORE 00000000)
ACPI: FACP 0x7e1739d8 000F4 (v04 CORE   COREBOOT 00000000 CORE 00000000)
ACPI: DSDT 0x7e1710c8 028CD (v02 PCENG  APU      00010001 INTL 20120420)
ACPI: FACS 0x7e173998 00040
ACPI: HPET 0x7e173ad0 00038 (v01 CORE   COREBOOT 00000000 CORE 00000000)
ACPI: APIC 0x7e173b08 0005C (v01 CORE   COREBOOT 00000000 CORE 00000000)
ACPI: HEST 0x7e173b68 00198 (v01 CORE   COREBOOT 00000000 CORE 00000000)
ACPI: SSDT 0x7e173d00 0168E (v02    AMD     ALIB 00000001 MSFT 04000000)
ACPI: SSDT 0x7e175390 0030C (v01 AMD    POWERNOW 00000001 AMD  00000001)
ACPI: SSDT 0x7e1756a0 00045 (v02 CORE   COREBOOT 0000002A CORE 0000002A)
MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec00000
ioapic0: Routing external 8259A's -> intpin 0
MADT: Interrupt override: source 0, irq 2
ioapic0: Routing IRQ 0 -> intpin 2
MADT: Interrupt override: source 9, irq 9
ioapic0: intpin 9 trigger: level
ioapic0: intpin 9 polarity: low
ioapic0 <Version 2.1> irqs 0-23 on motherboard
cpu0 BSP:
     ID: 0x00000000   VER: 0x80050010 LDR: 0x00000000 DFR: 0xffffffff
  lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
  timer: 0x000300ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400
wlan: <802.11 Link Layer>
snd_unit_init() u=0x00ff8000 [512] d=0x00007c00 [32] c=0x000003ff [1024]
feeder_register: snd_unit=-1 snd_maxautovchans=16 latency=5 feeder_rate_min=1 feeder_rate_max=2016000 feeder_rate_round=25
random: <entropy source, Software, Yarrow>
nfslock: pseudo-device
kbd0 at kbdmux0
mem: <memory>
module_register_init: MOD_LOAD (vesa, 0xffffffff80d11010, 0) error 19
io: <I/O>
null: <null device, zero device>
hpt27xx: RocketRAID 27xx controller driver v1.1
hptnr: R750/DC7280 controller driver v1.0
hptrr: RocketRAID 17xx/2xxx SATA controller driver v1.2
acpi0: <CORE COREBOOT> on motherboard
ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 0 vector 48
ACPI: Executed 2 blocks of module-level executable AML code
acpi0: Power Button (fixed)
cpu0: Processor \_PR_.C000 (ACPI ID 0) -> APIC ID 0
cpu0: <ACPI CPU> on acpi0
cpu1: Processor \_PR_.C001 (ACPI ID 1) -> APIC ID 1
cpu1: <ACPI CPU> on acpi0
ACPI: Processor \_PR_.C002 (ACPI ID 2) ignored
ACPI: Processor \_PR_.C003 (ACPI ID 3) ignored
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
atrtc0: registered as a time-of-day clock (resolution 1000000us, adjustment 0.500000000s)
ioapic0: routing intpin 8 (ISA IRQ 8) to lapic 0 vector 49
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
ioapic0: routing intpin 2 (ISA IRQ 0) to lapic 0 vector 50
Event timer "i8254" frequency 1193182 Hz quality 100
ACPI timer: 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 -> 10
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
device_attach: hpet0 attach returned 12
pci_link0:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0  255   N     0  3 4 5 7 10 11 12 15
  Validation          0  255   N     0  3 4 5 7 10 11 12 15
  After Disable       0  255   N     0  3 4 5 7 10 11 12 15
pci_link1:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0  255   N     0  3 4 5 7 10 11 12 15
  Validation          0  255   N     0  3 4 5 7 10 11 12 15
  After Disable       0  255   N     0  3 4 5 7 10 11 12 15
pci_link2:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0  255   N     0  3 4 5 7 10 11 12 15
  Validation          0  255   N     0  3 4 5 7 10 11 12 15
  After Disable       0  255   N     0  3 4 5 7 10 11 12 15
pci_link3:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0  255   N     0  3 4 5 7 10 11 12 15
  Validation          0  255   N     0  3 4 5 7 10 11 12 15
  After Disable       0  255   N     0  3 4 5 7 10 11 12 15
pci_link4:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0  255   N     0  3 4 5 7 10 11 12 15
  Validation          0  255   N     0  3 4 5 7 10 11 12 15
  After Disable       0  255   N     0  3 4 5 7 10 11 12 15
pci_link5:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0  255   N     0  9
  Validation          0  255   N     0  9
  After Disable       0  255   N     0  9
pci_link6:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0  255   N     0  3 4 5 7 10 11 12 15
  Validation          0  255   N     0  3 4 5 7 10 11 12 15
  After Disable       0  255   N     0  3 4 5 7 10 11 12 15
pci_link7:        Index  IRQ  Rtd  Ref  IRQs
  Initial Probe       0  255   N     0  3 4 5 7 10 11 12 15
  Validation          0  255   N     0  3 4 5 7 10 11 12 15
  After Disable       0  255   N     0  3 4 5 7 10 11 12 15
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff iomem 0xa0000-0xbffff,0x7f000000-0xffffffff on acpi0
pcib0: decoding 4 range 0-0xcf7
pcib0: decoding 4 range 0xd00-0xffff
pci0: <ACPI PCI bus> on pcib0
pci0: domain=0, physical bus=0
found-> vendor=0x1022, dev=0x1510, revid=0x00
        domain=0, bus=0, slot=0, func=0
        class=06-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0006, statreg=0x0220, cachelnsz=0 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1022, dev=0x1512, revid=0x00
        domain=0, bus=0, slot=4, func=0
        class=06-04-00, hdrtype=0x01, mfdev=0
        cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=255
        powerspec 3  supports D0 D3  current D0
        MSI supports 1 message, 64 bit
found-> vendor=0x1022, dev=0x1513, revid=0x00
        domain=0, bus=0, slot=5, func=0
        class=06-04-00, hdrtype=0x01, mfdev=0
        cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=255
        powerspec 3  supports D0 D3  current D0
        MSI supports 1 message, 64 bit
found-> vendor=0x1022, dev=0x1514, revid=0x00
        domain=0, bus=0, slot=6, func=0
        class=06-04-00, hdrtype=0x01, mfdev=0
        cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x03 (750 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=255
        powerspec 3  supports D0 D3  current D0
        MSI supports 1 message, 64 bit
found-> vendor=0x1002, dev=0x4391, revid=0x40
        domain=0, bus=0, slot=17, func=0
        class=01-06-01, hdrtype=0x00, mfdev=0
        cmdreg=0x0007, statreg=0x0230, cachelnsz=16 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=255
        map[10]: type I/O Port, range 32, base 0x4020, size  3, enabled
pcib0: allocated type 4 (0x4020-0x4027) for rid 10 of pci0:0:17:0
        map[14]: type I/O Port, range 32, base 0x4040, size  2, enabled
pcib0: allocated type 4 (0x4040-0x4043) for rid 14 of pci0:0:17:0
        map[18]: type I/O Port, range 32, base 0x4028, size  3, enabled
pcib0: allocated type 4 (0x4028-0x402f) for rid 18 of pci0:0:17:0
        map[1c]: type I/O Port, range 32, base 0x4044, size  2, enabled
pcib0: allocated type 4 (0x4044-0x4047) for rid 1c of pci0:0:17:0
        map[20]: type I/O Port, range 32, base 0x4000, size  4, enabled
pcib0: allocated type 4 (0x4000-0x400f) for rid 20 of pci0:0:17:0
        map[24]: type Memory, range 32, base 0xfeb08000, size 10, enabled
pci0: pci0:0:17:0 bar 0x24 failed to allocate
found-> vendor=0x1002, dev=0x4397, revid=0x00
        domain=0, bus=0, slot=18, func=0
        class=0c-03-10, hdrtype=0x00, mfdev=1
        cmdreg=0x0002, statreg=0x02a0, cachelnsz=16 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=255
        map[10]: type Memory, range 32, base 0xfeb04000, size 12, enabled
pci0: pci0:0:18:0 bar 0x10 failed to allocate
unknown: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0x100000000
ohci early: SMM active, request owner change
ohci early: SMM does not respond, resetting
found-> vendor=0x1002, dev=0x4396, revid=0x00
        domain=0, bus=0, slot=18, func=2
        class=0c-03-20, hdrtype=0x00, mfdev=0
        cmdreg=0x0006, statreg=0x02b0, cachelnsz=16 (dwords)
        lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        intpin=b, irq=255
        powerspec 2  supports D0 D1 D2 D3  current D0
        map[10]: type Memory, range 32, base 0xfeb08400, size  8, enabled
pci0: pci0:0:18:2 bar 0x10 failed to allocate
unknown: Lazy allocation of 0x100 bytes rid 0x10 type 3 at 0x100001000


--+QahgC5+KEYLbs62--



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