#19275: ar71xx/mikrotik rb750up: kernel panic during boot
------------------------------------------+------------------------
Reporter: joaochainho@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: kernel | Version: Trunk
Keywords: ar71xx mikrotik kernel panic |
------------------------------------------+------------------------
Arch: ar71xx
Device: Mikrotik RB750UP
Revision: Trunk r44953
Kernel: 3.18.9
Hi,
I'm getting kernel panics during boot, even after 'make dirclean'.
{{{
[ 0.000000] Linux version 3.18.9 (raver@lab) (gcc version 4.8.3
(OpenWrt/Linaro GCC 4.8-2014.04 r44953) ) #1 Mon Mar 23 18:14:02 WET 2015
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR7241 rev 1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x01ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x01ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000-0x01ffffff]
[ 0.000000] Primary instruction cache 64kB, 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: 8128
[ 0.000000] Kernel command line: no-uart parts=1
boot_part_size=4194304 gpio=790343 HZ=200000000 mem=32M
kmac=D4:CA:6D:91:86:F1 board=750i ver=3.02 boot=1 mlc=4
console=ttyS0,115200 rootfstype=yaffs noinitrd
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384
bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 28524K/32768K available (2429K kernel code, 154K
rwdata, 516K rodata, 220K init, 184K bss, 4244K reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz,
Ref:5.000MHz
[ 0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[ 0.080000] pid_max: default: 32768 minimum: 301
[ 0.080000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.100000] NET: Registered protocol family 16
[ 0.100000] MIPS: machine is MikroTik RouterBOARD 750
[ 0.590000] Switched to clocksource MIPS
[ 0.590000] NET: Registered protocol family 2
[ 0.600000] TCP established hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.600000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.610000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.620000] TCP: reno registered
[ 0.620000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.630000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.630000] NET: Registered protocol family 1
[ 0.640000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.670000] msgmni has been set to 55
[ 0.670000] io scheduler noop registered
[ 0.670000] io scheduler deadline registered (default)
[ 0.680000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
�[ 0.710000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11,
base_baud = 12500000) is a 16550A
[ 0.720000] console [ttyS0] enabled
[ 0.720000] console [ttyS0] enabled
[ 0.730000] bootconsole [early0] disabled
[ 0.730000] bootconsole [early0] disabled
[ 0.740000] NAND flash driver for the RouterBOARD 750 version 0.1.0
[ 0.740000] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xf1
[ 0.750000] nand: Toshiba NAND 128MiB 3,3V 8-bit
[ 0.750000] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[ 0.760000] Scanning device for bad blocks
[ 0.860000] Creating 3 MTD partitions on "NAND 128MiB 3,3V 8-bit":
[ 0.860000] 0x000000000000-0x000000040000 : "booter"
[ 0.870000] 0x000000040000-0x000000400000 : "kernel"
[ 0.880000] 0x000000400000-0x000008000000 : "rootfs"
[ 0.880000] mtd: device 2 (rootfs) set to be root filesystem
[ 0.890000] mtdsplit: no squashfs found in "rootfs"
[ 0.890000] mtdsplit: no squashfs found in "NAND 128MiB 3,3V 8-bit"
[ 0.920000] libphy: ag71xx_mdio: probed
[ 1.510000] ag71xx-mdio.1: Found an AR7240/AR9330 built-in switch
[ 1.550000] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 2.140000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04
[uid=004dd041, driver=Generic PHY]
[ 2.150000] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 2.150000] TCP: cubic registered
[ 2.160000] NET: Registered protocol family 17
[ 2.160000] bridge: automatic filtering via arp/ip/ip6tables has been
deprecated. Update your scripts to load br_netfilter if you need this.
[ 2.180000] 8021q: 802.1Q VLAN Support v1.8
[ 2.180000] yaffs: dev is 32505858 name is "mtdblock2" ro
[ 2.190000] yaffs: passed flags ""
[ 3.350000] VFS: Mounted root (yaffs filesystem) readonly on device
31:2.
[ 3.360000] Freeing unused kernel memory: 220K (80369000 - 803a0000)
[ 3.390000] CPU 0 Unable to handle kernel paging request at virtual
address 00000000, epc == 00000000, ra == 8012931c
[ 3.400000] Oops[#1]:
[ 3.400000] CPU: 0 PID: 1 Comm: swapper Not tainted 3.18.9 #1
[ 3.400000] task: 81828000 ti: 81822000 task.ti: 81822000
[ 3.400000] $ 0 : 00000000 00000001 00000000 00000000
[ 3.400000] $ 4 : 81823de0 81823e18 00000001 81823e78
[ 3.400000] $ 8 : 00000038 80064f18 00000000 000003b8
[ 3.400000] $12 : 00000001 802fb8c8 00000000 00000040
[ 3.400000] $16 : 81823e78 819a0280 00000080 81828000
[ 3.400000] $20 : 81900000 8194a034 00000001 8034dc78
[ 3.400000] $24 : 00000000 80212fe4
[ 3.400000] $28 : 81822000 81823dc8 8035256c 8012931c
[ 3.400000] Hi : 00000009
[ 3.400000] Lo : 00000002
[ 3.400000] epc : 00000000 (null)
[ 3.400000] Not tainted
[ 3.400000] ra : 8012931c do_sync_read+0x7c/0xb4
[ 3.400000] Status: 1000f003 KERNEL EXL IE
[ 3.400000] Cause : 10800008
[ 3.400000] BadVA : 00000000
[ 3.400000] PrId : 00019374 (MIPS 24Kc)
[ 3.400000] Modules linked in:
[ 3.400000] Process swapper (pid: 1, threadinfo=81822000,
task=81828000, tls=00000000)
[ 3.400000] Stack : 0000002e 81823e30 81409cc0 81408940 00000000
00000000 819a0280 00000000
00000000 00000000 81828000 00000000 00000000 00000000 00000000
00000000
00000080 00000000 00000000 00000000 8194eb00 00000080 81813790
819a0280
81823e78 8194eb00 8194a000 8029de14 00000000 00000000 00000000
ffffffff
0000003f ffffffff 00000000 0000000a 81949000 8194a000 81900000
8018dfd4
...
[ 3.400000] Call Trace:
[ 3.400000] [<8029de14>] vfs_read+0x90/0x174
[ 3.400000] [<8018dfd4>] kernel_read+0x2c/0x40
[ 3.400000] [<801fae10>] prepare_binprm+0x104/0x114
[ 3.400000] [<8011e2cc>] do_execve+0x2ac/0x4c0
[ 3.400000] [<80159b28>] getname_kernel+0x5c/0x7c
[ 3.400000] [<8014da64>] free_reserved_area+0xfc/0x130
[ 3.400000] [<80281794>] try_to_run_init_process+0x18/0x58
[ 3.400000] [<800652a8>] kernel_init+0xa0/0x114
[ 3.400000] [<80065208>] kernel_init+0x0/0x114
[ 3.400000] [<80060878>] ret_from_kernel_thread+0x14/0x1c
[ 3.400000]
[ 3.400000]
Code: (Bad address in epc)
[ 3.400000]
[ 3.590000] ---[ end trace 4b3a92164196c1c6 ]---
[ 3.590000] Kernel panic - not syncing: Attempted to kill init!
exitcode=0x0000000b
[ 3.590000]
[ 3.590000] ---[ end Kernel panic - not syncing: Attempted to kill
init! exitcode=0x0000000b
[ 3.590000]
}}}
I can provide more info or do further testing if needed.
TIA
--
Ticket URL: <https://dev.openwrt.org/ticket/19275>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets