2009-06-15 09:55:06     2009R1 got a usb error

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

2009-06-15 09:55:06     2009R1 got a usb error

david wang (CHINA)

Message: 75729   

 

Hi,

 

  when I get the 2009R1 kernel running, I got below error, but the same hardware and usb config works fine in my 2008R1.5-RC3.

 

EMAC_setup_addr: ......

## Booting image at 01000000 ...

   Image Name:   Linux-2.6.28.10-ADI-2009R1-svn66

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    2303916 Bytes =  2.2 MB

   Load Address: 00100000

   Entry Point:  002cb32c

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 2cb32c

Linux version 2.6.28.10-ADI-2009R1-svn6689 (wangyixin@svnhost.imagintech.cn) (gcc version 4.1.2 (ADI svn)) #66 Mon Jun 15 21:48:09 CST 2009

Board Memory: 32MB

Kernel Managed Memory: 32MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00100000-0x0023eac0

  rodata    = 0x0023eac0-0x0028dc1c

  bss       = 0x0028e000-0x002a3840

  data      = 0x002a3840-0x002be000

    stack   = 0x002bc000-0x002be000

  init      = 0x002be000-0x0056c000

  available = 0x0056c000-0x01dff000

  DMA Zone  = 0x01e00000-0x02000000

Hardware Trace Active and Enabled

Boot Mode: 1

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

Compiled for ADSP-BF527 Rev any

Blackfin Linux support by   blackfin.uclinux.org/

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

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-back)

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 7619

Kernel command line: console=ttyBF0,57600 mem=32m

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 128 (order: 7, 512 bytes)

console [ttyBF0] enabled

Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)

Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)

Memory available: 24876k/32768k RAM, (2744k init code, 1274k kernel code, 510k data, 2048k dma, 1312k reserved)

Calibrating delay loop... 1196.03 BogoMIPS (lpj=2392064)

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

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

Blackfin L1 Data B SRAM: 32 KB (32 KB free)

Blackfin L1 Instruction SRAM: 48 KB (44 KB free)

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

SCSI subsystem initialized

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

usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

usb usb1: Product: MUSB HDRC host driver

usb usb1: Manufacturer: Linux 2.6.28.10-ADI-2009R1-svn6689 musb-hcd

usb usb1: SerialNumber: musb_hdrc.0

cfg80211: Calling CRDA to update world regulatory domain

cfg80211: Failed calling CRDA

cfg80211: calling CRDA failed - unable to update world regulatory domain, using static definition

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 1024 (order: 1, 8192 bytes)

TCP bind hash table entries: 1024 (order: 0, 4096 bytes)

TCP: Hash tables configured (established 1024 bind 1024)

TCP reno registered

NET: Registered protocol family 1

JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.

msgmni has been set to 48

alg: No test for stdrng (krng)

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

simple-gpio: now handling 48 GPIOs: 0 - 47

Serial: Blackfin serial driver

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

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

brd: module loaded

bfin_mii_bus: probed

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

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:03, irq=-1, mdc_clk=2500000Hz(mdc_div=23)@sclk=120MHz)

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1

Driver 'sd' needs updating - please use bus_type methods

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

TCP cubic registered

NET: Registered protocol family 17

Freeing unused kernel memory: 2744k freed

dma_alloc_init: dma_page @ 0x002be000 - 512 pages at 0x01e00000

                           _____________________________________

        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.13.4 (2009-06-15 20:37:45 CST) built-in shell (msh)

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

 

root:/> usb 1-1: device descriptor read/64, error -110

usb 1-1: device descriptor read/64, error -110

usb 1-1: new high speed USB device using musb_hdrc and address 3

usb 1-1: device descriptor read/64, error -110

usb 1-1: device descriptor read/64, error -110

usb 1-1: new high speed USB device using musb_hdrc and address 4

musb_h_tx_flush_fifo 124: Could not flush host TX fifo: csr: 000a

musb_h_tx_flush_fifo 124: Could not flush host TX fifo: csr: 000a

usb 1-1: device not accepting address 4, error -110

usb 1-1: new high speed USB device using musb_hdrc and address 5

musb_h_tx_flush_fifo 124: Could not flush host TX fifo: csr: 000a

musb_h_tx_flush_fifo 124: Could not flush host TX fifo: csr: 000a

usb 1-1: device not accepting address 5, error -110

hub 1-0:1.0: unable to enumerate USB device on port 1

QuoteReplyEditDelete

 

 

2009-06-15 10:11:36     2009R1 got a usb error

Michael Hennerich (GERMANY)

Message: 75733    Looks like you are trying to attach some USB WIFI Sticks.

I've seen this error before, and it's related to USB VBUS voltage dropping below 4.3Volt.

Add some 120uF Low ESR CAP across VBUS to GND.

 

-Michael

QuoteReplyEditDelete

 

 

2009-06-15 10:17:58     Re: 2009R1 got a usb error

david wang (CHINA)

Message: 75734   

 

Hi, Michael

 

  Thanks for your rapid reply. Yes, I want to use a usb wifi stick, but not for this test. In the above test, I just enable the usb mass storage config and put a usb disk to the board. As for the hardware, I have tested in 2008R1.5-RC3, it works fine with a usb stick. So I think it maybe the 2009R1 kernel somewhere different to 2008R1.5-RC3.

QuoteReplyEditDelete

 

 

2009-06-15 10:40:44     Re: 2009R1 got a usb error

david wang (CHINA)

Message: 75735   

 

Hi, Michael

 

  Sorry, I enabled one of the wifi driver in the kernel config. after remove it, it show something different., It seems like the kernel has got the usb stick. But the error is still there.

QuoteReplyEditDelete

 

 

2009-06-15 10:42:38     Re: 2009R1 got a usb error

david wang (CHINA)

Message: 75736   

 

SCSI subsystem initialized

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

usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

usb usb1: Product: MUSB HDRC host driver

usb usb1: Manufacturer: Linux 2.6.28.10-ADI-2009R1-svn6689 musb-hcd

usb usb1: SerialNumber: musb_hdrc.0

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 1024 (order: 1, 8192 bytes)

TCP bind hash table entries: 1024 (order: 0, 4096 bytes)

TCP: Hash tables configured (established 1024 bind 1024)

TCP reno registered

NET: Registered protocol family 1

JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.

msgmni has been set to 49

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

simple-gpio: now handling 48 GPIOs: 0 - 47

Serial: Blackfin serial driver

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

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

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

brd: module loaded

bfin_mii_bus: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:03, irq=-1, mdc_clk=2500000Hz(mdc_div=19)@sclk=100MHz)

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1

Driver 'sd' needs updating - please use bus_type methods

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

i2c /dev entries driver

TCP cubic registered

NET: Registered protocol family 17

Freeing unused kernel memory: 2728k freed

dma_alloc_init: dma_page @ 0x00531000 - 512 pages at 0x01e00000

usb 1-1: device descriptor read/64, error -71

                           _____________________________________

        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.13.4 (2009-06-15 20:37:45 CST) built-in shell (msh)

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

 

root:/> usb 1-1: device descriptor read/64, error -110

usb 1-1: new high speed USB device using musb_hdrc and address 3

QuoteReplyEditDelete

 

 

2009-06-15 22:48:52     Re: 2009R1 got a usb error

Sonic Zhang (CHINA)

Message: 75757   

 

Please update your 2009R1 kernel to branch head. Several USB anomalies are fixed recently, which may solve your problem.

Attachments

    Outcomes