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
>   Features2=0x802009
>   AMD
> Features=0xee500800
>   AMD
> Features2=0x837ff
>   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
>  cpu5 (AP): APIC ID:  5
>  cpu6 (AP): APIC ID:  6
>  cpu7 (AP): APIC ID:  7
> APIC: CPU 0 has ACPI ID 0
> APIC: CPU 1 has ACPI ID 1
> APIC: CPU 2 has ACPI ID 2
> APIC: CPU 3 has ACPI ID 3
> APIC: CPU 4 has ACPI ID 4
> APIC: CPU 5 has ACPI ID 5
> APIC: CPU 6 has ACPI ID 6
> APIC: CPU 7 has ACPI ID 7
> x86bios:  IVT 0x00-0x0004ff at 0xf800
> x86bios: SSEG 

Stable 10.1 kernel boot hang

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

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
  Features2=0x802009
  AMD
Features=0xee500800
  AMD
Features2=0x837ff
  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
 cpu5 (AP): APIC ID:  5
 cpu6 (AP): APIC ID:  6
 cpu7 (AP): APIC ID:  7
APIC: CPU 0 has ACPI ID 0
APIC: CPU 1 has ACPI ID 1
APIC: CPU 2 has ACPI ID 2
APIC: CPU 3 has ACPI ID 3
APIC: CPU 4 has ACPI ID 4
APIC: CPU 5 has ACPI ID 5
APIC: CPU 6 has ACPI ID 6
APIC: CPU 7 has ACPI ID 7
x86bios:  IVT 0x00-0x0004ff at 0xf800
x86bios: SSEG 0x098000-0x098fff at 0xfe001a367000
x86bios: EBDA 0x09f000-0x09 at 0xf809f000
x86bios:  ROM 0x0a-0x0fefff at 0xf80a
XEN: CPU 0 has VCPU ID 0
XEN: CPU 1 has VCPU ID 1
XEN: CPU 2 has VCPU ID 2
XEN: CPU 3 has VCPU ID 3
XEN: CPU 4 has VCPU ID 4
XEN: CPU 5 has VCPU