Skip to content

Instantly share code, notes, and snippets.

@ZachAR3
Created August 14, 2023 07:55

Revisions

  1. ZachAR3 created this gist Aug 14, 2023.
    252 changes: 252 additions & 0 deletions 1.15-7500-stuck-ubi
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,252 @@
    done
    Bytes transferred = 26869760 (19a0000 hex)
    Automatic boot of image at addr 0x42000000 ...
    Image Name: Linux-3.4.103
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1897920 Bytes = 1.8 MiB
    Load Address: 41508000
    Entry Point: 41508000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
    OK
    mtdids not defined, no default present
    info: "mtdparts" not set
    Using machid 0x1260 from environment

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0
    [ 0.000000] Linux version 3.4.103 (root@build-vm) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 SMP PREEMPT Sat Aug 4 11:00:38 PDT 2018
    [ 0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [ 0.000000] Machine: Linksys EA7500 WiFi Router.
    [ 0.000000] msm_reserve_memory: 0x44600000, 0x200000
    [ 0.000000] memory pool 3 (start 4fc00000 size 400000) initialized
    [ 0.000000] Memory policy: ECC disabled, Data cache writealloc
    [ 0.000000] smem_find(137, 80): wrong size 72
    [ 0.000000] socinfo_init: v6, id=202, ver=2.0, raw_id=2064, raw_ver=2064, hw_plat=0, hw_plat_ver=65536
    [ 0.000000] accessory_chip=0 hw_plat_subtype=0
    [ 0.000000] PERCPU: Embedded 8 pages/cpu @c0a4b000 s11072 r8192 d13504 u32768
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 58154
    [ 0.000000] Kernel command line: console=ttyHSL1,115200n8 init=/sbin/init rootfstype=squashfs ubi.mtd=16,2048 ubi.block=0,0 root=/dev/ubiblock0_0 rootwait ro
    [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [ 0.000000] Memory: 49MB 180MB = 229MB total
    [ 0.000000] Memory: 223660k/229804k available, 10836k reserved, 0K highmem
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    [ 0.000000] vmalloc : 0xcf000000 - 0xff000000 ( 768 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xceb00000 ( 235 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc0519000 (5188 kB)
    [ 0.000000] .init : 0xc0600000 - 0xc0702b40 (1035 kB)
    [ 0.000000] .data : 0xc0704000 - 0xc07a1160 ( 629 kB)
    [ 0.000000] .bss : 0xc07a1184 - 0xc0849e4c ( 676 kB)
    [ 0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] NR_IRQS:1689
    [ 0.000000] sched_clock: 32 bits at 32kHz, resolution 31240ns, wraps every 134175798ms
    [ 0.000000] Console: colour dummy device 80x30
    [ 0.150452] Calibrating delay using timer specific routine.. 12.55 BogoMIPS (lpj=62796)
    [ 0.150484] pid_max: default: 32768 minimum: 301
    [ 0.150952] Mount-cache hash table entries: 512
    [ 0.152421] CPU: Testing write buffer coherency: ok
    [ 0.152639] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 0.152671] hw perfevents: enabled with ARMv7 Krait PMU driver, 5 counters available
    [ 0.152796] Setting up static identity map for 0x418cbd80 - 0x418cbe08
    [ 0.155107] CPU1: Booted secondary processor
    [ 0.155170] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [ 0.155263] Brought up 2 CPUs
    [ 0.155295] SMP: Total of 2 processors activated (25.11 BogoMIPS).
    [ 0.171633] dummy:
    [ 0.172321] NET: Registered protocol family 16
    [ 0.173164] AXI: msm_bus_fabric_init_driver(): msm_bus_fabric_init_driver
    [ 0.175632] meminfo_init: smem ram ptable found: ver: 0 len: 5
    [ 0.175632] Found 1 memory banks grouped into 8 memory regions
    [ 0.175945] gpiochip_add: registered GPIOs 0 to 151 on device: msmgpio
    [ 0.176601] smem_find(137, 80): wrong size 72
    [ 0.176601] socinfo_init: v6, id=202, ver=2.0, raw_id=2064, raw_ver=2064, hw_plat=0, hw_plat_ver=65536
    [ 0.176632] accessory_chip=0 hw_plat_subtype=0
    [ 0.176663] msm_rpm_init: RPM firmware 3.0.16777342
    [ 0.184661] clk_tbl_nss - loaded
    [ 0.212464] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 0.212464] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.212870] msm_dmov_memcpy_init: Success
    [ 0.220024] sps:BAM 0x12244000 enabled: ver:0x5, number of pipes:20
    [ 0.220024] sps:BAM 0x12244000 is registered.
    [ 0.220274] sps:sps is ready.
    [ 0.260887] msm_pcie_setup: link initialized
    [ 0.261262] PCI host bridge to bus 0000:00
    [ 0.261293] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fefffff]
    [ 0.261793] PCI: bus0: Fast back to back transfers disabled
    [ 0.261793] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [ 0.262636] PCI: bus1: Fast back to back transfers disabled
    [ 0.300999] msm_pcie_setup: link initialized
    [ 0.301343] PCI host bridge to bus 0000:02
    [ 0.301374] pci_bus 0000:02: root bus resource [mem 0x2e000000-0x31efffff]
    [ 0.301843] PCI: bus2: Fast back to back transfers disabled
    [ 0.301843] pci 0000:02:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [ 0.302561] PCI: bus3: Fast back to back transfers disabled
    [ 0.421368] msm_pcie_setup: link initialization failed
    [ 0.421587] pci 0000:02:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
    [ 0.421618] pci 0000:03:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
    [ 0.421649] pci 0000:02:00.0: PCI bridge to [bus 03-03]
    [ 0.421680] pci 0000:02:00.0: bridge window [mem 0x2e000000-0x2e1fffff]
    [ 0.421743] PCI: enabling device 0000:02:00.0 (0140 -> 0143)
    [ 0.421805] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
    [ 0.421836] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
    [ 0.421868] pci 0000:00:00.0: PCI bridge to [bus 01-01]
    [ 0.421899] pci 0000:00:00.0: bridge window [mem 0x08000000-0x081fffff]
    [ 0.421930] PCI: enabling device 0000:00:00.0 (0140 -> 0143)
    [ 0.448953] bio: create slab <bio-0> at 0
    [ 0.450546] SCSI subsystem initialized
    [ 0.453014] spi_qsd spi_qsd.5: master is unqueued, this is deprecated
    [ 0.455482] spi_qsd spi_qsd.6: master is unqueued, this is deprecated
    [ 0.459918] Switching to clocksource gp_timer
    [ 0.481412] NET: Registered protocol family 2
    [ 0.491127] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.491752] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [ 0.491846] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [ 0.491940] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.491971] TCP: reno registered
    [ 0.491971] UDP hash table entries: 128 (order: 0, 4096 bytes)
    [ 0.492002] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
    [ 0.492439] NET: Registered protocol family 1
    [ 0.493845] Detected 5 counters on the L2CC PMU.
    [ 0.494907] smd: register irq failed on wcnss_a11
    [ 0.494907] smd: deregistering IRQs
    [ 0.494970] SMD: smd_core_platform_init() failed
    [ 0.495720] Partition(from smem) SBL1 -- Offset:0 Size:2
    [ 0.495720] Partition(from smem) MIBIB -- Offset:2 Size:a
    [ 0.495751] Partition(from smem) SBL2 -- Offset:c Size:a
    [ 0.495751] Partition(from smem) SBL3 -- Offset:16 Size:14
    [ 0.495782] Partition(from smem) DDRCONFIG -- Offset:2a Size:9
    [ 0.495782] Partition(from smem) SSD -- Offset:33 Size:9
    [ 0.495813] Partition(from smem) TZ -- Offset:3c Size:14
    [ 0.495813] Partition(from smem) RPM -- Offset:50 Size:14
    [ 0.495845] Partition(from smem) ART -- Offset:64 Size:a
    [ 0.495876] Partition(from smem) APPSBL -- Offset:6e Size:8
    [ 0.495876] get_nand_partitions: partition name=rootfs found.
    [ 0.495907] Overlaying Olympus partition
    [ 0.495907] Olympus partition u_env -- Offset:76 Size:2
    [ 0.495907] Olympus partition s_env -- Offset:78 Size:2
    [ 0.495938] Olympus partition devinfo -- Offset:7a Size:2
    [ 0.495938] Olympus partition kernel -- Offset:7c Size:140
    [ 0.495938] Olympus partition rootfs -- Offset:94 Size:128
    [ 0.495970] Olympus partition alt_kernel -- Offset:1bc Size:140
    [ 0.495970] Olympus partition alt_rootfs -- Offset:1d4 Size:128
    [ 0.496001] Olympus partition sysdiag -- Offset:2fc Size:8
    [ 0.496001] Olympus partition syscfg -- Offset:304 Size:0
    [ 0.496001] get_bootconfig_partition: magic not found
    [ 0.510996] acpuclk-ipq806x acpuclk-ipq806x: SPEED BIN: 0
    [ 0.510996] acpuclk-ipq806x acpuclk-ipq806x: ACPU PVS: 1
    [ 0.517681] acpuclk-ipq806x acpuclk-ipq806x: CPU0: 6 frequencies supported
    [ 0.517681] acpuclk-ipq806x acpuclk-ipq806x: CPU1: 6 frequencies supported
    [ 0.519275] msm_rpm_log_probe: OK
    [ 0.539237] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.539268] jffs2: version 2.2. (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
    [ 0.540674] msgmni has been set to 436
    [ 0.542018] io scheduler noop registered
    [ 0.542049] io scheduler deadline registered (default)
    [ 0.543861] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    [ 0.547297] msm_serial_hs.0: ttyHS0 at MMIO 0x12490000 (irq = 227) is a MSM HS UART
    [ 0.547953] msm_serial_hs module loaded
    [ 0.548141] msm_serial_hsl: detected port #1
    [ 0.548266] msm_serial_hsl.1: ttyHSL1 at MMIO 0x16340000 (irq = 184) is a MSM
    [ 0.548672] msm_serial_hsl: console setup on port #1
    [ 1.358388] console [ttyHSL1] enabled
    [ 1.361636] msm_serial_hsl: driver initialized
    [ 1.370915] ahci ahci.0: forcing PORTS_IMPL to 0x1
    [ 1.374726] ahci ahci.0: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
    [ 1.382661] ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc apst
    [ 1.391690] scsi0 : ahci_platform
    [ 1.394657] ata1: SATA max UDMA/133 mmio [mem 0x29000000-0x2900017f] port 0x100 irq 241
    [ 1.404498] msm_nand_probe: phys addr 0x1ac00000
    [ 1.408153] msm_nand_probe: dmac 0x3
    [ 1.411777] msm_nand_probe: allocated dma buffer at ffdfc000, dma_addr 4f61a000
    [ 1.420399] status: e00020
    [ 1.422086] nandid: 1580a101 maker 01 device a1
    [ 1.426585] ONFI probe : Found an ONFI compliant device S34MS01G2
    [ 1.433864] Found a supported NAND device
    [ 1.437706] NAND Controller ID : 0x4030
    [ 1.441674] NAND Device ID : 0x1580a101
    [ 1.445423] Buswidth : 8 Bits
    [ 1.448391] Density : 128 MByte
    [ 1.451640] Pagesize : 2048 Bytes
    [ 1.454889] Erasesize: 131072 Bytes
    [ 1.458356] Oobsize : 64 Bytes
    [ 1.461543] CFG0 Init : 0xa8d408c0
    [ 1.464948] CFG1 Init : 0x0004745c
    [ 1.468416] ECCBUFCFG : 0x00000203
    [ 1.472727] Creating 19 MTD partitions on "msm_nand":
    [ 1.476944] 0x000000000000-0x000000040000 : "SBL1"
    [ 1.484629] 0x000000040000-0x000000180000 : "MIBIB"
    [ 1.492533] 0x000000180000-0x0000002c0000 : "SBL2"
    [ 1.500406] 0x0000002c0000-0x000000540000 : "SBL3"
    [ 1.510059] 0x000000540000-0x000000660000 : "DDRCONFIG"
    [ 1.518306] 0x000000660000-0x000000780000 : "SSD"
    [ 1.526023] 0x000000780000-0x000000a00000 : "TZ"
    [ 1.535520] 0x000000a00000-0x000000c80000 : "RPM"
    [ 1.545360] 0x000000c80000-0x000000dc0000 : "ART"
    [ 1.553077] 0x000000dc0000-0x000000ec0000 : "APPSBL"
    [ 1.560855] 0x000000ec0000-0x000000f00000 : "u_env"
    [ 1.567353] 0x000000f00000-0x000000f40000 : "s_env"
    [ 1.574008] 0x000000f40000-0x000000f80000 : "devinfo"
    [ 1.580974] 0x000000f80000-0x000003780000 : "kernel"
    [ 1.641268] 0x000001280000-0x000003780000 : "rootfs"
    [ 1.697000] 0x000003780000-0x000005f80000 : "alt_kernel"
    [ 1.757731] 0x000003a80000-0x000005f80000 : "alt_rootfs"
    [ 1.762136] ata1: SATA link down (SStatus 0 SControl 300)
    [ 1.820774] 0x000005f80000-0x000006080000 : "sysdiag"
    [ 1.828647] 0x000006080000-0x000008000000 : "syscfg"
    [ 1.879162] UBI: attaching mtd16 to ubi0
    [ 1.882099] UBI: physical eraseblock size: 131072 bytes (128 KiB)
    [ 1.888284] UBI: logical eraseblock size: 126976 bytes
    [ 1.893720] UBI: smallest flash I/O unit: 2048
    [ 1.898375] UBI: VID header offset: 2048 (aligned 2048)
    [ 1.904404] UBI: data offset: 4096
    [ 2.166041] UBI: max. sequence number: 0
    [ 2.169478] UBI error: ubi_read_volume_table: the layout volume was not found
    [ 2.176975] UBI error: ubi_init: cannot attach mtd16
    [ 2.181599] UBI error: ubiblock_create_from_param: block: can't open volume, err=-19
    [ 2.181599]
    [ 2.190784] UBI error: ubi_init: block: cannot initialize, error -19
    [ 2.229771] GPIO Bitbanged MDIO: probed
    [ 2.235051] PPP generic driver version 2.4.2
    [ 2.238956] NET: Registered protocol family 24
    [ 2.242861] PPTP driver version 0.8.5
    [ 2.253733] cpuidle: using governor ladder
    [ 2.256825] cpuidle: using governor menu
    [ 2.263698] Netfilter messages via NETLINK v0.30.
    [ 2.267510] nf_conntrack version 0.5.0 (3494 buckets, 13976 max)
    [ 2.274383] ctnetlink v0.93: registering with nfnetlink.
    [ 2.278725] nf_conntrack_rtsp v0.7 loading
    [ 2.282911] ip_set: protocol 6
    [ 2.286191] gre: GRE over IPv4 demultiplexor driver
    [ 2.290721] ip_gre: GRE over IPv4 tunneling driver
    [ 2.297532] nf_nat_rtsp v0.7 loading
    [ 2.300218] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 2.306029] TCP: cubic registered
    [ 2.310777] NET: Registered protocol family 10
    [ 2.316869] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [ 2.321868] IPv6 over IPv4 tunneling driver
    [ 2.329178] NET: Registered protocol family 17
    [ 2.332927] Bridge firewalling registered
    [ 2.336613] Ebtables v2.0 registered
    [ 2.340393] L2TP core driver, V2.0
    [ 2.343580] PPPoL2TP kernel driver, V2.0
    [ 2.347453] L2TP netlink interface
    [ 2.350921] 8021q: 802.1Q VLAN Support v1.8
    [ 2.355263] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
    [ 2.362824] Registering SWP/SWPB emulation handler
    [ 2.367510] clock_late_init: Removing enables held for handed-off clocks
    [ 2.383130] ipq_nss_get_mac_addr: MAC[0]: ff:ff:ff:ff:ff:ff
    [ 2.387941] ipq_nss_get_mac_addr: MAC[1]: ff:ff:ff:ff:ff:ff
    [ 2.393502] ipq_nss_get_mac_addr: MAC[2]: ff:ff:ff:ff:ff:ff
    [ 2.399062] ipq_nss_get_mac_addr: MAC[3]: ff:ff:ff:ff:ff:ff
    [ 2.404561] no pmic restart interrupt specified
    [ 2.410527] msm_cache_dump_probe: could not register L2 buffer ret = -22.
    [ 2.417994] Waiting for root device /dev/ubiblock0_0...