[#4105] Kernel will panic when scan bluetooth devices in BF527-EZKIT

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

[#4105] Kernel will panic when scan bluetooth devices in BF527-EZKIT

Submitted By: Vivi Li

Open Date

2008-05-15 08:47:58     Close Date

2008-05-18 23:29:39


Medium     Assignee:

Michael Hennerich


Closed     Fixed In Release:


Found In Release:

N/A     Release:


N/A     Board:



N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:


Uboot version or rev.:

    Toolchain version or rev.:


App binary format:


Summary: Kernel will panic when scan bluetooth devices in BF527-EZKIT



Kernel will panic when scan bluetooth devices in BF527-EZKIT with "hcitool scan". This happens both in 08r1 and trunk.

Attached is the config file.



Linux version (test@linux-bf527-std) (gcc version 4.1.2 (ADI svn)) #418

early printk enabled on early_BFuart0

Hardware Trace Active and Enabled

Recovering from Watchdog event

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

Compiled for ADSP-BF527 Rev 0.0

Warning: Unsupported Chip Revision ADSP-BF527 Rev 0.0 detected

Blackfin Linux support by   blackfin.uclinux.org/

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

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  text      = 0x00001000-0x00118010

  rodata    = 0x00119000-0x00167b48

  data      = 0x00168000-0x0017a000

    stack   = 0x00168000-0x0016a000

  init      = 0x0017a000-0x0049f000

  bss       = 0x0049f000-0x004ae4f0

  available = 0x004ae4f0-0x03eff000

  DMA Zone  = 0x03f00000-0x04000000

Instruction Cache Enabled

Data Cache Enabled (write-through)

Built 1 zonelists.  Total pages: 16002

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart1,57600 console=tty0 console=ttyf

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: 59136k/65536k RAM, (3220k init code, 1116k kernel code, 453k data, 1024k dma, 584)

Blackfin Scratchpad data SRAM: 4 KB

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

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

Blackfin Instruction SRAM: 48 KB (42 KB free)

Security Framework v1.0.0 initialized

Mount-cache hash table entries: 512

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

stamp_init(): registering device resources

Generic PHY: Registered new driver

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: kernel must blacklist external hubs

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

Bluetooth: Core ver 2.11

NET: Registered protocol family 31

Bluetooth: HCI device and connection manager initialized

Bluetooth: HCI socket layer initialized

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

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

bfin-otp: initialized

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

Serial: Blackfin serial driver

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

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

bfin_mac_mdio: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_d)

bfin_mac: Version 1.1, Blackfin BF53[67] BF527 on-chip Ethernet MAC driver

bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0, regs_base@ffc00500, 7

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

Bluetooth: HCI USB driver ver 2.9

usbcore: registered new interface driver hci_usb

usbcore: registered new interface driver usbhid

drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

Bluetooth: L2CAP ver 2.8

Bluetooth: L2CAP socket layer initialized

Bluetooth: SCO (Voice Link) ver 0.5

Bluetooth: SCO socket layer initialized

Bluetooth: RFCOMM socket layer initialized

Bluetooth: RFCOMM TTY layer initialized

Bluetooth: RFCOMM ver 1.8

Bluetooth: BNEP (Ethernet Emulation) ver 1.2

Bluetooth: BNEP filters: protocol multicast

Bluetooth: HIDP (Human Interface Emulation) ver 1.2

rtc-bfin rtc-bfin: setting the system clock to 1970-01-01 01:57:35 (7055)

usb 1-1: new full speed USB device using musb_hdrc and address 2

usb 1-1: configuration #1 chosen from 1 choice

IP-Config: Gateway not on directly connected network.

Freeing unused kernel memory: 3220k freed

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


        a8888b.           / Welcome to the uClinux distribution \

       d888888b.         /       _     _                         \

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |

       8'    .88       \        | |   | |  _ \| | | | \  /        |

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |

     dP   .    Y8b.       \   For embedded processors including   |

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /

   d8"         'Y88b        \___________________________________/

  :8P    '      :888

   8a.   :     _a88P         For further information, check out:

._/"Yaa_:   .| 88P|            -   blackfin.uclinux.org/

\    YP"    `| 8P  `.          -   docs.blackfin.uclinux.org/

/     \.___.d|    .'           -   www.uclinux.org/

`--..__)8888P`._.'  jgs/a:f    -   www.analog.com/blackfin


Have a lot of fun...



BusyBox v1.4.1 (2008-05-15 16:53:04 CST) Built-in shell (msh)

Enter 'help' for a list of built-in commands.


root:/> PHY: 0:01 - Link is Up - 100/Full




root:/> version

kernel:    Linux release, build #41 Thu May 15 17:00:29 CST 2008

toolchain: bfin-uclinux-gcc release gcc version 4.1.2 (ADI svn)

user-dist: release svn-6654, build #449 Thu May 15 16:59:40 CST 2008


root:/> hciconfig hci0 up

root:/> hciconfig

hci0:   Type: USB

        BD Address: 00:10:60:D0:8C:41 ACL MTU: 384:8 SCO MTU: 64:8


        RX bytes:91 acl:0 sco:0 events:10 errors:0

        TX bytes:34 acl:0 sco:0 commands:9 errors:0


root:/> hcitool scan

Scanning ...

BUG: failure at drivers/usb/musb/blackfin.c:128/musb_write_fifo()!

Kernel panic - not syncing: BUG!





--- Michael Hennerich                                        2008-05-16 05:27:03

Please try again.




--- Vivi Li                                                  2008-05-18 23:29:38

OK now. Close it.












File Name     File Type     File Size     Posted By

config.bluetooth    text/plain    28669    Vivi Li