Modify

Opened 23 months ago

Last modified 17 months ago

#20292 new defect

Kernel panic - not syncing: VFS. ARV4518PWR01A ( Chaos Calmer 15.05 RC3 )

Reported by: pavel.salamatov@… Owned by: developers
Priority: high Milestone: Chaos Calmer 15.05
Component: kernel Version: Trunk
Keywords: Cc:

Description

Hi, I try to update the image (OpenWrt Barrier Breaker 14.07) via a web interface to version Chaos Calmer 15.05 RC3, but got Kernel Panic! My router ARV4518PWR01A, used this image openwrt-15.05-rc3-lantiq-xway-ARV4518PWR01A-squashfs.image md5:48c4ee535b55f975488adc314be2322d

My boot log:

  ROM VER: 1.0.3
CFG 01
Read EEPROMX
 X


U-Boot 2010.03 (May 16 2012 - 05:51:08)

Board: ARV4518PW
SoC: Danube/Twinpass/Vinax-VE V1.3, DDR Speed 166 MHz, CPU Speed 333 MHz
DRAM:  64 MB
Flash:  4 MB
Net:
searching for rtl8306 switch ... found
lq_cpe_eth
Hit any key to stop autoboot:  0
## Booting kernel from Legacy Image at b0020000 ...
   Image Name:   MIPS OpenWrt Linux-3.18.17
   Created:      2015-07-06  17:42:57 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1549572 Bytes =  1.5 MB
   Load Address: 80002000
   Entry Point:  80002000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.18.17 (buildbot@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46018) ) #1 Fri Jul 3 18:06:43 CEST 2015
[    0.000000] SoC: Danube rev 1.3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019641 (MIPS 24KEc)
[    0.000000] MIPS: machine is ARV4518PWR01A - SMC7908A-ISP, Airties WAV-221
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyLTQ0,115200 init=/etc/preinit
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=0007efa8
[    0.000000] Readback ErrCtl register=0007efa8
[    0.000000] Memory: 60084K/65536K available (3483K kernel code, 153K rwdata, 772K rodata, 180K init, 195K bss, 5452K reserved)
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 333MHz
[    0.000000] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368)
[    0.040000] pid_max: default: 32768 minimum: 301
[    0.044000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.048000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.056000] pinctrl core: initialized pinctrl subsystem
[    0.064000] NET: Registered protocol family 16
[    0.076000] pinctrl-xway 1e100b10.pinmux: Init done
[    0.080000] dma-xway 1e104100.dma: Init done - hw rev: 3, ports: 5, channels: 20
[    0.088000] PCI host bridge /fpi@10000000/pci@E105400 ranges:
[    0.092000]  MEM 0x0000000018000000..0x0000000019ffffff
[    0.096000]   IO 0x000000001ae00000..0x000000001affffff
[    0.112000] usbcore: registered new interface driver usbfs
[    0.116000] usbcore: registered new interface driver hub
[    0.120000] usbcore: registered new device driver usb
[    0.124000] PCI host bridge to bus 0000:00
[    0.128000] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    0.132000] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    0.136000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.140000] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[    0.144000] Switched to clocksource MIPS
[    0.148000] NET: Registered protocol family 2
[    0.156000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.164000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.168000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.176000] TCP: reno registered
[    0.180000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.184000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.192000] NET: Registered protocol family 1
[    0.196000] gptu: totally 6 16-bit timers/counters
[    0.200000] gptu: misc_register on minor 63
[    0.204000] gptu: succeeded to request irq 126
[    0.212000] gptu: succeeded to request irq 127
[    0.216000] gptu: succeeded to request irq 128
[    0.220000] gptu: succeeded to request irq 129
[    0.224000] gptu: succeeded to request irq 130
[    0.228000] gptu: succeeded to request irq 131
[    0.240000] lantiq,vmmc 1f103000.vmmc: requested GPIO 511
[    0.244000] lantiq,vmmc 1f103000.vmmc: reserved 1MB at 0x03a00000
[    0.256000] ath5k,eeprom 103f0400.ath5k_eep: loaded ath5k eeprom
[    0.264000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.272000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.276000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.308000] msgmni has been set to 117
[    0.316000] io scheduler noop registered
[    0.320000] io scheduler deadline registered (default)
[    0.324000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[    0.332000] console [ttyLTQ0] enabled
[    0.332000] console [ttyLTQ0] enabled
[    0.340000] bootconsole [early0] disabled
[    0.340000] bootconsole [early0] disabled
[    0.352000] lantiq nor flash device: 02000000 at 10000000
[    0.356000] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022a8
[    0.364000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.368000]   Amd/Fujitsu Extended Query version 1.1.
[    0.372000] number of CFI chips: 1
[    0.376000] 4 ofpart partitions found on MTD device ltq_nor
[    0.384000] Creating 4 MTD partitions on "ltq_nor":
[    0.388000] 0x000000000000-0x000000010000 : "uboot"
[    0.392000] 0x000000010000-0x000000020000 : "uboot_env"
[    0.400000] 0x000000020000-0x0000003f0000 : "firmware"
[    0.432000] 2 uimage-fw partitions found on MTD device firmware
[    0.436000] 0x000000020000-0x00000019a544 : "kernel"
[    0.440000] 0x00000019a544-0x0000003f0000 : "rootfs"
[    0.448000] mtd: device 4 (rootfs) set to be root filesystem
[    0.452000] mtdsplit: squashfs has invalid size in "rootfs"
[    0.456000] mtdsplit: squashfs has invalid size in "ltq_nor"
[    0.508000] 0x0000003f0000-0x000000400000 : "boardconfig"
[    0.568000] libphy: ltq_mii: probed
[    0.660000] Registering RTL8306SD switch with Chip ID: 0x5988, version: 0x0000
[    0.664000] eth0: attached PHY [Realtek RTL8306S] (phy_addr=1e180000.etop-ff:00, irq=-1)
[    0.676000] wdt 1f8803f0.watchdog: Init done
[    0.684000] TCP: cubic registered
[    0.684000] NET: Registered protocol family 17
[    0.688000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    0.700000] Bridge firewalling registered
[    0.704000] 8021q: 802.1Q VLAN Support v1.8
[    0.716000] UBIFS error (pid 1): ubifs_mount: cannot open "ubi0:rootfs", error -19
[    0.724000] List of all partitions:
[    0.728000] 1f00              64 mtdblock0  (driver?)
[    0.732000] 1f01              64 mtdblock1  (driver?)
[    0.736000] 1f02            3904 mtdblock2  (driver?)
[    0.740000] 1f03            1513 mtdblock3  (driver?)
[    0.748000] 1f04            2390 mtdblock4  (driver?)
[    0.752000] 1f05              64 mtdblock5  (driver?)
[    0.756000] No filesystem could mount root, tried:  squashfs
[    0.760000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,4)
[    0.760000] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,4)
[   33.072000] random: nonblocking pool is initialized

Attachments (0)

Change History (2)

comment:1 Changed 20 months ago by medber

This happens in the final version too. This is due to a bigger OpenWrt image compared to ARV4518pw flash memory size.

I compiled Chaos Calmer for ARV4518PW and done this to fit it in:

# Synced with Chaos Calmer 15.05 Final (LuCI git-15.248.30277-3836b45)
# Disabled IPv6 support (can be restored by installing IPv6 packages)
# Removed swconfig package (not really needed)
# Removed debugging
# Optimized for size
# Enabled FPU Emulation
# Included LuCi
# Added USB2 support + Ext4 Filesystem for Extroot + block-mount

The result is an image that fits well in ARV4518PW with 108 KB of free flash space.

Here you can download it if you wish:

# For ARV4518PW R01A

# For ARV4518PW R01

.

comment:2 Changed 17 months ago by pavel.salamatov@…

Hi, I'm an installed image ARV4518PW R01A, everything is fine. Pleased with 108KB of free space and a list of installed packages, all the most necessary. Thank you very much for the work done!

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.