[#4175] PIPE_ISOCHRONOUS mode is not enabled or running well in bf548/527 usb host driver.

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

[#4175] PIPE_ISOCHRONOUS mode is not enabled or running well in bf548/527 usb host driver.

Submitted By: Sonic Zhang

Open Date

2008-06-18 05:34:41     Close Date

2009-02-08 21:24:43

Priority:

Medium     Assignee:

Bryan Wu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2008R1.5-RC3     Release:

Category:

N/A     Board:

N/A

Processor:

BF548     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

4.1

App binary format:

N/A     

Summary: PIPE_ISOCHRONOUS mode is not enabled or running well in bf548/527 usb host driver.

Details:

 

PIPE_ISOCHRONOUS mode is not enabled or running well in isp1362, isp1760 and bf548 usb host driver.

 

Bluetooth ALSA lib depends on this mode to play sound over USB.

 

Follow-ups

 

--- Bryan Wu                                                 2008-06-25 04:47:15

Yes, I reproduced on bf548-ezkit

 

---

root:/> aplay -D headset b.wav

headsetd[301]: Changing state: Connected-->Ready

headsetd[301]: Changing state: Ready-->Opening

headsetd[301]: SCO channel opened handle=0x002e mtu=64

headsetd[301]: Changing stNULL pointer access (probably)

Kernel OOPS in progress

Defered Exception context

CURRENT PROCESS:

COMM=aplay PID=323

TEXT = 0x009d0000-0x009db8dc        DATA = 0x009be8dc-0x009bf4d4

BSS = 0x009bf4d4-0x009e0000  USER-STACK = 0x009ffea0

 

return address: [0x000b7c72]; contents of:

0x000b7c50:  9a01  9a01  2fdc  0000  3200  3209  3212  e0a2

0x000b7c60:  2003  9008  9300  0010  3200  3209  3212  e0a2

0x000b7c70:  2003 [9408] 9700  0010  3200  3209  3212  e0a2

0x000b7c80:  2003  9808  9b00  0010  3200  3209  3212  e0a2

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00000027  IPEND: 8830  SYSCFG: 0006

  HWERRCAUSE: 0x0

  EXCAUSE   : 0x27

  physical IVG11 asserted : <0xffa00db0> { _evt_evt11 + 0x0 }

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

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

  logical irq   9 mapped  : <0x000c4d94> { _bfin_bf54x_irq_error + 0x0 }

  logical irq  10 mapped  : <0x0014c100> { _err_handler + 0x0 }

  logical irq  16 mapped  : <0x0014b5fc> { _rx_handler + 0x0 }

  logical irq  17 mapped  : <0x0014b658> { _tx_handler + 0x0 }

  logical irq  48 mapped  : <0x000d95c4> { _bfin_serial_rx_int + 0x0 }

  logical irq  49 mapped  : <0x000d9594> { _bfin_serial_tx_int + 0x0 }

  logical irq  53 mapped  : <0x001280cc> { _bfin_twi_interrupt_entry +

0x0 }

  logical irq  68 mapped  : <0x000fbc00> { _bfin_ata_interrupt + 0x0 }

  logical irq  74 mapped  : <0x0010d08c> { _bf5xx_nand_dma_irq + 0x0 }

  logical irq  76 mapped  : <0x00123cb4> { _bfin_kpad_isr + 0x0 }

  logical irq  82 mapped  : <0x0011f5b8> { _blackfin_interrupt + 0x0 }

  logical irq  85 mapped  : <0x00121214> { _dma_controller_irq + 0x0 }

  logical irq 175 mapped  : <0x000e262c> { _smsc911x_irqhandler + 0x0 }

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

RETN: <0x00409940> /* unknown address */

RETX: <0x000b7c72> { _outsw + 0xa }

RETS: <0x00120b38> { _musb_host_tx + 0x250 }

PC  : <0x000b7c72> { _outsw + 0xa }

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

ICPLB_FAULT_ADDR: <0x000b7c72> { _outsw + 0xa }

 

PROCESSOR STATE:

R0 : ffc03c98    R1 : 00000000    R2 : 00000009    R3 : 00000000

R4 : 03260160    R5 : ffc03ec4    R6 : 0025aa14    R7 : 00000011

P0 : ffc03c98    P1 : 00000000    P2 : 00000009    P3 : 03dd14b8

P4 : 00000052    P5 : 03de24c0    FP : ffc03ec0    SP : 00409864

LB0: 000b7c74    LT0: 000b7c72    LC0: 00000009

LB1: 00120f66    LT1: 00120f5a    LC1: 00000004

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 00409a38

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 00000000

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 000289bb

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

A0.w: 000000a0   A0.x: 00000000   A1.w: 000000a0   A1.x: 00000000

USP : 009ff9e0  ASTAT: 02002000

 

Hardware Trace:

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

     Source : <0xffa006fc> { _exception_to_level5 + 0xb4 }

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

     Source : <0xffa005a0> { _ex_trap_c + 0x5c }

   2 Target : <0xffa00544> { _ex_trap_c + 0x0 }

     Source : <0xffa0079c> { _trap + 0x28 }

   3 Target : <0xffa00774> { _trap + 0x0 }

     Source : <0x000b7c6e> { _outsw + 0x6 }

   4 Target : <0x000b7c68> { _outsw + 0x0 }

     Source : <0x0011f592> { _musb_write_fifo + 0x1e }

   5 Target : <0x0011f574> { _musb_write_fifo + 0x0 }

     Source : <0x00120b34> { _musb_host_tx + 0x24c }

   6 Target : <0x00120b18> { _musb_host_tx + 0x230 }

     Source : <0x00120a6c> { _musb_host_tx + 0x184 }

   7 Target : <0x00120a60> { _musb_host_tx + 0x178 }

     Source : <0x00120afe> { _musb_host_tx + 0x216 }

   8 Target : <0x00120afc> { _musb_host_tx + 0x214 }

     Source : <0x00120a5c> { _musb_host_tx + 0x174 }

   9 Target : <0x00120a28> { _musb_host_tx + 0x140 }

     Source : <0x00120ab0> { _musb_host_tx + 0x1c8 }

  10 Target : <0x00120aae> { _musb_host_tx + 0x1c6 }

     Source : <0x00120a20> { _musb_host_tx + 0x138 }

  11 Target : <0x00120a0e> { _musb_host_tx + 0x126 }

     Source : <0x00120b16> { _musb_host_tx + 0x22e }

  12 Target : <0x00120b10> { _musb_host_tx + 0x228 }

     Source : <0x00120ae8> { _musb_host_tx + 0x200 }

  13 Target : <0x00120ae6> { _musb_host_tx + 0x1fe }

     Source : <0x00120940> { _musb_host_tx + 0x58 }

  14 Target : <0x00120920> { _musb_host_tx + 0x38 }

     Source : <0x00120aac> { _musb_host_tx + 0x1c4 }

  15 Target : <0x00120aa8> { _musb_host_tx + 0x1c0 }

     Source : <0x0012091c> { _musb_host_tx + 0x34 }

Stack from 00409844:

        00000000 ffa00700 00234568 00234568 00234564 0000000c 64726163

00000000

        000b7c72 00008830 00000027 00000000 00409940 000b7c72 000b7c72

00120b38

        ffc03c98 02002000 00120f66 000b7c74 00120f5a 000b7c72 00000004

00000009

        000000a0 00000000 000000a0 00000000 00000000 00000000 00000000

00000000

        00000000 00000000 00000000 00000000 00000000 00000000 00000000

00000000

        00000000 000289bb 00000000 00409a38 009ff9e0 ffc03ec0 03de24c0

00000052

 

Call Trace:

[<0025aa14>] _bfin_init_mmr_debugfs+0x84b8/0xe274

[<00018200>] _sys_prctl+0x130/0x1b0

[<0011edca>] _musb_interrupt+0xa2/0x44c

[<0011f61c>] _blackfin_interrupt+0x64/0x88

[<0000ffff>] _sys_setitimer+0x1f/0x84

[<00027048>] _handle_IRQ_event+0x34/0x5c

[<0002806a>] _handle_simple_irq+0x72/0x94

[<0002803c>] _handle_simple_irq+0x44/0x94

[<0000ffff>] _sys_setitimer+0x1f/0x84

[<0025aa14>] _bfin_init_mmr_debugfs+0x84b8/0xe274

[<001203a2>] _musb_urb_enqueue+0x16e/0x294

[<001203a2>] _musb_urb_enqueue+0x16e/0x294

[<00120430>] _musb_urb_enqueue+0x1fc/0x294

[<00120f66>] _dma_channel_allocate+0x26/0x84

[<000b7c20>] _memset+0x28/0x60

[<00120f5a>] _dma_channel_allocate+0x1a/0x84

[<000b7c20>] _memset+0x28/0x60

[<000289bb>] _file_send_actor+0x1b/0x58

[<0025aa14>] _bfin_init_mmr_debugfs+0x84b8/0xe274

[<0025aa14>] _bfin_init_mmr_debugfs+0x84b8/0xe274

[<0000ffff>] _sys_setitimer+0x1f/0x84

[<0000ffff>] _sys_setitimer+0x1f/0x84

[<0000ffff>] _sys_setitimer+0x1f/0x84

[<00113486>] _usb_hcd_submit_urb+0x12a/0x660

[<0025aa14>] _bfin_init_mmr_debugfs+0x84b8/0xe274

[<00129c14>] _hci_usb_send_frame+0x84/0x108

[<0000ffff>] _sys_setitimer+0x1f/0x84

[<00129c14>] _hci_usb_send_frame+0x84/0x108

[<00129bf8>] _hci_usb_send_frame+0x68/0x108

[<000b7b52>] _memcpy+0x3a/0x70

[<000b7b52>] _memcpy+0x3a/0x70

[<00128b4e>] ___tx_submit+0x46/0x114

[<0025aa00>] _bfin_init_mmr_debugfs+0x84a4/0xe274

[<0025aa14>] _bfin_init_mmr_debugfs+0x84b8/0xe274

[<0012907c>] _hci_usb_tx_complete+0x0/0x148

[<00128de2>] __urb_alloc+0x12/0x34

[<00128df8>] __urb_alloc+0x28/0x34

[<0025aa00>] _bfin_init_mmr_debugfs+0x84a4/0xe274

[<0012901c>] _hci_usb_tx_process+0x218/0x278

[<0025aa00>] _bfin_init_mmr_debugfs+0x84a4/0xe274

[<00129c52>] _hci_usb_send_frame+0xc2/0x108

[<00029468>] _do_generic_mapping_read+0x24/0x440

[<0019ca46>] _hci_tx_task+0x1be/0x1f0

[<0019ca46>] _hci_tx_task+0x1be/0x1f0

[<0001113c>] _tasklet_action+0x50/0xac

[<00151ffc>] ___alloc_skb+0x3c/0xe8

[<00011050>] ___do_softirq+0x60/0xac

[<0014e9bc>] _sock_alloc_send_skb+0x1b8/0x238

[<00258a00>] _bfin_init_mmr_debugfs+0x64a4/0xe274

[<000110e8>] _do_softirq+0x4c/0x50

[<00258a00>] _bfin_init_mmr_debugfs+0x64a4/0xe274

[<0000ffff>] _sys_setitimer+0x1f/0x84

[<0019c188>] _hci_send_sco+0xa0/0xc4

[<000112b4>] _local_bh_enable+0x58/0x94

[<00258a00>] _bfin_init_mmr_debugfs+0x64a4/0xe274

[<001a4626>] _sco_sock_sendmsg+0x4a/0x16c

[<00258a00>] _bfin_init_mmr_debugfs+0x64a4/0xe274

[<001a4626>] _sco_sock_sendmsg+0x4a/0x16c

[<00258a00>] _bfin_init_mmr_debugfs+0x64a4/0xe274

[<00046e5c>] _touch_atime+0x74/0xec

[<0014d19e>] _sock_sendmsg+0x9a/0xc0

[<0001cb60>] _autoremove_wake_function+0x0/0x30

[<0002ae8a>] _generic_file_aio_read+0x9a/0x150

[<0002acd4>] _file_read_actor+0x0/0x11c

[<000361f4>] _do_sync_read+0xac/0xe4

[<000371c8>] _fget_light+0x8/0x94

[<0014d278>] _sys_sendto+0xb4/0xd8

[<0001cb60>] _autoremove_wake_function+0x0/0x30

[<000369ca>] _vfs_read+0xce/0xfc

[<00003b8c>] _do_gettimeofday+0x30/0xa0

[<0014d2ae>] _sys_send+0x12/0x18

[<0014d29c>] _sys_send+0x0/0x18

[<00005d4e>] _apply_relocate_add+0x13a/0x3ec

[<0000fec8>] _do_setitimer+0x114/0x22c

[<00008000>] _bfin_gpio_unmask_irq+0x34/0x38

 

Modules linked in:

Kernel panic - not syncing: Kernel exception

---

 

-Bryan

 

--- Bryan Wu                                                 2008-06-26 05:41:42

Fixed in 08r1 and tested on bf548-ezkit

 

-Bryan

 

--- Felix Lazarev                                            2008-07-17 23:38:32

ISP1760 cannot be compiled with ISO enabled as of 2008rc8. Still open

 

--- xabi romero                                              2008-10-21 03:02:09

Is it fixed for ISP1362 and CM-BF561 V2?

 

--- Sonic Zhang                                              2008-10-21 03:41:43

No. ISP1760 and ISP1362 are not maintianed by us.

 

--- Bryan Wu                                                 2009-02-08 21:04:14

Since ISO transfer is OK on BF54x and BF52x, we can close this tracker.

ISP1760 and ISP1362 are not maintianed by us.

 

-Bryan

 

--- Sonic Zhang                                              2009-02-08 21:24:43

Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes