[#4851] kernel failed to boot at at bfin_mac_mdio on 527-ezkit in latest trunk

Document created by Aaronwu Employee on Aug 30, 2013
Version 1Show Document
  • View in full screen mode

[#4851] kernel failed to boot at at bfin_mac_mdio on 527-ezkit in latest trunk

Submitted By: Vivi Li

Open Date

2009-02-03 23:10:23     Close Date

2009-02-03 23:15:33

Priority:

Medium High     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

Execution     Board:

N/A

Processor:

BF527     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Duplicate

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1-2009-01-19

App binary format:

N/A     

Summary: kernel failed to boot at at bfin_mac_mdio on 527-ezkit in latest trunk

Details:

 

Kernel crashed at bfin_mac_mdio during boot up on 527-ezkit in latest trunk.

It happened since 2, Feb.

 

--

Linux version 2.6.28-ADI-2009R1-pre-svn6053 (test@uclinux60-bf527-std) (gcc version 4.1.2 (ADI svn)9

console [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x00122850

  rodata    = 0x00122850-0x0017ded0

  bss       = 0x0017ded0-0x0018ceb0

  data      = 0x0018ceb0-0x001a0000

    stack   = 0x0019e000-0x001a0000

  init      = 0x001a0000-0x00733000

  available = 0x00733000-0x03eff000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 1

Blackfin support (C) 2004-2009 Analog Devices, Inc.

Compiled for ADSP-BF527 Rev 0.0

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 525 MHz core clock and 131 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-through)

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 16001

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 1024 bytes)

console handover: boot [early_BFuart0] -> real [ttyBF0]

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 56556k/65536k RAM, (5708k init code, 1158k kernel code, 502k data, 1024k dma, 584)

Calibrating delay loop... 1044.48 BogoMIPS (lpj=2088960)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (15 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 48 KB (42 KB free)

PDA for CPU0 reserved at 0017ee00

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

ezkit_init(): registering device resources

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

musb_hdrc: version 6.0, pio, host, debug=0

musb_hdrc: USB Host mode controller at ffc03800 using PIO, IRQ 59

musb_hdrc musb_hdrc.0: MUSB HDRC host driver

musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

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

msgmni has been set to 110

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

bfin-t350mcqb: 320x240 24-bit RGB FrameBuffer initializing...

dma_alloc_init: dma_page @ 0x03016000 - 256 pages at 0x03f00000

bfin-otp: initialized

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART

brd: module loaded

NULL pointer access

Kernel OOPS in progress

Deferred Exception context

CURRENT PROCESS:

COMM=swapper PID=1

CPU = 0

invalid mm

return address: [0x001206a6]; contents of:

0x00120680:  5651  e5aa  0005  5651  5608  4340  0c00  1c8c

0x00120690:  e12a  0380  5bd4  3045  e3fc  3426  320f  e148

0x001206a0:  ffc0  e108  0008 [e50a] 0032  e73a  001d  bd94

0x001206b0:  9500  4870  1423  9507  4a77  9500  0807  181e

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00062027  IPEND: 8030  SYSCFG: 0006

  EXCAUSE   : 0x27

  interrupts disabled

  physical IVG5 asserted : <0xffa00aec> { _evt_ivhw + 0x0 }

  physical IVG15 asserted : <0xffa00c3c> { _evt_system_call + 0x0 }

  logical irq   6 mapped  : <0xffa00328> { _timer_interrupt + 0x0 }

  logical irq  13 mapped  : <0x00093970> { _bfin_t350mcqb_irq_error + 0x0 }

  logical irq  59 mapped  : <0x000bb84c> { _blackfin_interrupt + 0x0 }

RETE: <0x00000000> { _do_one_initcall + 0xfffff000 }

RETN: <0x03ee1d50> /* kernel dynamic memory */

RETX: <0x00000480> /* Maybe fixed code section */

RETS: <0x0012069c> { _bfin_mac_probe + 0x104 }

PC  : <0x001206a6> { _bfin_mac_probe + 0x10e }

DCPLB_FAULT_ADDR: <0x000000c8> /* Maybe null pointer? */

ICPLB_FAULT_ADDR: <0x001206a6> { _bfin_mac_probe + 0x10e }

 

PROCESSOR STATE:

R0 : fe22e000    R1 : 000011b8    R2 : 00000011    R3 : 00000000

R4 : 00000000    R5 : 00195da8    R6 : 000000ac    R7 : 00000000

P0 : ffc00008    P1 : 00000000    P2 : ffc03008    P3 : 0018e8d8

P4 : 03034800    P5 : 03034930    FP : 03034b80    SP : 03ee1c74

LB0: 0008a960    LT0: 0008a960    LC0: 00000000

LB1: 0003b0dc    LT1: 0003b0d6    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 0018050c

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 03053d4c

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000

A0.w: 00000000   A0.x: 00000000   A1.w: 00000000   A1.x: 00000000

USP : 00000000  ASTAT: 00003004

 

Hardware Trace:

   0 Target : <0x00004a74> { _trap_c + 0x0 }

     Source : <0xffa005aa> { _exception_to_level5 + 0x9e } CALL pcrel

   1 Target : <0xffa0050c> { _exception_to_level5 + 0x0 }

     Source : <0xffa003de> { _bfin_return_from_exception + 0x6 } RTX

   2 Target : <0xffa003d8> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa00466> { _ex_trap_c + 0x66 } JUMP.S

   3 Target : <0xffa00400> { _ex_trap_c + 0x0 }

     Source : <0xffa00636> { _trap + 0x2a } JUMP (P4)

   4 Target : <0xffa0060c> { _trap + 0x0 }

     Source : <0x001206a2> { _bfin_mac_probe + 0x10a } 0xe108

   5 Target : <0x0012069c> { _bfin_mac_probe + 0x104 }

     Source : <0x000a6ef8> { _setup_mac_addr + 0x14 } RTS

   6 Target : <0x000a6ee4> { _setup_mac_addr + 0x0 }

     Source : <0x00120698> { _bfin_mac_probe + 0x100 } CALL pcrel

   7 Target : <0x00120630> { _bfin_mac_probe + 0x98 }

     Source : <0x001205f8> { _bfin_mac_probe + 0x60 } IF !CC JUMP

   8 Target : <0x001205b6> { _bfin_mac_probe + 0x1e }

     Source : <0x001205b2> { _bfin_mac_probe + 0x1a } IF CC JUMP

   9 Target : <0x001205ae> { _bfin_mac_probe + 0x16 }

     Source : <0x000e3156> { _alloc_etherdev_mq + 0x1e } RTS

  10 Target : <0x000e3152> { _alloc_etherdev_mq + 0x1a }

     Source : <0x000d7af2> { _alloc_netdev_mq + 0xda } RTS

  11 Target : <0x000d7ae0> { _alloc_netdev_mq + 0xc8 }

     Source : <0x000d7ae6> { _alloc_netdev_mq + 0xce } IF CC JUMP

  12 Target : <0x000d7ae0> { _alloc_netdev_mq + 0xc8 }

     Source : <0x000d7ae6> { _alloc_netdev_mq + 0xce } IF CC JUMP

  13 Target : <0x000d7ae0> { _alloc_netdev_mq + 0xc8 }

     Source : <0x000d7ae6> { _alloc_netdev_mq + 0xce } IF CC JUMP

  14 Target : <0x000d7ae0> { _alloc_netdev_mq + 0xc8 }

     Source : <0x000d7ae6> { _alloc_netdev_mq + 0xce } IF CC JUMP

  15 Target : <0x000d7ae0> { _alloc_netdev_mq + 0xc8 }

     Source : <0x000d7ae6> { _alloc_netdev_mq + 0xce } IF CC JUMP

 

Kernel Stack

Stack info:

SP: [0x03ee1cbc] <0x03ee1cbc> /* kernel dynamic memory */

FP: (0x03ee1d94)

Memory from 0x03ee1cb0 to 03ee2000

03ee1cb0: 00000000  00000000  00000000 [00000000] 00000000  00000000  00000000  00000000

03ee1cd0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

03ee1cf0: 00000000  00000000  00000000  03053d4c  0018050c  00000000  03034b80  03034930

03ee1d10: 03034800  0018e8d8  ffc03008  00000000  ffc00008  00000000  000000ac  00195da8

03ee1d30: 00000000  00000000  00000011  000011b8  fe22e000  fe22e000  ffc00008  00000006

03ee1d50:<00070464> 0018e8d8  00195da8  00000000  0018e940  001bdef4  00195da8 <0006fa46>

03ee1d70: 00195da8 <000a1eb8> 0018e8d8  00195da8  0018a33c  0018e984  000000ac  00195da8

03ee1d90: 00000000 (00000000)<0011f4b8><0011f4e0> 0018e7ec <000a2010> 0018e8d8  00195da8

03ee1db0: 001bdef4  0018e984  00195b14  001bdef4  00000000 <000a16ce> 000a1fa4  00195b14

03ee1dd0: 00000000  03ee1de4  03021f80 <0008655c> 0017def4  03efb5d8  0018e920 <000a1d66>

03ee1df0: 0017def4  00000000  03021f80  00000000  03ee1e24  03ee1e24 <000a1a80> 000a1fa4

03ee1e10:<000a1a9e> 00161d20  00000000 <000a2160> 00151748  00158300  00000000 <000a2160>

03ee1e30: 0017def4  00195da8  001bdef4  00000000  00000000  0017def4  001b39c4  00000000

03ee1e50:<00001028> 0017def4  001b39c4  00000000  00000000  00000000  00000000  00000000

03ee1e70: 00000000  00000000  0018050c  00000000  03ee1edc  00000001  03ee8e10  00188348

03ee1e90: 00188348  00000005  00188348  00000005  00000001  00000000  00000000  00000000

03ee1eb0: 03ee1f0c  00000000  00000020  00000020  00000000  00000000  00000001  00000000

03ee1ed0: 00000000  ffffffff  03ee1f08 <0008580e> 00192b5c  00187840  00188348 <00085882>

03ee1ef0: 03efb6a4  00000000  000000fc  00188348  000000d0  03ee1f08  03ee8e10  00000000

03ee1f10: 00000000  001bdef4 <000859e6> 00188348  00187840  00000000 <0006ab5c> 00192b5c

03ee1f30: 00187840  001bdef4  03ee1f5c  007dd940  007dca40  00000000  00000000  00191284

03ee1f50: 03ee1f5c <0015afd4><0006ad78> 000000fc <0006ad86> 00192b5c  007dd940  00004000

03ee1f70: 00000000  00000000  03ee1f9c  7fffff00  00000001 <0002caba> 03ee1f9c  00000076

03ee1f90:<0006ae4a> 001bdc6c  007dca40  00383131  00000000  001b0000 <0002cb16> 00190fb0

03ee1fb0: 001bdc6c  00000076  00192b5c <001a03b0> 001bde28  001bdc6c  00000000  00000000

03ee1fd0: 00000000  00000000  00000000  00000000  00000000 <0000145e> 00000000  00000000

03ee1ff0: 00000000  00000000  ffffffff  00000006  03ef74a8

Return addresses in stack:

    address : <0x00070464> { _sysfs_create_link + 0xc }

    address : <0x0006fa46> { _create_dir + 0x3a }

    address : <0x000a1eb8> { _driver_probe_device + 0x80 }

   frame  1 : <0x0011f4b8> { _klist_next + 0x20 }

    address : <0x0011f4e0> { _klist_next + 0x48 }

    address : <0x000a2010> { ___driver_attach + 0x6c }

    address : <0x000a16ce> { _bus_for_each_dev + 0x3a }

    address : <0x0008655c> { _kobject_init_and_add + 0x24 }

    address : <0x000a1d66> { _driver_attach + 0x1a }

    address : <0x000a1a80> { _bus_add_driver + 0x64 }

    address : <0x000a1a9e> { _bus_add_driver + 0x82 }

    address : <0x000a2160> { _driver_register + 0x40 }

    address : <0x000a2160> { _driver_register + 0x40 }

    address : <0x00001028> { _do_one_initcall + 0x28 }

    address : <0x0008580e> { _ida_get_new_above + 0x96 }

    address : <0x00085882> { _ida_get_new_above + 0x10a }

    address : <0x000859e6> { _ida_pre_get + 0xe }

    address : <0x0006ab5c> { _proc_register + 0x30 }

    address : <0x0015afd4> /* kernel dynamic memory */

    address : <0x0006ad78> { _create_proc_entry + 0x3c }

    address : <0x0006ad86> { _create_proc_entry + 0x4a }

    address : <0x0002caba> { _register_irq_proc + 0x76 }

    address : <0x0006ae4a> { _proc_mkdir_mode + 0x2e }

    address : <0x0002cb16> { _init_irq_proc + 0x42 }

    address : <0x001a03b0> { _kernel_init + 0x84 }

    address : <0x0000145e> { _kernel_thread_helper + 0x6 }

Modules linked in:

Kernel panic - not syncing: Kernel exception

--

 

Follow-ups

 

--- Mike Frysinger                                           2009-02-03 23:15:33

dupe of [#4851]

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes