2011-06-30 08:07:35     Kernel panic with bf532+dm9000b and uClinux 2010R1-RC5

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

2011-06-30 08:07:35     Kernel panic with bf532+dm9000b and uClinux 2010R1-RC5

Andrej Taran (UKRAINE)

Message: 101927   

 

I use bf532+dm9000b and uClinux 2010R1-RC5. Sometimes was kernel panic with messages below.

 

Why? How to fix it?

 

Andrej

 

------------[ cut here ]------------

WARNING: at net/sched/sch_generic.c:256 _dev_watchdog+0x1f6/0x1fc()

NETDEV WATCHDOG: eth0 (dm9000): transmit queue 0 timed out

Modules linked in: dahdi_echocan_oslec echo wcfxs dahdi crc_ccitt sport_interface bfsi mmc_block mmc_core restore [last unloaded: crc_itu_t]

Hardware Trace:

   0 Target : <0x001735b0> { _dump_stack + 0x0 }

     Source : <0x0000e478> { _warn_slowpath_common + 0x40 } JUMP.L

   1 Target : <0x0000e478> { _warn_slowpath_common + 0x40 }

     Source : <0x0002b7c0> { _print_modules + 0x4c } RTS

   2 Target : <0x0002b7ba> { _print_modules + 0x46 }

     Source : <0x001736ac> { _printk + 0x14 } RTS

   3 Target : <0x001736a8> { _printk + 0x10 }

     Source : <0x0000efea> { _vprintk + 0x162 } RTS

   4 Target : <0x0000efde> { _vprintk + 0x156 }

     Source : <0xffa08c0a> { __common_int_entry + 0xca } RTI

   5 Target : <0xffa08ba8> { __common_int_entry + 0x68 }

     Source : <0xffa089f8> { _return_from_int + 0x58 } RTS

   6 Target : <0xffa089f8> { _return_from_int + 0x58 }

     Source : <0xffa089ce> { _return_from_int + 0x2e } IF !CC JUMP pcrel

   7 Target : <0xffa089a0> { _return_from_int + 0x0 }

     Source : <0xffa08ba4> { __common_int_entry + 0x64 } JUMP.L

   8 Target : <0xffa08ba2> { __common_int_entry + 0x62 }

     Source : <0xffa0834c> { _asm_do_IRQ + 0x60 } RTS

   9 Target : <0xffa08344> { _asm_do_IRQ + 0x58 }

     Source : <0x00012c28> { _irq_exit + 0x30 } RTS

  10 Target : <0x00012c28> { _irq_exit + 0x30 }

     Source : <0x00012c16> { _irq_exit + 0x1e } IF !CC JUMP pcrel

  11 Target : <0x00012bf8> { _irq_exit + 0x0 }

     Source : <0xffa08340> { _asm_do_IRQ + 0x54 } JUMP.L

  12 Target : <0xffa08340> { _asm_do_IRQ + 0x54 }

     Source : <0xffa0833a> { _asm_do_IRQ + 0x4e } IF !CC JUMP pcrel (BP)

  13 Target : <0xffa0831e> { _asm_do_IRQ + 0x32 }

     Source : <0xffa0835e> { _asm_do_IRQ + 0x72 } JUMP.S

  14 Target : <0xffa0835e> { _asm_do_IRQ + 0x72 }

     Source : <0x000301a6> { _handle_simple_irq + 0x5e } RTS

  15 Target : <0x0003019a> { _handle_simple_irq + 0x52 }

     Source : <0x000301b0> { _handle_simple_irq + 0x68 } JUMP.S

Stack info:

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

Memory from 0x0020bd60 to 0020c000

0020bd60: 0000001f  0020bd6c  001f4990 [0000e478] 0000e47c  0020bdb0  001c9264  0020bd9c

0020bd80: 001c9264  00000100  0012f13a  0000e4ce  001f9fd4  00000000  000004e2  0000003f

0020bda0: 00000000  000004e2  01000568  0020bdb0 <001c927c> 0020bdc8  0012f13a  00011a14

0020bdc0: 0020bdf0  00000000  01051c00  0020bdd4  00000000  30396d64  ff003030  00000000

0020bde0: 00000000  00000000  0000c880  001f8ed8  00000000  001f7120  00000006  0020a008

0020be00: 001fc7b8  001f7120  001e526c  00016d2a  001f7e08 <00016a6a> 001eed80  0020be48

0020be20: 0012ef44  00000100  001ef58c  001f7e7c  00000000  00000000  01009e0c  001efb8c

0020be40: 001ef98c  001ef78c  0020be48  0020be48  001eec60 <00012b9e> 00000001  001eec6c

0020be60: 0020a000  00000001  00000004  00000100  0000000a <0000943e> 000301b0  001fae50

0020be80: 0020a008  0020a008  00000006  001e526c  ffa08344  001feab0  0020a008  0020a008

0020bea0: 00000006  00000000  00000000  00000000  ffa09356  00000000  00000000  ffa08ba2

0020bec0: ffa08118  ffa08118  00000000  00000000  7ffff000  000000c0  ffa0813c  00008050

0020bee0: 00000000  00000000  02000000  0110d680  ffa0813c <ffa082a4> 00000006  02002020

0020bf00: 016d5589  ffa09358  016d5582  ffa09356  00000000  00000000  000006cc  00000000

0020bf20: 01438acc  00000000  00000000  7ffff000  000000c0  00000137  00000000  00000000

0020bf40: 00000000  00000000  0000005b  00001802  00000001  fffffffc  00000006  00000003

0020bf60: 01f07480  ffc00930  0020c000  001e526c  ffa08118  0020a008  0020a008  001f85f0

0020bf80: 0020ea80  ffa08930  ffa08118  00000000  00000000  00000000  00000038  00000002

0020bfa0: 0000ffc0  0000ffff  0000ffff  ffa08930  00000006  00000000  0021e664  00000000

0020bfc0: 0020c000  0020c634  001f13f4  001e5004  00000000  0021e664  001a8b94  0021bc94

0020bfe0: 001e3f20  00000029  0020c208  0021e664  0020fcee  00000000  00000000  ff900000

Return addresses in stack:

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

    address : <0x00016a6a> { _run_timer_softirq + 0xea }

    address : <0x00012b9e> { ___do_softirq + 0x76 }

    address : <0x0000943e> { _bfin_demux_gpio_irq + 0x4e }

    address : <0xffa082a4> { _cpu_idle + 0x30 }

---[ end trace 441057aa87e3deba ]---

BUG: scheduling while atomic: swapper/0/0x00000100

Modules linked in: dahdi_echocan_oslec echo wcfxs dahdi crc_ccitt sport_interface bfsi mmc_block mmc_core restore [last unloaded: crc_itu_t]

 

ADSP-BF532-0.6 400(MHz CCLK) 133(MHz SCLK) (mpu off)

Linux version 2.6.34.7-ADI-2010R1switchfin (an@fant) (gcc version 4.3.5 (ADI-2010R1-RC4) ) #4 Thu Jun 23 13:57:55 EEST 2011

 

SEQUENCER STATUS:               Tainted: G        W

SEQSTAT: 00000000  IPEND: 8050  IMASK: 0000  SYSCFG: 0006

  Global Interrupts Disabled (IPEND[4])

  Peripheral interrupts masked off

  Kernel interrupts masked off

  EXCAUSE   : 0x0

  interrupts disabled

  physical IVG6 asserted : <0xffa08d10> { _evt_timer + 0x0 }

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

  logical irq   6 mapped  : <0xffa083a8> { _bfin_coretmr_interrupt + 0x0 }

  logical irq  16 mapped  : <0x010095dc> { :bfsi:_bfsi_sport_init + 0x294 }

  logical irq  21 mapped  : <0x000d629c> { _bfin_serial_dma_rx_int + 0x0 }

  logical irq  22 mapped  : <0x000d6010> { _bfin_serial_dma_tx_int + 0x0 }

  logical irq  48 mapped  : <0x00104b30> { _dm9000_interrupt + 0x0 }

RETE: <0x00000000> /* Maybe null pointer? */

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

RETX: <0x0110d680> [ /lib/libc.so.0 + 0xd680 ]

RETS: <0xffa082a4> { _cpu_idle + 0x30 }

PC  : <0xffa0813c> { _default_idle + 0x24 }

PROCESSOR STATE:

R0 : 0000ffff    R1 : 0000ffc0    R2 : 00000002    R3 : 00000038

R4 : 00000000    R5 : 00000000    R6 : 00000000    R7 : ffa08118

P0 : ffa08930    P1 : 0020ea80    P2 : 001f85f0    P3 : 0020a008

P4 : 0020a008    P5 : ffa08118    FP : 001e526c    SP : 0020bed8

LB0: ffa09358    LT0: ffa09356    LC0: 00000000

LB1: 016d5589    LT1: 016d5582    LC1: 00000000

B0 : 00000137    L0 : 00000000    M0 : fffffffc    I0 : ffc00930

B1 : 000000c0    L1 : 00000000    M1 : 00000001    I1 : 01f07480

B2 : 7ffff000    L2 : 00000000    M2 : 00001802    I2 : 00000003

B3 : 00000000    L3 : 00000000    M3 : 0000005b    I3 : 00000006

A0.w: 01438acc   A0.x: 00000000   A1.w: 000006cc   A1.x: 00000000

USP : 0020c000  ASTAT: 02002020

 

bad: scheduling from the idle thread!

Hardware Trace:

   0 Target : <0x001735b0> { _dump_stack + 0x0 }

     Source : <0x0000afdc> { _dequeue_task_idle + 0x1c } JUMP.L

   1 Target : <0x0000afdc> { _dequeue_task_idle + 0x1c }

     Source : <0x001736ac> { _printk + 0x14 } RTS

   2 Target : <0x001736a8> { _printk + 0x10 }

     Source : <0x0000efea> { _vprintk + 0x162 } RTS

   3 Target : <0x0000efde> { _vprintk + 0x156 }

     Source : <0xffa08c0a> { __common_int_entry + 0xca } RTI

   4 Target : <0xffa08ba8> { __common_int_entry + 0x68 }

     Source : <0xffa089f8> { _return_from_int + 0x58 } RTS

   5 Target : <0xffa089f8> { _return_from_int + 0x58 }

     Source : <0xffa089ce> { _return_from_int + 0x2e } IF !CC JUMP pcrel

   6 Target : <0xffa089a0> { _return_from_int + 0x0 }

     Source : <0xffa08ba4> { __common_int_entry + 0x64 } JUMP.L

   7 Target : <0xffa08ba2> { __common_int_entry + 0x62 }

     Source : <0xffa0834c> { _asm_do_IRQ + 0x60 } RTS

   8 Target : <0xffa08344> { _asm_do_IRQ + 0x58 }

     Source : <0x00012c28> { _irq_exit + 0x30 } RTS

   9 Target : <0x00012c28> { _irq_exit + 0x30 }

     Source : <0x00012c16> { _irq_exit + 0x1e } IF !CC JUMP pcrel

  10 Target : <0x00012bf8> { _irq_exit + 0x0 }

     Source : <0xffa08340> { _asm_do_IRQ + 0x54 } JUMP.L

  11 Target : <0xffa08340> { _asm_do_IRQ + 0x54 }

     Source : <0xffa0833a> { _asm_do_IRQ + 0x4e } IF !CC JUMP pcrel (BP)

  12 Target : <0xffa0831e> { _asm_do_IRQ + 0x32 }

     Source : <0xffa0835e> { _asm_do_IRQ + 0x72 } JUMP.S

  13 Target : <0xffa0835e> { _asm_do_IRQ + 0x72 }

     Source : <0x000301a6> { _handle_simple_irq + 0x5e } RTS

  14 Target : <0x0003019a> { _handle_simple_irq + 0x52 }

     Source : <0x000301b0> { _handle_simple_irq + 0x68 } JUMP.S

  15 Target : <0x000301b0> { _handle_simple_irq + 0x68 }

     Source : <0x0002f91c> { _note_interrupt + 0x84 } RTS

Stack info:

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

Memory from 0x0020bc80 to 0020c000

0020bc80: 0020bc88  0020a000 [0000ffff] 0000afe0  001f7120  00000000  0000001f  001f7120

0020bca0: 00000001  0020bcb8 <00009684> 0020a000  ffa09bf0  001f9fd4  0020bce8  ffa09a2c

0020bcc0: 001f9fd4  0151eb37  0020bd18  001f8ed8  10624dd3  00003295  0000001f  0020a008

0020bce0: 0020a000  0020a000  001f9fd4  ffa09e1c  001f9fd4  01051c00  001f4990  0151eb37

0020bd00: 0020bd18  0000001f  0020a000  0020bdc8  0020bd1c  00000036  001eef44  001eef44

0020bd20: 0151eb37  00016c80  001f7120  001eed80  00016c26  01051ec0  0000005b  000000e1

0020bd40: 01051f10  ffe06000  001f9fd4  00000000  00103e56  00103fb0  01051ec0  01051c00

0020bd60: 00103ffc  01051ec0  ffffffff  00000000  00000001  0020bdb0  0000e498  0020bd9c

0020bd80: 0000e100  0010478c  01051ec0  01051c00  000000f8  0000ffff  0000003f  00000000

0020bda0: 00000000  000004e2 <0012f0fa> 001f9fd4  01051c00  00000000  000004e2  00011a14

0020bdc0: 0020bdf0  00000000  01051c00  0020bdd4  00000000  30396d64  ff003030  00000000

0020bde0: 00000000  00000000  0000c880  001f8ed8  00000000  001f7120  00000006  0020a008

0020be00: 001fc7b8  001f7120  001e526c  00016d2a  001f7e08 <00016a6a> 001eed80  0020be48

0020be20: 0012ef44  00000100  001ef58c  001f7e7c  00000000  00000000  01009e0c  001efb8c

0020be40: 001ef98c  001ef78c  0020be48  0020be48  001eec60 <00012b9e> 00000001  001eec6c

0020be60: 0020a000  00000001  00000004  00000100  0000000a <0000943e> 000301b0  001fae50

0020be80: 0020a008  0020a008  00000006  001e526c  ffa08344  001feab0  0020a008  0020a008

0020bea0: 00000006  00000000  00000000  00000000  ffa09356  00000000  00000000  ffa08ba2

0020bec0: ffa08118  ffa08118  00000000  00000000  7ffff000  000000c0  ffa0813c  00008050

0020bee0: 00000000  00000000  02000000  0110d680  ffa0813c <ffa082a4> 00000006  02002020

0020bf00: 016d5589  ffa09358  016d5582  ffa09356  00000000  00000000  000006cc  00000000

0020bf20: 01438acc  00000000  00000000  7ffff000  000000c0  00000137  00000000  00000000

0020bf40: 00000000  00000000  0000005b  00001802  00000001  fffffffc  00000006  00000003

0020bf60: 01f07480  ffc00930  0020c000  001e526c  ffa08118  0020a008  0020a008  001f85f0

0020bf80: 0020ea80  ffa08930  ffa08118  00000000  00000000  00000000  00000038  00000002

0020bfa0: 0000ffc0  0000ffff  0000ffff  ffa08930  00000006  00000000  0021e664  00000000

0020bfc0: 0020c000  0020c634  001f13f4  001e5004  00000000  0021e664  001a8b94  0021bc94

0020bfe0: 001e3f20  00000029  0020c208  0021e664  0020fcee  00000000  00000000  ff900000

Return addresses in stack:

    address : <0x00009684> { _dequeue_task + 0x6c }

    address : <0x0012f0fa> { _dev_watchdog + 0x1b6 }

    address : <0x00016a6a> { _run_timer_softirq + 0xea }

    address : <0x00012b9e> { ___do_softirq + 0x76 }

    address : <0x0000943e> { _bfin_demux_gpio_irq + 0x4e }

    address : <0xffa082a4> { _cpu_idle + 0x30 }

Jump to NULL address

Kernel OOPS in progress

Deferred Exception context

CURRENT PROCESS:

COMM=klogd PID=410  CPU=0

TEXT = 0x01180000-0x011c7038        DATA = 0x01864038-0x01867bb8

BSS = 0x01867bb8-0x01880000  USER-STACK = 0x0189fed0

 

return address: [0x(null)]; contents of:

 

ADSP-BF532-0.6 400(MHz CCLK) 133(MHz SCLK) (mpu off)

Linux version 2.6.34.7-ADI-2010R1switchfin (an@fant) (gcc version 4.3.5 (ADI-2010R1-RC4) ) #4 Thu Jun 23 13:57:55 EEST 2011

 

SEQUENCER STATUS:               Tainted: G        W

SEQSTAT: 0000002d  IPEND: c208  IMASK: 001f  SYSCFG: 0006

  Peripheral interrupts masked off

  Kernel interrupts masked off

  EXCAUSE   : 0x2d

  physical IVG3 asserted : <0xffa086f8> { _trap + 0x0 }

  physical IVG9 asserted : <0xffa08d40> { _evt_evt9 + 0x0 }

  physical IVG14 asserted : <0xffa08a10> { _evt_evt14 + 0x0 }

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

  logical irq   6 mapped  : <0xffa083a8> { _bfin_coretmr_interrupt + 0x0 }

  logical irq  16 mapped  : <0x010095dc> { :bfsi:_bfsi_sport_init + 0x294 }

  logical irq  21 mapped  : <0x000d629c> { _bfin_serial_dma_rx_int + 0x0 }

  logical irq  22 mapped  : <0x000d6010> { _bfin_serial_dma_tx_int + 0x0 }

  logical irq  48 mapped  : <0x00104b30> { _dm9000_interrupt + 0x0 }

RETE: <0x00000000> /* Maybe null pointer? */

RETN: <0x00305cd8> /* kernel dynamic memory (maybe user-space) */

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

RETS: <0x00009722> { _activate_task + 0x3e }

PC  : <0x00000000> /* Maybe null pointer? */

DCPLB_FAULT_ADDR: <0x00173ed4> /* kernel dynamic memory (maybe user-space) */

ICPLB_FAULT_ADDR: <0x00000000> /* Maybe null pointer? */

PROCESSOR STATE:

R0 : 001f8ed8    R1 : 001f7120    R2 : 00000001    R3 : 000050e2

R4 : 00304000    R5 : 00000000    R6 : 001ef58c    R7 : 00000002

P0 : 001f85f0    P1 : 00305d04    P2 : 00000000    P3 : 00016c80

P4 : 001f8ed8    P5 : 001f7120    FP : 00305ce8    SP : 00305bfc

LB0: ffa09358    LT0: ffa09356    LC0: 00000000

LB1: 01548a1c    LT1: 01548a02    LC1: 00000000

B0 : 0000001b    L0 : 00000000    M0 : ffffffff    I0 : 00305cb4

B1 : 000000c0    L1 : 00000000    M1 : 00000001    I1 : 00500083

B2 : 7ffff000    L2 : 00000000    M2 : 00001802    I2 : 00000020

B3 : 00000000    L3 : 00000000    M3 : 0000005b    I3 : 0000000f

A0.w: 01438bc9   A0.x: 00000000   A1.w: 000007c9   A1.x: 00000000

USP : 0189fd58  ASTAT: 02003004

 

Hardware Trace:

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

     Source : <0xffa0868a> { _exception_to_level5 + 0x96 } CALL pcrel

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

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

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

     Source : <0xffa08554> { _ex_trap_c + 0x74 } JUMP.S

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

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

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

      FAULT : <0x00000000> /* Maybe null pointer? */

     Source : <0x00009720> { _activate_task + 0x3c } CALL (P2)

   5 Target : <0x000096fa> { _activate_task + 0x16 }

     Source : <0x00009742> { _activate_task + 0x5e } JUMP.S

   6 Target : <0x00009736> { _activate_task + 0x52 }

     Source : <0x000096f8> { _activate_task + 0x14 } IF CC JUMP pcrel (BP)

   7 Target : <0x000096e4> { _activate_task + 0x0 }

     Source : <0x0000c710> { _try_to_wake_up + 0x74 } CALL pcrel

   8 Target : <0x0000c70a> { _try_to_wake_up + 0x6e }

     Source : <0x0000c6ce> { _try_to_wake_up + 0x32 } IF CC JUMP pcrel

   9 Target : <0x0000c6b8> { _try_to_wake_up + 0x1c }

     Source : <0x0000608c> { _sched_clock + 0x58 } RTS

  10 Target : <0x00006058> { _sched_clock + 0x24 }

     Source : <0xffa09476> { ___muldi3 + 0x48 } RTS

  11 Target : <0xffa0942e> { ___muldi3 + 0x0 }

     Source : <0x00006054> { _sched_clock + 0x20 } CALL pcrel

  12 Target : <0x00006034> { _sched_clock + 0x0 }

     Source : <0x000228d2> { _sched_clock_cpu + 0x16 } JUMP (P2)

  13 Target : <0x000228bc> { _sched_clock_cpu + 0x0 }

     Source : <0x0000c6b4> { _try_to_wake_up + 0x18 } CALL pcrel

  14 Target : <0x0000c6b0> { _try_to_wake_up + 0x14 }

     Source : <0x00009504> { _task_rq_lock + 0x38 } RTS

  15 Target : <0x000094cc> { _task_rq_lock + 0x0 }

     Source : <0x0000c6ac> { _try_to_wake_up + 0x10 } CALL pcrel

Kernel Stack

Stack info:

SP: [0x00305e4c] <0x00305e4c> /* kernel dynamic memory (maybe user-space) */

FP: (0x00305ef8)

Memory from 0x00305e40 to 00306000

00305e40: 0000005b  00001802  00000001 [ffffffff] 0000000f  00000020  00500083  e5083e40

00305e60: 0189fd58  001f85f0  00000182  001ea7ac  001ea7ac  001eca22  000021e6  00305ecc

00305e80: 0000007d  00000000  018677e2  000003ff  0000ffff  00000001  000021e6  0000ffff

00305ea0: 0000ffff  00305ecc  00000006  0000b0ce  00017bfa  00017bc4  001ea7b4  0186d250

00305ec0: 00000000  002cf140  0001ea60  00305ecc  00305ecc  0189fd64  0000f7f0  0000f7e4

00305ee0: 00000067  0186d250  00000000  ffffe000  01867660  00000000 (00000000)<ffa0885a>

00305f00: 00000000  00000000 <ffa0885a> ffffe000  0186c83c  0000fffe  0000000a  00000000

00305f20: 01867660  0110d058 <00008000> 00000000  00000000  00306000  0110d058  0110d058

00305f40: 0119887e  ffa08de0  02000020  0111bb07  0111d8a3  0111bb06  0111d8a2  00000000

00305f60: 00000000  00000000  00000000  00000000  00000000  00000000  7ffff000  000000c0

00305f80: 00000137  00000000  00000000  00000000  00000000  0000005b  00001802  00000001

00305fa0: fffffffc  00000006  00000003  0186c800  0189fc94  0189fd58  0189fd64  0186779a

00305fc0: 018658b0  0186d250  0186779b  0110d04c  00000067  01867660  00000000  01867660

00305fe0: 00000000  0000000a  000003ff  01867660  00000002  00000002  00000067  00000006

Return addresses in stack:

   frame  1 : <0xffa0885a> { _system_call + 0x6a }

    address : <0xffa0885a> { _system_call + 0x6a }

    address : <0x00008000> { _show_regs + 0x50 }

Modules linked in: dahdi_echocan_oslec echo wcfxs dahdi crc_ccitt sport_interface bfsi mmc_block mmc_core restore [last unloaded: crc_itu_t]

Kernel panic - not syncing: Kernel exception

Hardware Trace:

Stack info:

SP: [0x00305b20] <0x00305b20> /* kernel dynamic memory (maybe user-space) */

FP: (0x00305c14)

Memory from 0x00305b20 to 00306000

00305b20:[001aaa08] 0017362e  00305bfc  001aaa08  001ea36e  001ea36e  001ea36e  00305b50

00305b40: 00004266  00305bfc  0000c208  00305bfc  0000001f  0000001f <0000abda> 0100055c

00305b60: 0003000b  0000081c  01500008  00000000  00305ba8  0000ac10  014f4f44  01009e08

00305b80: 00305db4  0000001f  00000000  00000010  ffffffc0 <014f2c80> 01500000  015040e0

00305ba0: 00000000  00000000  01313dc0  0001bb28  0000001f  00012ace  00000003 <ffa0835e>

00305bc0: 00000000  0001bba0  01009e0c  4ea555d1  00305db4  4ea555d1  ffa0868e  001e7000

00305be0: 0000c208  0000002d  00000000  00304000  002ec740  001f85f0  00305db4  00000480

00305c00: 0000c208  0000002d  00000000  00305cd8  00000480 (00000000)<00009722> 001f8ed8

00305c20: 02003004  01548a1c  ffa09358  01548a02  ffa09356  00000000  00000000  000007c9

00305c40: 00000000  01438bc9  00000000  00000000  7ffff000  000000c0  0000001b  00000000

00305c60: 00000000  00000000  00000000  0000005b  00001802  00000001  ffffffff  0000000f

00305c80: 00000020  00500083  00305cb4  0189fd58  00305ce8  001f7120  001f8ed8  00016c80

00305ca0: 00000000  00305d04  001f85f0  00000002  001ef58c  00000000  00304000  000050e2

00305cc0: 00000001  001f7120  001f8ed8  001f8ed8  001f85f0  00000006  00000008  0000001f

00305ce0: 00000000  00000000  00305d08  0000c714  001f8ed8  001f7120  01544cb8  000d66bc

00305d00: 002b3000  0000ffff  001f9fd4 <00016a6a> 001eed80  00305d40  00000100  001ef58c

00305d20: 0000003f  00118892  001f85f0 <010097a8> 01009e0c  001efb8c  001ef98c  001ef78c

00305d40: 00305d40  00305d40  001eec60 <00012b9e> 00000001  001eec6c  00304000  00000001

00305d60: 00000004  00000100  0000000a  00000000  000301b0  001fb170  001ea7ac  001ea7ac

00305d80: 00000010  001f85f0  ffa08344  001feab0  001ea7ac  001ea7ac  00000010  0020bed8

00305da0: 018677e2  000003ff  00009b86  00000003  0000005a  ffa08ba2  00000182  0000007d

00305dc0: 00000000  01313dc0  00000003  00305d68  0000f592  000021e6  00000000  00000000

00305de0: 02000000  0110d680  0000f592  0000f552  00000009  02002000  000c11fc  ffa09358

00305e00: 000c11f0  ffa09356  00000000  00000000  00000762  00000000  01438b62  00000000

00305e20: 00000000  7ffff000  000000c0  0000001b  00000000  00000000  00000000  00000000

00305e40: 0000005b  00001802  00000001  ffffffff  0000000f  00000020  00500083  e5083e40

00305e60: 0189fd58  001f85f0  00000182  001ea7ac  001ea7ac  001eca22  000021e6  00305ecc

00305e80: 0000007d  00000000  018677e2  000003ff  0000ffff  00000001  000021e6  0000ffff

00305ea0: 0000ffff  00305ecc  00000006  0000b0ce  00017bfa  00017bc4  001ea7b4  0186d250

00305ec0: 00000000  002cf140  0001ea60  00305ecc  00305ecc  0189fd64  0000f7f0  0000f7e4

00305ee0: 00000067  0186d250  00000000  ffffe000  01867660  00000000  00000000 <ffa0885a>

00305f00: 00000000  00000000 <ffa0885a> ffffe000  0186c83c  0000fffe  0000000a  00000000

00305f20: 01867660  0110d058 <00008000> 00000000  00000000  00306000  0110d058  0110d058

00305f40: 0119887e  ffa08de0  02000020  0111bb07  0111d8a3  0111bb06  0111d8a2  00000000

00305f60: 00000000  00000000  00000000  00000000  00000000  00000000  7ffff000  000000c0

00305f80: 00000137  00000000  00000000  00000000  00000000  0000005b  00001802  00000001

00305fa0: fffffffc  00000006  00000003  0186c800  0189fc94  0189fd58  0189fd64  0186779a

00305fc0: 018658b0  0186d250  0186779b  0110d04c  00000067  01867660  00000000  01867660

00305fe0: 00000000  0000000a  000003ff  01867660  00000002  00000002  00000067  00000006

Return addresses in stack:

    address : <0x0000abda> { ___wake_up_common + 0x3a }

    address : <0x014f2c80> { :wcfxs:_regular_interrupt_processing + 0x1e4 }

    address : <0xffa0835e> { _asm_do_IRQ + 0x72 }

   frame  1 : <0x00009722> { _activate_task + 0x3e }

    address : <0x00016a6a> { _run_timer_softirq + 0xea }

    address : <0x010097a8> { :bfsi:_bfsi_sport_init + 0x460 }

    address : <0x00012b9e> { ___do_softirq + 0x76 }

    address : <0xffa0885a> { _system_call + 0x6a }

    address : <0xffa0885a> { _system_call + 0x6a }

    address : <0x00008000> { _show_regs + 0x50 }

U-Boot 1.1.5 (Jun 22 2011 - 16:34:32)

 

CPU:   ADSP BF532 Rev.: 0.6

QuoteReplyEditDelete

 

 

2011-06-30 18:15:55     Re: Kernel panic with bf532+dm9000b and uClinux 2010R1-RC5

Mike Frysinger (UNITED STATES)

Message: 101942   

 

you've got multiple issues cascading there, but really you should just focus on the first and forget about the rest.

 

WARNING: at net/sched/sch_generic.c:256 _dev_watchdog+0x1f6/0x1fc()

NETDEV WATCHDOG: eth0 (dm9000): transmit queue 0 timed out

 

that's coming from the dm9000 driver.  is your system under load when this comes up ?  or does it come up at any time ?

QuoteReplyEditDelete

 

 

2011-07-01 03:48:50     Re: Kernel panic with bf532+dm9000b and uClinux 2010R1-RC5

Andrej Taran (UKRAINE)

Message: 101972   

 

Hi Mike!

 

Ethernet connection 100Mb, full duplex. Trafic is very small - 10-50 packets/sec.

 

The panic occurs after the start linux ~ 1 min. Or work few days without any panic.

 

Andrej

QuoteReplyEditDelete

 

 

2011-07-01 06:22:43     Re: Kernel panic with bf532+dm9000b and uClinux 2010R1-RC5

Andrej Taran (UKRAINE)

Message: 101980   

 

Now panic was after launch iperf

 

root@ip0x:~> iperf -c 10.10.20.200

------------------------------------------------------------

Client connecting to 10.10.20.200, TCP port 5001

TCP window size: 16.0 KByte (default)

------------------------------------------------------------

[  5] local 10.10.20.219 port 42382 connected with 10.10.20.200 port 5001

[ ID] Interval       Transfer     Bandwidth

[  5]  0.0-10.0 sec  40.5 MBytes  33.9 Mbits/sec

root@ip0x:~> ------------[ cut here ]------------

WARNING: at net/sched/sch_generic.c:256 _dev_watchdog+0x1f6/0x1fc()

NETDEV WATCHDOG: eth0 (dm9000): transmit queue 0 timed out

Modules linked in: dahdi_echocan_oslec echo wcfxs dahdi crc_ccitt sport_interface bfsi mmc_block mmc_core restore [last unloaded: crc_itu_t]

Hardware Trace:

   0 Target : <0x001735b0> { _dump_stack + 0x0 }

     Source : <0x0000e478> { _warn_slowpath_common + 0x40 } JUMP.L

   1 Target : <0x0000e478> { _warn_slowpath_common + 0x40 }

     Source : <0x0002b7c0> { _print_modules + 0x4c } RTS

   2 Target : <0x0002b7ba> { _print_modules + 0x46 }

     Source : <0x001736ac> { _printk + 0x14 } RTS

   3 Target : <0x001736a8> { _printk + 0x10 }

     Source : <0x0000efea> { _vprintk + 0x162 } RTS

   4 Target : <0x0000efc8> { _vprintk + 0x140 }

     Source : <0x0000f0b2> { _vprintk + 0x22a } JUMP.S

   5 Target : <0x0000f0b2> { _vprintk + 0x22a }

     Source : <0x0000ec0e> { _release_console_sem + 0x1ba } RTS

   6 Target : <0x0000ec06> { _release_console_sem + 0x1b2 }

     Source : <0x0000ebf8> { _release_console_sem + 0x1a4 } IF CC JUMP pcrel

   7 Target : <0x0000ebe8> { _release_console_sem + 0x194 }

     Source : <0x0000ebda> { _release_console_sem + 0x186 } IF CC JUMP pcrel (BP)

   8 Target : <0x0000ebd2> { _release_console_sem + 0x17e }

     Source : <0x00021d5a> { _up + 0x3a } RTS

   9 Target : <0x00021d54> { _up + 0x34 }

     Source : <0x00021d46> { _up + 0x26 } IF CC JUMP pcrel (BP)

  10 Target : <0x00021d20> { _up + 0x0 }

     Source : <0x0000ebce> { _release_console_sem + 0x17a } JUMP.L

  11 Target : <0x0000ebba> { _release_console_sem + 0x166 }

     Source : <0x0000eab2> { _release_console_sem + 0x5e } IF CC JUMP pcrel

  12 Target : <0x0000ea96> { _release_console_sem + 0x42 }

     Source : <0x0000eae4> { _release_console_sem + 0x90 } IF CC JUMP pcrel (BP)

  13 Target : <0x0000eada> { _release_console_sem + 0x86 }

     Source : <0x0000e676> { __call_console_drivers + 0x62 } RTS

  14 Target : <0x0000e670> { __call_console_drivers + 0x5c }

     Source : <0x0000e64a> { __call_console_drivers + 0x36 } IF CC JUMP pcrel

  15 Target : <0x0000e63a> { __call_console_drivers + 0x26 }

     Source : <0x0000e62a> { __call_console_drivers + 0x16 } IF !CC JUMP pcrel (BP)

Stack info:

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

Memory from 0x0020bd60 to 0020c000

QuoteReplyEditDelete

 

 

2011-07-01 15:11:26     Re: Kernel panic with bf532+dm9000b and uClinux 2010R1-RC5

Mike Frysinger (UNITED STATES)

Message: 101984   

 

you'll want to check the async bank timings to make sure they line up with the hardware.  since you're using an ip0x, you might also want to try asking in the forums of the people who maintain that board:

https://blackfin.uclinux.org/gf/project/asterisk/forums

QuoteReplyEditDelete

 

 

2011-07-04 04:55:37     Re: Kernel panic with bf532+dm9000b and uClinux 2010R1-RC5

Andrej Taran (UKRAINE)

Message: 102072   

 

uClinux 2009R1.1 work very well on this hardware.

 

But  uClinux 2010R1-RC5 work with panic.

 

For both uClinux EBIU_AMBCTL=0x7BB0

QuoteReplyEditDelete

 

 

2011-07-04 07:46:32     Re: Kernel panic with bf532+dm9000b and uClinux 2010R1-RC5

Gilles Ganault (FRANCE)

Message: 102076   

 

The two (nearly identical) projects that are available for the IP0x (BAPS and AstFin/Switchfin) both patch dm9000.c among other things, so it's not suprising that you get crashes when using the standard uClinux-dist from the Blackfin site.

QuoteReplyEditDelete

 

 

2011-07-04 12:54:43     Re: Kernel panic with bf532+dm9000b and uClinux 2010R1-RC5

Andrej Taran (UKRAINE)

Message: 102078   

 

I use Switchfin last revision. But, I sometime get panic.

 

Swithfin guys can not solve the problem.

QuoteReplyEditDelete

 

 

2011-07-04 14:55:11     Re: Kernel panic with bf532+dm9000b and uClinux 2010R1-RC5

Mike Frysinger (UNITED STATES)

Message: 102081   

 

if that's the case, then i guess the conversation will have to move there.  ADI hasnt made any boards with the dm9000, and we dont generally support MAC parts that we dont have anything to do with.

QuoteReplyEditDelete

 

 

2011-07-04 18:14:27     Re: Kernel panic with bf532+dm9000b and uClinux 2010R1-RC5

Gilles Ganault (FRANCE)

Message: 102082   

 

> I use Switchfin last revision. But, I sometime get panic. Swithfin guys can not solve the problem.

 

You could also try asking in this forum:

 

www.linuxquestions.org/questions/linux-embedded-78/

QuoteReplyEditDelete

 

 

2011-07-05 05:44:59     Re: Kernel panic with bf532+dm9000b and uClinux 2010R1-RC5

Andrej Taran (UKRAINE)

Message: 102124   

 

I googled the problem. Arm PXA270 have similar problem.

 

  comments.gmane.org/gmane.linux.real-time.xenomai.devel/8120

 

Problem solved by correction gpio.

 

Andrey

QuoteReplyEditDelete

Attachments

    Outcomes