#21652: lantiq: ARV7519RW22 kernel panic no root fs found at boot
---------------------+------------------------
Reporter: howl | Owner: developers
Type: defect | Status: new
Priority: high | Milestone:
Component: kernel | Version: Trunk
Resolution: | Keywords:
---------------------+------------------------
Comment (by howl):
Tested and working, now it finds kernel, rootfs, rootfs_data partitions
and autosets the rootfs partition.
{{{
[ 0.000000] Linux version 4.4.0 ([email protected]) (gcc
version 5.2.0 (OpenWrt GCC 5.2.0 r48328) ) #2 Tue Jan 19 23:11:36 CET 2016
[ 0.000000] SoC: xRX200 rev 1.2
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019556 (MIPS 34Kc)
[ 0.000000] MIPS: machine is ARV7519RW22 - Orange Livebox 2.1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 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] Primary instruction cache 32kB, VIPT, 4-way, linesize 32
bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases,
linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 32512
[ 0.000000] Kernel command line: console=ttyLTQ0,115200
init=/etc/preinit
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536
bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768
bytes)
[ 0.000000] Writing ErrCtl register=0003d0a8
[ 0.000000] Readback ErrCtl register=0003d0a8
[ 0.000000] Memory: 124460K/131072K available (3774K kernel code, 165K
rwdata, 1020K rodata, 208K init, 211K bss, 6612K reserved, 0K cma-
reserved)
[ 0.000000] NR_IRQS:256
[ 0.000000] CPU Clock: 500MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 7645041786 ns
[ 0.000010] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every
8589934590ns
[ 0.008192] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[ 0.042317] pid_max: default: 32768 minimum: 301
[ 0.047291] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.053769] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.066241] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.076032] pinctrl core: initialized pinctrl subsystem
[ 0.081873] NET: Registered protocol family 16
[ 0.090833] pinctrl-xway 1e100b10.pinmux: Init done
[ 0.096352] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7,
channels: 28
[ 0.206023] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[ 0.234114] usbcore: registered new interface driver usbfs
[ 0.239596] usbcore: registered new interface driver hub
[ 0.244956] usbcore: registered new device driver usb
[ 0.251005] clocksource: Switched to clocksource MIPS
[ 0.257510] NET: Registered protocol family 2
[ 0.262651] TCP established hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.269538] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.275920] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.282464] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.288273] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.294892] NET: Registered protocol family 1
[ 0.299588] gptu: totally 6 16-bit timers/counters
[ 0.304402] gptu: misc_register on minor 63
[ 0.308524] gptu: succeeded to request irq 126
[ 0.313018] gptu: succeeded to request irq 127
[ 0.317527] gptu: succeeded to request irq 128
[ 0.322040] gptu: succeeded to request irq 129
[ 0.326553] gptu: succeeded to request irq 130
[ 0.331070] gptu: succeeded to request irq 131
[ 0.336418] phy-xrx200 gphy-xrx200: requesting
lantiq/vr9_phy22f_a2x.bin
[ 0.343836] phy-xrx200 gphy-xrx200: booting GPHY0 firmware at 7960000
[ 0.350165] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 7960000
[ 0.457678] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.472324] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.478062] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.489454] io scheduler noop registered
[ 0.493292] io scheduler deadline registered (default)
[ 0.499150] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112,
base_baud = 0) is a lantiq,asc
[ 0.508030] console [ttyLTQ0] enabled
[ 0.508030] console [ttyLTQ0] enabled
[ 0.515373] bootconsole [early0] disabled
[ 0.515373] bootconsole [early0] disabled
[ 0.524353] lantiq nor flash device: 02000000 at 10000000
[ 0.528469] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank.
Manufacturer ID 0x0000c2 Chip ID 0x00227e
[ 0.537922] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.543042] Amd/Fujitsu Extended Query version 1.3.
[ 0.548071] number of CFI chips: 1
[ 0.551500] 4 ofpart partitions found on MTD device ltq_nor
[ 0.557036] Creating 4 MTD partitions on "ltq_nor":
[ 0.561913] 0x000000000000-0x000000060000 : "uboot"
[ 0.569948] 0x000000060000-0x000000080000 : "uboot-env"
[ 0.575873] 0x000000080000-0x000001f80000 : "firmware"
[ 0.601640] 2 uimage-fw partitions found on MTD device firmware
[ 0.606147] 0x000000080000-0x0000002220de : "kernel"
[ 0.612749] 0x0000002220de-0x000001f80000 : "rootfs"
[ 0.618312] mtd: device 4 (rootfs) set to be root filesystem
[ 0.622614] 1 squashfs-split partitions found on MTD device rootfs
[ 0.628753] 0x0000005a0000-0x000001f80000 : "rootfs_data"
[ 0.636242] 0x000001f80000-0x000002000000 : "boardconfig"
[ 0.745041] libphy: lantiq,xrx200-mdio: probed
[ 0.819735] eth0: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:00,
irq=-1)
[ 0.887694] eth0: attached PHY [Lantiq XWAY XRX PHY22F v1.4]
(phy_addr=0:13, irq=-1)
[ 0.955693] eth0: attached PHY [Lantiq XWAY XRX PHY22F v1.4]
(phy_addr=0:14, irq=-1)
[ 1.023692] eth0: attached PHY [Lantiq XWAY XRX PHY22F v1.4]
(phy_addr=0:11, irq=-1)
[ 1.091694] eth0: attached PHY [Lantiq XWAY XRX PHY22F v1.4]
(phy_addr=0:12, irq=-1)
[ 1.099284] wdt 1f8803f0.watchdog: Init done
[ 1.104479] NET: Registered protocol family 10
[ 1.111478] NET: Registered protocol family 17
[ 1.114529] bridge: automatic filtering via arp/ip/ip6tables has been
deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.127152] 8021q: 802.1Q VLAN Support v1.8
[ 1.135855] UBIFS error (pid: 1): cannot open "ubi0:rootfs", error -19
[ 1.146857] VFS: Mounted root (squashfs filesystem) readonly on device
31:4.
[ 1.153324] Freeing unused kernel memory: 208K (804dc000 - 80510000)
[ 2.291074] init: Console is alive
[ 2.293288] init: - watchdog -
[ 2.916425] eth0: port 4 got link
[ 3.643096] dwc2 1e101000.ifxhcd: requested GPIO 494
[ 3.646633] dwc2 1e101000.ifxhcd: Configuration mismatch. Forcing host
mode
[ 4.511191] dwc2 1e101000.ifxhcd: DWC OTG Controller
[ 4.514764] dwc2 1e101000.ifxhcd: new USB bus registered, assigned bus
number 1
[ 4.522115] dwc2 1e101000.ifxhcd: irq 62, io mem 0x00000000
[ 4.527630] dwc2 1e101000.ifxhcd: Hardware does not support descriptor
DMA mode -
[ 4.535070] dwc2 1e101000.ifxhcd: falling back to buffer DMA mode.
[ 4.542395] hub 1-0:1.0: USB hub found
[ 4.545472] hub 1-0:1.0: 1 port detected
[ 4.549516] dwc2 1e106000.ifxhcd: Configuration mismatch. Forcing host
mode
[ 5.411194] dwc2 1e106000.ifxhcd: DWC OTG Controller
[ 5.414773] dwc2 1e106000.ifxhcd: new USB bus registered, assigned bus
number 2
[ 5.422105] dwc2 1e106000.ifxhcd: irq 91, io mem 0x00000000
[ 5.427629] dwc2 1e106000.ifxhcd: Hardware does not support descriptor
DMA mode -
[ 5.435073] dwc2 1e106000.ifxhcd: falling back to buffer DMA mode.
[ 5.442411] hub 2-0:1.0: USB hub found
[ 5.445489] hub 2-0:1.0: 1 port detected
[ 6.339865] init: - preinit -
[ 6.846379] random: procd urandom read with 26 bits of entropy
available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug
level
[ 10.133536] mount_root: jffs2 not ready yet, using temporary tmpfs
overlay
[ 10.153029] procd: - early -
[ 10.154593] procd: - watchdog -
[ 11.028763] procd: - ubus -
[ 12.043658] procd: - init -
Please press Enter to activate this console.
[ 12.767509] IFXOS, Version 1.5.19 (c) Copyright 2009, Lantiq
Deutschland GmbH
[ 12.777085] NET: Registered protocol family 8
[ 12.780041] NET: Registered protocol family 20
[ 12.790607] PPP generic driver version 2.4.2
[ 12.800738] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 12.825230] Lantiq (VRX) DSL CPE MEI driver, version 1.4.8.5, (c) 2013
Lantiq Deutschland GmbH
Lantiq CPE API Driver version: DSL CPE API V4.16.6.3
[ 12.846029]
[ 12.846029] Predefined debug level: 3
[ 12.856611] Loading modules backported from Linux version
v4.4-rc5-1913-gc8fdf68
[ 12.862611] Backport generated by backports.git
backports-20151218-0-g2f58d9d
[ 12.873953] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 12.884625] Infineon Technologies DEU driver version 2.0.0
[ 12.890550] IFX DEU DES initialized (multiblock).
[ 12.894740] IFX DEU AES initialized (multiblock).
[ 12.898913] IFX DEU ARC4 initialized (multiblock).
[ 12.903553] IFX DEU SHA1 initialized.
[ 12.907188] IFX DEU MD5 initialized.
[ 12.910717] IFX DEU SHA1_HMAC initialized.
[ 12.914822] IFX DEU MD5_HMAC initialized.
[ 12.925226] nf_conntrack version 0.5.0 (1947 buckets, 7788 max)
[ 12.949276] NET: Registered protocol family 24
[ 12.972922] xt_time: kernel timezone is -0000
[ 13.096821] usbcore: registered new interface driver rt2800usb
[ 20.332052] PTM 1.0.27 PTM (E1) firmware version 0.30
[ 20.335964] ifxmips_ptm: PTM init succeed
[ 26.759453] jffs2_scan_eraseblock(): End of filesystem marker found at
0x0
[ 26.783080] jffs2_build_filesystem(): unlocking the mtd device... done.
[ 26.788237] jffs2_build_filesystem(): erasing all blocks after the end
marker...
[ 27.076779] device eth0.1 entered promiscuous mode
[ 27.080339] device eth0 entered promiscuous mode
[ 27.117047] br-lan: port 1(eth0.1) entered forwarding state
[ 27.121290] br-lan: port 1(eth0.1) entered forwarding state
[ 27.219352] IPv6: ADDRCONF(NETDEV_UP): ptm0: link is not ready
[ 29.123049] br-lan: port 1(eth0.1) entered forwarding state
[ 32.179061] random: nonblocking pool is initialized
[ 161.110733] done.
[ 161.111256] jffs2: notice: (958) jffs2_build_xattr_subsystem: complete
building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of
xref.
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/21652#comment:4>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets