Modify

Opened 7 years ago

Closed 6 years ago

Last modified 4 years ago

#7770 closed defect (fixed)

[ppc40x] Kernel panic for Magicbox

Reported by: mtabakiernik Owned by: juhosg
Priority: highest Milestone: Chaos Calmer 15.05
Component: kernel Version: Backfire 10.03.1 RC1
Keywords: Cc:

Description

After putting image of Backfire 10.03.1-rc1 the following erros ocurs:

U-Boot 1.1.2 (Apr 14 2007 - 16:51:19)

CPU:   IBM PowerPC 405EP Rev. B at 266.666 MHz (PLB=133, OPB=66, EBC=33 MHz)
       IIC Boot EEPROM disabled
       PCI async ext clock used, internal PCI arbiter enabled
       16 kB I-Cache 16 kB D-Cache
Board: MAGICBOX
I2C:   ready
DRAM:  64 MB
FLASH:  4 MB
Net:   ppc_405x_eth0
Hit any key to stop autoboot:  0
## Booting image at ffc00000 ...
   Image Name:   Linux-2.6.32.16
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1242896 Bytes =  1.2 MB
   Load Address: 00400000
   Entry Point:  004005a0
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
CPU clock-frequency <- 0xfe502a8 (267MHz)
CPU timebase-frequency <- 0xfe502a8 (267MHz)
/plb: clock-frequency <- 7f28154 (133MHz)  
/plb/opb: clock-frequency <- 3f940aa (67MHz)
/plb/ebc: clock-frequency <- 1fca055 (33MHz)
/plb/opb/serial@ef600300: clock-frequency <- a98ac7 (11MHz)
/plb/opb/serial@ef600400: clock-frequency <- a98ac7 (11MHz)
Memory <- <0x0 0x4000000> (64MB)                          
ENET0: local-mac-address <- 00:50:c2:1e:cf:d3
ENET1: local-mac-address <- 00:50:c2:1e:cf:d4
                                            
zImage starting: loaded at 0x00400000 (sp: 0x03f90420)
Allocating 0x29cbd0 bytes for kernel ...             
gunzipping (0x00000000 <- 0x0040f000:0x006aca74)...done 0x28a5e8 bytes
                                                                     
Linux/PowerPC load: console=ttyS0,115200 root=/dev/mtdblock1 rootfstype=squashfs,jffs2 noinitrd init=/etc/preinit
Finalizing device tree... flat tree at 0x6b9300                                                                 
Using PowerPC 40x Platform machine description
Linux version 2.6.32.16 (openwrt@ampere) (gcc version 4.4.3 (GCC) ) #1 Mon Aug 9 17:16:01 PDT 2010
bootconsole [udbg0] enabled
setup_arch: bootmem
arch: exit
Zone PFN ranges:
  DMA      0x00000000 -> 0x00004000
  Normal   0x00004000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
MMU: Allocated 1088 bytes of context maps for 255 contexts
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock1 rootfstype=squashfs,jffs2 noinitrd init=/etc/preinit
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 62184k/65536k available (2472k kernel code, 3284k reserved, 132k data, 70k bss, 120k init)
Kernel virtual memory layout:
  * 0xffffe000..0xfffff000  : fixmap
  * 0xfde00000..0xfe000000  : consistent mem
  * 0xfddfe000..0xfde00000  : early ioremap
  * 0xc5000000..0xfddfe000  : vmalloc & ioremap
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:512
UIC0 (32 IRQ sources) at DCR 0xc0
clocksource: timebase mult[f00000] shift[22] registered
Mount-cache hash table entries: 512
NET: Registered protocol family 16
            
PCI host bridge /plb/pci@ec000000 (primary) ranges:
 MEM 0x0000000080000000..0x000000009fffffff -> 0x0000000080000000
  IO 0x00000000e8000000..0x00000000e800ffff -> 0x0000000000000000
4xx PCI DMA offset set to 0x00000000
PCI: Probing PCI hardware
PCI: Hiding 4xx host bridge resources 0000:00:00.0
bio: create slab <bio-0> at 0
Switching to clocksource timebase
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
__ioremap(): phys addr 0x3f00000 is RAM lr c0256dbc
Unable to handle kernel paging request for data at address 0x00000000
Faulting instruction address: 0xc0256dc0
Oops: Kernel access of bad area, sig: 11 [#1]
PowerPC 40x Platform
Modules linked in:
NIP: c0256dc0 LR: c0256dbc CTR: c000f848
REGS: c3821f00 TRAP: 0300   Not tainted  (2.6.32.16)
MSR: 00029030 <EE,ME,CE,IR,DR>  CR: 42004022  XER: 20000000
DEAR: 00000000, ESR: 00000000
TASK = c381c000[1] 'swapper' THREAD: c3820000
GPR00: c0256dbc c3821fb0 c381c000 00000000 00000e7c ffffffff c028d2cf 00000000
GPR08: 00000e47 c028384c c028d6a0 00000000 24004022 00000000 03ffc500 004005a0
GPR16: 00000001 00000001 ffffffff 007fff00 03ff6234 00000000 00000002 03f90760
GPR24: 00800000 0029cbd0 0040ce0c 00000010 c0290000 c028c724 00000000 c0294914
Call Trace:
[c3821fb0] [c0256dbc] 0xc0256dbc (unreliable)
[c3821fc0] [c00023a0] 0xc00023a0
[c3821fe0] [c024c1dc] 0xc024c1dc
[c3821ff0] [c000e9cc] 0xc000e9cc
Instruction dump:
7c0802a6 93e1000c 3fe0c029 807f4914 3bff4914 90010014 3800fff4 2f830000
41be0094 38804000 4bdbc489 907f0004 <81230000> 6d205e11 2f80dead 409e0044
---[ end trace 561bb236c800851f ]---
Kernel panic - not syncing: Attempted to kill init!
Rebooting in 180 seconds..

Attachments (0)

Change History (8)

comment:1 Changed 7 years ago by simone.ricci@…

Confirmed, even with the newest 10.03.1-rc5 snapshot...the last working image is 10.03 which boots but bricks the board as it overwrites the bootloader present at the end of NAND :-(

comment:2 Changed 7 years ago by jow

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

comment:3 Changed 7 years ago by jow

  • Owner changed from kerneis to kaloz

sorry, click-o

comment:4 Changed 6 years ago by simone.ricci@…

Any noews on that ? Is there anything I can do to help ?

S.

comment:5 Changed 6 years ago by florian

  • Owner changed from kaloz to juhosg

Can you try latest trunk please?

comment:6 Changed 6 years ago by anonymous

Works beautifully:

root@OpenWrt:/# uname -a
Linux OpenWrt 3.2.9 #1 Sat Mar 10 21:03:15 MST 2012 ppc GNU/Linux
root@OpenWrt:/# cat /proc/cpuinfo
processor       : 0
cpu             : 405EP
clock           : 200.000000MHz
revision        : 9.80 (pvr 5121 0950)
bogomips        : 400.00
timebase        : 200000000
platform        : PowerPC 40x Platform
model           : magicbox
Memory          : 32 MB

Thanks !

Regards,
Simone.

comment:7 Changed 6 years ago by florian

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

Fixed with r30791

comment:8 Changed 4 years ago by jow

  • Milestone changed from Backfire 10.03.2 to Chaos Calmer (trunk)

Milestone Backfire 10.03.2 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.