Re: Stable 10.1 kernel boot hang

2015-10-24 Thread Timothy Pearson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/23/2015 12:45 AM, Timothy Pearson wrote:
> Hi all,
> 
> We are attempting to upgrade some older FreeBSD machines to use the ASUS
> KGPE-D16 mainboard, however the kernel on 10.1 hangs during boot while
> enumerating PCIe devices.  Linux boots with no issues.
> 
> Verbose boot log:
> 
> Type '?' for a list of commands, 'help' for more detailed help.
> OK set boot_verbose="1"
> OK boot
> Booting...
> |/-\|/-\KDB: debugger backends: ddb
> KDB: current backend: ddb
> SMAP type=01 base= len=0009fc00
> SMAP type=02 base=0009fc00 len=0400
> SMAP type=02 base=000f len=0001
> SMAP type=01 base=0010 len=bfb86000
> SMAP type=02 base=bfc86000 len=1037a000
> SMAP type=02 base=f0b0 len=4000
> SMAP type=02 base=fec0 len=1000
> SMAP type=02 base=fed0 len=1000
> SMAP type=01 base=0001 len=00014000
> Table 'FACP' at 0xbfca3680
> Table 'SSDT' at 0xbfca3780
> Table 'MCFG' at 0xbfca4630
> Table 'TCPA' at 0xbfca4670
> Table 'APIC' at 0xbfca46b0
> APIC: Found table at 0xbfca46b0
> 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)
> MADT: Found CPU APIC ID 2 ACPI ID 2: enabled
> SMP: Added CPU 2 (AP)
> MADT: Found CPU APIC ID 3 ACPI ID 3: enabled
> SMP: Added CPU 3 (AP)
> MADT: Found CPU APIC ID 4 ACPI ID 4: enabled
> SMP: Added CPU 4 (AP)
> MADT: Found CPU APIC ID 5 ACPI ID 5: enabled
> SMP: Added CPU 5 (AP)
> MADT: Found CPU APIC ID 6 ACPI ID 6: enabled
> SMP: Added CPU 6 (AP)
> MADT: Found CPU APIC ID 7 ACPI ID 7: enabled
> SMP: Added CPU 7 (AP)
> Copyright (c) 1992-2014 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 10.1-RELEASE-p9 #0 57b23e7(releng/10.1)-dirty: Wed May 13
> 00:53:02 CDT 2015
> 
> root@pfsense-build:/usr/obj.amd64/usr/pfSensesrc/src/sys/pfSense_SMP.10
> amd64
> FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
> Preloaded elf kernel "/boot/kernel/kernel" at 0x824d2000.
> Calibrating TSC clock ... TSC clock: 260881 Hz
> CPU: AMD Opteron(tm) Processor 6129 (2000.06-MHz K8-class CPU)
>   Origin = "AuthenticAMD"  Id = 0x100f91  Family = 0x10  Model = 0x9
> Stepping = 1
> 
> 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=0x802009<SSE3,MON,CX16,POPCNT>
>   AMD
> Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
>   AMD
> Features2=0x837ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT,NodeId>
>   TSC: P-state invariant
> L1 2MB data TLB: 48 entries, fully associative
> L1 2MB instruction TLB: 16 entries, fully associative
> L1 4KB data TLB: 48 entries, fully associative
> L1 4KB instruction TLB: 32 entries, fully associative
> L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
> L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way
> associative
> L2 2MB data TLB: 128 entries, 2-way associative
> L2 2MB instruction TLB: 0 entries, 2-way associative
> 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  = 9663676416 (9216 MB)
> Physical memory chunk(s):
> 0x0001 - 0x0009bfff, 573440 bytes (140 pages)
> 0x0010 - 0x001f, 1048576 bytes (256 pages)
> 0x024fc000 - 0xbfc85fff, 3178799104 bytes (776074 pages)
> 0x0001 - 0x000231518fff, 5122396160 bytes (1250585 pages)
> avail memory = 8263753728 (7880 MB)
> Event timer "LAPIC" quality 400
> ACPI APIC Table: 
> INTR: Adding local APIC 1 as a target
> INTR: Adding local APIC 2 as a target
> INTR: Adding local APIC 3 as a target
> INTR: Adding local APIC 4 as a target
> INTR: Adding local APIC 5 as a target
> INTR: Adding local APIC 6 as a target
> INTR: Adding local APIC 7 as a target
> FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
> FreeBSD/SMP: 1 package(s) x 8 core(s)
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
>  cpu2 (AP): APIC ID:  2
>  cpu3 (AP): APIC ID:  3
>  cpu4 (AP): APIC ID:  4
>  

Stable 10.1 kernel boot hang

2015-10-22 Thread Timothy Pearson
 ns)
found-> vendor=0x1022, dev=0x1203, revid=0x00
domain=0, bus=0, slot=24, func=3
class=06-00-00, hdrtype=0x00, mfdev=1
cmdreg=0x, statreg=0x0010, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1022, dev=0x1204, revid=0x00
domain=0, bus=0, slot=24, func=4
class=06-00-00, hdrtype=0x00, mfdev=1
cmdreg=0x, statreg=0x0010, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1022, dev=0x1200, revid=0x00
domain=0, bus=0, slot=25, func=0
class=06-00-00, hdrtype=0x00, mfdev=1
cmdreg=0x, statreg=0x0010, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1022, dev=0x1201, revid=0x00
domain=0, bus=0, slot=25, func=1
class=06-00-00, hdrtype=0x00, mfdev=1
cmdreg=0x, statreg=0x, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1022, dev=0x1202, revid=0x00
domain=0, bus=0, slot=25, func=2
class=06-00-00, hdrtype=0x00, mfdev=1
cmdreg=0x, statreg=0x, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1022, dev=0x1203, revid=0x00
domain=0, bus=0, slot=25, func=3
class=06-00-00, hdrtype=0x00, mfdev=1
cmdreg=0x, statreg=0x0010, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1022, dev=0x1204, revid=0x00
domain=0, bus=0, slot=25, func=4
class=06-00-00, hdrtype=0x00, mfdev=1
cmdreg=0x, statreg=0x0010, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)

The machine just hangs at this point.  ACPI cannot be disabled as the
board does not support the APIC fallback required.

Any ideas?

- -- 
Timothy Pearson
Raptor Engineering
+1 (415) 727-8645 (direct line)
+1 (512) 690-0200 (switchboard)
http://www.raptorengineeringinc.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJWKcmUAAoJEK+E3vEXDOFbiegIAIzI6AGtkCLuvCUZGBSjU95d
xmjSD1KBWGLw7aboimkd05FjoJeesVqAs8rLXrXN5ONiLtAiSCtFsxVFFepimP1Y
pPO7xKvTUstYqMpMnmVEflU8iIvE24rAytEe9vRjTml/PhwmBxJS0akJVFMT5f+L
ySfLPuHdNLXhGlvzksYzHkEc+n+xWsFpjGw7TtATuc2goX4E7p2+XPTqHW1J3U16
W3KMboK0JjvTARaf/3q6xWn81NvOG55bBGenStaEcq1H0u6DtHuAJZVGyw+i6nbS
3eCiq6MUZ7MNVQdUG3xY7DXg7t3hn6+YmdykCD3W9uFJlGrLGHNiY7Q/c02qz6Y=
=PqdN
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"