NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/52252: uvm_km_check_empty panic when loading any module



On Tuesday 23 May 2017, at 23:44, Anthony Mallet wrote:
> I can reproduce this on my test machine (the PAPYRUS
> kernel that I sent) if needed, for clarity.

I just reproduced the original failure, on the original machine. No
module involved, still panicing at the same place:

--- how to trigger the panic --------------------------------------

# export LD_LIBRARY_PATH=/usr/obj/destdir.amd64/lib
# /usr/obj/destdir.amd64/sbin/modstat| grep "npf\|bpf\|sljit"
bpf               driver   builtin  -        0       - bpf_filter
bpf_filter        misc     builtin  -        1       - -
bpfjit            misc     builtin  -        0       - sljit
if_npflog         driver   builtin  -        0       - -
npf               misc     builtin  -        4       - -
npf_alg_icmp      misc     builtin  -        0       - npf
npf_ext_log       misc     builtin  -        0       - npf
npf_ext_normalize misc     builtin  -        0       - npf
npf_ext_rndblock  misc     builtin  -        0       - npf
sljit             misc     builtin  -        1       - -
# ldd /usr/obj/destdir.amd64/sbin/npfctl
/usr/obj/destdir.amd64/sbin/npfctl:
        -lnpf.0 => /usr/obj/destdir.amd64/lib/libnpf.so.0
        -lprop.1 => /usr/obj/destdir.amd64/lib/libprop.so.1
        -lc.12 => /usr/obj/destdir.amd64/lib/libc.so.12
        -lpcap.6 => /usr/obj/destdir.amd64/lib/libpcap.so.6
        -lutil.7 => /usr/obj/destdir.amd64/lib/libutil.so.7
# /usr/obj/usr/src/destdir.amd64/sbin/npfctl reload
<panic>

--- backtrace -----------------------------------------------------

(gdb) bt
#0  0xffffffff80229245 in cpu_reboot (howto=howto@entry=256, 
    bootstr=bootstr@entry=0x0) at /usr/src/sys/arch/amd64/amd64/machdep.c:674
#1  0xffffffff80337eb4 in db_sync_cmd (addr=<optimized out>, 
    have_addr=<optimized out>, count=<optimized out>, modif=<optimized out>)
    at /usr/src/sys/ddb/db_command.c:1380
#2  0xffffffff8033867e in db_command (
    last_cmdp=last_cmdp@entry=0xfffffe8040d693a8)
    at /usr/src/sys/ddb/db_command.c:914
#3  0xffffffff80338a49 in db_execute_commandlist (
    cmdlist=0xffffffff80a04ea0 <db_cmd_on_enter> "sync")
    at /usr/src/sys/ddb/db_command.c:419
#4  db_command_loop () at /usr/src/sys/ddb/db_command.c:564
#5  0xffffffff8033c0ae in db_trap (type=type@entry=1, code=code@entry=0)
    at /usr/src/sys/ddb/db_trap.c:90
#6  0xffffffff80225e42 in kdb_trap (type=type@entry=1, code=code@entry=0, 
    regs=regs@entry=0xfffffe8040d69640)
    at /usr/src/sys/arch/amd64/amd64/db_interface.c:234
#7  0xffffffff8022a58c in trap (frame=0xfffffe8040d69640)
    at /usr/src/sys/arch/amd64/amd64/trap.c:293
#8  0xffffffff80201006 in alltraps ()
#9  0xffffffff80224855 in breakpoint ()
#10 0xffffffff804d7618 in vpanic (
    fmt=fmt@entry=0xffffffff808bb790 "uvm_km_check_empty: va %p has pa 0x%llx", ap=ap@entry=0xfffffe8040d69778) at /usr/src/sys/kern/subr_prf.c:340
#11 0xffffffff804d76d5 in panic (
    fmt=fmt@entry=0xffffffff808bb790 "uvm_km_check_empty: va %p has pa 0x%llx")
    at /usr/src/sys/kern/subr_prf.c:258
#12 0xffffffff804684fa in uvm_km_check_empty (
    map=map@entry=0xffffffff80a1d780 <module_map_store>, 
    start=<optimized out>, end=18446744071574736896)
    at /usr/src/sys/uvm/uvm_km.c:563
#13 0xffffffff80472362 in uvm_map (
    map=map@entry=0xffffffff80a1d780 <module_map_store>, 
    startp=startp@entry=0xfffffe8040d69918, size=size@entry=65536, 
    uobj=uobj@entry=0x0, uoffset=uoffset@entry=-1, align=align@entry=4096, 
    flags=<optimized out>, flags@entry=5927) at /usr/src/sys/uvm/uvm_map.c:1101
#14 0xffffffff80468877 in uvm_km_alloc (
    map=0xffffffff80a1d780 <module_map_store>, size=size@entry=65536, 
    align=align@entry=4096, flags=flags@entry=49)
    at /usr/src/sys/uvm/uvm_km.c:621
#15 0xffffffff8025107d in alloc_chunk (size=65536)
    at /usr/src/sys/external/bsd/sljit/dist/sljit_src/sljitExecAllocator.c:110
#16 sljit_malloc_exec (size=<optimized out>)
    at /usr/src/sys/external/bsd/sljit/dist/sljit_src/sljitExecAllocator.c:221
#17 0xffffffff802516a3 in sljit_generate_code (
    compiler=compiler@entry=0xfffffe80b8438ad8)
    at /usr/src/sys/external/bsd/sljit/dist/sljit_src/sljitNativeX86_common.c:468
#18 0xffffffff802a96ac in bpfjit_generate_code (bc=0xfffffe8040b11450, 
    insns=<optimized out>, insn_count=56) at /usr/src/sys/net/bpfjit.c:2293
#19 0xffffffff8032f8bf in npf_rule_setcode (rl=rl@entry=0xfffffe80d7659f10, 
    type=<optimized out>, code=<optimized out>, size=<optimized out>)
    at /usr/src/sys/net/npf/npf_ruleset.c:770
#20 0xffffffff8032d58a in npf_mk_singlerule (npf=npf@entry=0xfffffe8040b10058, 
    rldict=rldict@entry=0xfffffe80d78fae10, rpset=rpset@entry=0x0, 
    rlret=rlret@entry=0xfffffe8040d69b88, 
    errdict=errdict@entry=0xfffffe80b7703f38)
    at /usr/src/sys/net/npf/npf_ctl.c:345
#21 0xffffffff8032d6c3 in npf_mk_natlist (npf=npf@entry=0xfffffe8040b10058, 
    nset=nset@entry=0xfffffe80c172f668, 
    natlist=natlist@entry=0xfffffe8040bcaa88, 
    errdict=errdict@entry=0xfffffe80b7703f38)
    at /usr/src/sys/net/npf/npf_ctl.c:420
#22 0xffffffff8032d8e7 in npfctl_load (npf=0xfffffe8040b10058, cmd=3222294118, 
    data=0xfffffe8040d69de0) at /usr/src/sys/net/npf/npf_ctl.c:554
#23 0xffffffff80529302 in VOP_IOCTL (vp=vp@entry=0xfffffe80d68153f0, 
    command=command@entry=3222294118, data=data@entry=0xfffffe8040d69de0, 
    fflag=<optimized out>, cred=<optimized out>)
    at /usr/src/sys/kern/vnode_if.c:534
#24 0xffffffff80522ed6 in vn_ioctl (fp=0xfffffe80c052db80, com=3222294118, 
    data=0xfffffe8040d69de0) at /usr/src/sys/kern/vfs_vnops.c:765
#25 0xffffffff804df9d8 in sys_ioctl (l=<optimized out>, 
    uap=0xfffffe8040d69f00, retval=<optimized out>)
    at /usr/src/sys/kern/sys_generic.c:681
#26 0xffffffff80242bcc in sy_call (rval=0xfffffe8040d69eb0, 
    uap=0xfffffe8040d69f00, l=0xfffffe80b6971920, 
    sy=0xffffffff80a0a690 <sysent+1296>) at /usr/src/sys/sys/syscallvar.h:65
#27 sy_invoke (code=54, rval=0xfffffe8040d69eb0, uap=0xfffffe8040d69f00, 
    l=0xfffffe80b6971920, sy=0xffffffff80a0a690 <sysent+1296>)
    at /usr/src/sys/sys/syscallvar.h:94
#28 syscall (frame=0xfffffe8040d69f00)
    at /usr/src/sys/arch/x86/x86/syscall.c:144
#29 0xffffffff80200771 in Xsyscall ()


--- dmesg of the machine ------------------------------------------

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 7.99.72 (CACTUS) #0: Wed May 24 00:22:47 CEST 2017
	troot@cactus:/usr/obj/sys/arch/amd64/compile/CACTUS
