Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2713 - ramips: 19.07.0-rc2 kernel panics on edgerouter-x (ubnt-erx) #7496

Closed
openwrt-bot opened this issue Jan 3, 2020 · 3 comments
Closed
Labels

Comments

@openwrt-bot
Copy link

@openwrt-bot openwrt-bot commented Jan 3, 2020

bjonglez:

After sysupgrading to 19.07.0-rc2, the image kernel panics while booting up.

I strongly suspect that the kernel is too large and overwrites part of the rootfs.

From a 18.06.5 initramfs image booted with TFTP:

root@OpenWrt:/# sysupgrade -v -n /tmp/openwrt-19.07.0-rc2-ramips-mt7621-ubnt-erx-squashfs-sysupgrade.bin
Commencing upgrade. Closing all shell sessions.
Watchdog handover: fd=3
- watchdog -
killall: telnetd: no process killed
Sending TERM to remaining processes ... odhcp6c udhcpc ntpd dnsmasq ubusd logd rpcd netifd odhcpd uhttpd 
Sending KILL to remaining processes ... 
Performing system upgrade...
1+0 records in
1+0 records out
Unlocking kernel2 ...

Writing from <stdin> to kernel2 ...     
removing ubiblock0_0
[  246.998123] block ubiblock0_0: released
Volume ID 0, size 14 LEBs (1777664 bytes, 1.6 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1
Set volume size to 244301824
Volume ID 1, size 1924 LEBs (244301824 bytes, 232.9 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfs_data", alignment 1
sysupgrade successful
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
umount: can't unmount /: Invalid argument
[  248.248419] reboot: Restarting system


                                                                                                                                                                       
3: System Boot system code via Flash.
## Booting image at c0040000 ...     
   Image Name:   MIPS OpenWrt Linux-4.14.156
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1871747 Bytes =  1.8 MB                  
   Load Address: 80001000               
   Entry Point:  80001000
.............................   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK                     
No initrd                           
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 256                        
                                  
Starting kernel ...
                   
[    0.000000] Linux version 4.14.156 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r10775-db8345d8e4)) #0 SMP Sat Nov 30 15:52:33 2019
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is UBNT-ERX
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 10000000 @ 00000000 (usable)
[    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  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] random: get_random_bytes called from 0x80573744 with crng_init=0
[    0.000000] percpu: Embedded 14 pages/cpu s26224 r8192 d22928 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    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] Writing ErrCtl register=0003b0c0
[    0.000000] Readback ErrCtl register=0003b0c0
[    0.000000] Memory: 252464K/262144K available (4744K kernel code, 236K rwdata, 588K rodata, 1268K init, 254K bss, 9680K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 256
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.015498] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.087825] pid_max: default: 32768 minimum: 301
[    0.097143] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.110164] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.125919] Hierarchical SRCU implementation.
[    0.135394] smp: Bringing up secondary CPUs ...
[    0.159745] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.159754] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.159765] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.159900] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.204766] Synchronize counters for CPU 1: done.
[    0.283545] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.283554] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.283561] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.283632] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.325621] Synchronize counters for CPU 2: done.
[    0.400599] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.400607] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.400613] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.400698] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.445192] Synchronize counters for CPU 3: done.
[    0.504797] smp: Brought up 1 node, 4 CPUs
[    0.516400] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.535870] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.548309] pinctrl core: initialized pinctrl subsystem
[    0.560038] NET: Registered protocol family 16
[    0.583364] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.594707] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.605962] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.619671] clocksource: Switched to clocksource GIC
[    0.631198] NET: Registered protocol family 2
[    0.640605] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.654358] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.667135] TCP: Hash tables configured (established 2048 bind 2048)
[    0.679879] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.691379] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.704036] NET: Registered protocol family 1
[    0.949608] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    0.961050] Crashlog allocated RAM at address 0x3f00000
[    0.971565] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    0.991059] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.002602] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    1.023307] random: fast init done
[    1.032032] io scheduler noop registered
[    1.039722] io scheduler deadline registered (default)
[    1.050855] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    1.066953] console [ttyS0] disabled
[    1.074019] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    1.091940] console [ttyS0] enabled
[    1.091940] console [ttyS0] enabled
[    1.105726] bootconsole [early0] disabled
[    1.105726] bootconsole [early0] disabled
[    1.123806] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    1.137899] Enable NFI Clock
[    1.143647] # MTK NAND # : Use HW ECC
[    1.150958] Device not found, ID: c2da
[    1.158401] Not Support this Device! 
[    1.165859] chip_mode=00000001
[    1.171942] Support this Device in MTK table! c2da 
[    1.181838] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[    1.194710] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    1.207356] nand: Macronix NAND 256MiB 3,3V 8-bit
[    1.216723] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.231824] Scanning device for bad blocks
[    1.464753] Bad eraseblock 921 at 0x000007320000
[    1.748608] 6 fixed-partitions partitions found on MTD device MT7621-NAND
[    1.762127] Creating 6 MTD partitions on "MT7621-NAND":
[    1.772540] 0x000000000000-0x000000080000 : "u-boot"
[    1.783527] 0x000000080000-0x0000000e0000 : "u-boot-env"
[    1.795147] 0x0000000e0000-0x000000140000 : "factory"
[    1.806259] 0x000000140000-0x000000440000 : "kernel1"
[    1.817411] 0x000000440000-0x000000740000 : "kernel2"
[    1.828524] 0x000000740000-0x00000ff00000 : "ubi"
[    1.840881] [mtk_nand] probe successfully!
[    1.849778] Signature matched and data read!
[    1.858263] load_fact_bbt success 2047
[    1.866387] libphy: Fixed MDIO Bus: probed
[    1.942236] libphy: mdio: probed
[    3.348290] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    3.360832] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[    3.380073] NET: Registered protocol family 10
[    3.390524] Segment Routing with IPv6
[    3.397896] NET: Registered protocol family 17
[    3.406829] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    3.432619] 8021q: 802.1Q VLAN Support v1.8
[    3.443734] UBI: auto-attach mtd5
[    3.450393] ubi0: attaching mtd5
[    4.443994] ubi0 error: 0x803067f0: bad image sequence number 2083431806 in PEB 864, expected 1362310647
[    4.462866] Erase counter header dump:
[    4.470323]  magic          0x55424923
[    4.477766]  version        1
[    4.483668]  ec             2
[    4.489554]  vid_hdr_offset 2048
[    4.495971]  data_offset    4096
[    4.502390]  image_seq      2083431806
[    4.509846]  hdr_crc        0xeb5ebc5d
[    4.517287] erase counter header hexdump:
[    4.525547] ubi0 error: 0x802fa69c: failed to attach mtd5, error -22
[    4.538222] UBI error: cannot attach mtd5
[    4.546229] hctosys: unable to open rtc device (rtc0)
[    4.557088] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    4.572014] Please append a correct "root=" boot option; here are the available partitions:
[    4.588646] 1f00             512 mtdblock0 
[    4.588652]  (driver?)
[    4.601664] 1f01             384 mtdblock1 
[    4.601668]  (driver?)
[    4.614671] 1f02             384 mtdblock2 
[    4.614675]  (driver?)
[    4.627671] 1f03            3072 mtdblock3 
[    4.627676]  (driver?)
[    4.640685] 1f04            3072 mtdblock4 
[    4.640690]  (driver?)
[    4.653686] 1f05          253696 mtdblock5 
[    4.653691]  (driver?)
[    4.666688] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    4.684553] Rebooting in 1 seconds..
@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Jan 3, 2020

bjonglez:

Same issue with latest trunk snapshot (r11885-113e51f79a):

root@OpenWrt:/tmp# sysupgrade -v -n openwrt-ramips-mt7621-ubiquiti_edgerouterx-squashfs-sysupgrade.bin 
Commencing upgrade. Closing all shell sessions.
Watchdog handover: fd=3
- watchdog -
killall: telnetd: no process killed
Sending TERM to remaining processes ... odhcp6c udhcpc ntpd dnsmasq ubusd logd rpcd netifd odhcpd uhttpd 
Sending KILL to remaining processes ... 
Performing system upgrade...
1+0 records in
1+0 records out
Unlocking kernel1 ...

Writing from <stdin> to kernel1 ...     
removing ubiblock0_0
[ 1405.248139] block ubiblock0_0: released
Volume ID 0, size 11 LEBs (1396736 bytes, 1.3 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1
Set volume size to 244682752
Volume ID 1, size 1927 LEBs (244682752 bytes, 233.3 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfs_data", alignment 1
sysupgrade successful
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
umount: can't unmount /: Invalid argument
[ 1406.338478] reboot: Restarting system


                                                                                                                                                                       
3: System Boot system code via Flash.
## Booting image at bfd40000 ...     
   Image Name:   MIPS OpenWrt Linux-4.14.160
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    2096862 Bytes =  2 MB                    
   Load Address: 80001000             
   Entry Point:  80001000
................................   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK                        
No initrd                           
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 256                        
                                  
Starting kernel ...
                   
[    0.000000] Linux version 4.14.160 (builder@buildhost) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r11885-113e51f79a)) #0 SMP Thu Jan 2 23:08:35 2020
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is UBNT-ERX
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 10000000 @ 00000000 (usable)
[    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  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] random: get_random_bytes called from start_kernel+0x9c/0x4e0 with crng_init=0
[    0.000000] percpu: Embedded 14 pages/cpu s26096 r8192 d23056 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    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] Writing ErrCtl register=0003b0c0
[    0.000000] Readback ErrCtl register=0003b0c0
[    0.000000] Memory: 251436K/262144K available (5006K kernel code, 253K rwdata, 1084K rodata, 1260K init, 260K bss, 10708K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 256
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.015499] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.087822] pid_max: default: 32768 minimum: 301
[    0.097187] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.110208] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.126307] Hierarchical SRCU implementation.
[    0.135823] smp: Bringing up secondary CPUs ...
[    0.160220] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.160230] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.160241] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.160375] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.205147] Synchronize counters for CPU 1: done.
[    0.283975] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.283984] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.283992] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.284067] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.326079] Synchronize counters for CPU 2: done.
[    0.401093] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.401103] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.401111] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.401186] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.445644] Synchronize counters for CPU 3: done.
[    0.505254] smp: Brought up 1 node, 4 CPUs
[    0.517759] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.537243] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.549777] pinctrl core: initialized pinctrl subsystem
[    0.561594] NET: Registered protocol family 16
[    0.590099] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.601429] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.612717] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.626753] clocksource: Switched to clocksource GIC
[    0.638570] NET: Registered protocol family 2
[    0.647940] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.661687] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.674467] TCP: Hash tables configured (established 2048 bind 2048)
[    0.687200] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.698696] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.711370] NET: Registered protocol family 1
[    0.956690] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    0.968101] Crashlog allocated RAM at address 0x3f00000
[    0.978632] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.999567] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.011068] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    1.031662] random: fast init done
[    1.034003] io scheduler noop registered
[    1.046053] io scheduler deadline registered (default)
[    1.057395] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    1.073800] console [ttyS0] disabled
[    1.080861] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    1.098793] console [ttyS0] enabled
[    1.098793] console [ttyS0] enabled
[    1.112588] bootconsole [early0] disabled
[    1.112588] bootconsole [early0] disabled
[    1.130919] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    1.145003] Enable NFI Clock
[    1.150748] # MTK NAND # : Use HW ECC
[    1.158063] Device not found, ID: c2da
[    1.165507] Not Support this Device! 
[    1.172965] chip_mode=00000001
[    1.179059] Support this Device in MTK table! c2da 
[    1.188951] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[    1.201828] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    1.214475] nand: Macronix NAND 256MiB 3,3V 8-bit
[    1.223847] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.238950] Scanning device for bad blocks
[    1.471866] Bad eraseblock 921 at 0x000007320000
[    1.755749] 6 fixed-partitions partitions found on MTD device MT7621-NAND
[    1.769269] Creating 6 MTD partitions on "MT7621-NAND":
[    1.779707] 0x000000000000-0x000000080000 : "u-boot"
[    1.790777] 0x000000080000-0x0000000e0000 : "u-boot-env"
[    1.802547] 0x0000000e0000-0x000000140000 : "factory"
[    1.813781] 0x000000140000-0x000000440000 : "kernel1"
[    1.824967] 0x000000440000-0x000000740000 : "kernel2"
[    1.836099] 0x000000740000-0x00000ff00000 : "ubi"
[    1.848487] [mtk_nand] probe successfully!
[    1.857383] Signature matched and data read!
[    1.865866] load_fact_bbt success 2047
[    1.874092] libphy: Fixed MDIO Bus: probed
[    1.949311] libphy: mdio: probed
[    3.356724] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    3.369254] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[    3.388531] NET: Registered protocol family 10
[    3.399006] Segment Routing with IPv6
[    3.406373] NET: Registered protocol family 17
[    3.415367] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    3.441165] 8021q: 802.1Q VLAN Support v1.8
[    3.452405] UBI: auto-attach mtd5
[    3.459099] ubi0: attaching mtd5
[    4.452947] ubi0 error: ubi_attach: bad image sequence number 2083431806 in PEB 864, expected 1362310647
[    4.471828] Erase counter header dump:
[    4.479290]  magic          0x55424923
[    4.486752]  version        1
[    4.492639]  ec             2
[    4.498546]  vid_hdr_offset 2048
[    4.504951]  data_offset    4096
[    4.511373]  image_seq      2083431806
[    4.518834]  hdr_crc        0xeb5ebc5d
[    4.526275] erase counter header hexdump:
[    4.534557] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd5, error -22
[    4.548629] UBI error: cannot attach mtd5
[    4.556620] hctosys: unable to open rtc device (rtc0)
[    4.567483] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    4.582430] Please append a correct "root=" boot option; here are the available partitions:
[    4.599076] 1f00             512 mtdblock0 
[    4.599083]  (driver?)
[    4.612093] 1f01             384 mtdblock1 
[    4.612099]  (driver?)
[    4.625100] 1f02             384 mtdblock2 
[    4.625104]  (driver?)
[    4.638135] 1f03            3072 mtdblock3 
[    4.638140]  (driver?)
[    4.651149] 1f04            3072 mtdblock4 
[    4.651155]  (driver?)
[    4.664158] 1f05          253696 mtdblock5 
[    4.664162]  (driver?)
[    4.677186] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    4.695141] Rebooting in 1 seconds..

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Jan 3, 2020

ynezz:

I can't confirm that, I'm running r11885-113e51f79a on my ERX.

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Jan 3, 2020

ynezz:

Sysupgrade from initramfs OpenWrt 18.06.5, r7897-9d401013fc to OpenWrt 19.07.0-rc2, r10775-db8345d8e4 worked as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant