[LEDE-DEV] [Bug Report][Lantiq][ARV7518pw] Kernel Oops after booting
Mohammed Berdai
mohammed.berdai at gmail.com
Sun May 22 15:06:33 PDT 2016
Hi everyone,
I started building and testing LEDE DD for some Lantiq based routers mainly (ARV4518 / ARV7518 / ARV7519RW22)
Since I couldn't find a bug tracker site I thought it would be OK to send a bug report here.
I've built LEDE DD (r343) for ARV7518pw with LuCi and no extra tweaks or configs.
After flashing and booting for the first time I get a Kernel Oops.
Here is the entire bootlog
## Booting kernel from Legacy Image at b0020000 ...
Image Name: MIPS LEDE Linux-4.4.11
Created: 2016-05-22 17:51:00 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1498139 Bytes = 1.4 MB
Load Address: 80002000
Entry Point: 80002000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Linux version 4.4.11 (rave at ravebox) (gcc version 5.3.0 (LEDE GCC 5.3.0 r343) ) #5 Sun May 22 21:23:45 UTC 2016
[ 0.000000] SoC: Danube rev 1.5
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019641 (MIPS 24KEc)
[ 0.000000] MIPS: machine is ARV7518PW - Astoria Networks
[ 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 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 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=0005adf8
[ 0.000000] Readback ErrCtl register=0005adf8
[ 0.000000] Memory: 58924K/65536K available (3518K kernel code, 162K rwdata, 868K rodata, 1196K init, 199K bss, 6612K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] CPU Clock: 333MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[ 0.000017] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[ 0.007952] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368)
[ 0.050555] pid_max: default: 32768 minimum: 301
[ 0.055539] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.062086] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.078608] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.088588] pinctrl core: initialized pinctrl subsystem
[ 0.095054] NET: Registered protocol family 16
[ 0.108888] pinctrl-xway 1e100b10.pinmux: Init done
[ 0.115432] dma-xway 1e104100.dma: Init done - hw rev: 3, ports: 5, channels: 20
[ 0.144447] PCI host bridge /fpi at 10000000/pci at E105400 ranges:
[ 0.150146] MEM 0x0000000018000000..0x0000000019ffffff
[ 0.155414] IO 0x000000001ae00000..0x000000001affffff
[ 0.164265] ath9k,eeprom 107f0400.ath9k_eep: endian check enabled.
[ 0.170401] ath9k,eeprom 107f0400.ath9k_eep: pci slot: 14
[ 0.175842] ath9k,eeprom 107f0400.ath9k_eep: loaded ath9k eeprom
[ 0.211057] usbcore: registered new interface driver usbfs
[ 0.216723] usbcore: registered new interface driver hub
[ 0.222145] usbcore: registered new device driver usb
[ 0.227759] PCI host bridge to bus 0000:00
[ 0.231814] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[ 0.238734] pci_bus 0000:00: root bus resource [io 0xffffffff]
[ 0.244724] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.251576] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.259721] pci 0000:00:0e.0: fixup device configuration
[ 0.266161] pci 0000:00:0e.0: fixup info: [168c:ff1d] revision 01 class 0x020000
[ 0.274202] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[ 0.282584] clocksource: Switched to clocksource MIPS
[ 0.290772] NET: Registered protocol family 2
[ 0.296646] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.303603] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.309991] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.316574] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.322399] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.329162] NET: Registered protocol family 1
[ 0.334405] gptu: totally 6 16-bit timers/counters
[ 0.339350] gptu: misc_register on minor 63
[ 0.343486] gptu: succeeded to request irq 126
[ 0.347995] gptu: succeeded to request irq 127
[ 0.352500] gptu: succeeded to request irq 128
[ 0.357014] gptu: succeeded to request irq 129
[ 0.361527] gptu: succeeded to request irq 130
[ 0.366040] gptu: succeeded to request irq 131
[ 0.373852] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.431811] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.437624] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.454920] io scheduler noop registered
[ 0.458829] io scheduler deadline registered (default)
[ 0.465191] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[ 0.474157] console [ttyLTQ0] enabled
[ 0.474157] console [ttyLTQ0] enabled
[ 0.481263] bootconsole [early0] disabled
[ 0.481263] bootconsole [early0] disabled
[ 0.490862] lantiq nor flash device: 02000000 at 10000000
[ 0.495136] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
[ 0.504249] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.509104] Amd/Fujitsu Extended Query version 1.1.
[ 0.513976] number of CFI chips: 1
[ 0.517314] 4 ofpart partitions found on MTD device ltq_nor
[ 0.522666] Creating 4 MTD partitions on "ltq_nor":
[ 0.527400] 0x000000000000-0x000000010000 : "uboot"
[ 0.538274] 0x000000010000-0x000000020000 : "uboot_env"
[ 0.545829] 0x000000020000-0x0000007f0000 : "firmware"
[ 0.594569] 2 uimage-fw partitions found on MTD device firmware
[ 0.599076] 0x000000020000-0x00000018dc5b : "kernel"
[ 0.606984] 0x00000018dc5b-0x0000007f0000 : "rootfs"
[ 0.614255] mtd: device 4 (rootfs) set to be root filesystem
[ 0.618558] 1 squashfs-split partitions found on MTD device rootfs
[ 0.624432] 0x000000400000-0x0000007f0000 : "rootfs_data"
[ 0.633564] 0x0000007f0000-0x000000800000 : "boardconfig"
[ 0.655671] switch0: Atheros AR8216 rev. 1 switch registered on 1e180000.etop-ff
[ 0.692955] libphy: ltq_mii: probed
[ 0.731621] eth0: attached PHY [Atheros AR8216/AR8236/AR8316] (phy_addr=1e180000.etop-ff:00, irq=-1)
[ 0.741302] wdt 1f8803f0.watchdog: Init done
[ 0.752012] NET: Registered protocol family 10
[ 0.769856] NET: Registered protocol family 17
[ 0.773036] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 0.785132] 8021q: 802.1Q VLAN Support v1.8
[ 0.797562] UBIFS error (pid: 1): cannot open "ubi0:rootfs", error -19
[ 0.814868] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 0.828238] Freeing unused kernel memory: 1196K (80475000 - 805a0000)
[ 3.339522] init: Console is alive
[ 3.341918] init: - watchdog -
[ 5.835713] IFXUSB: ifxusb_hcd: version 3.2 B110801
[ 6.342864] IFXUSB: USB core #0 soft-reset
[ 6.546713] IFXUSB: USB core #0 soft-reset
[ 6.549349] ifxusb_hcd ifxusb_hcd: IFX USB Controller
[ 6.554338] ifxusb_hcd ifxusb_hcd: new USB bus registered, assigned bus number 1
[ 6.561513] ifxusb_hcd ifxusb_hcd: irq 62, io mem 0xbe101000
[ 6.566950] IFXUSB: Mode Mismatch Interrupt: currently in Host mode
[ 6.573023] IFXUSB: Mode Mismatch Interrupt: currently in Host mode
[ 6.579108] IFXUSB: Init: Power Port (0)
[ 6.586759] hub 1-0:1.0: USB hub found
[ 6.589786] hub 1-0:1.0: 1 port detected
[ 6.593789] ifxusb_hcd ifxusb_hcd: requested GPIO 494
[ 6.608396] init: - preinit -
[ 7.588590] random: procd urandom read with 29 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
[ 11.024050] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[ 11.052744] procd: - early -
[ 11.054407] procd: - watchdog -
[ 11.971331] procd: - ubus -
[ 12.193357] procd: - init -
Please press Enter to activate this console.
[ 12.912789] NET: Registered protocol family 8
[ 12.915724] NET: Registered protocol family 20
[ 12.930744] PPP generic driver version 2.4.2
[ 12.945791] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 12.972701] IFX MEI Version 5.00.00
[ 12.988991] Infineon CPE API Driver version: DSL CPE API V3.24.4.4
[ 13.005202] Loading modules backported from Linux version wt-2016-05-12-0-g7a54796
[ 13.011259] Backport generated by backports.git backports-20160216-0-ge3c56e4
[ 13.023347] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 13.041447] ATM1.0.26 ATM (A1) firmware version 0.17
[ 13.045233] ifxmips_atm: ATM init succeed
[ 13.186376] nf_conntrack version 0.5.0 (939 buckets, 3756 max)
[ 13.222765] NET: Registered protocol family 24
[ 13.259095] xt_time: kernel timezone is -0000
[ 29.839557] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 29.862708] jffs2_build_filesystem(): unlocking the mtd device... done.
[ 29.867729] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 32.638720] random: nonblocking pool is initialized
[ 34.480429] device eth0.1 entered promiscuous mode
[ 34.483794] device eth0 entered promiscuous mode
[ 34.509219] br-lan: port 1(eth0.1) entered forwarding state
[ 34.513411] br-lan: port 1(eth0.1) entered forwarding state
[ 34.666749] CPU 0 Unable to handle kernel paging request at virtual address 00002900, epc == 80006000, ra == 8033ccdc
[ 34.675766] Oops[#1]:
[ 34.677867] CPU: 0 PID: 911 Comm: hotplug-call Not tainted 4.4.11 #5
[ 34.684030] task: 838bd400 ti: 8324c000 task.ti: 8324c000
[ 34.689256] $ 0 : 00000000 77dbaa5c 980b000e 00000001
[ 34.694324] $ 4 : 831a7880 0000006c 00000000 00000000
[ 34.699392] $ 8 : 03000002 04000000 00000020 ff020000
[ 34.704461] $12 : 00000000 ffffff80 00000000 00000000
[ 34.709530] $16 : 832eb0c0 0000006c 831a7810 831a7840
[ 34.714599] $20 : 80450000 00000006 00000001 00000005
[ 34.719667] $24 : 0000000c 801bbaa0
[ 34.724736] $28 : 8324c000 8324dba8 00000100 8033ccdc
[ 34.729806] Hi : 0009fd9b
[ 34.732594] Lo : 2afa9784
[ 34.735415] epc : 80006000 csum_partial+0x460/0x580
[ 34.740301] ra : 8033ccdc mld_sendpack+0x74/0x27c
[ 34.745097] Status: 1100fc03 KERNEL EXL IE
[ 34.749155] Cause : 00800008 (ExcCode 02)
[ 34.753039] BadVA : 00002900
[ 34.755830] PrId : 00019641 (MIPS 24KEc)
[ 34.759710] Modules linked in: ath9k ath9k_common iptable_nat ath9k_hw ath pppoe nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT pppox ppp_async nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack ltq_atm_danube iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt compat drv_dsl_cpe_api ltq_mei_danube ledtrig_usbdev ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables pppoatm ppp_generic slhc br2684 atm ltq_hcd_danube gpio_button_hotplug
[ 34.826041] Process hotplug-call (pid: 911, threadinfo=8324c000, task=838bd400, tls=77dd5e48)
[ 34.834306] Stack : 00000006 00000001 83220c00 802fc3f8 00000000 805c0000 00000000 805c0000
832eb0c0 83139c00 832eb0c0 00000004 00000000 802fcc90 00000000 0e151100
80450000 00000001 80453bf0 80066e58 80453c20 80450000 83139c18 00000003
00000001 830d9000 80453c20 80452a40 00000000 0e151100 00000008 00000000
83139e00 83220c00 832eb0c0 fde38801 00000000 83220c00 832eb0c0 8033e4f8
...
[ 34.868775] Call Trace:
[ 34.871161] [<80006000>] csum_partial+0x460/0x580
[ 34.875733] [<8033ccdc>] mld_sendpack+0x74/0x27c
[ 34.880201] [<8033e52c>] mld_ifc_timer_expire+0x2ac/0x384
[ 34.885449] [<80059df4>] call_timer_fn.isra.5+0x24/0x80
[ 34.890505] [<8005a070>] run_timer_softirq+0x1ac/0x1f4
[ 34.895498] [<8002b754>] __do_softirq+0x164/0x290
[ 34.900047] [<80002430>] ret_from_irq+0x0/0x4
[ 34.904279] [<80006600>] __copy_user_common+0x58/0x2d8
[ 34.909281] [<80012ab8>] arch_dup_task_struct+0xcc/0xe8
[ 34.914329] [<80026cbc>] copy_process.isra.6.part.7+0x120/0x1454
[ 34.920154] [<800280c4>] _do_fork+0xbc/0x30c
[ 34.924293] [<80028374>] sys_fork+0x24/0x30
[ 34.928354] [<8000455c>] syscall_common+0x30/0x54
[ 34.932898]
[ 34.934331]
Code: 01094021 0109182b 01034021 <8c162900> 016c182b 01008002 00481021 0048182b 00431021
[ 34.944078] ---[ end trace 9852d1b35b49349a ]---
[ 34.952592] Kernel panic - not syncing: Fatal exception in interrupt
[ 34.959385] Rebooting in 3 seconds..
More information about the Lede-dev
mailing list