total memory = 3457 MB
avail memory = 3347 MB
cpu_rng: RDRAND
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Generic PC
mainbus0 (root)
ACPI: RSDP 0x00000000000F0490 000024 (v02 ALASKA)
ACPI: XSDT 0x00000000D86DD080 00007C (v01 ALASKA A M I    01072009 AMI  00010013)
ACPI: FACP 0x00000000D86EB628 00010C (v05 ALASKA A M I    01072009 AMI  00010013)
ACPI: DSDT 0x00000000D86DD198 00E48A (v02 ALASKA A M I    00000031 INTL 20091112)
ACPI: FACS 0x00000000D8C2B080 000040
ACPI: APIC 0x00000000D86EB738 000072 (v03 ALASKA A M I    01072009 AMI  00010013)
ACPI: FPDT 0x00000000D86EB7B0 000044 (v01 ALASKA A M I    01072009 AMI  00010013)
ACPI: LPIT 0x00000000D86EB7F8 00005C (v01 ALASKA A M I    00000000 AMI. 00000005)
ACPI: SSDT 0x00000000D86EB858 000539 (v01 PmRef  Cpu0Ist  00003000 INTL 20091112)
ACPI: SSDT 0x00000000D86EBD98 000AD8 (v01 PmRef  CpuPm    00003000 INTL 20091112)
ACPI: MCFG 0x00000000D86EC870 00003C (v01 ALASKA A M I    01072009 MSFT 00000097)
ACPI: HPET 0x00000000D86EC8B0 000038 (v01 ALASKA A M I    01072009 AMI. 00000005)
ACPI: SSDT 0x00000000D86EC8E8 00036D (v01 SataRe SataTabl 00001000 INTL 20091112)
ACPI: SSDT 0x00000000D86ECC58 0034E1 (v01 SaSsdt SaSsdt   00003000 INTL 20091112)
ACPI: ASF! 0x00000000D86F0198 0000A5 (v32 INTEL   HCG     00000001 TFSM 000F4240)
ACPI: Executed 1 blocks of module-level executable AML code
ACPI: 5 ACPI AML tables successfully acquired and loaded
ioapic0 at mainbus0 apid 8: pa 0xfec00000, version 0x20, 24 pins
cpu0 at mainbus0 apid 0
cpu0: Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz, id 0x306c3
cpu0: package 0, core 0, smt 0
cpu1 at mainbus0 apid 2
cpu1: Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz, id 0x306c3
cpu1: package 0, core 1, smt 0
cpu2 at mainbus0 apid 1
cpu2: Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz, id 0x306c3
cpu2: package 0, core 0, smt 1
cpu3 at mainbus0 apid 3
cpu3: Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz, id 0x306c3
cpu3: package 0, core 1, smt 1
acpi0 at mainbus0: Intel ACPICA 20170303
acpi0: X/RSDT: OemId <ALASKA,   A M I,01072009>, AslId <AMI ,00010013>
acpi0: MCFG: segment 0, bus 0-63, address 0x00000000f8000000
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFE80D7988010 0003D3 (v01 PmRef  Cpu0Cst  00003001 INTL 20091112)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFE80400BC810 0005AA (v01 PmRef  ApIst    00003000 INTL 20091112)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFE8040034810 000119 (v01 PmRef  ApCst    00003000 INTL 20091112)
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
acpiec0 at acpi0 (H_EC, PNP0C09-1)acpiec0: unable to evaluate _GPE: AE_NOT_FOUND
TPMX (PNP0C01) at acpi0 not configured
FWHD (INT0800) at acpi0 not configured
LDRC (PNP0C02) at acpi0 not configured
attimer0 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
CWDT (INT3F0D) at acpi0 not configured
SIO1 (PNP0C02) at acpi0 not configured
RMSC (PNP0C02) at acpi0 not configured
PDRC (PNP0C02) at acpi0 not configured
acpivga0 at acpi0 (GFX0): ACPI Display Adapter
acpiout0 at acpivga0 (DD01, 0x0100): ACPI Display Output Device
acpiout1 at acpivga0 (DD02, 0x0002): ACPI Display Output Device
acpiout2 at acpivga0 (DD03, 0x0300): ACPI Display Output Device
acpiout3 at acpivga0 (DD04, 0x0301): ACPI Display Output Device
acpiout4 at acpivga0 (DD05, 0x0302): ACPI Display Output Device
acpiout5 at acpivga0 (DD06, 0x0303): ACPI Display Output Device
acpiout6 at acpivga0 (DD07, 0x0304): ACPI Display Output Device
acpiout7 at acpivga0 (DD08, 0x0305): ACPI Display Output Device
acpiout8 at acpivga0 (DD09, 0x0009): ACPI Display Output Device
acpiout9 at acpivga0 (DD0A, 0x000a): ACPI Display Output Device
acpiout10 at acpivga0 (DD0B, 0x000b): ACPI Display Output Device
acpiout11 at acpivga0 (DD0C, 0x000c): ACPI Display Output Device
acpiout12 at acpivga0 (DD0D, 0x000d): ACPI Display Output Device
acpiout13 at acpivga0 (DD0E, 0x000e): ACPI Display Output Device
acpiout14 at acpivga0 (DD0F, 0x000f): ACPI Display Output Device
acpiout15 at acpivga0 (DD1F, 0x0400): ACPI Display Output Device
acpiout15: brightness levels: [0-100]
acpivga0: unknown output device acpiout0
acpivga0: unknown output device acpiout1
acpivga0: unknown output device acpiout2
acpivga0: unknown output device acpiout3
acpivga0: unknown output device acpiout4
acpivga0: unknown output device acpiout5
acpivga0: unknown output device acpiout6
acpivga0: unknown output device acpiout7
acpivga0: unknown output device acpiout8
acpivga0: unknown output device acpiout9
acpivga0: unknown output device acpiout10
acpivga0: unknown output device acpiout11
acpivga0: unknown output device acpiout12
acpivga0: unknown output device acpiout13
acpivga0: unknown output device acpiout14
acpivga0: connected output devices:
acpivga0:   0x0400 (acpiout15): Unknown Output Device, head 0
acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
acpifan0 at acpi0 (FAN0, PNP0C0B-0): ACPI Fan
acpifan1 at acpi0 (FAN1, PNP0C0B-1): ACPI Fan
acpifan2 at acpi0 (FAN2, PNP0C0B-2): ACPI Fan
acpifan3 at acpi0 (FAN3, PNP0C0B-3): ACPI Fan
acpifan4 at acpi0 (FAN4, PNP0C0B-4): ACPI Fan
acpitz0 at acpi0 (TZ00)
acpitz0: active cooling level 0: 80.0C
acpitz0: active cooling level 1: 55.0C
acpitz0: active cooling level 2: 0.0C
acpitz0: active cooling level 3: 0.0C
acpitz0: active cooling level 4: 0.0C
acpitz0: levels: critical 105.0 C
acpitz1 at acpi0 (TZ01): cpu0 cpu1 cpu2 cpu3
acpitz1: levels: critical 105.0 C, passive 108.0 C, passive cooling
acpiwmi0 at acpi0 (AMW0, PNP0C14-ASUSWMI): ACPI WMI Interface
wmieeepc0 at acpiwmi0: Asus Eee PC WMI mappings
apm0 at acpi0: Power Management spec V1.2
ACPI: Enabled 5 GPEs in block 00 to 3F
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 8086 product 0c00 (rev. 0x06)
ppb0 at pci0 dev 1 function 0: vendor 8086 product 0c01 (rev. 0x06)
ppb0: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x16 @ 8.0GT/s
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
i915drmkms0 at pci0 dev 2 function 0: vendor 8086 product 041e (rev. 0x06)
drm: Memory usable by graphics device = 2048M
drm: Supports vblank timestamp caching Rev 2 (21.10.2013).
drm: Driver supports precise vblank timestamp query.
i915drmkms0: interrupting at msi0 vec 0 (i915)
intelfb0 at i915drmkms0
i915drmkms0: info: registered panic notifier
i915drmkms0: More than 8 outputs detected via ACPI
intelfb0: framebuffer at 0xffff80003da16000, size 1280x1024, depth 32, stride 5120
wsdisplay0 at intelfb0 kbdmux 1: console (default, vt100 emulation)
wsmux1: connecting to wsdisplay0
xhci0 at pci0 dev 20 function 0: vendor 8086 product 8c31 (rev. 0x05)
xhci_pci_attach: csr: 02900006
xhci0: interrupting at msi1 vec 0
xhci0: xHCI version 1.0
usb0 at xhci0: USB revision 3.0
usb1 at xhci0: USB revision 2.0
vendor 8086 product 8c3a (miscellaneous communications, revision 0x04) at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0: vendor 8086 product 8c2d (rev. 0x05)
ehci0: interrupting at ioapic0 pin 20
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
usb2 at ehci0: USB revision 2.0
hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
hdaudio0: interrupting at msi2 vec 0
hdafg0 at hdaudio0: vendor 10ec product 0887
hdafg0: DAC00 2ch: Speaker [Jack]
hdafg0: DAC01 2ch: HP Out [Jack]
hdafg0: DIG02 2ch: SPDIF Out [Built-In]
hdafg0: ADC03 2ch: Line In [Jack], Mic In [Jack]
hdafg0: ADC04 2ch: Mic In [Jack]
hdafg0: 2ch/2ch 32000Hz 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
audio0 at hdafg0: full duplex, playback, capture, mmap, independent
hdafg0: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 48000
ppb1 at pci0 dev 28 function 0: vendor 8086 product 8c10 (rev. 0xd5)
ppb1: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 5.0GT/s
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
ppb2 at pci0 dev 28 function 2: vendor 8086 product 8c14 (rev. 0xd5)
ppb2: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 5.0GT/s
ppb2: link is x1 @ 2.5GT/s
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
re0 at pci3 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x0c)
re0: interrupting at msi3 vec 0
re0: Ethernet address 1c:87:2c:43:d4:37
re0: using 256 tx descriptors
rgephy0 at re0 phy 7: RTL8251 1000BASE-T media interface, rev. 0
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
ppb3 at pci0 dev 28 function 3: vendor 8086 product 244e (rev. 0xd5)
ppb3: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 5.0GT/s
ppb3: link is x1 @ 2.5GT/s
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
ppb4 at pci4 dev 0 function 0: vendor 1b21 product 1080 (rev. 0x04)
pci5 at ppb4 bus 5
pci5: i/o space, memory space enabled, rd/line, wr/inv ok
re1 at pci5 dev 0 function 0: D-Link DGE-528T Gigabit Ethernet (rev. 0x10)
re1: interrupting at ioapic0 pin 19
re1: Ethernet address 78:54:2e:12:79:8f
re1: using 256 tx descriptors
rgephy1 at re1 phy 7: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 3
rgephy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
rtk0 at pci5 dev 1 function 0: Realtek 8139 10/100BaseTX (rev. 0x10)
rtk0: interrupting at ioapic0 pin 16
rtk0: Ethernet address 00:50:fc:3c:5c:6d
rlphy0 at rtk0 phy 7: Realtek internal PHY
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ehci1 at pci0 dev 29 function 0: vendor 8086 product 8c26 (rev. 0x05)
ehci1: interrupting at ioapic0 pin 23
ehci1: BIOS has given up ownership
ehci1: EHCI version 1.0
usb3 at ehci1: USB revision 2.0
ichlpcib0 at pci0 dev 31 function 0: vendor 8086 product 8c50 (rev. 0x05)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
ahcisata0 at pci0 dev 31 function 2: vendor 8086 product 8c02 (rev. 0x05)
ahcisata0: interrupting at ioapic0 pin 19
ahcisata0: 64-bit DMA
ahcisata0: AHCI revision 1.30, 6 ports, 32 slots, CAP 0xc330ff45<EMS,PSC,SSC,PMD,ISS=0x3=Gen3,SCLO,SAL,SNCQ,S64A>
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 1
atabus2 at ahcisata0 channel 2
atabus3 at ahcisata0 channel 3
ichsmb0 at pci0 dev 31 function 3: vendor 8086 product 8c22 (rev. 0x05)
ichsmb0: interrupting at ioapic0 pin 18
iic0 at ichsmb0: I2C bus
isa0 at ichlpcib0
pckbc0 at isa0 port 0x60-0x64
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: FFH, lat   1 us, pow  1000 mW
acpicpu0: C2: FFH, lat 148 us, pow   200 mW
acpicpu0: P0: FFH, lat  10 us, pow 54000 mW, 3600 MHz
acpicpu0: P1: FFH, lat  10 us, pow 49609 mW, 3400 MHz
acpicpu0: P2: FFH, lat  10 us, pow 45377 mW, 3200 MHz
acpicpu0: P3: FFH, lat  10 us, pow 41815 mW, 3000 MHz
acpicpu0: P4: FFH, lat  10 us, pow 39829 mW, 2900 MHz
acpicpu0: P5: FFH, lat  10 us, pow 36458 mW, 2700 MHz
acpicpu0: P6: FFH, lat  10 us, pow 32748 mW, 2500 MHz
acpicpu0: P7: FFH, lat  10 us, pow 29177 mW, 2300 MHz
acpicpu0: P8: FFH, lat  10 us, pow 26204 mW, 2100 MHz
acpicpu0: P9: FFH, lat  10 us, pow 22916 mW, 1900 MHz
acpicpu0: P10: FFH, lat  10 us, pow 20193 mW, 1700 MHz
acpicpu0: P11: FFH, lat  10 us, pow 17168 mW, 1500 MHz
acpicpu0: P12: FFH, lat  10 us, pow 15710 mW, 1400 MHz
acpicpu0: P13: FFH, lat  10 us, pow 13290 mW, 1200 MHz
acpicpu0: P14: FFH, lat  10 us, pow 10588 mW, 1000 MHz
acpicpu0: P15: FFH, lat  10 us, pow  8400 mW,  800 MHz
coretemp0 at cpu0: thermal sensor, 1 C resolution, Tjmax=100
acpicpu1 at cpu1: ACPI CPU
coretemp1 at cpu1: thermal sensor, 1 C resolution, Tjmax=100
acpicpu2 at cpu2: ACPI CPU
acpicpu3 at cpu3: ACPI CPU
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 3591842940 Hz quality 3000
uhub0 at usb0: vendor 8086 (0x8086) xHCI Root Hub (0000), class 9/0, rev 1.00/1.00, addr 0
uhub0: 6 ports with 6 removable, self powered
uhub1 at usb1: vendor 8086 (0x8086) xHCI Root Hub (0000), class 9/0, rev 2.00/1.00, addr 0
uhub1: 12 ports with 12 removable, self powered
uhub2 at usb2: vendor 8086 (0x8086) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub3 at usb3: vendor 8086 (0x8086) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ahcisata0 port 0: device present, speed: 6.0Gb/s
ahcisata0 port 1: device present, speed: 6.0Gb/s
ahcisata0 port 2: device present, speed: 3.0Gb/s
ahcisata0 port 3: device present, speed: 3.0Gb/s
drm: Enabling RC6 states: RC6 on, RC6p off, RC6pp off
wd0 at atabus0 drive 0
wd0: <Samsung SSD 850 EVO 250GB>
wd0: drive supports 1-sector PIO transfers, LBA48 addressing
wd0: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd1 at atabus1 drive 0
wd1: <Samsung SSD 850 EVO 250GB>
wd1: drive supports 1-sector PIO transfers, LBA48 addressing
wd1: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd1(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd2 at atabus2 drive 0
wd2: <WDC WD2503ABYX-01WERA1>
wd2: drive supports 16-sector PIO transfers, LBA48 addressing
wd2: 233 GB, 486459 cyl, 16 head, 63 sec, 512 bytes/sect x 490350672 sectors
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd2(ahcisata0:2:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd3 at atabus3 drive 0
wd3: <MAXTOR STM3250310AS>
wd3: drive supports 16-sector PIO transfers, LBA48 addressing
wd3: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
wd3: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd3(ahcisata0:3:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
uhidev0 at uhub1 port 3 configuration 1 interface 0
uhidev0: Sun Microsystems (0x430) Type 6 USB mouse (0x100), rev 1.00/1.02, addr 1, iclass 3/1
ums0 at uhidev0: 3 buttons
wsmouse0 at ums0 mux 0
uhub4 at uhub2 port 1: Intel (0x8087) product 8008 (0x8008), class 9/0, rev 2.00/0.05, addr 2
uhub4: single transaction translator
uhub5 at uhub3 port 1: Intel (0x8087) product 8000 (0x8000), class 9/0, rev 2.00/0.05, addr 2
uhub5: single transaction translator
uhub4: 6 ports with 6 removable, self powered
uhub5: 6 ports with 6 removable, self powered
uhidev1 at uhub1 port 4 configuration 1 interface 0
uhidev1: Sun Microsystems (0x430) Type 6 USB keyboard (0x05), rev 1.00/1.02, addr 2, iclass 3/1
ukbd0 at uhidev1
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uplcom0 at uhub1 port 10
uplcom0: Prolific Technology Inc. (0x67b) USB-Serial Controller (0x2303), rev 1.10/3.00, addr 3
ucom0 at uplcom0
Component on: wd1a: 488397105
   Row: 0 Column: 0 Num Rows: 1 Num Columns: 3
   Version: 2 Serial Number: 20110601 Mod Counter: 9701
   Clean: No Status: 0
   sectPerSU: 32 SUsPerPU: 1 SUsPerRU: 1
   RAID Level: 5  blocksize: 512 numBlocks: 488397024
   Autoconfig: No
   Root partition: No
   Last configured as: raid0
Component on: wd2a: 488397105
   Row: 0 Column: 1 Num Rows: 1 Num Columns: 3
   Version: 2 Serial Number: 20110601 Mod Counter: 9701
   Clean: No Status: 0
   sectPerSU: 32 SUsPerPU: 1 SUsPerRU: 1
   RAID Level: 5  blocksize: 512 numBlocks: 488397024
   Autoconfig: No
   Root partition: No
   Last configured as: raid0
Component on: wd3a: 488397105
   Row: 0 Column: 2 Num Rows: 1 Num Columns: 3
   Version: 2 Serial Number: 20110601 Mod Counter: 9701
   Clean: No Status: 0
   sectPerSU: 32 SUsPerPU: 1 SUsPerRU: 1
   RAID Level: 5  blocksize: 512 numBlocks: 488397024
   Autoconfig: No
   Root partition: No
   Last configured as: raid0
Found: wd1a at 0
Found: wd2a at 1
Found: wd3a at 2
WARNING: 17 errors while detecting hardware; check system log.
boot device: wd0
root on wd0a dumps on wd0b
dump_misc_init: max_paddr = 0xda000000
mountroot: trying lfs...
mountroot: trying ffs...
/: replaying log to memory
root file system type: ffs
kern.module.path=/stand/amd64/7.99.72/modules
init: copying out path `/sbin/init' 11
/: replaying log to disk
raid0: Summary of serial numbers:
20110601 3
raid0: Summary of mod counters:
9701 3
raid0: Component /dev/wd1a being configured at col: 0
         Column: 0 Num Columns: 3
         Version: 2 Serial Number: 20110601 Mod Counter: 9701
         Clean: No Status: 0
/dev/wd1a is not clean!
raid0: Component /dev/wd2a being configured at col: 1
         Column: 1 Num Columns: 3
         Version: 2 Serial Number: 20110601 Mod Counter: 9701
         Clean: No Status: 0
/dev/wd2a is not clean!
raid0: Component /dev/wd3a being configured at col: 2
         Column: 2 Num Columns: 3
         Version: 2 Serial Number: 20110601 Mod Counter: 9701
         Clean: No Status: 0
/dev/wd3a is not clean!
raid0: allocating 30 buffers of 16384 bytes.
raid0: RAID Level 5
raid0: Components: /dev/wd1a /dev/wd2a /dev/wd3a
raid0: Total Sectors: 976794048 (476950 MB)
/usr: replaying log to disk
rtk0: link state UP (was UNKNOWN)
re0: link state UP (was UNKNOWN)
re1: link state UP (was UNKNOWN)
wsdisplay0: screen 1 added (default, vt100 emulation)
wsdisplay0: screen 2 added (default, vt100 emulation)
wsdisplay0: screen 3 added (default, vt100 emulation)
wsdisplay0: screen 4 added (default, vt100 emulation)
/home: replaying log to disk


--- config --------------------------------------------------------

#
# Cactus kernel configuration file
#

include		"arch/amd64/conf/std.amd64"

options         INCLUDE_CONFIG_FILE     # embed config file in kernel binary

#ident		"Cactus"

maxusers	64		# estimated number of users

# Standard system options

options		INSECURE	# disable kernel security levels

options		RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
options		NTP		# NTP phase/frequency locked loop

options		KTRACE		# system call tracing via ktrace(1)

options         CPU_UCODE       # cpu ucode loading support

options		SYSVMSG		# System V-like message queues
options		SYSVSEM		# System V-like semaphores
options		SYSVSHM		# System V-like memory sharing

options		MODULAR		# loadable kernel modules
options		SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel

# Alternate buffer queue strategies for better responsiveness under high
# disk I/O load.
options         BUFQ_PRIOCSCAN

# Beep when it is safe to power down the system (requires sysbeep)
options		BEEP_ONHALT

# Diagnostic/debugging support options
makeoptions     COPTS="-O2 -fno-omit-frame-pointer"
#options	DIAGNOSTIC	# expensive kernel consistency checks
options	DEBUG		# expensive debugging checks/support
#options	LOCKDEBUG	# expensive locking checks/support
#options	KMEMSTATS	# kernel memory statistics (vmstat -m)
options         UVMHIST
options		DDB		# in-kernel debugger
options		DDB_HISTORY_SIZE=512	# enable history editing in DDB
makeoptions	DEBUG="-g"	# compile full symbol table

# Compatibility options
options		COMPAT_60	# NetBSD 6.0
options		COMPAT_70	# NetBSD 7.0 compatibility.

options		COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
#options         COMPAT_NETBSD32
#options         EXEC_ELF32
options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

# File systems
file-system	FFS		# UFS
file-system	LFS		# log-structured file system
file-system	MFS		# memory file system
file-system	NFS		# Network File System client
file-system	CD9660		# ISO 9660 + Rock Ridge file system
file-system	MSDOSFS		# MS-DOS file system
file-system	KERNFS		# /kern
file-system	NULLFS		# loopback file system
file-system	PROCFS		# /proc
file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
file-system	UNION		# union file system
file-system	PTYFS		# /dev/ptm support
file-system	TMPFS		# Efficient memory file-system

# File system options
options		WAPBL		# File system journaling support - Experimental
options		NFSSERVER	# Network File System server

# Networking options
options		GATEWAY		# packet forwarding
options		NMBCLUSTERS=4096
options		INET		# IP + ICMP + TCP + UDP
options		INET6		# IPV6
options		PFIL_HOOKS	# pfil(9) packet filter hooks
options		IPFILTER_LOG	# ipmon(8) log support
options		BPFJIT
options		SLJIT

# ALTQ options
#options 	ALTQ		# Manipulate network interfaces' output queues
#options 	ALTQ_BLUE	# Stochastic Fair Blue
#options 	ALTQ_CBQ	# Class-Based Queueing
#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
#options 	ALTQ_FIFOQ	# First-In First-Out Queue
#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
#options 	ALTQ_LOCALQ	# Local queueing discipline
#options 	ALTQ_PRIQ	# Priority Queueing
#options 	ALTQ_RED	# Random Early Detection
#options 	ALTQ_RIO	# RED with IN/OUT
#options 	ALTQ_WFQ	# Weighted Fair Queueing

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options		ACPIVERBOSE	# verbose ACPI device autoconfig messages
options		EISAVERBOSE	# verbose EISA device autoconfig messages
options		MIIVERBOSE	# verbose PHY autoconfig messages
options		PCIVERBOSE	# verbose PCI device autoconfig messages
#options	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
options		SCSIVERBOSE	# human readable SCSI error messages
options		USBVERBOSE	# verbose USB device autoconfig messages
#options	PNPBIOSVERBOSE	# verbose PnP BIOS messages
#options	PNPBIOSDEBUG	# more fulsome PnP BIOS debugging messages
options		I2OVERBOSE	# verbose I2O driver messages
options		MCAVERBOSE	# verbose MCA device autoconfig messages


#
# wscons options
#
# builtin terminal emulations
options		WSEMUL_VT100		# VT100 / VT220 emulation
options		WS_KERNEL_FG=WSCOL_GREEN
# compatibility to other console drivers
options		WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
options		WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
options		WSDISPLAY_COMPAT_USL		# VT handling
options		WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
# see dev/pckbc/wskbdmap_mfii.c for implemented layouts
#options	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
# allocate a number of virtual screens at autoconfiguration time
#options	WSDISPLAY_DEFAULTSCREENS=4
# use a large software cursor that doesn't blink
#options	PCDISPLAY_SOFTCURSOR
options		WSDISPLAY_SCROLLSUPPORT

# Kernel root file system and dump configuration.
config		netbsd	root on ? type ?


#
# Device configuration
#

# CPU features
acpicpu*	at cpu?		# ACPI CPU (including frequency scaling)
coretemp*	at cpu?		# Intel on-die thermal sensor


# Basic Bus Support

acpi0		at mainbus0
options		ACPI_SCANPCI
options		VGA_POST

# ACPI devices
apm*		at acpi?		# ACPI apm emulation
acpibut*	at acpi?		# ACPI Button
acpiec*		at acpi?		# ACPI Embedded Controller (late)
acpifan*        at acpi?		# ACPI Fan
acpitz*		at acpi?		# ACPI Thermal Zone
acpivga*	at acpi?		# ACPI Display Adapter
acpiout*	at acpivga?		# ACPI Display Output Device
acpiwmi*	at acpi?		# ACPI WMI Mapper
wmieeepc*	at acpiwmibus?		# Asus Eee PC WMI mappings

# Mainboard devices
aibs*		at acpi?		# ASUSTeK AI Booster hardware monitor
attimer*	at acpi?		# AT Timer
pcppi*		at acpi?		# AT-style speaker sound
hpet*		at acpihpetbus?		# High Precision Event Timer (table)
hpet*		at acpinodebus?		# High Precision Event Timer (device)

# PCI bus support
pci*	at mainbus? bus ?
pci*	at pchb? bus ?
pci*	at ppb? bus ?

# PCI bridges
pchb*	at pci? dev ? function ?	# PCI-Host bridges
ppb*	at pci? dev ? function ?	# PCI-PCI bridges
ichlpcib* at pci? dev ? function ?	# Intel ICH PCI-LPC w/ timecounter,
					# watchdog, gpio, SpeedStep and HPET

agp*	at pchb?			# needed for drmkms

# ISA bus support
isa0    at ichlpcib?


# Console Devices

# wscons
pckbc0		at isa?			# pc keyboard controller
pckbd*		at pckbc?		# PC keyboard
vga*		at pci? dev ? function ?
wsdisplay*	at vga? console ?
wsdisplay*      at wsemuldisplaydev?
wskbd*		at pckbd? console ?
options		VCONS_DRAW_INTR

sysbeep0	at pcppi?

# DRMKMS drivers
i915drmkms*     at pci? dev ? function ?
intelfb*        at intelfbbus?


# Hardware monitors

# Intel ICH SMBus controller
ichsmb* at pci? dev ? function ?
iic*    at ichsmb?

# GPIO devices
gpio*   at gpiobus?

# i2c support
gpioiic*	at gpio? offset ? mask ? flag 0x00	# flag 0x01 reverses
							# SCA and SCL signals
iic*		at gpioiic?

# SCSI bus support
scsibus* at scsi?

# SCSI devices
sd*	at scsibus? target ? lun ?	# SCSI disk drives

# IDE and related devices
ahcisata*	at pci? dev ? function ?	# AHCI SATA controllers

# ATA (IDE) bus support
atabus* at ata?

# IDE drives
# Flags are used only with controllers that support DMA operations
# and mode settings (e.g. some pciide controllers)
# The lowest order four bits (rightmost digit) of the flags define the PIO
# mode to use, the next set of four bits the DMA mode and the third set the
# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
# to use, and the last bit must be 1 for this setting to be used.
# For DMA and UDMA, 0xf (1111) means 'disable'.
# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
# (0xc=1100, 0xa=1010, 0xf=1111)
# 0x0000 means "use whatever the drive claims to support".
wd0	at atabus0 drive 0 flags 0x0000
wd1	at atabus1 drive 0 flags 0x0000
wd2	at atabus2 drive 0 flags 0x0000
wd3	at atabus3 drive 0 flags 0x0000
wd*	at atabus? drive ? flags 0x0000

# Network Interfaces

# PCI network interfaces
re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
rtk*	at pci? dev ? function ?	# Realtek 8129/8139


# MII/PHY support
rgephy* at mii? phy ?			# Realtek 8169S/8110S internal PHYs
rlphy*	at mii? phy ?			# generic unknown PHYs

# USB Controller and Devices

# PCI USB controllers
xhci*	at pci? dev ? function ?	# eXtensible Host Controller
ehci*	at pci?	dev ? function ?	# Enhanced Host Controller

# USB bus support
usb*	at xhci?
usb*	at ehci?

# USB Hubs
uhub*	at usb?
uhub*	at uhub? port ? configuration ? interface ?

# USB HID device
uhidev*	at uhub? port ? configuration ? interface ?

# USB Keyboards
ukbd*	at uhidev? reportid ?
wskbd*	at ukbd? console ? mux 1

# USB Mice
ums*	at uhidev? reportid ?
wsmouse* at ums? mux 0

# USB Generic HID devices
uhid*	at uhidev? reportid ?

# USB Mass Storage
umass*	at uhub? port ? configuration ? interface ?
wd* at umass?

# USB audio
options UAUDIO_MULTIPLE_ENDPOINTS
uaudio*	at uhub? port ? configuration ?

# Serial adapters
uplcom* at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
ucom*	at uplcom? portno ?

# USB Generic driver
ugen*	at uhub? port ?

# Audio Devices

# High Definition Audio
hdaudio*	at pci? dev ? function ?	# High Definition Audio
hdafg*		at hdaudiobus?

# Audio support
audio*	at audiobus?

# MIDI support
midi*		at pcppi?		# MIDI interface to the PC speaker

# Bluetooth USB Controllers
ubt*		at uhub? port ?

# Bluetooth Device Hub
bthub*		at ubt?

# Bluetooth HID support
bthidev*	at bthub?

# Pseudo-Devices

# disk/mass storage pseudo-devices
pseudo-device	raid			# RAIDframe disk driver
options		RAID_AUTOCONFIG		# auto-configuration of RAID components
pseudo-device	putter			# for puffs and pud

pseudo-device	md			# memory disk device (ramdisk)
pseudo-device	vnd			# disk-like interface to files

# network pseudo-devices
pseudo-device	bpfilter		# Berkeley packet filter
pseudo-device	npf			# NPF packet filter
pseudo-device	loop			# network loopback
pseudo-device	tun			# network tunneling over tty
pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
pseudo-device	vlan			# IEEE 802.1q encapsulation

# accept filters
pseudo-device	accf_data		# "dataready" accept filter
pseudo-device	accf_http		# "httpready" accept filter

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
pseudo-device	sequencer		# MIDI sequencer
pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	ksyms			# /dev/ksyms

# wscons pseudo-devices
pseudo-device	wsmux			# mouse & keyboard multiplexor
pseudo-device	wsfont

# userland interface to drivers, including autoconf and properties retrieval
pseudo-device	drvctl

options         PAX_MPROTECT=0          # PaX mprotect(2) restrictions



Home | Main Index | Thread Index | Old Index