Modify

Opened 6 years ago

Last modified 4 years ago

#11099 reopened defect

Kernel panic WPE72

Reported by: p4u Owned by: developers
Priority: response-needed Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: wpe72 compex Cc:

Description

Using trunk revision 30857 and target compex WPE72 I get a kernel panic during boot. Seems that kernel is not able to find the partitions, maybe the flash module is missing or grub is not installed properly?

Datasheet of the board: http://www.compex.com.sg/DownLoads/Manual/WPE72%20Board%20product%20manual_Rev1.pdf

TTY serial Otuput:

[    0.000000] Linux version 3.2.9 (pau@pc) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Fri Mar 9 00:53:15 CET 2012
[    0.000000] prom: unknown device id: 672
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7240 rev 2
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:5.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  console=ttyS0,115200 rootfstype=squashfs,jffs2 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] 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] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 29316k/32768k available (2053k kernel code, 3452k reserved, 395k data, 192k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:48
[    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: 512
[    0.090000] NET: Registered protocol family 16
[    0.100000] MIPS: machine is Generic AR71XX/AR724X/AR913X based board
[    0.110000] bio: create slab <bio-0> at 0
[    0.110000] Switching to clocksource MIPS
[    0.120000] NET: Registered protocol family 2
[    0.120000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.130000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.140000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.140000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.150000] TCP reno registered
[    0.150000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.160000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.170000] NET: Registered protocol family 1
[    0.190000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.200000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.210000] msgmni has been set to 57
[    0.210000] io scheduler noop registered
[    0.220000] io scheduler deadline registered (default)
[    0.220000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.250000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.250000] console [ttyS0] enabled, bootconsole disabled
[    0.250000] console [ttyS0] enabled, bootconsole disabled
[    0.270000] TCP westwood registered

[    0.120000] NET: Registered protocol family 2
[    0.120000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.130000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.140000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.140000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.150000] TCP reno registered
[    0.150000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.160000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.170000] NET: Registered protocol family 1
[    0.190000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.200000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.210000] msgmni has been set to 57
[    0.210000] io scheduler noop registered
[    0.220000] io scheduler deadline registered (default)
[    0.220000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.250000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.250000] console [ttyS0] enabled, bootconsole disabled
[    0.250000] console [ttyS0] enabled, bootconsole disabled
[    0.270000] TCP westwood registered
[    0.280000] NET: Registered protocol family 17
[    0.280000] 8021q: 802.1Q VLAN Support v1.8
[    0.290000] VFS: Cannot open root device "(null)" or unknown-block(0,0)
[    0.300000] Please append a correct "root=" boot option; here are the available partitions:
[    0.300000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Attachments (3)

Boot Compex.txt (4.8 KB) - added by jose@… 6 years ago.
Boot log during compex firmware booting
Boot OpenWRT.txt (4.8 KB) - added by jose@… 6 years ago.
Boot log during OpenWRT firmware booting
.config (65.1 KB) - added by jose@… 6 years ago.
OpenWRT's config file

Download all attachments as: .zip

Change History (11)

comment:1 Changed 6 years ago by juhosg

  • Priority changed from normal to response-needed

Should be fixed in r30902. Please try it, I dont't have a WPE72 board.

comment:2 Changed 6 years ago by hakais@…

First test doing just

svn up && make

crashes in the same point (Kernel Panic).

Now I'm trying a

make clean && make

to be sure that your last changes are applied.

Please, let me know if you need any information.

Thanks!!

comment:3 Changed 6 years ago by anonymous

Ok, after clean compilation the error has changed

[    0.000000] Kernel command line:  board=WPE72 ethaddr=00:80:48:ZZ:XX:YY console=ttyS0,115200 rootfstype=squashfs,jffs2 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] 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] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 29316k/32768k available (2053k kernel code, 3452k reserved, 395k data, 192k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:48
[    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: 512
[    0.090000] NET: Registered protocol family 16
[    0.100000] MIPS: machine is Compex WPE72
[    1.490000] registering PCI controller with io_map_base unset
[    1.500000] bio: create slab <bio-0> at 0
[    1.510000] Data bus error, epc == 801c9a90, ra == 80174774
[    1.510000] Oops[#1]:
[    1.510000] Cpu 0
[    1.510000] $ 0   : 00000000 802f0000 deadc0de 8181ddb0
[    1.510000] $ 4   : 00000000 00000001 00000000 00000004
[    1.510000] $ 8   : 000000d5 000000d4 8180a000 81822000
[    1.510000] $12   : ffffffff 00000000 00000000 ffffffff
[    1.510000] $16   : 00000001 8181dde0 00000000 00000000
[    1.510000] $20   : 00000000 8181dde0 00000000 00000000
[    1.510000] $24   : 00000000 80199cdc
[    1.510000] $28   : 8181c000 8181dd98 00000000 80174774
[    1.510000] Hi    : 00000000
[    1.510000] Lo    : 5a00c580
[    1.510000] epc   : 801c9a90 0x801c9a90
[    1.510000]     Not tainted
[    1.510000] ra    : 80174774 0x80174774
[    1.510000] Status: 1000c402    KERNEL EXL
[    1.510000] Cause : 1080001c
[    1.510000] PrId  : 00019374 (MIPS 24Kc)
[    1.510000] Modules linked in:
[    1.510000] Process swapper (pid: 1, threadinfo=8181c000, task=81818000, tls=00000000)
[    1.510000] Stack : 81844814 8017bc58 000000d0 80159198 8181ddb0 818611e0 00000000 81844800
[    1.510000]         81844800 81844800 81844800 80257d7c 81844924 802557e8 00000000 81844898
[    1.510000]         00000003 802bc558 81856400 81837370 81844800 81844800 00000000 00000000
[    1.510000]         00000000 802f0000 00000000 80176a48 81844890 81844800 81844890 81844800
[    1.510000]         81844800 00000008 00000000 00000100 00000000 802f0000 00000000 802598a8
[    1.510000]         ...
[    1.510000] Call Trace:[<8017bc58>] 0x8017bc58
[    1.510000] [<80159198>] 0x80159198
[    1.510000] [<80257d7c>] 0x80257d7c
[    1.510000] [<802557e8>] 0x802557e8
[    1.510000] [<80176a48>] 0x80176a48
[    1.510000] [<802598a8>] 0x802598a8
[    1.510000] [<80259de0>] 0x80259de0
[    1.510000] [<8019a22c>] 0x8019a22c
[    1.510000] [<8025c1e8>] 0x8025c1e8
[    1.510000] [<802db480>] 0x802db480
[    1.510000] [<802db554>] 0x802db554
[    1.510000] [<802db574>] 0x802db574
[    1.510000] [<80060900>] 0x80060900
[    1.510000] [<80121b90>] 0x80121b90
[    1.510000] [<800a6518>] 0x800a6518
[    1.510000] [<802c597c>] 0x802c597c
[    1.510000] [<80064510>] 0x80064510
[    1.510000] [<802c58e0>] 0x802c58e0
[    1.510000] [<80064500>] 0x80064500
[    1.510000]
[    1.510000]
[    1.510000] Code: 000000c0  03e00008  24020087
[    1.510000]  41606000  41606020  000000c0  24040010  54c4000d
[    1.520000] ---[ end trace 139ce121c98e96c9 ]---
[    1.520000] Kernel panic - not syncing: Attempted to kill init!

comment:4 Changed 6 years ago by juhosg

Please rebuild the image with kernel symbols enabled

make menuconfig
Global build settings --->
   Compile the kernel with symbol table information

and paste the log from that image.

comment:5 Changed 6 years ago by p4u

It works.
I just cleaned the code and compiled again with the last trunk and all seems to work fine.

Thank you.

comment:6 Changed 6 years ago by juhosg

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

Changed 6 years ago by jose@…

Boot log during compex firmware booting

Changed 6 years ago by jose@…

Boot log during OpenWRT firmware booting

Changed 6 years ago by jose@…

OpenWRT's config file

comment:7 Changed 6 years ago by jose@…

  • Resolution fixed deleted
  • Status changed from closed to reopened

I have got the same board, it was ordered with Compex firmware, and I am trying to change to a custom OpenWRT.

I have done a clean compilation using latest available SVN version and I get a Kernel Panic at the same point.

I have attached the .config file and the tty outputs during the booting. Do you need more information? any idea?

Thank you.

comment:8 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 reopened .
Author


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

 
Note: See TracTickets for help on using tickets.