Skip to content

Instantly share code, notes, and snippets.

commit af2393a5280b7c7f4346d866315b7814a845d878 (HEAD -> main)
Author: Kevin Bowling <[email protected]>
Date: Wed Sep 25 22:54:34 2024 -0700
e1000: Add PCH ECC Error Handling and Stats
diff --git a/sys/dev/e1000/e1000_hw.h b/sys/dev/e1000/e1000_hw.h
index f17877f3e463..26553f4b7d09 100644
--- a/sys/dev/e1000/e1000_hw.h
+++ b/sys/dev/e1000/e1000_hw.h
@kev009
kev009 / gist:b52399f40903bdaf38e8cdc6bf5b4d55
Created September 11, 2024 23:52
do not use.. hackjob to build netbsd tools on glibc 2.40/gcc 14 to the point I could build a kernel
diff --git a/bin/date/date.c b/bin/date/date.c
index a622c429363..142fcd0ab19 100644
--- a/bin/date/date.c
+++ b/bin/date/date.c
@@ -48,6 +48,9 @@ __RCSID("$NetBSD: date.c,v 1.66 2024/01/21 16:55:56 christos Exp $");
#endif
#endif /* not lint */
+#define __USE_XOPEN
+#define _XOPEN_SOURCE
cxl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=6ec07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6,HWRXTSTMP,NOMAP>
ether 00:07:43:2b:a4:a0
media: Ethernet 10Gbase-Twinax <full-duplex,rxpause,txpause>
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
cxl1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=6ec07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6,HWRXTSTMP,NOMAP>
ether 00:07:43:2b:a4:a8
media: Ethernet none
@kev009
kev009 / gist:8703138c695e64591389c78782aff54f
Created November 6, 2019 05:25
webscale firefox freebsd
gfx.content.azure.backends = skia,cairo
gfx.webrender.all = true
layers.acceleration.force-enabled = true
layers.force-active = true
layers.offmainthreadcomposition.testing.enabled = true
kev-ws-aurora% qemu-system-powernv -M powernv -m 2G -nographic -vga none -cpu power9_v2.0 -kernel kernel.ppc64 -smp 4
pnv_pec_class_init
PNV: Creating PEC 0
PNV: Creating PEC 1
PNV: Creating PEC 2
-> pnv_chip_power9_realize
PNV: Initializing PEC 0
pnv_pec_realize: PEC0 creating 1 stacks
pnv_pec_stk_realize realizing stack 0
PNV: Initializing PEC 1
kev-ws-aurora% qemu-system-powernv -M powernv -m 2G -nographic -vga none -cpu power9_v2.0 -kernel kernel.ppc64 -smp 4
pnv_pec_class_init
PNV: Creating PEC 0
PNV: Creating PEC 1
PNV: Creating PEC 2
-> pnv_chip_power9_realize
PNV: Initializing PEC 0
pnv_pec_realize: PEC0 creating 1 stacks
pnv_pec_stk_realize realizing stack 0
PNV: Initializing PEC 1
kev-ws-aurora% qemu-system-powernv -M powernv -m 2G -nographic -vga none -cpu power9_v2.0 -kernel vmlinux -smp 4
pnv_pec_class_init
PNV: Creating PEC 0
PNV: Creating PEC 1
PNV: Creating PEC 2
-> pnv_chip_power9_realize
PNV: Initializing PEC 0
pnv_pec_realize: PEC0 creating 1 stacks
pnv_pec_stk_realize realizing stack 0
PNV: Initializing PEC 1
[ 147.403138519,5] OPAL: Switch to big-endian OS
KDB: debugger backends: ddb
KDB: current backend: ddb
mmu_radix_bootstrap
pregions[0].mr_start=0 pregions[0].mr_size=2000000000
pregions[1].mr_start=200000000000 pregions[1].mr_size=2000000000
phys_avail[0]=00002f00 - phys_avail[1]=023e0000
phys_avail[2]=39b42000 - phys_avail[3]=7ffa0000
phys_avail[4]=7fff6000 - phys_avail[5]=ffff0000
phys_avail[6]=200003a44000 - phys_avail[7]=201ffcd00000
kev-ws-aurora% sudo RUN_DIR=/compat/linux/opt/ibm/systemsim-p9/run LIB_DIR=/compat/linux/opt/ibm/systemsim-p9/lib /compat/linux/opt/ibm/systemsim-p9/bin/systemsim-p9 -f boot-linux-le-skiboot.tcl
Password:
Licensed Materials - Property of IBM.
(C) Copyright IBM Corporation 2001, 2017
All Rights Reserved.
Using initial run script boot-linux-le-skiboot.tcl
Starting mambo on *kev-ws-aurora* (pid = 70610) at Fri Oct 12 23:54:25 2018
With command: /compat/linux/opt/ibm/systemsim-p9/bin/systemsim-p9 -f boot-linux-le-skiboot.tcl
FATAL ERROR: 0: (0): 1: failed to open console master ' ����'
Found skiboot skiboot.lid in current directory
--== Welcome to Hostboot ==--
2.77042|secure|SecureROM valid - enabling functionality
5.98395|Ignoring boot flags, incorrect version 0x0
6.09432|Booting from SBE side 0 on master proc=00050000
6.12582|ISTEP 6. 5 - host_init_fsi
6.48912|ISTEP 6. 6 - host_set_ipl_parms
6.88828|ISTEP 6. 7 - host_discover_targets
9.38994|HWAS|PRESENT> DIMM[03]=A0A0000000000000
9.38995|HWAS|PRESENT> Proc[05]=8800000000000000