n8henrie
Hello,
 
For some reason the output from `dmesg` seems to be missing the beginning of its output. Trying to provide information to one of the armbian devs as requested at https://github.com/armbian/build/pull/5726#issuecomment-1817755737
 
For example, if I run dmesg with a stock armbian main build, the first few lines are as expected:
 
# dmesg | head
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.63-sunxi64 (root@michael-Inspiron-Kitchen) (aarch64-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0, GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #trunk SMP PREEMPT Sat Sep 3 17:13:20 PDT 2022
[    0.000000] Machine model: Tanix TX6
[    0.000000] Memory limited to 2048MB
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xbfbd2100-0xbfbd3fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000]   DMA32    empty
 
In contrast, with the stock quadra image (I have not re-flashed the eMMC), the first lines after a fresh boot are below -- it seems to have missing output.
 
# dmesg | head
[    1.766457] sun8i-ce 1904000.crypto: Register cbc(aes)
[    1.766539] sun8i-ce 1904000.crypto: Register ecb(aes)
[    1.766568] sun8i-ce 1904000.crypto: Register cbc(des3_ede)
[    1.766595] sun8i-ce 1904000.crypto: Register ecb(des3_ede)
[    1.766624] sun8i-ce 1904000.crypto: Register md5
[    1.766651] sun8i-ce 1904000.crypto: Register sha1
[    1.766679] sun8i-ce 1904000.crypto: Register sha224
[    1.766707] sun8i-ce 1904000.crypto: Register sha256
[    1.766735] sun8i-ce 1904000.crypto: Register sha384
[    1.766768] sun8i-ce 1904000.crypto: Register sha512
 
Any ideas why this is happening? Is there some kind of FIFO buffer that is filling up and discarding the earlier messages after boot? If so, is this configurable?
 
Thanks for your time!
Michael Burmeister-Brown inovato
Sorry, I wouldn't know.  There is nothing we did to intentionally filter it.
Reply 0 0
n8henrie
I wonder if related to `CONFIG_LOG_BUF_SHIFT` - though I don't see this being modified in the quadra patch, so not sure why I'm seeing different behavior with mainline armbian vs quadra -- perhaps extra output in the quadra that is exceeding the buffer?
 
 
 
Here's a param that can be passed to grub, not sure if uboot has something similar: https://stackoverflow.com/a/27644301/1588795 
Reply 0 0
Reply