Skip to content

Instantly share code, notes, and snippets.

@Grommish
Created March 16, 2021 07:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Grommish/8fef54a79f6dc6e07d8dff3bd495ec20 to your computer and use it in GitHub Desktop.
Save Grommish/8fef54a79f6dc6e07d8dff3bd495ec20 to your computer and use it in GitHub Desktop.
root@OpenWrt:/# dmesg
[ 0.000000] Linux version 5.10.23 (grommish@DESKTOP-N35LRJ4) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 10.2.0 r16196+1-98d456a14e) 10.2.0, GNU ld (GNU Binutils) 2.35.1) #0 SMP Sun Mar 14 18:11:05 2021
[ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[ 0.000000] MIPS: machine is Ubiquiti EdgeRouter 10X
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] VPE topology {2,2} total 4
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] HighMem [mem 0x0000000010000000-0x0000000023ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000001bffffff]
[ 0.000000] node 0: [mem 0x0000000020000000-0x0000000023ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000023ffffff]
[ 0.000000] On node 0 totalpages: 131072
[ 0.000000] Normal zone: 576 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 65536 pages, LIFO batch:15
[ 0.000000] HighMem zone: 65536 pages, LIFO batch:15
[ 0.000000] percpu: Embedded 14 pages/cpu s27120 r8192 d22032 u57344
[ 0.000000] pcpu-alloc: s27120 r8192 d22032 u57344 alloc=14*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130496
[ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Writing ErrCtl register=00003e00
[ 0.000000] Readback ErrCtl register=00003e00
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 507052K/524288K available (6351K kernel code, 614K rwdata, 1332K rodata, 3016K init, 235K bss, 17236K reserved, 0K cma-reserved, 262144K highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] NR_IRQS: 256
[ 0.000000] random: get_random_bytes called from start_kernel+0x3d0/0x5e8 with crng_init=0
[ 0.000000] CPU Clock: 880MHz
[ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[ 0.000014] sched_clock: 64 bits at 880MHz, resolution 1ns, wraps every 4398046511103ns
[ 0.015849] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[ 0.033723] Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360)
[ 0.074078] pid_max: default: 32768 minimum: 301
[ 0.083447] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.097857] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.116180] rcu: Hierarchical SRCU implementation.
[ 0.125993] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[ 0.141529] smp: Bringing up secondary CPUs ...
[ 0.151244] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.151255] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.151271] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.151353] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.178727] Synchronize counters for CPU 1: done.
[ 0.241040] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.241049] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.241058] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.241107] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.273941] Synchronize counters for CPU 2: done.
[ 0.334181] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.334189] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.334198] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.334251] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.361528] Synchronize counters for CPU 3: done.
[ 0.421145] smp: Brought up 1 node, 4 CPUs
[ 0.433679] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.453004] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.466841] pinctrl core: initialized pinctrl subsystem
[ 0.479211] NET: Registered protocol family 16
[ 0.503751] FPU Affinity set after 4688 emulations
[ 0.514489] random: fast init done
[ 0.533140] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.555192] clocksource: Switched to clocksource GIC
[ 0.567236] NET: Registered protocol family 2
[ 0.576907] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.593487] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.608653] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.622809] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.635562] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.648456] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.662530] NET: Registered protocol family 1
[ 0.671111] PCI: CLS 0 bytes, default 32
[ 3.007127] 4 CPUs re-calibrate udelay(lpj = 1167360)
[ 3.018987] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 3.036691] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 3.048184] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 3.068577] bounce: pool size: 64 pages
[ 3.077518] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 3.088908] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 3.100262] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 3.112296] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 3.126683] printk: console [ttyS0] disabled
[ 3.135196] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[ 3.153116] printk: console [ttyS0] enabled
[ 3.169662] printk: bootconsole [early0] disabled
[ 3.190928] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[ 3.205759] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xdc
[ 3.218414] nand: Macronix MX30LF4G18AC
[ 3.226053] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 3.241141] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[ 3.254193] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[ 3.268758] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[ 3.283320] Scanning device for bad blocks
[ 4.788640] Bad eraseblock 1185 at 0x000009420000
[ 5.468219] Bad eraseblock 1716 at 0x00000d680000
[ 5.713176] Bad eraseblock 1903 at 0x00000ede0000
[ 8.491567] 6 fixed-partitions partitions found on MTD device mt7621-nand
[ 8.505088] Creating 6 MTD partitions on "mt7621-nand":
[ 8.515505] 0x000000000000-0x000000080000 : "u-boot"
[ 8.527187] 0x000000080000-0x0000000e0000 : "u-boot-env"
[ 8.539424] 0x0000000e0000-0x000000140000 : "factory"
[ 8.551077] 0x000000140000-0x000000440000 : "kernel1"
[ 8.562901] 0x000000440000-0x000000740000 : "kernel2"
[ 8.574641] 0x000000740000-0x00001fc00000 : "ubi"
[ 8.590146] rtl8367b rtl8367rb: cannot find mdio bus from bus handle (yet)
[ 8.605653] libphy: Fixed MDIO Bus: probed
[ 8.642195] libphy: mdio: probed
[ 8.649169] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[ 8.665604] mtk_soc_eth 1e100000.ethernet dsa: mediatek frame engine at 0xbe100000, irq 22
[ 8.687429] NET: Registered protocol family 10
[ 8.697728] Segment Routing with IPv6
[ 8.705172] NET: Registered protocol family 17
[ 8.714368] 8021q: 802.1Q VLAN Support v1.8
[ 8.724661] rtl8367b rtl8367rb: using MDIO bus 'mdio'
[ 8.735747] rtl8367b rtl8367rb: RTL8367RB chip found
[ 10.591995] libphy: rtl8367rb: probed
[ 10.599634] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[ 10.688791] libphy: dsa slave smi: probed
[ 10.697230] mt7530 mdio-bus:1f eth0 (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY] (irq=POLL)
[ 10.717424] mt7530 mdio-bus:1f eth1 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY] (irq=POLL)
[ 10.737638] mt7530 mdio-bus:1f eth2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY] (irq=POLL)
[ 10.757818] mt7530 mdio-bus:1f eth3 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY] (irq=POLL)
[ 10.777956] mt7530 mdio-bus:1f eth4 (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY] (irq=POLL)
[ 10.799720] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[ 10.817599] DSA: tree 0 setup
[ 10.824883] UBI: auto-attach mtd5
[ 10.831557] ubi0: attaching mtd5
[ 10.838376] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[ 15.920348] ubi0: scanning is finished
[ 15.950805] ubi0: attached mtd5 (name "ubi", size 500 MiB)
[ 15.961778] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 15.975475] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 15.988994] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 16.002860] ubi0: good PEBs: 4003, bad PEBs: 3, corrupted PEBs: 0
[ 16.015005] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 16.029396] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 157515308
[ 16.047418] ubi0: available PEBs: 0, total reserved PEBs: 4003, PEBs reserved for bad PEB handling: 77
[ 16.065983] ubi0: background thread "ubi_bgt0d" started, PID 385
[ 16.089142] Freeing unused kernel memory: 3016K
[ 16.098210] This architecture does not have kernel memory protection.
[ 16.111070] Run /init as init process
[ 16.118364] with arguments:
[ 16.118372] /init
[ 16.118378] with environment:
[ 16.118384] HOME=/
[ 16.118389] TERM=linux
[ 16.404900] init: Console is alive
[ 16.411943] init: - watchdog -
[ 16.428380] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 16.446443] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 16.467493] init: - preinit -
[ 16.666771] random: jshn: uninitialized urandom read (4 bytes read)
[ 16.738576] random: jshn: uninitialized urandom read (4 bytes read)
[ 16.847861] random: jshn: uninitialized urandom read (4 bytes read)
[ 21.295782] procd: - early -
[ 21.301685] procd: - watchdog -
[ 21.843306] procd: - watchdog -
[ 21.850041] procd: - ubus -
[ 21.862591] urandom_read: 6 callbacks suppressed
[ 21.862605] random: ubusd: uninitialized urandom read (4 bytes read)
[ 21.910693] procd: - init -
[ 22.245303] kmodloader: loading kernel modules from /etc/modules.d/*
[ 22.364237] xt_time: kernel timezone is -0000
[ 22.384564] urngd: v1.0.2 started.
[ 22.385498] PPP generic driver version 2.4.2
[ 22.401578] NET: Registered protocol family 24
[ 22.454841] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 22.529692] random: crng init done
[ 57.086636] mtk_soc_eth 1e100000.ethernet dsa: configuring for fixed/rgmii link mode
[ 57.103236] mtk_soc_eth 1e100000.ethernet dsa: Link is Up - 1Gbps/Full - flow control rx/tx
[ 57.120453] IPv6: ADDRCONF(NETDEV_CHANGE): dsa: link becomes ready
[ 57.133970] device dsa entered promiscuous mode
[ 57.143745] mt7530 mdio-bus:1f eth1: configuring for phy/gmii link mode
[ 57.157625] 8021q: adding VLAN 0 to HW filter on device eth1
[ 57.172840] br-lan: port 1(eth1) entered blocking state
[ 57.183383] br-lan: port 1(eth1) entered disabled state
[ 57.194995] device eth1 entered promiscuous mode
[ 57.225933] mt7530 mdio-bus:1f eth2: configuring for phy/gmii link mode
[ 57.239777] 8021q: adding VLAN 0 to HW filter on device eth2
[ 57.254894] br-lan: port 2(eth2) entered blocking state
[ 57.265500] br-lan: port 2(eth2) entered disabled state
[ 57.277212] device eth2 entered promiscuous mode
[ 57.298291] mt7530 mdio-bus:1f eth3: configuring for phy/gmii link mode
[ 57.312255] 8021q: adding VLAN 0 to HW filter on device eth3
[ 57.328256] br-lan: port 3(eth3) entered blocking state
[ 57.338782] br-lan: port 3(eth3) entered disabled state
[ 57.351198] device eth3 entered promiscuous mode
[ 57.371582] mt7530 mdio-bus:1f eth4: configuring for phy/gmii link mode
[ 57.385464] 8021q: adding VLAN 0 to HW filter on device eth4
[ 57.401123] br-lan: port 4(eth4) entered blocking state
[ 57.411678] br-lan: port 4(eth4) entered disabled state
[ 57.423888] device eth4 entered promiscuous mode
[ 57.445111] mt7530 mdio-bus:1f eth5: configuring for fixed/rgmii-rxid link mode
[ 57.460357] 8021q: adding VLAN 0 to HW filter on device eth5
[ 57.473471] mt7530 mdio-bus:1f eth5: Link is Up - 1Gbps/Full - flow control rx/tx
[ 57.492919] br-lan: port 5(eth5) entered blocking state
[ 57.503479] br-lan: port 5(eth5) entered disabled state
[ 57.518877] device eth5 entered promiscuous mode
[ 57.533525] br-lan: port 5(eth5) entered blocking state
[ 57.544046] br-lan: port 5(eth5) entered forwarding state
[ 57.555803] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 57.592083] mt7530 mdio-bus:1f eth0: configuring for phy/gmii link mode
[ 57.606668] 8021q: adding VLAN 0 to HW filter on device eth0
[ 60.679626] mt7530 mdio-bus:1f eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 60.694601] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
root@OpenWrt:/#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment