[#4648] kernel will crash when enable option of "Re-program Clocks while Kernel boots" on BF561-EZKIT

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

[#4648] kernel will crash when enable option of "Re-program Clocks while Kernel boots" on BF561-EZKIT

Submitted By: Vivi Li

Open Date

2008-11-14 04:52:18     Close Date

2008-11-14 05:06:57

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Duplicate

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1 on Nov. 14

App binary format:

N/A     

Summary: kernel will crash when enable option of "Re-program Clocks while Kernel boots" on BF561-EZKIT

Details:

 

Enable option of "Re-program Clocks while Kernel boots" and using its default value on BF561-EZKIT, kernel will crash when boot up.

 

-

Linux version 2.6.28-rc2-ADI-2009R1-pre-svn5679 (test@uclinux66-561ezkit) (gcc version 4.1.2 (ADI svn)) #202 Thu Nov 13 03:50:03 CST 2008^M

console [early_BFuart0] enabled^M

early printk enabled on early_BFuart0^M

Warning: limiting memory to 56MB due to hardware anomaly 05000263^M

Board Memory: 64MB^M

Kernel Managed Memory: 64MB^M

Memory map:^M

  fixedcode = 0x00000400-0x00000490^M

  text      = 0x00001000-0x001023e0^M

  rodata    = 0x001023e0-0x0014e69c^M

  bss       = 0x0014e6a0-0x0015edd8^M

  data      = 0x0015edd8-0x0016e000^M

    stack   = 0x0016c000-0x0016e000^M

  init      = 0x0016e000-0x00484000^M

  available = 0x00484000-0x037ff000^M

  DMA Zone  = 0x03f00000-0x04000000^M

Hardware Trace Active and Enabled^M

Reset caused by Software reset^M

Blackfin support (C) 2004-2008 Analog Devices, Inc.^M

Compiled for ADSP-BF561 Rev 0.3^M

Warning: Compiled for Rev 3, but running on Rev 5^M

Blackfin Linux support by http://blackfin.uclinux.org/^M

Processor Speed: 600 MHz core clock and 120 MHz System Clock^M

NOMPU: setting up cplb tables for global access^M

Instruction Cache Enabled for CPU0^M

Data Cache Enabled for CPU0 (write-through)^M

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 14223^M

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf561-ezkit:eth0:off^M

Configuring Blackfin Priority Driven Interrupts^M

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

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

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

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

Bad page state in process 'swapper'^M

page:004932c0 flags:0x00000000 mapping:00000000 mapcount:-49152 count:0^M

Trying to fix it up, but a reboot is needed^M

Backtrace:^M

Hardware Trace:^M

   0 Target : <0x0000492c> { _dump_stack + 0x0 }^M

     Source : <0x00032766> { _bad_page + 0x5a } CALL pcrel^M

   1 Target : <0x00032766> { _bad_page + 0x5a }^M

     Source : <0x0000e7a6> { _printk + 0x16 } RTS^M

   2 Target : <0x0000e7a2> { _printk + 0x12 }^M

     Source : <0x0000efd8> { _vprintk + 0x130 } RTS^M

   3 Target : <0x0000efcc> { _vprintk + 0x124 }^M

     Source : <0xffa00d58> { __common_int_entry + 0xd8 } RTI^M

   4 Target : <0xffa00cf6> { __common_int_entry + 0x76 }^M

     Source : <0xffa00b40> { _return_from_int + 0x58 } RTS^M

   5 Target : <0xffa00b40> { _return_from_int + 0x58 }^M

     Source : <0xffa00b16> { _return_from_int + 0x2e } IF !CC JUMP^M

   6 Target : <0xffa00ae8> { _return_from_int + 0x0 }^M

     Source : <0xffa00cf2> { __common_int_entry + 0x72 } CALL pcrel^M

   7 Target : <0xffa00cf0> { __common_int_entry + 0x70 }^M

     Source : <0xffa0042c> { _asm_do_IRQ + 0x70 } RTS^M

   8 Target : <0xffa00424> { _asm_do_IRQ + 0x68 }^M

     Source : <0x000125a6> { __local_bh_enable + 0x3e } RTS^M

   9 Target : <0x00012568> { __local_bh_enable + 0x0 }^M

     Source : <0x00012696> { ___do_softirq + 0xa6 } JUMP.L^M

  10 Target : <0x0001268e> { ___do_softirq + 0x9e }^M

     Source : <0x0001266c> { ___do_softirq + 0x7c } IF !CC JUMP^M

  11 Target : <0x0001264e> { ___do_softirq + 0x5e }^M

     Source : <0x0002dd8c> { _rcu_process_callbacks + 0x30 } RTS^M

  12 Target : <0x0002dd88> { _rcu_process_callbacks + 0x2c }^M

     Source : <0x0002dcbe> { ___rcu_process_callbacks + 0x132 } RTS^M

  13 Target : <0x0002dcb8> { ___rcu_process_callbacks + 0x12c }^M

     Source : <0x0002dc42> { ___rcu_process_callbacks + 0xb6 } IF !CC JUMP^M

  14 Target : <0x0002dc26> { ___rcu_process_callbacks + 0x9a }^M

     Source : <0x0002db9a> { ___rcu_process_callbacks + 0xe } IF !CC JUMP^M

  15 Target : <0x0002db8c> { ___rcu_process_callbacks + 0x0 }^M

     Source : <0x0002dd84> { _rcu_process_callbacks + 0x28 } CALL pcrel^M

Stack info:^M

SP: [0x0016def4] <0x0016def4> /* kernel dynamic memory */^M

FP: (0x0016df20)^M

Memory from 0x0016def0 to 0016e000^M

0016def0: 00000028 [10624dd3]<0003276a> 004932c0  ffff4000  00000020  0000001f  fffff755 ^M

0016df10: 00000008  00000000  00000000  ffff4000 (00000000)<00032f40> 004932c0  0016df80 ^M

0016df30:<0000e7a2> 00511760  00000004 <0017e120> 00484000  00000520  000001ff  00000016 ^M

0016df50: 00000500  0014e6a4 <0000ecb8> 00160340 <0000e7a2> 0015a1d0  0014ef70  00000001 ^M

0016df70: 00160340 <0017afd8> 0015a1d0  0014ef70  0014e6b0  0014e6a4  00000000  00000000 ^M

0016df90: 00000000  00188f54  000037ff  00000001  00000000  00000000  00000000  00160340 ^M

0016dfb0: 0000000e <0016e684> 0014eb08  00186224  0014e6a4  00000000  00000000  00000000 ^M

0016dfd0: 00000000  00186224  0014e4f8  00000015  0016e0a8  00188270  0016e000 <0017b372>^M

0016dff0: 00000000  00000000  00000000  ffb00000  0014e14a ^M

Return addresses in stack:^M

    address : <0x0003276a> { _bad_page + 0x5e }^M

   frame  1 : <0x00032f40> { _free_hot_cold_page + 0x130 }^M

    address : <0x0000e7a2> { _printk + 0x12 }^M

    address : <0x0017e120> { _free_all_bootmem_core + 0x90 }^M

    address : <0x0000ecb8> { _register_console + 0x1a8 }^M

    address : <0x0000e7a2> { _printk + 0x12 }^M

    address : <0x0017afd8> { _mem_init + 0x44 }^M

    address : <0x0016e684> { _start_kernel + 0x1c4 }^M

    address : <0x0017b372> { _real_start + 0x82 }^M

Bad page state in process 'swapper'^M

page:004932e0 flags:0x00000000 mapping:00000000 mapcount:-49152 count:0^M

Trying to fix it up, but a reboot is needed^M

Backtrace:^M

Hardware Trace:^M

   0 Target : <0x0000492c> { _dump_stack + 0x0 }^M

     Source : <0x00032766> { _bad_page + 0x5a } CALL pcrel^M

   1 Target : <0x00032766> { _bad_page + 0x5a }^M

     Source : <0x0000e7a6> { _printk + 0x16 } RTS^M

   2 Target : <0x0000e7a2> { _printk + 0x12 }^M

     Source : <0x0000efd8> { _vprintk + 0x130 } RTS^M

   3 Target : <0x0000efcc> { _vprintk + 0x124 }^M

     Source : <0xffa00d58> { __common_int_entry + 0xd8 } RTI^M

   4 Target : <0xffa00cf6> { __common_int_entry + 0x76 }^M

     Source : <0xffa00b40> { _return_from_int + 0x58 } RTS^M

   5 Target : <0xffa00b40> { _return_from_int + 0x58 }^M

     Source : <0xffa00b16> { _return_from_int + 0x2e } IF !CC JUMP^M

   6 Target : <0xffa00ae8> { _return_from_int + 0x0 }^M

     Source : <0xffa00cf2> { __common_int_entry + 0x72 } CALL pcrel^M

   7 Target : <0xffa00cf0> { __common_int_entry + 0x70 }^M

     Source : <0xffa0042c> { _asm_do_IRQ + 0x70 } RTS^M

   8 Target : <0xffa00424> { _asm_do_IRQ + 0x68 }^M

     Source : <0x000125a6> { __local_bh_enable + 0x3e } RTS^M

   9 Target : <0x00012568> { __local_bh_enable + 0x0 }^M

     Source : <0x00012696> { ___do_softirq + 0xa6 } JUMP.L^M

  10 Target : <0x0001268e> { ___do_softirq + 0x9e }^M

     Source : <0x0001266c> { ___do_softirq + 0x7c } IF !CC JUMP^M

  11 Target : <0x0001264e> { ___do_softirq + 0x5e }^M

     Source : <0x0002dd8c> { _rcu_process_callbacks + 0x30 } RTS^M

  12 Target : <0x0002dd88> { _rcu_process_callbacks + 0x2c }^M

     Source : <0x0002dcbe> { ___rcu_process_callbacks + 0x132 } RTS^M

  13 Target : <0x0002dcb8> { ___rcu_process_callbacks + 0x12c }^M

     Source : <0x0002dc42> { ___rcu_process_callbacks + 0xb6 } IF !CC JUMP^M

  14 Target : <0x0002dc26> { ___rcu_process_callbacks + 0x9a }^M

     Source : <0x0002db9a> { ___rcu_process_callbacks + 0xe } IF !CC JUMP^M

  15 Target : <0x0002db8c> { ___rcu_process_callbacks + 0x0 }^M

     Source : <0x0002dd84> { _rcu_process_callbacks + 0x28 } CALL pcrel^M

Stack info:^M

SP: [0x0016def4] <0x0016def4> /* kernel dynamic memory */^M

FP: (0x0016df20)^M

Memory from 0x0016def0 to 0016e000^M

0016def0: 00000028 [10624dd3]<0003276a> 004932e0  ffff4000  00000020  0000001f  ffffe91e ^M

0016df10: 00000008  00000000  00000000  ffff4000 (00000000)<00032f40> 004932e0  0016df80 ^M

0016df30:<0000e7a2> 00511760  00000004 <0017e120> 00484000  00000520  000000ff  00000017 ^M

0016df50: 00000500  0014e6a4 <0000ecb8> 00160340 <0000e7a2> 0015a1d0  0014ef70  00000001 ^M

0016df70: 00160340 <0017afd8> 0015a1d0  0014ef70  0014e6b0  0014e6a4  00000000  00000000 ^M

0016df90: 00000000  00188f54  000037ff  00000001  00000000  00000000  00000000  00160340 ^M

0016dfb0: 0000000e <0016e684> 0014eb08  00186224  0014e6a4  00000000  00000000  00000000 ^M

0016dfd0: 00000000  00186224  0014e4f8  00000015  0016e0a8  00188270  0016e000 <0017b372>^M

0016dff0: 00000000  00000000  00000000  ffb00000  0014e14a ^M

Return addresses in stack:^M

    address : <0x0003276a> { _bad_page + 0x5e }^M

   frame  1 : <0x00032f40> { _free_hot_cold_page + 0x130 }^M

    address : <0x0000e7a2> { _printk + 0x12 }^M

    address : <0x0017e120> { _free_all_bootmem_core + 0x90 }^M

    address : <0x0000ecb8> { _register_console + 0x1a8 }^M

    address : <0x0000e7a2> { _printk + 0x12 }^M

    address : <0x0017afd8> { _mem_init + 0x44 }^M

    address : <0x0016e684> { _start_kernel + 0x1c4 }^M

    address : <0x0017b372> { _real_start + 0x82 }^M

-

 

Follow-ups

 

--- Vivi Li                                                  2008-11-14 05:06:57

duplicate with bug [#4615]

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes