Skip to content

Instantly share code, notes, and snippets.

@cpackham-atlnz
Created October 29, 2024 00:35
Show Gist options
  • Save cpackham-atlnz/66a0843362e8f8eb2c4f5c7ed01c5efe to your computer and use it in GitHub Desktop.
Save cpackham-atlnz/66a0843362e8f8eb2c4f5c7ed01c5efe to your computer and use it in GitHub Desktop.
spi-nand-ubifx-error
[root@linuxbox ~]# dmesg
[ 0.000000] Linux version 6.12.0-rc5+ (chrisp@chrisp-dl) (mipsbe-softfloat-linux-gnu-gcc (crosstool-NG 1.26.0) 13.2.0, GNU ld (crosstool-NG 1.26.0) 2.40) #2 Mon Oct 28 20:13:30 UTC 2024
[ 0.000000] CPU0 revision is: 00019555 (MIPS 34Kc)
[ 0.000000] Adding initrd info from environment
[ 0.000000] MIPS: machine is Allied Telesis mGS950/10HS
[ 0.000000] initrd start must be page aligned
[ 0.000000] Initial ramdisk at: 0x814595c0 (36249600 bytes)
[ 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] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Kernel command line:
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32768
[ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[ 0.000000] NR_IRQS: 256
[ 0.000000] clocksource: realtek_otto_timer: mask: 0xfffffff max_cycles: 0xfffffff, max_idle_ns: 38225208801 ns
[ 0.000002] sched_clock: 28 bits at 3125kHz, resolution 320ns, wraps every 42949672800ns
[ 0.000067] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4778151116 ns
[ 0.000092] sched_clock: 32 bits at 400MHz, resolution 2ns, wraps every 5368709118ns
[ 0.000229] Calibrating delay loop... 531.66 BogoMIPS (lpj=2658304)
[ 0.050091] pid_max: default: 32768 minimum: 301
[ 0.050361] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.050401] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.080632] Memory: 82524K/131072K available (7658K kernel code, 645K rwdata, 1512K rodata, 1248K init, 259K bss, 48048K reserved, 0K cma-reserved)
[ 0.081369] devtmpfs: initialized
[ 0.083555] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.083599] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.083791] pinctrl core: initialized pinctrl subsystem
[ 0.085043] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.093003] clocksource: Switched to clocksource realtek_otto_timer
[ 0.097682] NET: Registered PF_INET protocol family
[ 0.097998] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.098888] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.098951] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.098977] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.099007] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.099049] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.099240] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.099297] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.099681] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.101873] Trying to unpack rootfs image as initramfs...
[ 0.101911] rootfs image is not initramfs (invalid magic at start of compressed archive); looks like an initrd
[ 0.110258] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.110623] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.110644] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.110862] io scheduler mq-deadline registered
[ 0.110884] io scheduler kyber registered
[ 0.433666] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.438188] printk: legacy console [ttyS0] disabled
[ 0.438894] 18002000.serial: ttyS0 at MMIO 0x18002000 (irq = 30, base_baud = 10937500) is a 16550A
[ 0.438964] printk: legacy console [ttyS0] enabled
[ 1.205347] Freeing initrd memory: 35396K
[ 1.216239] brd: module loaded
[ 1.222457] 3 fixed-partitions partitions found on MTD device spi0.0
[ 1.229569] Creating 3 MTD partitions on "spi0.0":
[ 1.234964] 0x000000000000-0x000000200000 : "LOADER"
[ 1.241439] 0x000000200000-0x000000210000 : "ENV"
[ 1.247572] 0x000000210000-0x000000220000 : "ENV2"
[ 1.255191] spi-nand spi1.0: Macronix SPI NAND was found.
[ 1.261283] spi-nand spi1.0: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[ 1.271134] 2 fixed-partitions partitions found on MTD device spi1.0
[ 1.278247] Creating 2 MTD partitions on "spi1.0":
[ 1.283631] 0x000000000000-0x00000f000000 : "user"
[ 20.481108] 0x00000f000000-0x000010000000 : "Reserved"
[ 21.765035] i2c_dev: i2c /dev entries driver
[ 21.773576] NET: Registered PF_LLC protocol family
[ 21.779508] NET: Registered PF_INET6 protocol family
[ 21.787613] Segment Routing with IPv6
[ 21.791897] In-situ OAM (IOAM) with IPv6
[ 21.796428] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 21.805206] NET: Registered PF_PACKET protocol family
[ 21.811458] l2tp_core: L2TP core driver, V2.0
[ 21.816337] 8021q: 802.1Q VLAN Support v1.8
[ 21.835900] clk: Disabling unused clocks
[ 21.841217] RAMDISK: squashfs filesystem found at block 0
[ 21.847252] RAMDISK: Loading 35399KiB [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\
[ 22.128940] |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/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|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/
[ 25.192138] -\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|done.
[ 25.522141] VFS: Mounted root (squashfs filesystem) readonly on device 1:0.
[ 25.530821] devtmpfs: mounted
[ 25.539856] Freeing unused kernel image (initmem) memory: 1248K
[ 25.546520] This architecture does not have kernel memory protection.
[ 25.553714] Run /sbin/init as init process
[ 25.558274] with arguments:
[ 25.558286] /sbin/init
[ 25.558296] with environment:
[ 25.558306] HOME=/
[ 25.558316] TERM=linux
[ 26.715113] systemd[1]: System time before build time, advancing clock.
[ 26.758166] systemd[1]: Failed to look up module alias 'autofs4': Function not implemented
[ 26.875275] systemd[1]: systemd 254 running in system mode (-PAM -AUDIT -SELINUX -APPARMOR -IMA -SMACK -SECCOMP -GCRYPT -GNUTLS +OPENSSL -ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP -LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB -ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP -SYSVINIT default-hierarchy=hybrid)
[ 26.910434] systemd[1]: Detected architecture mips.
[ 26.925929] systemd[1]: Hostname set to <awplus>.
[ 26.933071] systemd[1]: Initializing machine ID from random generator.
[ 26.977537] systemd[1]: Failed to copy os-release for propagation, ignoring: No such file or directory
[ 28.975930] systemd[1]: Created slice Slice /system/getty.
[ 29.017676] systemd[1]: Created slice Slice /system/modprobe.
[ 29.057890] systemd[1]: Created slice Slice /system/serial-getty.
[ 29.091750] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 29.131714] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 29.163511] systemd[1]: Reached target Path Units.
[ 29.191694] systemd[1]: Reached target Slice Units.
[ 29.222026] systemd[1]: Reached target Swaps.
[ 29.255166] systemd[1]: Listening on Syslog Socket.
[ 29.283722] systemd[1]: Listening on Journal Socket (/dev/log).
[ 29.313426] systemd[1]: Listening on Journal Socket.
[ 29.343262] systemd[1]: Listening on Network Service Netlink Socket.
[ 29.374325] systemd[1]: Listening on udev Control Socket.
[ 29.403274] systemd[1]: Listening on udev Kernel Socket.
[ 29.433171] systemd[1]: Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[ 29.449588] systemd[1]: POSIX Message Queue File System was skipped because of an unmet condition check (ConditionPathExists=/proc/sys/fs/mqueue).
[ 29.479104] systemd[1]: Mounting Kernel Debug File System...
[ 29.522008] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[ 29.554729] systemd[1]: Starting Load Kernel Module configfs...
[ 29.592414] systemd[1]: Starting Load Kernel Module fuse...
[ 29.662267] systemd[1]: Starting Journal Service...
[ 29.711314] systemd[1]: Load Kernel Modules was skipped because no trigger condition checks were met.
[ 29.737077] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 29.812500] systemd[1]: Starting Apply Kernel Variables...
[ 29.932645] systemd[1]: Starting Coldplug All udev Devices...
[ 30.038347] systemd-journald[62]: Collecting audit messages is disabled.
[ 30.048368] systemd[1]: Starting Rule-based Manager for Device Events and Files...
[ 30.178998] systemd[1]: Mounted Kernel Debug File System.
[ 30.245384] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[ 30.292837] systemd[1]: Finished Load Kernel Module configfs.
[ 30.335592] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[ 30.382909] systemd[1]: Finished Load Kernel Module fuse.
[ 30.440417] systemd[1]: Finished Remount Root and Kernel File Systems.
[ 30.480339] systemd[1]: Finished Apply Kernel Variables.
[ 30.525987] systemd[1]: Reached target Preparation for Local File Systems.
[ 30.612775] systemd[1]: FUSE Control File System was skipped because of an unmet condition check (ConditionPathExists=/sys/fs/fuse/connections).
[ 30.661927] systemd[1]: Kernel Configuration File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/config).
[ 30.781823] systemd[1]: Mounting /tmp...
[ 30.842460] systemd[1]: Starting Record System Boot/Shutdown in UTMP...
[ 30.957629] systemd[1]: Started Journal Service.
[ 31.912192] systemd-journald[62]: Received client request to flush runtime journal.
[ 32.424891] ubi0: attaching mtd3
[ 72.240347] ubi0: scanning is finished
[ 72.270577] ubi0: attached mtd3 (name "user", size 240 MiB)
[ 72.276815] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 72.284537] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 72.292132] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 72.299885] ubi0: good PEBs: 1920, bad PEBs: 0, corrupted PEBs: 0
[ 72.306689] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 72.314747] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 252642230
[ 72.324850] ubi0: available PEBs: 0, total reserved PEBs: 1920, PEBs reserved for bad PEB handling: 40
[ 72.370123] ubi0: background thread "ubi_bgt0d" started, PID 141
[ 72.470740] UBIFS (ubi0:0): Mounting in unauthenticated mode
[ 72.490246] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 144
[ 72.528272] UBIFS error (ubi0:0 pid 143): ubifs_recover_master_node: failed to recover master node
[ 72.550122] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" stops
[ 72.710720] UBIFS (ubi0:0): Mounting in unauthenticated mode
[ 72.717447] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 149
[ 72.777602] UBIFS error (ubi0:0 pid 148): ubifs_recover_master_node: failed to recover master node
[ 72.787792] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" stops
[ 74.342547] ubi0: detaching mtd3
[ 74.360465] ubi0: mtd3 is detached
[ 76.500147] random: crng init done
[ 133.268562] ubi0: attaching mtd3
[ 171.670354] ubi0: scanning is finished
[ 171.700130] ubi0: attached mtd3 (name "user", size 240 MiB)
[ 171.706368] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 171.714070] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 171.721667] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 171.729422] ubi0: good PEBs: 1920, bad PEBs: 0, corrupted PEBs: 0
[ 171.736241] ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[ 171.744304] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 296085255
[ 171.754395] ubi0: available PEBs: 1876, total reserved PEBs: 44, PEBs reserved for bad PEB handling: 40
[ 171.788865] ubi0: background thread "ubi_bgt0d" started, PID 177
[ 172.940637] UBIFS (ubi0:0): Mounting in unauthenticated mode
[ 172.947325] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 185
[ 172.977598] UBIFS error (ubi0:0 pid 184): ubifs_recover_master_node: failed to recover master node
[ 172.987712] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" stops
[ 173.020731] UBIFS (ubi0:0): Mounting in unauthenticated mode
[ 173.028899] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 188
[ 173.057606] UBIFS error (ubi0:0 pid 187): ubifs_recover_master_node: failed to recover master node
[ 173.067725] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" stops
[root@linuxbox ~]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment