2008-04-28 10:07:45     BUG: failure at kernel/timer.c:467/mod_timer()!

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

2008-04-28 10:07:45     BUG: failure at kernel/timer.c:467/mod_timer()!

Pawel Pastuszak (CANADA)

Message: 55134    Hi Guys,

 

I am starting a new thread for this issuse since the other one dealt with a different mod_timer issuse

 

Setup

-------

using uClinux-dist-2008R1-RC8

with Rev 3.0 of the processor BF537

128 MB Memory

 

Also PIO mode works

 

DMA Does not.

 

Using the following command very basic one

 

stty -F /dev/ttyBF1 is get the following core bug.

 

 

root:~> stty -F /dev/ttyBF1

Hardware Trace:

   0 Target : <0x00004404> { _dump_bfin_trace_buffer + 0x0 }

     Source : <0x000147ce> { _mod_timer + 0x2e }

   1 Target : <0x000147ce> { _mod_timer + 0x2e }

     Source : <0x000147aa> { _mod_timer + 0xa }

   2 Target : <0x000147a0> { _mod_timer + 0x0 }

     Source : <0x000a567e> { _bfin_serial_dma_rx_int + 0x2a }

   3 Target : <0x000a566c> { _bfin_serial_dma_rx_int + 0x18 }

     Source : <0x0000740e> { _clear_dma_irqstat + 0x46 }

   4 Target : <0x000073c8> { _clear_dma_irqstat + 0x0 }

     Source : <0x000a5668> { _bfin_serial_dma_rx_int + 0x14 }

   5 Target : <0x000a5664> { _bfin_serial_dma_rx_int + 0x10 }

     Source : <0x00007482> { _get_dma_curr_irqstat + 0x3e }

   6 Target : <0x00007444> { _get_dma_curr_irqstat + 0x0 }

     Source : <0x000a5660> { _bfin_serial_dma_rx_int + 0xc }

   7 Target : <0x000a5654> { _bfin_serial_dma_rx_int + 0x0 }

     Source : <0x00027a8e> { _handle_IRQ_event + 0x32 }

   8 Target : <0x00027a88> { _handle_IRQ_event + 0x2c }

     Source : <0x00027a7c> { _handle_IRQ_event + 0x20 }

   9 Target : <0x00027a78> { _handle_IRQ_event + 0x1c }

     Source : <0x00027a6a> { _handle_IRQ_event + 0xe }

  10 Target : <0x00027a5c> { _handle_IRQ_event + 0x0 }

     Source : <0x00028a80> { _handle_simple_irq + 0x40 }

  11 Target : <0x00028a40> { _handle_simple_irq + 0x0 }

     Source : <0xffa003d4> { _asm_do_IRQ + 0x30 }

  12 Target : <0xffa003ca> { _asm_do_IRQ + 0x26 }

     Source : <0x00011e3a> { _irq_enter + 0x12 }

  13 Target : <0x00011e28> { _irq_enter + 0x0 }

     Source : <0xffa003c6> { _asm_do_IRQ + 0x22 }

  14 Target : <0xffa003a4> { _asm_do_IRQ + 0x0 }

     Source : <0xffa00f0a> { _do_irq + 0x7e }

  15 Target : <0xffa00f06> { _do_irq + 0x7a }

     Source : <0xffa00eda> { _do_irq + 0x4e }

BUG: failure at kernel/timer.c:467/mod_timer()!

Kernel panic - not syncing: BUG!

 

 

Any ideas???

 

Thanks,

Pawel

QuoteReplyEditDelete

 

 

2008-04-28 10:14:55     Re: BUG: failure at kernel/timer.c:467/mod_timer()!

Pawel Pastuszak (CANADA)

Message: 55135    Little bit more info.

 

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

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

QuoteReplyEditDelete

 

 

2008-04-28 10:56:28     Re: BUG: failure at kernel/timer.c:467/mod_timer()!

Robin Getz (UNITED STATES)

Message: 55144    Pawel:

 

what is your svn version of the kernel?

 

Robin

QuoteReplyEditDelete

 

 

2008-04-28 11:34:55     Re: BUG: failure at kernel/timer.c:467/mod_timer()!

Pawel Pastuszak (CANADA)

Message: 55156    Hi Robin,

 

I am not using the svn version at all am the latest released version

 

uClinux-dist-2008R1-RC8.tar.bz2

 

http://blackfin.uclinux.org/gf/download/frsrelease/378/4237/uClinux-dist-2008R1-RC8.tar.bz2

QuoteReplyEditDelete

 

 

2008-04-28 12:00:51     Re: BUG: failure at kernel/timer.c:467/mod_timer()!

Robin Getz (UNITED STATES)

Message: 55157    Pawel:

 

This was fixed in svn. (on the branch).

 

You will either need to download the patch & apply by hand, or check it out from svn.

 

-Robin

QuoteReplyEditDelete

 

 

2008-04-28 12:43:22     Re: BUG: failure at kernel/timer.c:467/mod_timer()!

Pawel Pastuszak (CANADA)

Message: 55162    Robin,

 

I finish appling the change to from the following diff of the trunk

http://blackfin.uclinux.org/gf/project/linux-kernel/scmsvn/?action=browse&path=%2Ftrunk%2Fdrivers%2Fserial%2Fbfin_5xx.c&root=linux-kernel&view=diff&r1=4650&r2=4643&diff_format=h

 

 

And it still crashes.

 

 

Pawel

QuoteReplyEditDelete

 

 

2008-04-28 13:34:27     Re: BUG: failure at kernel/timer.c:467/mod_timer()!

Robin Getz (UNITED STATES)

Message: 55164    Pawel:

 

If you have the branch, apply changes from the branch, not the trunk.

 

http://blackfin.uclinux.org/gf/project/linux-kernel/scmsvn/?action=browse&path=%2Fbranches%2F2008R1%2Fdrivers%2Fserial%2Fbfin_5xx.c&view=log

 

You may just want to replace the entire file (since I think you need all three patches).

 

-Robin

QuoteReplyEditDelete

 

 

2008-04-28 23:44:27     Re: BUG: failure at kernel/timer.c:467/mod_timer()!

Sonic Zhang (CHINA)

Message: 55187   

 

Can't replicate your issue on svn trunk kernel and bf537 stamp board.

 

Please update to svn trunk or 2008R1 branch.

Attachments

    Outcomes