On 14/10/17(Sat) 09:28, Stuart Henderson wrote:
> I recently updated my home router from a kernel from the start of September
> (unfortunately I don't have the exact date, /var/log/messages has rotated
> past it now) which has been stable, to a snap from yesterday (Oct 13
> 00:44:27 MDT). No config changes between the two. It hanged overnight,
> but no problem breaking into DDB - active processes were as follows:
>
> cpu0 *14082 132485 0 0 7 0x14200 crynlk
> cpu1 *41805 102650 0 0 7 0x14200 softnet
> cpu2 *66681 14337 1 62 7 0x100010 spamlogd
> cpu3 *45718 198519 56334 0 7 0x2 perl
>
> ps/reg/malloc/pools/dmesg below, though I don't think there is anything
> interesting there really.
>
> Hardware is nothing fancy - amd64 APU2. Running isakmpd, pppoe, flow queues.
>
> Any suggestions? Might WITNESS give some clues? If so, how do I use it
> - just build a kernel with it, or is there more to it?
trace /p for the active processes might give some hints.
With WITNESS you can do "show locks" for these threads as well.
>
> ddb{0}> ps
> PID TID PPID UID S FLAGS WAIT COMMAND
> 45718 198519 56334 0 7 0x2 perl
> 56334 324801 76798 0 3 0x10008a pause sh
> 76798 87108 60759 0 3 0x10008a pause sh
> 60759 426593 16212 0 3 0x100090 piperd cron
> 92892 381720 1 0 2 0x100083 getty
> 16212 130985 1 0 3 0x100098 poll cron
> 91 472817 1 0 3 0x80 kqread dhcpcd
> 61423 466425 86840 720 3 0x90 kqread lldpd
> 86840 364972 1 0 3 0x80 netio lldpd
> 78673 464859 1 792 3 0x90 kqread mcast-proxy
> 18565 116347 1 0 3 0x80 bpf arpwatch
> 30974 206672 1 99 3 0x100090 poll sndiod
> 36550 266950 1 110 3 0x100090 poll sndiod
> 66681 14337 1 62 7 0x100010 spamlogd
> 91575 360470 88586 62 3 0x100090 piperd spamd
> 71433 497288 88586 62 3 0x100090 poll spamd
> 88586 416661 1 62 3 0x100090 nanosleep spamd
> 76977 117400 41106 29 3 0x90 kqread identd
> 41106 142293 1 29 3 0x100090 kqread identd
> 8248 75494 90550 0 3 0x100090 kqread tftp-proxy
> 90550 440935 1 108 3 0x90 kqread tftp-proxy
> 63750 372571 1 109 3 0x90 kqread ftp-proxy
> 94159 190514 1 109 3 0x90 kqread ftp-proxy
> 48541 3083 98343 95 3 0x100092 kqread smtpd
> 18359 133726 98343 103 3 0x100092 kqread smtpd
> 6230 117200 98343 95 3 0x100092 kqread smtpd
> 49780 500826 98343 95 3 0x100092 kqread smtpd
> 53068 286155 98343 95 3 0x100092 kqread smtpd
> 88943 296653 98343 95 3 0x100092 kqread smtpd
> 98343 447805 1 0 3 0x100080 kqread smtpd
> 59312 339655 1 92 3 0x100090 kqread rtadvd
> 86204 263967 1 77 3 0x100090 poll dhcpd
> 7517 496018 1 0 3 0x100080 kqread snmpd
> 3009 496385 1 91 3 0x100092 kqread snmpd
> 79628 230674 1 91 3 0x92 kqread snmpd
> 368 10931 1 0 3 0x80 select sshd
> 7060 314871 13173 0 3 0x80 netio npppd
> 13173 473000 1 82 3 0x90 kqread npppd
> 84983 510820 78829 68 3 0x90 select isakmpd
> 78829 2568 1 0 3 0x80 netio isakmpd
> 88398 213247 1 0 3 0x100080 poll ntpd
> 48325 84232 89561 83 3 0x100092 poll ntpd
> 89561 242223 1 83 3 0x100092 poll ntpd
> 56659 356633 1 53 3 0x90 kqread unbound
> 81240 286727 4409 73 3 0x100090 kqread syslogd
> 4409 492342 1 0 3 0x100082 netio syslogd
> 15203 497403 5654 115 3 0x100092 kqread slaacd
> 54606 412634 5654 115 3 0x100092 kqread slaacd
> 5654 96601 1 0 3 0x80 kqread slaacd
> 76899 9103 0 0 3 0x14200 pgzero zerothread
> 45904 133110 0 0 3 0x14200 aiodoned aiodoned
> 54815 289554 0 0 3 0x14200 syncer update
> 55819 362099 0 0 3 0x14200 cleaner cleaner
> 30534 437589 0 0 3 0x14200 reaper reaper
> 49327 342578 0 0 3 0x14200 pgdaemon pagedaemon
> *14082 132485 0 0 7 0x14200 crynlk
> 96267 114589 0 0 3 0x14200 bored crypto
> 8244 90834 0 0 3 0x14200 bored sensors
> 25855 292369 0 0 3 0x14200 mmctsk sdmmc0
> 76029 207279 0 0 3 0x14200 usbtsk usbtask
> 73296 459832 0 0 3 0x14200 usbatsk usbatsk
> 35894 187652 0 0 3 0x40014200 acpi0 acpi0
> 53258 245926 0 0 3 0x40014200 idle3
> 51261 225558 0 0 3 0x40014200 idle2
> 39908 419336 0 0 3 0x40014200 idle1
> 41805 102650 0 0 7 0x14200 softnet
> 4927 389893 0 0 3 0x14200 bored systqmp
> 79240 154778 0 0 2 0x14200 systq
> 5846 510887 0 0 3 0x40014200 bored softclock
> 54239 17975 0 0 3 0x40014200 idle0
> 69371 134437 0 0 3 0x14200 bored sbar
> 1 54275 0 0 3 0x82 wait init
> 0 0 -1 0 3 0x10200 scheduler swapper
>
> ddb{0}> sh reg
> rdi 0x3f8
> rsi 0
> rbp 0xffff80001f8d99a8
> rbx 0xffff8000000b2000
> rdx 0x3f8
> rcx 0x202
> rax 0
> r8 0x293
> r9 0xffffffff81b0cfe8 sched_lock
> r10 0xffff80001f8d9c18
> r11 0x8
> r12 0xb20f9 acpi_pdirpa+0x9df61
> r13 0xffff8000000b6110
> r14 0x3f8
> r15 0xffffffff8187fbe8 x86_bus_space_io_ops
> rip 0xffffffff812e2545 db_enter+0x5
> cs 0x8
> rflags 0x202
> rsp 0xffff80001f8d99a8
> ss 0x10
> db_enter+0x5: popq %rbp
> ddb{0}> mach ddbcpu1
> No such command
> ddb{0}> mac ddbcpu 1
> Stopped at x86_ipi_db+0x5: popq %rbp
> ddb{1}> sh reg
> rdi 0xffff800000071000
> rsi 0
> rbp 0xffff80001f899698
> rbx 0x7
> rdx 0x1
> rcx 0x7
> rax 0xffffff7f
> r8 0x246
> r9 0xffffffff81b0cff0 sched_lock+0x8
> r10 0xc9d82a11cf1a79b
> r11 0xffff8000009d1a70
> r12 0
> r13 0xffffffff81a741b8 ipifunc+0x38
> r14 0xffff800000071000
> r15 0
> rip 0xffffffff812e2535 x86_ipi_db+0x5
> cs 0x8
> rflags 0x246
> rsp 0xffff80001f899698
> ss 0x10
> x86_ipi_db+0x5: popq %rbp
> ddb{1}> mac ddbcpu 2
> Stopped at x86_ipi_db+0x5: popq %rbp
> ddb{2}> sh r
> rdi 0xffff800000072000
> rsi 0
> rbp 0xffff80001fa6bb98
> rbx 0x7
> rdx 0x1
> rcx 0x7
> rax 0xffffff7f
> r8 0x246
> r9 0x1e46c1b9
> r10 0
> r11 0x202
> r12 0
> r13 0xffffffff81a741b8 ipifunc+0x38
> r14 0xffff800000072000
> r15 0
> rip 0xffffffff812e2535 x86_ipi_db+0x5
> cs 0x8
> rflags 0x246
> rsp 0xffff80001fa6bb98
> ss 0x10
> x86_ipi_db+0x5: popq %rbp
> ddb{2}> mac ddbcpu 3
> Stopped at x86_ipi_db+0x5: popq %rbp
> ddb{3}> sh r
> rdi 0xffff800000074000
> rsi 0
> rbp 0xffff80001fa138e8
> rbx 0x7
> rdx 0x1
> rcx 0x7
> rax 0xffffff7f
> r8 0x246
> r9 0
> r10 0x15206ddeda70
> r11 0x246
> r12 0
> r13 0xffffffff81a741b8 ipifunc+0x38
> r14 0xffff800000074000
> r15 0
> rip 0xffffffff812e2535 x86_ipi_db+0x5
> cs 0x8
> rflags 0x246
> rsp 0xffff80001fa138e8
> ss 0x10
>
>
> ddb{3}> sh malloc
> Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim
> devbuf 2323 5402K 5474K 78643K 3857 0 0
> pcb 103 21K 23K 78643K 3638 0 0
> rtable 400 22K 23K 78643K 137548 0 0
> ifaddr 139 24K 24K 78643K 144 0 0
> sysctl 2 0K 0K 78643K 2 0 0
> counters 59 62K 62K 78643K 59 0 0
> ioctlops 0 0K 4K 78643K 19827 0 0
> iov 0 0K 0K 78643K 1257 0 0
> mount 10 10K 10K 78643K 10 0 0
> vnodes 36 2K 74K 78643K 1217 0 0
> UFS quota 1 32K 32K 78643K 1 0 0
> UFS mount 41 77K 77K 78643K 41 0 0
> shm 2 1K 1K 78643K 2 0 0
> VM map 2 0K 0K 78643K 2 0 0
> sem 2 0K 0K 78643K 2 0 0
> dirhash 159 31K 36K 78643K 222 0 0
> ACPI 2589 303K 324K 78643K 7505 0 0
> file desc 4 3K 4K 78643K 6 0 0
> proc 28 14K 14K 78643K 28 0 0
> NFS srvsock 1 0K 0K 78643K 1 0 0
> NFS daemon 1 16K 16K 78643K 1 0 0
> ip_moptions 9 0K 0K 78643K 11 0 0
> in_multi 133 8K 8K 78643K 133 0 0
> ether_multi 67 2K 2K 78643K 67 0 0
> mrt 2 0K 0K 78643K 2 0 0
> ISOFS mount 1 32K 32K 78643K 1 0 0
> MSDOSFS mount 1 16K 16K 78643K 1 0 0
> ttys 384 1696K 1696K 78643K 384 0 0
> exec 0 0K 1K 78643K 5299 0 0
> pfkey data 6 0K 1K 78643K 5823 0 0
> tdb 17 20K 26K 78643K 891 0 0
> xform_data 29 0K 1K 78643K 21312 0 0
> pagedep 1 8K 8K 78643K 1 0 0
> inodedep 1 32K 32K 78643K 1 0 0
> newblk 1 0K 0K 78643K 1 0 0
> VM swap 7 158K 158K 78643K 7 0 0
> UVM amap 369 16K 34K 78643K 45066 0 0
> UVM aobj 2 2K 2K 78643K 2 0 0
> USB 39 21K 21K 78643K 47 0 0
> USB device 12 0K 0K 78643K 12 0 0
> memdesc 1 4K 4K 78643K 1 0 0
> crypto data 23 3K 4K 78643K 783 0 0
> IPsec creds 15 0K 1K 78643K 3516 0 0
> ip6_options 1 0K 5K 78643K 35539 0 0
> NDP 21 0K 1K 78643K 31 0 0
> temp 327 2164K 2228K 78643K 171966 0 0
> SYN cache 2 16K 16K 78643K 2 0 0
> ddb{3}> sh all pools
> Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
> ipsec policy 352 12 0 0 2 0 2 2 0 8 0
> arp 56 1446 0 1408 1 0 1 1 0 8 0
> inpcbpl 280 1989097 0 1989004 402 394 8 15 0 8 0
> plimitpl 152 241 0 210 2 0 2 2 0 8 0
> plcache 128 40 0 0 2 0 2 2 0 8 0
> rtentry 112 2312 0 2147 7 1 6 6 0 8 0
> syncache 264 914 0 914 904 904 0 1 0 8 0
> tcpqe 32 125 0 125 54 54 0 1 0 8 0
> tcpcb 560 1065 0 1051 880 879 1 2 0 8 0
> nd6 88 788 0 739 2 0 2 2 0 8 0
> cryptop 344 20140 0 20139 1727 1726 1 1 0 8 0
> pfstscr 40 127917 0 127230 39 21 18 26 0 8 0
> pffrag 96 1904 0 1904 842 842 0 1 0 200 0
> pffrnode 88 1904 0 1904 842 842 0 1 0 8 0
> pffrent 40 3974 0 3974 842 842 0 1 0 8 0
> pfosfp 40 846 0 423 5 0 5 5 0 8 0
> pfosfpen 112 1428 0 714 21 0 21 21 0 8 0
> pfrkcounters 104 10 0 0 1 0 1 1 0 8 0
> pfrke_plain 160 2299 0 53 95 1 94 94 0 8 0
> pfrktable 1344 1481 0 1467 2 0 2 2 0 8 0
> hfscintsc 48 2 0 0 1 0 1 1 0 8 0
> hfscclass 592 2 0 0 1 0 1 1 0 8 0
> pftag 88 5 0 0 1 0 1 1 0 8 0
> pfqueue 264 1 0 0 1 0 1 1 0 8 0
> pfruleitem 16 203829 0 203297 10 3 7 9 0 8 0
> pfstitem 24 1114473 0 1112395 80 56 24 48 0 8 0
> pfstkey 112 1114473 0 1112395 808 738 70 225 0 8 0
> pfstate 312 1021647 0 1019826 4563 4407 156 563 0 8 0
> pfsnitem 16 2636 0 2621 21 20 1 1 0 8 0
> pfsrctr 152 386 0 384 12 11 1 1 0 8 0
> pfrule 1360 374 0 42 31 3 28 29 0 8 0
> art_heap8 4096 1 0 0 1 0 1 1 0 8 0
> art_heap4 256 12230 0 11196 83 18 65 65 0 8 0
> art_table 32 12231 0 11196 9 0 9 9 0 8 0
> art_node 16 2312 0 2153 1 0 1 1 0 8 0
> dirhash 1024 389 0 100 44 3 41 41 0 8 3
> dino1pl 128 88463 0 64842 784 22 762 762 0 8 0
> ffsino 240 88463 0 64842 1415 25 1390 1390 0 8 0
> nchpl 144 96401 0 91773 209 37 172 172 0 8 0
> rtmask 32 7 0 0 1 0 1 1 0 8 0
> uvmvnodes 72 23647 0 0 430 0 430 430 0 8 0
> vnodes 192 23647 0 0 1183 0 1183 1183 0 8 0
> namei 1024 230286 0 230286 2296 2295 1 1 0 8 1
> percpumem 32 25 0 0 1 0 1 1 0 8 0
> aesni 560 586 0 572 2 0 2 2 1 8 0
> ehcixfer 264 39 0 37 1 0 1 1 0 8 0
> xhcixfer 240 21 0 20 1 0 1 1 0 8 0
> pfiaddrpl 120 8 0 0 1 0 1 1 0 8 0
> scxspl 192 63284 0 63283 2495 2493 2 2 0 8 1
> sigapl 432 6493 0 6443 7 0 7 7 0 8 0
> knotepl 112 152064 0 151912 41 35 6 8 0 8 0
> kqueuepl 56 29 0 3 1 0 1 1 0 8 0
> pipepl 112 8834 0 8827 2 1 1 1 0 8 0
> fdescpl 440 6494 0 6443 7 0 7 7 0 8 0
> filepl 112 2067333 0 2067051 43 34 9 12 0 8 0
> lockfpl 88 2924 0 2922 1 0 1 1 0 8 0
> sessionpl 112 1096 0 1064 1 0 1 1 0 8 0
> pgrppl 40 1132 0 1100 1 0 1 1 0 8 0
> ucredpl 96 3038 0 2981 2 0 2 2 0 8 0
> zombiepl 144 6443 0 6443 1569 1569 0 1 0 8 0
> processpl 736 6515 0 6443 8 0 8 8 0 8 0
> procpl 568 6515 0 6443 6 0 6 6 0 8 0
> srpgc 64 5 0 5 1 1 0 1 0 8 0
> sockpl 376 1992718 0 1992537 1346 1327 19 29 0 8 0
> mcl64k 65536 11 0 0 2 0 2 2 0 8 0
> mcl8k 8192 1 0 0 1 0 1 1 0 8 0
> mcl4k 4096 9 0 0 2 0 2 2 0 8 0
> mcl2k2 2112 25590 0 0 645 72 573 573 0 8 0
> mcl2k 2048 2474 0 0 24 17 7 9 0 8 0
> mtagpl 80 5402 0 0 1 0 1 1 0 8 0
> mbufpl 256 37027 0 0 653 110 543 543 0 8 0
> bufpl 256 44585 0 20947 1526 48 1478 1478 0 8 0
> anonpl 16 2641610 0 2623478 346 272 74 195 0 119 0
> amapchunkpl 152 63517 0 63084 99 81 18 80 0 158 0
> amappl16 192 19777 0 19466 24 8 16 23 0 8 0
> amappl15 184 694 0 690 2 1 1 2 0 8 0
> amappl14 176 997 0 995 282 281 1 2 0 8 0
> amappl13 168 1331 0 1323 2 1 1 2 0 8 0
> amappl12 160 587 0 584 3 2 1 2 0 8 0
> amappl11 152 4549 0 4545 3 2 1 3 0 8 0
> amappl10 144 6003 0 5976 5 3 2 4 0 8 0
> amappl9 136 1758 0 1750 4 3 1 4 0 8 0
> amappl8 128 4159 0 4139 75 74 1 45 0 8 0
> amappl7 120 4624 0 4583 4 2 2 4 0 8 0
> amappl6 112 6012 0 5971 5 3 2 5 0 8 0
> amappl5 104 3866 0 3800 6 4 2 6 0 8 0
> amappl4 96 35910 0 35688 11 5 6 10 0 8 0
> amappl3 88 10636 0 10597 15 13 2 11 0 8 0
> amappl2 80 161337 0 160798 30 18 12 25 0 8 0
> amappl1 72 1611774 0 1601625 1891 1704 187 283 0 8 0
> amappl 72 29792 0 29618 13 9 4 13 0 75 0
> dma4096 4096 1 0 1 1 1 0 1 0 8 0
> dma512 512 3 0 2 1 0 1 1 0 8 0
> dma256 256 10 0 10 1 1 0 1 0 8 0
> dma64 64 11 0 11 1 1 0 1 0 8 0
> dma32 32 9 0 9 1 1 0 1 0 8 0
> dma16 16 29 0 29 1 1 0 1 0 8 0
> aobjpl 64 1 0 0 1 0 1 1 0 8 0
> uaddrrnd 24 6494 0 6443 1 0 1 1 0 8 0
> uaddrbest 32 2 0 0 1 0 1 1 0 8 0
> uaddr 24 6494 0 6443 1 0 1 1 0 8 0
> vmmpekpl 168 531173 0 531122 3 0 3 3 0 8 0
> vmmpepl 168 2917939 0 2903170 11214 10551 663 1569 0 357 15
> vmsppl 256 6493 0 6443 4 0 4 4 0 8 0
> pdppl 4096 6493 0 6443 12 5 7 8 0 8 0
> pvpl 32 6157608 0 6127217 1917 1670 247 486 0 265 0
> pmappl 176 6493 0 6443 3 0 3 3 0 8 0
> extentpl 40 59 0 37 1 0 1 1 0 8 0
> phpool 112 10669 0 6933 107 0 107 107 0 8 0
>
> OpenBSD 6.2-current (GENERIC.MP) #146: Fri Oct 13 00:44:27 MDT 2017
> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 1996152832 (1903MB)
> avail mem = 1928863744 (1839MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.7 @ 0x77fb7020 (7 entries)
> bios0: vendor coreboot version "88a4f96" date 03/07/2016
> bios0: PC Engines apu2
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S1 S2 S3 S4 S5
> acpi0: tables DSDT FACP SSDT APIC HEST SSDT SSDT HPET
> acpi0: wakeup devices PWRB(S4) PBR4(S4) PBR5(S4) PBR6(S4) PBR7(S4) PBR8(S4)
> UOH1(S3) UOH3(S3) UOH5(S3) XHC0(S4)
> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: AMD GX-412TC SOC, 998.24 MHz
> cpu0:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
> cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line
> 16-way L2 cache
> cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
> cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
> acpitimer0: recalibrated TSC frequency 998134304 Hz
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> cpu0: mwait min=64, max=64, IBE
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: AMD GX-412TC SOC, 998.13 MHz
> cpu1:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
> cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line
> 16-way L2 cache
> cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
> cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
> cpu1: smt 0, core 1, package 0
> cpu2 at mainbus0: apid 2 (application processor)
> cpu2: AMD GX-412TC SOC, 998.13 MHz
> cpu2:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
> cpu2: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line
> 16-way L2 cache
> cpu2: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
> cpu2: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
> cpu2: smt 0, core 2, package 0
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: AMD GX-412TC SOC, 998.15 MHz
> cpu3:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
> cpu3: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line
> 16-way L2 cache
> cpu3: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
> cpu3: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
> cpu3: smt 0, core 3, package 0
> ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 21, 24 pins
> ioapic1 at mainbus0: apid 5 pa 0xfec20000, version 21, 32 pins
> , remapped to apid 5
> acpihpet0 at acpi0: 14318180 Hz
> acpihpet0: recalibrated TSC frequency 998127187 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PBR4)
> acpiprt2 at acpi0: bus 1 (PBR5)
> acpiprt3 at acpi0: bus 2 (PBR6)
> acpiprt4 at acpi0: bus 3 (PBR7)
> acpiprt5 at acpi0: bus -1 (PBR8)
> acpicpu0 at acpi0: C2(0@400 io@0x1771), C1(@1 halt!), PSS
> acpicpu1 at acpi0: C2(0@400 io@0x1771), C1(@1 halt!), PSS
> acpicpu2 at acpi0: C2(0@400 io@0x1771), C1(@1 halt!), PSS
> acpicpu3 at acpi0: C2(0@400 io@0x1771), C1(@1 halt!), PSS
> acpibtn0 at acpi0: PWRB
> cpu0: 998 MHz: speeds: 1000 800 600 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "AMD AMD64 16h Root Complex" rev 0x00
> pchb1 at pci0 dev 2 function 0 "AMD AMD64 16h Host" rev 0x00
> ppb0 at pci0 dev 2 function 2 "AMD AMD64 16h PCIE" rev 0x00: msi
> pci1 at ppb0 bus 1
> em0 at pci1 dev 0 function 0 "Intel I211" rev 0x03: msi, address
> 00:0d:b9:41:7e:48
> ppb1 at pci0 dev 2 function 3 "AMD AMD64 16h PCIE" rev 0x00: msi
> pci2 at ppb1 bus 2
> em1 at pci2 dev 0 function 0 "Intel I211" rev 0x03: msi, address
> 00:0d:b9:41:7e:49
> ppb2 at pci0 dev 2 function 4 "AMD AMD64 16h PCIE" rev 0x00: msi
> pci3 at ppb2 bus 3
> em2 at pci3 dev 0 function 0 "Intel I211" rev 0x03: msi, address
> 00:0d:b9:41:7e:4a
> "AMD CCP" rev 0x00 at pci0 dev 8 function 0 not configured
> xhci0 at pci0 dev 16 function 0 "AMD Bolton xHCI" rev 0x11: msi
> usb0 at xhci0: USB revision 3.0
> uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00
> addr 1
> ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x40: apic 4 int 19,
> AHCI 1.3
> ahci0: port 0: 3.0Gb/s
> scsibus1 at ahci0: 32 targets
> sd0 at scsibus1 targ 0 lun 0: <ATA, OCZ-NOCTI, 2.25> SCSI3 0/direct fixed
> naa.5e83a97e555f7072
> sd0: 57241MB, 512 bytes/sector, 117231408 sectors, thin
> ehci0 at pci0 dev 19 function 0 "AMD Hudson-2 USB2" rev 0x39: apic 4 int 18
> usb1 at ehci0: USB revision 2.0
> uhub1 at usb1 configuration 1 interface 0 "AMD EHCI root hub" rev 2.00/1.00
> addr 1
> piixpm0 at pci0 dev 20 function 0 "AMD Hudson-2 SMBus" rev 0x42: SMBus
> disabled
> pcib0 at pci0 dev 20 function 3 "AMD Hudson-2 LPC" rev 0x11
> sdhc0 at pci0 dev 20 function 7 "AMD Bolton SD/MMC" rev 0x01: apic 4 int 16
> sdhc0: SDHC 2.0, 63 MHz base clock
> sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed, dma
> pchb2 at pci0 dev 24 function 0 "AMD AMD64 16h Link Cfg" rev 0x00
> pchb3 at pci0 dev 24 function 1 "AMD AMD64 16h Address Map" rev 0x00
> pchb4 at pci0 dev 24 function 2 "AMD AMD64 16h DRAM Cfg" rev 0x00
> km0 at pci0 dev 24 function 3 "AMD AMD64 16h Misc Cfg" rev 0x00
> pchb5 at pci0 dev 24 function 4 "AMD AMD64 16h CPU Power" rev 0x00
> pchb6 at pci0 dev 24 function 5 "AMD AMD64 16h Misc Cfg" rev 0x00
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com0: console
> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> wbsio0 at isa0 port 0x2e/2: NCT5104D rev 0x52
> vmm0 at mainbus0: SVM/RVI
> uhub2 at uhub1 port 1 configuration 1 interface 0 "Advanced Micro Devices
> product 0x7900" rev 2.00/0.18 addr 2
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> root on sd0a (af8733b5fb17a16a.a) swap on sd0b dump on sd0b
>