Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#9502 closed defect (fixed)

Tp-Link 1043nd trunk - kernel panic

Reported by: dmbohdan@… Owned by: juhosg
Priority: high Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: Cc:

Description

I've try to flash trunk image and it have an kernel bug.
Here is a log

## Booting image at bf020000 ...

Uncompressing Kernel Image ... OK

Starting kernel ...

SoC: Atheros AR9132 rev 2
Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:5.000MHz
Determined physical RAM map:

memory: 02000000 @ 00000000 (usable)

Initrd not found or empty - disabling initrd
Zone PFN ranges:

Normal 0x00000000 -> 0x00002000

Movable zone start PFN for each node
early_node_map[1] active PFN ranges

0: 0x00000000 -> 0x00002000

Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
Kernel command line: board=TL-WR1043ND console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 29360k/32768k available (2036k kernel code, 3408k reserved, 381k data, 172k init, 0k highmem)
SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:80
Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
MIPS: machine is TP-LINK TL-WR1043ND
bio: create slab <bio-0> at 0
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
msgmni has been set to 57
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
Atheros AR71xx SPI Controller driver version 0.2.4
m25p80 spi0.0: found s25sl064a, expected m25p80
m25p80 spi0.0: s25sl064a (8192 Kbytes)
Searching for RedBoot partition table in spi0.0 at offset 0x7e0000
Searching for RedBoot partition table in spi0.0 at offset 0x7f0000
No RedBoot partition table detected in spi0.0
spi0.0: no WRT160NL signature found
Creating 5 MTD partitions on "spi0.0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x000000160000 : "kernel"
0x000000160000-0x0000007f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=2C0000, len=530000
0x0000002c0000-0x0000007f0000 : "rootfs_data"
0x0000007f0000-0x000000800000 : "art"
0x000000020000-0x0000007f0000 : "firmware"
Realtek RTL8366RB ethernet switch driver version 0.2.3
rtl8366rb rtl8366rb: using GPIO pins 18 (SDA) and 19 (SCK)
rtl8366rb rtl8366rb: RTL5937 ver. 3 chip found
rtl8366rb: probed
eth0: Atheros AG71xx at 0xb9000000, irq 4
Kernel bug detected#1:
Cpu 0
$ 0 : 00000000 00000064 802f0000 80300000
$ 4 : 00000000 00000000 000007a6 0000000f
$ 8 : fffffffc 80155a20 00000008 00000000
$12 : 00000001 00000000 00000000 ffffffff
$16 : 8183d608 802b77e4 ffffffed 802b77e4
$20 : 80300000 802f0000 00000000 00000000
$24 : 00000018 80259b80
$28 : 81816000 81817db8 00000000 8018c900
Hi : 00000006
Lo : 0000001e
epc : 80259c18 0x80259c18

Not tainted

ra : 8018c900 0x8018c900
Status: 1000d003 KERNEL EXL IE
Cause : 10800024
PrId : 00019374 (MIPS 24Kc)
Modules linked in:
Process swapper (pid: 1, threadinfo=81816000, task=81818000, tls=00000000)
Stack : 00000000 ffffffea 802f0000 8011469c 8183d608 802b77e4 ffffffed 8018c900

81848b30 80255070 81912fc0 8014cfe8 8183d608 802b77e4 8183d63c 802b77e4
00000000 8018ca20 802b77e4 8018b5b0 ffffffff ffffffff 00000000 81817e30
8018c9b4 8018b910 ffffffea 8014d4f0 802e4180 802e4188 81837038 81848b30
81817e60 802b77e4 802b4cd8 81914200 00000000 8018c13c 81817e70 00000001
...

Call Trace:[<8011469c>] 0x8011469c
[<8018c900>] 0x8018c900
[<80255070>] 0x80255070
[<8014cfe8>] 0x8014cfe8
[<8018ca20>] 0x8018ca20
[<8018b5b0>] 0x8018b5b0
[<8018c9b4>] 0x8018c9b4
[<8018b910>] 0x8018b910
[<8014d4f0>] 0x8014d4f0
[<8018c13c>] 0x8018c13c
[<801ce5ac>] 0x801ce5ac
[<802d09b4>] 0x802d09b4
[<8018cd00>] 0x8018cd00
[<802d0598>] 0x802d0598
[<802d09b4>] 0x802d09b4
[<800609c0>] 0x800609c0
[<800a4458>] 0x800a4458
[<802bd9a4>] 0x802bd9a4
[<80063f60>] 0x80063f60
[<802bd8dc>] 0x802bd8dc
[<80063f50>] 0x80063f50

Code: 3c04802b 08096707 24030020 <0200000d> 3c028030 ac43ac68 3c04802b 0c0600ad 24847820
Disabling lock debugging due to kernel taint
Kernel panic - not syncing: Attempted to kill init!

Attachments (0)

Change History (5)

comment:1 Changed 7 years ago by jow

  • Owner changed from developers to juhosg
  • Status changed from new to assigned

Can you please rebuild with "Global Build Settings -> Compile the kernel with symbol table information" and repost the oops?

comment:2 Changed 7 years ago by jogo

I just tried on my WN2000RPT, and it's probably this:

eth0: Atheros AG71xx at 0xb9000000, irq 4
eth1: Atheros AG71xx at 0xba000000, irq 5
Kernel bug detected[#1]:
Cpu 0
$ 0   : 00000000 00000064 80430000 80450000
$ 4   : 00000000 00000000 00000873 0000000f
$ 8   : fffffffc 80154420 00000008 00000000
$12   : 00000001 00000000 00000000 ffffffff
$16   : 8183d608 802c75d4 ffffffed 802c75d4
$20   : 80450000 80430000 00000000 00000000
$24   : 00000018 80244784
$28   : 81816000 81817db8 00000000 8018a5f0
Hi    : 00000013
Lo    : 00000005
epc   : 8024481c ar71xx_wdt_probe+0x98/0xf4
    Not tainted
ra    : 8018a5f0 driver_probe_device+0xc8/0x17c
Status: 1000f003    KERNEL EXL IE
Cause : 10800024
PrId  : 00019374 (MIPS 24Kc)
Modules linked in:
Process swapper (pid: 1, threadinfo=81816000, task=81818000, tls=00000000)
Stack : 00000000 ffffffea 80430000 801168dc 8183d608 802c75d4 ffffffed 8018a5f0
        81848b30 8023fce0 81920660 8014b978 8183d608 802c75d4 8183d63c 802c75d4
        00000000 8018a710 802c75d4 801892a0 ffffffff ffffffff 00000000 81817e30
        8018a6a4 80189600 ffffffea 8014be80 802f2820 802f2828 81837038 81848b30
        81817e60 802c75d4 802c4ac8 81927400 00000000 80189e2c 81817e70 00000001
        ...
Call Trace:
[<8024481c>] ar71xx_wdt_probe+0x98/0xf4
[<8018a5f0>] driver_probe_device+0xc8/0x17c
[<8018a710>] __driver_attach+0x6c/0xa4
[<80189600>] bus_for_each_dev+0x5c/0xa0
[<80189e2c>] bus_add_driver+0xd0/0x260
[<8018a9f0>] driver_register+0xc8/0x170
[<800609c0>] do_one_initcall+0xf0/0x1c0
[<802cc9a4>] kernel_init+0xc8/0x168
[<80064090>] kernel_thread_helper+0x10/0x18

comment:3 Changed 7 years ago by jogo

Okay, the culprit is obviously r27060 - the switch case is missing the ar913x.

comment:4 Changed 7 years ago by juhosg

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in r27102.

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.