Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@hnyman
hnyman / kernel log
Created October 11, 2022 18:59
kernel 5.15 commit b2c507b
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.15.72 (perus@ub2204) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 11.3.0 r20513-a99707d14c) 11.3.0, GNU ld (GNU Binutils) 2.37) #0 SMP Mon Oct 10 19:28:23 2022
[ 0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: Netgear Nighthawk X4S R7800
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000042000000-0x000000005fffffff]
[ 0.000000] HighMem empty
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.15.71 (perus@ub2204) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 11.3.0 r20513-a99707d14c) 11.3.0, GNU ld (GNU Binutils) 2.37) #0 SMP Thu Oct 6 16:00:19 2022
[ 0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: Netgear Nighthawk X4S R7800
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000042000000-0x000000005fffffff]
[ 0.000000] HighMem empty
@hnyman
hnyman / kernel_log.txt
Created September 14, 2022 16:37
kernel-5.15-test-master-r20646
[70287.497733] reboot: Restarting system
U-Boot 2012.07 [local,local] (Sep 03 2015 - 17:33:28)
U-boot 2012.07 dni1 V0.4 for DNI HW ID: 29764958 NOR flash 0MB; NAND flash 128MB; RAM 512MB; 1st Radio 4x4; 2nd Radio 4x4; Cascade
smem ram ptable found: ver: 0 len: 5
DRAM: 491 MiB
NAND: SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
@hnyman
hnyman / crashlog.txt
Created September 13, 2022 20:55
kernel 5.15 crash
U-Boot 2012.07 [local,local] (Sep 03 2015 - 17:33:28)
U-boot 2012.07 dni1 V0.4 for DNI HW ID: 29764958 NOR flash 0MB; NAND flash 128MB; RAM 512MB; 1st Radio 4x4; 2nd Radio 4x4; Cascade
smem ram ptable found: ver: 0 len: 5
DRAM: 491 MiB
NAND: SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
128 MiB
MMC:
*** Warning - bad CRC, using default environment
@hnyman
hnyman / kernel_log.txt
Created September 13, 2022 19:27
Kernel 5.15 test build - boot logs
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.15.67 (perus@ub2204) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 11.3.0 r20513-a99707d14c) 11.3.0, GNU ld (GNU Binutils) 2.37) #0 SMP Tue Sep 13 18:33:34 2022
[ 0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: Netgear Nighthawk X4S R7800
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000042000000-0x000000005fffffff]
[ 0.000000] HighMem empty
@hnyman
hnyman / gist:1ab0e26f85c2bdcfd028fba6a40936b5
Last active October 7, 2021 19:32
rrdtool1 time_t as long
--- a/src/parsetime.c
+++ b/src/parsetime.c
@@ -641,7 +641,7 @@ assign_date(struct rrd_time_value *ptv,
} else if( year >= 0 && year < 38 ) {
year += 100; /* Allow year 2000-2037 to be specified as */
} /* 00-37 until the problem of 2038 year will */
- /* arise for unices with 32-bit time_t :) */
+ /* arise for unices with 32-bit TIME_INT :) */
if (year < 70) {
panic(e("won't handle dates before epoch (01/01/1970), sorry"));
@hnyman
hnyman / System-log-r16249-9ac47ee469.txt
Last active March 18, 2021 17:38
Kernel 5.10 bootlog and system log with r16249-9ac47ee469
Thu Mar 18 19:23:47 2021 kern.info kernel: [ 0.000000] Booting Linux on physical CPU 0x0
Thu Mar 18 19:23:47 2021 kern.notice kernel: [ 0.000000] Linux version 5.10.23 (perus@ub2010) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 8.4.0 r16077-785ab2b62c) 8.4.0, GNU ld (GNU Binutils) 2.34) #0 SMP Thu Mar 18 17:02:19 2021
Thu Mar 18 19:23:47 2021 kern.info kernel: [ 0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
Thu Mar 18 19:23:47 2021 kern.info kernel: [ 0.000000] CPU: div instructions available: patching division code
Thu Mar 18 19:23:47 2021 kern.info kernel: [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Thu Mar 18 19:23:47 2021 kern.info kernel: [ 0.000000] OF: fdt: Machine model: Netgear Nighthawk X4S R7800
Thu Mar 18 19:23:47 2021 kern.info kernel: [ 0.000000] Memory policy: Data cache writealloc
Thu Mar 18 19:23:47 2021 kern.info kernel: [ 0.000000] Zone ranges:
Thu Mar 18 19:23:47 2021 kern.info kernel: [ 0.000000] N
@hnyman
hnyman / Test_Kernel510_bootlog.txt
Last active March 7, 2021 07:22
Kernel 5.10 with DSA test build kernel boot log right after flash
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.10.20 (perus@ub2010) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 8.4.0 r16077-785ab2b62c) 8.4.0, GNU ld (GNU Binutils) 2.34) #0 SMP Sun Mar 7 06:41:29 2021
[ 0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: Netgear Nighthawk X4S R7800
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000042000000-0x000000005fffffff]
[ 0.000000] HighMem empty
make[2]: Entering directory '/Openwrt/r7800/feeds/packages/utils/ntfs-3g'
mkdir -p /Openwrt/r7800/dl
SHELL= flock /Openwrt/r7800/tmp/.ntfs-3g_ntfsprogs-2017.3.23.tgz.flock -c ' /Openwrt/r7800/scripts/download.pl "/Openwrt/r7800/dl" "ntfs-3g_ntfsprogs-2017.3.23.tgz" "3e5a021d7b761261836dcb305370af299793eedbded731df3d6943802e1262d5" "" "https://www.tuxera.com/opensource/" '
touch /Openwrt/r7800/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/ntfs-3g-2017.3.23-4-fuseint/.prepared_13d4b2bffeb5174b7597e7a78a0c07f4_6664517399ebbbc92a37c5bb081b5c53_check
rm -rf /Openwrt/r7800/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/ntfs-3g-2017.3.23-4-fuseint/
mkdir -p /Openwrt/r7800/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/ntfs-3g-2017.3.23-4-fuseint/
tar -xzf /Openwrt/r7800/dl/ntfs-3g_ntfsprogs-2017.3.23.tgz -C /Openwrt/r7800/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/ntfs-3g-2017.3.23-4-fuseint --strip 1
Applying ./patches/001-fuseint-fix-path-mounted-on-musl.patch using plaintext:
p
IPQ807x# bootm
## Loading kernel from FIT Image at 44000000 ...
Using 'config@hk01' configuration
Trying 'kernel@1' kernel subimage
Description: ARM64 OpenWrt Linux-5.10.7
Type: Kernel Image
Compression: gzip compressed
Data Start: 0x440000e8
Data Size: 12955420 Bytes = 12.4 MiB
Architecture: AArch64