Re: usb hub is n't recognised during boot up(sometimes)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 2, 2012 at 9:08 AM, shaiju shaiju <shshaiju@xxxxxxxxx> wrote:
> Hi  Peter,
>
> I have attached the dmesg  for  a  working  case and a non  working  case
> with  CONFIG_USB_DEBUG  option  set .
>
> Looks  like  here  is  what is  happening  in the case  of  error .   It
> try  to use  OHCI/UHCI  driver  instead of
> EHCI  driver  and  try  to  set  the  port  to  fullspeed,  instead of  high
> speed .
>
> usb 2-1: new high speed USB device using ehci_hcd and address 2
> usb 1-1: link qh256-0001/ffff8801581b2b80 start 1 [1/0 us]
> ehci_hcd 0000:00:1d.0: port 1 full speed --> companion
> ---------------------> Here is  the problem .
> ehci_hcd 0000:00:1d.0: GetStatus port 1 status 003801 POWER OWNER sig=j
> CONNECT
> hub 2-0:1.0: port 1 not reset yet, waiting 50ms
>
Seems it is a hardware problem, the host controller detects it is a
high speed device,
but PE is not 1 after stopping reset signal.

Please make sure the host 1 and host 2 do the same initialization,
such like USB PHY's
init, phy and controller's clock, etc.

try two things:
- Do not enable your usb1 host controller
- Try to reset your hub at your platform code
- If possible, try your hub at usb1

> Here I  am  coping  the log  also .
>
>
> Regards,
> Shaiju.
>
> bash-3.2# dmesg | less
> Initializing cgroup subsys cpuset
> Initializing cgroup subsys cpu
> Linux version 2.6.32.39 (ghaidiny@cpp-rtpbld-51) (gcc version 4.4.1
> (MontaVista) ) #15 SMP Sun Jul 1 15:12:17 EDT 2012
> Command line: root=/dev/ram rw console=ttyS1,9600 max_loop=64 wdt=0
> SR_BOOT=bootflash:/ghaidiny/rp_super_universalk9.2kp.bin
> KERNEL supported cpus:
>   Intel GenuineIntel
>   AMD AuthenticAMD
>   Centaur CentaurHauls
> BIOS-provided physical RAM map:
>  BIOS-e820: 0000000000000000 - 000000000008f000 (usable)
>  BIOS-e820: 000000000008f000 - 0000000000090000 (ACPI NVS)
>  BIOS-e820: 0000000000090000 - 00000000000a0000 (usable)
>  BIOS-e820: 0000000000100000 - 000000006eb16000 (usable)
>  BIOS-e820: 000000006eb16000 - 0000000084804000 (reserved)
>  BIOS-e820: 0000000084804000 - 000000009f4bf000 (usable)
>  BIOS-e820: 000000009f4bf000 - 000000009f6bf000 (reserved)
>  BIOS-e820: 000000009f6bf000 - 000000009f7bf000 (ACPI NVS)
>  BIOS-e820: 000000009f7bf000 - 000000009f7ef000 (ACPI data)
>  BIOS-e820: 000000009f7ef000 - 000000009f800000 (usable)
>  BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
>  BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
>  BIOS-e820: 00000000fed1c000 - 00000000fed20000 (reserved)
>  BIOS-e820: 00000000ffdf0000 - 00000000ffff0000 (reserved)
>  BIOS-e820: 0000000100000000 - 0000000160000000 (usable)
> DMI not present or invalid.
> last_pfn = 0x160000 max_arch_pfn = 0x400000000
> MTRR default type: uncachable
> MTRR fixed ranges enabled:
>   00000-9FFFF write-back
>   A0000-BFFFF uncachable
>   C0000-EFFFF write-through
>   F0000-FFFFF write-combining
> MTRR variable ranges enabled:
>   0 base 0000000000 mask FF00000000 write-back
>   1 base 0100000000 mask FFC0000000 write-back
>   2 base 0140000000 mask FFE0000000 write-back
>   3 base 00A0000000 mask FFE0000000 uncachable
>   4 base 00C0000000 mask FFC0000000 uncachable
>   5 disabled
>   6 disabled
>   7 disabled
> e820 update range: 00000000a0000000 - 0000000100000000 (usable) ==>
> (reserved)
> last_pfn = 0x9f800 max_arch_pfn = 0x400000000
> initial memory mapped : 0 - 20000000
> init_memory_mapping: 0000000000000000-000000009f800000
>  0000000000 - 009f800000 page 2M
> kernel direct mapping tables up to 9f800000 @ 8000-c000
> init_memory_mapping: 0000000100000000-0000000160000000
>  0100000000 - 0160000000 page 2M
> kernel direct mapping tables up to 160000000 @ a000-11000
> RAMDISK: 6eb16018 - 84803018
> ACPI: RSDP 00000000000e0000 00024 (v02 INSYDE)
> ACPI: XSDT 000000009f7ee120 000AC (v01 INSYDE PicketPo 00000001
> 01000013)
> ACPI: FACP 000000009f7ec000 000F4 (v04 INSYDE PicketPo 00000001 MSFT
> 01000013)
> ACPI: DSDT 000000009f7e1000 07613 (v01 INSYDE PicketPo 00000001 MSFT
> 01000013)
> ACPI: FACS 000000009f729000 00040
> ACPI: ASF! 000000009f7ed000 000A5 (v32 INSYDE PicketPo 00000001 MSFT
> 01000013)
> ACPI: HPET 000000009f7eb000 00038 (v01 INSYDE PicketPo 00000001 MSFT
> 01000013)
> ACPI: APIC 000000009f7ea000 000EA (v02 INSYDE PicketPo 00000001 MSFT
> 01000013)
> ACPI: MCFG 000000009f7e9000 0003C (v01 INSYDE PicketPo 00000001 MSFT
> 01000013)
> ACPI: SLIC 000000009f7e0000 00176 (v01 INSYDE PicketPo 00000001 MSFT
> 01000013)
> ACPI: BOOT 000000009f7dd000 00028 (v01 INSYDE PicketPo 00000001 MSFT
> 01000013)
> ACPI: SSDT 000000009f7dc000 002F6 (v01 INTEL  SataAhci 00001000 INTL
> 20051117)
> ACPI: SRAT 000000009f7d9000 00400 (v02 INSYDE PicketPo 00000001 MSFT
> 01000013)
> ACPI: SLIT 000000009f7d8000 00030 (v01 INSYDE PicketPo 00000001 MSFT
> 01000013)
> ACPI: WDAT 000000009f7d7000 00224 (v01 INSYDE PicketPo 00000001 MSFT
> 01000013)
> ACPI: DMAR 000000009f7d6000 00068 (v01 INTEL  CP_FIELD 00000001 INTL
> 00000001)
> ACPI: SSDT 000000009f7d4000 01129 (v01  PmRef    CpuPm 00003000 INTL
> 20051117)
> ACPI: HEST 000000009f7d3000 000A8 (v01 INSYDE THURLEY  00000001    ?
> 00000001)
> ACPI: ERST 000000009f7d2000 00230 (v01 INSYDE THURLEY  00000001    ?
> 00000001)
> ACPI: BERT 000000009f7d1000 00030 (v01 INSYDE THURLEY  00000001    ?
> 00000001)
> ACPI: EINJ 000000009f7d0000 00130 (v01 INSYDE THURLEY  00000001    ?
> 00000001)
> ACPI: Local APIC address 0xfee00000
> (7 early reservations) ==> bootmem [0000000000 - 0160000000]
>   #0 [0000000000 - 0000001000]    BIOS data page ==> [0000000000 -
> 0000001000]
>   #1 [0000006000 - 0000008000]       TRAMPOLINE ==> [0000006000 -
> 0000008000]
>   #2 [0000200000 - 0001825ef0]    TEXT DATA BSS ==> [0000200000 -
> 0001825ef0]
>   #3 [006eb16018 - 0084803018]          RAMDISK ==> [006eb16018 -
> 0084803018]
>   #4 [000009d800 - 0000100000]    BIOS reserved ==> [000009d800 -
> 0000100000]
>   #5 [0000008000 - 000000a000]          PGTABLE ==> [0000008000 -
> 000000a000]
>   #6 [000000a000 - 000000c000]          PGTABLE ==> [000000a000 -
> 000000c000]
> found SMP MP-table at [ffff8800000fe1b0] fe1b0
> Reserving 64MB of memory at 32MB for crashkernel (System RAM: 5632MB)
> Record initrd PFNs (453398 - 542724)
>  [ffffea0000000000-ffffea00057fffff] PMD ->
> [ffff880028600000-ffff88002c5fffff] on node 0
> Zone PFN ranges:
>   DMA      0x00000000 -> 0x00001000
>   DMA32    0x00001000 -> 0x00100000
>   Normal   0x00100000 -> 0x00160000
> Movable zone start PFN for each node
> early_node_map[6] active PFN ranges
>     0: 0x00000000 -> 0x0000008f
>     0: 0x00000090 -> 0x000000a0
>     0: 0x00000100 -> 0x0006eb16
>     0: 0x00084804 -> 0x0009f4bf
>     0: 0x0009f7ef -> 0x0009f800
>     0: 0x00100000 -> 0x00160000
> On node 0 totalpages: 956289
>   DMA zone: 64 pages used for memmap
>   DMA zone: 120 pages reserved
>   DMA zone: 3815 pages, LIFO batch:0
>   DMA32 zone: 16320 pages used for memmap
>   DMA32 zone: 542754 pages, LIFO batch:31
>   Normal zone: 6144 pages used for memmap
>   Normal zone: 387072 pages, LIFO batch:31
> ACPI: PM-Timer IO Port: 0x408
> ACPI: Local APIC address 0xfee00000
> ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
> ACPI: LAPIC (acpi_id[0x01] lapic_id[0x02] enabled)
> ACPI: LAPIC (acpi_id[0x02] lapic_id[0x04] enabled)
> ACPI: LAPIC (acpi_id[0x03] lapic_id[0x06] enabled)
> ACPI: LAPIC (acpi_id[0x04] lapic_id[0xff] disabled)
> ACPI: LAPIC (acpi_id[0x05] lapic_id[0xff] disabled)
> ACPI: LAPIC (acpi_id[0x06] lapic_id[0xff] disabled)
> ACPI: LAPIC (acpi_id[0x07] lapic_id[0xff] disabled)
> ACPI: LAPIC (acpi_id[0x08] lapic_id[0xff] disabled)
> ACPI: LAPIC (acpi_id[0x09] lapic_id[0xff] disabled)
> ACPI: LAPIC (acpi_id[0x0a] lapic_id[0xff] disabled)
> ACPI: LAPIC (acpi_id[0x0b] lapic_id[0xff] disabled)
> ACPI: LAPIC (acpi_id[0x0c] lapic_id[0xff] disabled)
> ACPI: LAPIC (acpi_id[0x0d] lapic_id[0xff] disabled)
> ACPI: LAPIC (acpi_id[0x0e] lapic_id[0xff] disabled)
> ACPI: LAPIC (acpi_id[0x0f] lapic_id[0xff] disabled)
> ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
> ACPI: IOAPIC (id[0x08] address[0xfec00000] gsi_base[0])
> IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-23
> ACPI: IOAPIC (id[0x09] address[0xfec90000] gsi_base[24])
> IOAPIC[1]: apic_id 9, version 32, address 0xfec90000, GSI 24-47
> ACPI: IOAPIC (id[0x0a] address[0xfec98000] gsi_base[48])
> IOAPIC[2]: apic_id 10, version 255, address 0xfec98000, GSI 48-303
> ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
> ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
> ACPI: IRQ0 used by override.
> ACPI: IRQ2 used by override.
> ACPI: IRQ9 used by override.
> Using ACPI (MADT) for SMP configuration information
> ACPI: HPET id: 0x8086a201 base: 0xfed00000
> SMP: Allowing 16 CPUs, 12 hotplug CPUs
> nr_irqs_gsi: 304
> Allocating PCI resources starting at 9f800000 (gap: 9f800000:40800000)
> NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:16 nr_node_ids:1
> PERCPU: Embedded 27 pages/cpu @ffff880028200000 s78232 r8192 d24168 u131072
> pcpu-alloc: s78232 r8192 d24168 u131072 alloc=1*2097152
> pcpu-alloc: [0] 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
> Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 933641
> Kernel command line: root=/dev/ram rw console=ttyS1,9600 max_loop=64 wdt=0
> SR_BOOT=bootflash:/ghaidiny/rp_super_universalk9.2kp.bin
> PID hash table entries: 4096 (order: 3, 32768 bytes)
> Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
> Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
> Initializing CPU#0
> Checking aperture...
> No AGP bridge found
> Calgary: detecting Calgary via BIOS EBDA area
> Calgary: Unable to locate Rio Grande table in EBDA - bailing!
> PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
> Placing 64MB software IO TLB between ffff880020000000 - ffff880024000000
> software IO TLB at phys 0x20000000 - 0x24000000
> Memory: 3596340k/5767168k available (3258k kernel code, 1942012k absent,
> 227928k reserved, 2852k data, 15332k init)
> SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=16, Nodes=1
> Hierarchical RCU implementation.
> NR_IRQS:2304
> Extended CMOS year: 2000
> Console: colour dummy device 80x25
> console [ttyS1] enabled
> allocated 67108864 bytes of page_cgroup
> please try 'cgroup_disable=memory' option if you don't want memory cgroups
> hpet clockevent registered
> Fast TSC calibration using PIT
> Detected 2133.731 MHz processor.
> Calibrating delay loop (skipped), value calculated using timer frequency..
> 4267.46 BogoMIPS (lpj=2133731)
> Security Framework initialized
> Mount-cache hash table entries: 256
> Initializing cgroup subsys ns
> Initializing cgroup subsys cpuacct
> Initializing cgroup subsys memory
> Initializing cgroup subsys devices
> Initializing cgroup subsys freezer
> Initializing cgroup subsys net_cls
> CPU: Physical Processor ID: 0
> CPU: Processor Core ID: 0
> CPU: L1 I cache: 32K, L1 D cache: 32K
> CPU: L2 cache: 256K
> CPU: L3 cache: 8192K
> mce: CPU supports 9 MCE banks
> CPU 0 MCA banks CMCI:2 CMCI:3 CMCI:5 CMCI:6 CMCI:8
> using mwait in idle threads.
> Performance Events: Nehalem/Corei7 events, Intel PMU driver.
> ... version:                3
> ... bit width:              48
> ... generic registers:      4
> ... value mask:             0000ffffffffffff
> ... max period:             000000007fffffff
> ... fixed-purpose events:   3
> ... event mask:             000000070000000f
> ACPI: Core revision 20090903
> Setting APIC routing to physical flat
> ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
> CPU0: Intel(R) Xeon(R) CPU           C3539  @ 2.13GHz stepping 04
> Booting processor 1 APIC 0x2 ip 0x6000
> Initializing CPU#1
> CPU: Physical Processor ID: 0
> CPU: Processor Core ID: 1
> CPU: L1 I cache: 32K, L1 D cache: 32K
> CPU: L2 cache: 256K
> CPU: L3 cache: 8192K
> CPU 1 MCA banks CMCI:2 CMCI:3 CMCI:5 SHD:6 SHD:8
> CPU1: Intel(R) Xeon(R) CPU           C3539  @ 2.13GHz stepping 04
> checking TSC synchronization [CPU#0 -> CPU#1]: passed.
> Booting processor 2 APIC 0x4 ip 0x6000
> Initializing CPU#2
> CPU: Physical Processor ID: 0
> CPU: Processor Core ID: 2
> CPU: L1 I cache: 32K, L1 D cache: 32K
> CPU: L2 cache: 256K
> CPU: L3 cache: 8192K
> CPU 2 MCA banks CMCI:2 CMCI:3 CMCI:5 SHD:6 SHD:8
> CPU2: Intel(R) Xeon(R) CPU           C3539  @ 2.13GHz stepping 04
> checking TSC synchronization [CPU#0 -> CPU#2]: passed.
> Booting processor 3 APIC 0x6 ip 0x6000
> Initializing CPU#3
> CPU: Physical Processor ID: 0
> CPU: Processor Core ID: 3
> CPU: L1 I cache: 32K, L1 D cache: 32K
> CPU: L2 cache: 256K
> CPU: L3 cache: 8192K
> CPU 3 MCA banks CMCI:2 CMCI:3 CMCI:5 SHD:6 SHD:8
> CPU3: Intel(R) Xeon(R) CPU           C3539  @ 2.13GHz stepping 04
> checking TSC synchronization [CPU#0 -> CPU#3]: passed.
> Brought up 4 CPUs
> Total of 4 processors activated (17065.52 BogoMIPS).
> CPU0 attaching sched-domain:
>  domain 0: span 0-3 level MC
>   groups: 0 1 2 3
> CPU1 attaching sched-domain:
>  domain 0: span 0-3 level MC
>   groups: 1 2 3 0
> CPU2 attaching sched-domain:
>  domain 0: span 0-3 level MC
>   groups: 2 3 0 1
> CPU3 attaching sched-domain:
>  domain 0: span 0-3 level MC
>   groups: 3 0 1 2
> ASR: rp2_RpDevRstCntrl initial 0 p ffffc9000001a000
> ASR: cpld eusb reset done
> NET: Registered protocol family 16
> ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
> ACPI: bus type pci registered
> PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
> PCI: MCFG area at e0000000 reserved in E820
> PCI: Using MMCONFIG at e0000000 - efffffff
> PCI: Using configuration type 1 for base access
> bio: create slab <bio-0> at 0
> ACPI: EC: Look up EC in DSDT
> \_SB_:_OSC invalid UUID
> _OSC request data:1 4
> ACPI: Executed 1 blocks of module-level executable AML code
> ACPI: Interpreter enabled
> ACPI: (supports S0 S5)
> ACPI: Using IOAPIC for interrupt routing
> ACPI: Power Resource [FN00] (off)
> ACPI: Power Resource [FN01] (off)
> ACPI: No dock devices found.
> _OSC invalid UUID
> ACPI: PCI Root Bridge [PCI0] (0000:00)
> pci 0000:00:03.0: reg 10 64bit mmio pref: [0x8100000-0x810ffff]
> pci 0000:00:03.0: PME# supported from D0 D3hot D3cold
> pci 0000:00:03.0: PME# disabled
> pci 0000:00:04.0: PME# supported from D0 D3hot D3cold
> pci 0000:00:04.0: PME# disabled
> pci 0000:00:0b.0: reg 10 32bit mmio: [0xd9128000-0xd9128fff]
> pci 0000:00:0b.0: PME# supported from D0 D3hot D3cold
> pci 0000:00:0b.0: PME# disabled
> pci 0000:00:19.0: reg 10 32bit mmio: [0xd9100000-0xd911ffff]
> pci 0000:00:19.0: reg 14 32bit mmio: [0xd9127000-0xd9127fff]
> pci 0000:00:19.0: reg 18 io port: [0x3040-0x305f]
> pci 0000:00:19.0: PME# supported from D0 D3hot D3cold
> pci 0000:00:19.0: PME# disabled
> pci 0000:00:1a.0: reg 10 32bit mmio: [0xd9126000-0xd91263ff]
> pci 0000:00:1a.0: PME# supported from D0 D3hot D3cold
> pci 0000:00:1a.0: PME# disabled
> pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
> pci 0000:00:1c.0: PME# disabled
> pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold
> pci 0000:00:1c.4: PME# disabled
> pci 0000:00:1d.0: reg 10 32bit mmio: [0xd9125000-0xd91253ff]
> pci 0000:00:1d.0: PME# supported from D0 D3hot D3cold
> pci 0000:00:1d.0: PME# disabled
> pci 0000:00:1f.2: reg 10 io port: [0x3068-0x306f]
> pci 0000:00:1f.2: reg 14 io port: [0x3074-0x3077]
> pci 0000:00:1f.2: reg 18 io port: [0x3060-0x3067]
> pci 0000:00:1f.2: reg 1c io port: [0x3070-0x3073]
> pci 0000:00:1f.2: reg 20 io port: [0x3020-0x303f]
> pci 0000:00:1f.2: reg 24 32bit mmio: [0xd9124000-0xd91247ff]
> pci 0000:00:1f.2: PME# supported from D3hot
> pci 0000:00:1f.2: PME# disabled
> pci 0000:00:1f.3: reg 10 64bit mmio: [0xd9122000-0xd91220ff]
> pci 0000:00:1f.3: reg 20 io port: [0x3000-0x301f]
> pci 0000:01:00.0: reg 10 64bit mmio pref: [0xff00000000-0xff000000ff]
> pci 0000:01:00.0: reg 18 64bit mmio pref: [0xfe00000000-0xfeffffffff]
> pci 0000:00:03.0: bridge 64bit mmio pref: [0xfe00000000-0xff000fffff]
> pci 0000:02:00.0: reg 10 64bit mmio: [0xc8000000-0xcfffffff]
> pci 0000:02:00.0: reg 18 64bit mmio: [0xd0000000-0xd7ffffff]
> pci 0000:00:04.0: bridge 32bit mmio: [0xc8000000-0xd7ffffff]
> pci 0000:03:00.0: reg 10 64bit mmio pref: [0xff08000000-0xff08003fff]
> pci 0000:03:00.0: reg 18 64bit mmio pref: [0xff04000000-0xff07ffffff]
> pci 0000:03:00.0: reg 30 32bit mmio pref: [0xffff0000-0xffffffff]
> pci 0000:00:1c.0: bridge io port: [0x2000-0x2fff]
> pci 0000:00:1c.0: bridge 32bit mmio: [0xd9000000-0xd90fffff]
> pci 0000:00:1c.0: bridge 64bit mmio pref: [0xff04000000-0xff080fffff]
> pci 0000:09:00.0: reg 10 32bit mmio: [0xc0000000-0xc7ffffff]
> pci 0000:00:1c.4: bridge 32bit mmio: [0xc0000000-0xc7ffffff]
> pci 0000:00:1e.0: transparent bridge
> pci_bus 0000:00: on NUMA node 0
> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT]
> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP05._PRT]
> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEG3._PRT]
> _OSC invalid UUID
> ACPI: PCI Root Bridge [CPBG] (0000:ff)
> pci_bus 0000:ff: on NUMA node 0
> ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
> ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
> ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
> ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
> ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
> ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
> ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
> ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 7 *11 12 14 15)
> vgaarb: loaded
> SCSI subsystem initialized
> libata version 3.00 loaded.
> usbcore: registered new interface driver usbfs
> usbcore: registered new interface driver hub
> usbcore: registered new device driver usb
> PCI: Using ACPI for IRQ routing
> pci 0000:00:03.0: BAR 0: address space collision on of device
> [0x8100000-0x810ffff]
> pci 0000:00:03.0: BAR 0: can't allocate resource
> HPET: 8 timers in total, 5 timers will be used for per-cpu timer
> hpet0: at MMIO 0xfed00000, IRQs 2, 8, 304, 305, 306, 307, 308, 0
> hpet0: 8 comparators, 64-bit 14.318180 MHz counter
> hpet: hpet2 irq 304 for MSI
> hpet: hpet3 irq 305 for MSI
> hpet: hpet4 irq 306 for MSI
> hpet: hpet5 irq 307 for MSI
> Switching to clocksource tsc
> pci 0000:03:00.0: BAR 6: no parent found for of device
> [0xffff0000-0xffffffff]
> pci 0000:00:03.0: PCI bridge, secondary bus 0000:01
> pci 0000:00:03.0:   IO window: disabled
> pci 0000:00:03.0:   MEM window: disabled
> pci 0000:00:03.0:   PREFETCH window: 0x0000fe00000000-0x0000ff000fffff
> pci 0000:00:04.0: PCI bridge, secondary bus 0000:02
> pci 0000:00:04.0:   IO window: disabled
> pci 0000:00:04.0:   MEM window: 0xc8000000-0xd7ffffff
> pci 0000:00:04.0:   PREFETCH window: disabled
> pci 0000:00:1c.0: PCI bridge, secondary bus 0000:03
> pci 0000:00:1c.0:   IO window: 0x2000-0x2fff
> pci 0000:00:1c.0:   MEM window: 0xd9000000-0xd90fffff
> pci 0000:00:1c.0:   PREFETCH window: 0x0000ff04000000-0x0000ff080fffff
> pci 0000:00:1c.4: PCI bridge, secondary bus 0000:09
> pci 0000:00:1c.4:   IO window: 0x1000-0x1fff
> pci 0000:00:1c.4:   MEM window: 0xc0000000-0xc7ffffff
> pci 0000:00:1c.4:   PREFETCH window: 0x000000a0000000-0x000000a01fffff
> pci 0000:00:1e.0: PCI bridge, secondary bus 0000:0a
> pci 0000:00:1e.0:   IO window: disabled
> pci 0000:00:1e.0:   MEM window: disabled
> pci 0000:00:1e.0:   PREFETCH window: disabled
> pci 0000:00:03.0: PCI INT A -> GSI 31 (level, low) -> IRQ 31
> pci 0000:00:03.0: setting latency timer to 64
> pci 0000:00:04.0: PCI INT A -> GSI 31 (level, low) -> IRQ 31
> pci 0000:00:04.0: setting latency timer to 64
> pci 0000:00:1c.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> pci 0000:00:1c.0: setting latency timer to 64
> pci 0000:00:1c.4: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> pci 0000:00:1c.4: setting latency timer to 64
> pci 0000:00:1e.0: setting latency timer to 64
> pci_bus 0000:00: resource 0 io:  [0x00-0xffff]
> pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffffffffffff]
> pci_bus 0000:01: resource 2 pref mem [0xfe00000000-0xff000fffff]
> pci_bus 0000:02: resource 1 mem: [0xc8000000-0xd7ffffff]
> pci_bus 0000:03: resource 0 io:  [0x2000-0x2fff]
> pci_bus 0000:03: resource 1 mem: [0xd9000000-0xd90fffff]
> pci_bus 0000:03: resource 2 pref mem [0xff04000000-0xff080fffff]
> pci_bus 0000:09: resource 0 io:  [0x1000-0x1fff]
> pci_bus 0000:09: resource 1 mem: [0xc0000000-0xc7ffffff]
> pci_bus 0000:09: resource 2 pref mem [0xa0000000-0xa01fffff]
> pci_bus 0000:0a: resource 3 io:  [0x00-0xffff]
> pci_bus 0000:0a: resource 4 mem: [0x000000-0xffffffffffffffff]
> pci_bus 0000:ff: resource 0 io:  [0x00-0xffff]
> pci_bus 0000:ff: resource 1 mem: [0x000000-0xffffffffffffffff]
> NET: Registered protocol family 2
> IP route cache hash table entries: 131072 (order: 8, 1048576 bytes)
> TCP established hash table entries: 524288 (order: 11, 8388608 bytes)
> TCP bind hash table entries: 65536 (order: 9, 2097152 bytes)
> TCP: Hash tables configured (established 524288 bind 65536)
> TCP reno registered
> NET: Registered protocol family 1
> isord_start=ffff88006eb16018 isord_end=ffff880084803018
> Simple Boot Flag value 0x0 read from CMOS RAM was invalid
> Simple Boot Flag at 0x44 set to 0x80
> platform rtc_cmos: registered platform RTC device (no PNP device found)
> HugeTLB registered 2 MB page size, pre-allocated 0 pages
> NTFS driver 2.1.29 [Flags: R/W].
> JFFS2 version 2.2. (NAND) C 2001-2006 Red Hat, Inc.
> msgmni has been set to 7025
> alg: No test for stdrng (krng)
> Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> pcieport 0000:00:03.0: irq 309 for MSI/MSI-X
> pcieport 0000:00:03.0: setting latency timer to 64
> pcieport 0000:00:04.0: irq 310 for MSI/MSI-X
> pcieport 0000:00:04.0: setting latency timer to 64
> pcieport 0000:00:1c.0: irq 311 for MSI/MSI-X
> pcieport 0000:00:1c.0: setting latency timer to 64
> pcieport 0000:00:1c.4: irq 312 for MSI/MSI-X
> pcieport 0000:00:1c.4: setting latency timer to 64
> aer 0000:00:03.0:pcie02: service driver aer loaded
> aer 0000:00:04.0:pcie02: service driver aer loaded
> Real Time Clock Driver v1.12b
> Linux agpgart interface v0.103
> Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
> serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> brd: module loaded
> loop: module loaded
> nbd: registered device at major 43
> ahci 0000:00:1f.2: version 3.0
> ahci 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
> ahci 0000:00:1f.2: irq 313 for MSI/MSI-X
> ahci: SSS flag set, parallel bus scan disabled
> ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 3 Gbps 0x18 impl SATA
> mode
> ahci 0000:00:1f.2: flags: 64bit ncq sntf stag pm led clo pio slum part ems
> sxs apst
> ahci 0000:00:1f.2: setting latency timer to 64
> scsi0 : ahci
> scsi1 : ahci
> scsi2 : ahci
> scsi3 : ahci
> scsi4 : ahci
> scsi5 : ahci
> ata1: DUMMY
> ata2: DUMMY
> ata3: DUMMY
> ata4: SATA max UDMA/133 abar m2048@0xd9124000 port 0xd9124280 irq 313
> ata5: SATA max UDMA/133 abar m2048@0xd9124000 port 0xd9124300 irq 313
> ata6: DUMMY
> tun: Universal TUN/TAP device driver, 1.6
> tun: (C) 1999-2004 Max Krasnyansky <maxk@xxxxxxxxxxxx>
> ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> ehci_hcd: block sizes: qh 104 qtd 96 itd 192 sitd 96
> ehci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> ehci_hcd 0000:00:1a.0: setting latency timer to 64
> ehci_hcd 0000:00:1a.0: EHCI Host Controller
> /scratch/ghaidiny/xe37_20120626_230021/binos/os/linux/drivers/usb/core/inode
> .c: creating file 'devices'
> /scratch/ghaidiny/xe37_20120626_230021/binos/os/linux/drivers/usb/core/inode
> .c: creating file '001'
> ehci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 1
> ata4: SATA link down (SStatus 0 SControl 310)
> ehci_hcd 0000:00:1a.0: reset hcs_params 0x200003 dbg=2 cc=0 pcc=0 ordered
> !ppc ports=3
> ehci_hcd 0000:00:1a.0: reset hcc_params 36881 caching frame 1024 64 bit addr
> ehci_hcd 0000:00:1a.0: debug port 2
> ehci_hcd 0000:00:1a.0: reset command 010012 (park)=0 ithresh=1 Periodic
> period=1024 Reset HALT
> ehci_hcd 0000:00:1a.0: cache line size of 32 is not supported
> ehci_hcd 0000:00:1a.0: supports USB remote wakeup
> ehci_hcd 0000:00:1a.0: irq 16, io mem 0xd9126000
> ehci_hcd 0000:00:1a.0: reset command 080002 (park)=0 ithresh=8 period=1024
> Reset HALT
> ehci_hcd 0000:00:1a.0: init command 010001 (park)=0 ithresh=1 period=1024
> RUN
> ehci_hcd 0000:00:1a.0: USB 2.0 started, EHCI 1.00
> usb usb1: default language 0x0409
> usb usb1: udev 1, busnum 1, minor = 0
> 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: EHCI Host Controller
> usb usb1: Manufacturer: Linux 2.6.32.39 ehci_hcd
> usb usb1: SerialNumber: 0000:00:1a.0
> usb usb1: usb_probe_device
> usb usb1: configuration #1 chosen from 1 choice
> usb usb1: adding 1-0:1.0 (config #1, interface 0)
> hub 1-0:1.0: usb_probe_interface
> hub 1-0:1.0: usb_probe_interface - got id
> hub 1-0:1.0: USB hub found
> hub 1-0:1.0: 3 ports detected
> hub 1-0:1.0: standalone hub
> hub 1-0:1.0: no power switching (usb 1.0)
> hub 1-0:1.0: individual port over-current protection
> hub 1-0:1.0: power on to power good time: 20ms
> hub 1-0:1.0: local power source is good
> hub 1-0:1.0: trying to enable port power on non-switchable hub
> /scratch/ghaidiny/xe37_20120626_230021/binos/os/linux/drivers/usb/core/inode
> .c: creating file '001'
> ehci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
> ehci_hcd 0000:00:1d.0: setting latency timer to 64
> ehci_hcd 0000:00:1d.0: EHCI Host Controller
> /scratch/ghaidiny/xe37_20120626_230021/binos/os/linux/drivers/usb/core/inode
> .c: creating file '002'
> ehci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
> ehci_hcd 0000:00:1d.0: reset hcs_params 0x200003 dbg=2 cc=0 pcc=0 ordered
> !ppc ports=3
> ehci_hcd 0000:00:1d.0: reset hcc_params 36881 caching frame 1024 64 bit addr
> ehci_hcd 0000:00:1d.0: debug port 2
> ehci_hcd 0000:00:1d.0: reset command 010012 (park)=0 ithresh=1 Periodic
> period=1024 Reset HALT
> ehci_hcd 0000:00:1d.0: cache line size of 32 is not supported
> ehci_hcd 0000:00:1d.0: supports USB remote wakeup
> ehci_hcd 0000:00:1d.0: irq 23, io mem 0xd9125000
> ehci_hcd 0000:00:1d.0: reset command 080002 (park)=0 ithresh=8 period=1024
> Reset HALT
> ehci_hcd 0000:00:1d.0: init command 010001 (park)=0 ithresh=1 period=1024
> RUN
> ehci_hcd 0000:00:1a.0: GetStatus port 1 status 001803 POWER sig=j CSC
> CONNECT
> hub 1-0:1.0: port 1: status 0501 change 0001
> ata5: SATA link down (SStatus 0 SControl 310)
> ehci_hcd 0000:00:1d.0: USB 2.0 started, EHCI 1.00
> usb usb2: default language 0x0409
> usb usb2: udev 1, busnum 2, minor = 128
> usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
> usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
> usb usb2: Product: EHCI Host Controller
> usb usb2: Manufacturer: Linux 2.6.32.39 ehci_hcd
> usb usb2: SerialNumber: 0000:00:1d.0
> hub 1-0:1.0: state 7 ports 3 chg 0002 evt 0000
> usb usb2: usb_probe_device
> usb usb2: configuration #1 chosen from 1 choice
> hub 1-0:1.0: port 1, status 0501, change 0000, 480 Mb/s
> usb usb2: adding 2-0:1.0 (config #1, interface 0)
> hub 2-0:1.0: usb_probe_interface
> hub 2-0:1.0: usb_probe_interface - got id
> hub 2-0:1.0: USB hub found
> hub 2-0:1.0: 3 ports detected
> ehci_hcd 0000:00:1a.0: port 1 high speed
> ehci_hcd 0000:00:1a.0: GetStatus port 1 status 001005 POWER sig=se0 PE
> CONNECT
> hub 2-0:1.0: standalone hub
> hub 2-0:1.0: no power switching (usb 1.0)
> hub 2-0:1.0: individual port over-current protection
> hub 2-0:1.0: power on to power good time: 20ms
> hub 2-0:1.0: local power source is good
> hub 2-0:1.0: trying to enable port power on non-switchable hub
> /scratch/ghaidiny/xe37_20120626_230021/binos/os/linux/drivers/usb/core/inode
> .c: creating file '001'
> ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
> ohci_hcd: block sizes: ed 80 td 96
> Initializing USB Mass Storage driver...
> usb 1-1: new high speed USB device using ehci_hcd and address 2
> ehci_hcd 0000:00:1d.0: GetStatus port 1 status 001803 POWER sig=j CSC
> CONNECT
> hub 2-0:1.0: port 1: status 0501 change 0001
> usbcore: registered new interface driver usb-storage
> USB Mass Storage support registered.
> ehci_hcd 0000:00:1a.0: port 1 high speed
> ehci_hcd 0000:00:1a.0: GetStatus port 1 status 001005 POWER sig=se0 PE
> CONNECT
> usbcore: registered new interface driver ums-datafab
> usbcore: registered new interface driver ums-freecom
> usbcore: registered new interface driver ums-jumpshot
> usbcore: registered new interface driver ums-sddr09
> usbcore: registered new interface driver ums-sddr55
> usbcore: registered new interface driver ums-usbat
> PNP: No PS/2 controller found. Probing ports directly.
> usb 1-1: udev 2, busnum 1, minor = 1
> usb 1-1: New USB device found, idVendor=8087, idProduct=0020
> usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
> usb 1-1: usb_probe_device
> usb 1-1: configuration #1 chosen from 1 choice
> usb 1-1: adding 1-1:1.0 (config #1, interface 0)
> hub 1-1:1.0: usb_probe_interface
> hub 1-1:1.0: usb_probe_interface - got id
> hub 1-1:1.0: USB hub found
> hub 1-1:1.0: 6 ports detected
> hub 1-1:1.0: standalone hub
> hub 1-1:1.0: individual port power switching
> hub 1-1:1.0: individual port over-current protection
> hub 1-1:1.0: Single TT
> hub 1-1:1.0: TT requires at most 8 FS bit times (666 ns)
> hub 1-1:1.0: Port indicators are supported
> hub 1-1:1.0: power on to power good time: 100ms
> i8042.c: No controller found.
> hub 1-1:1.0: local power source is good
> hub 1-1:1.0: enabling power on all ports
> mice: PS/2 mouse device common for all mice
> cpuidle: using governor ladder
> /scratch/ghaidiny/xe37_20120626_230021/binos/os/linux/drivers/usb/core/inode
> .c: creating file '002'
> hub 2-0:1.0: state 7 ports 3 chg 0002 evt 0000
> hub 2-0:1.0: port 1, status 0501, change 0000, 480 Mb/s
> usbcore: registered new interface driver hiddev
> usbcore: registered new interface driver usbhid
> usbhid: v2.6:USB HID core driver
> ehci_hcd 0000:00:1d.0: port 1 high speed
> ehci_hcd 0000:00:1d.0: GetStatus port 1 status 001005 POWER sig=se0 PE
> CONNECT
> oprofile: using NMI interrupt.
> nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
> usb 2-1: new high speed USB device using ehci_hcd and address 2
> usb 1-1: link qh256-0001/ffff8801581b2b80 start 1 [1/0 us]
> ehci_hcd 0000:00:1d.0: port 1 full speed --> companion
> ---------------------> Here is  the problem .
> ehci_hcd 0000:00:1d.0: GetStatus port 1 status 003801 POWER OWNER sig=j
> CONNECT
> hub 2-0:1.0: port 1 not reset yet, waiting 50ms
> ip_tables: (C) 2000-2006 Netfilter Core Team
> TCP cubic registered
> NET: Registered protocol family 17
> ehci_hcd 0000:00:1d.0: GetStatus port 1 status 003002 POWER OWNER sig=se0
> CSC
> hub 1-1:1.0: state 7 ports 6 chg 0000 evt 0000
> hub 2-0:1.0: state 7 ports 3 chg 0000 evt 0002
> Freeing unused kernel memory: 15332k freed
> Write protecting the kernel read-only data: 4992k
> e1000e: Intel(R) PRO/1000 Network Driver - 1.9.5-NAPI
> iTCO_vendor_support: vendor-support=0
> iTCO_wdt: Intel TCO WatchDog Timer Driver v1.05
> i801_smbus 0000:00:1f.3: PCI INT C -> GSI 18 (level, low) -> IRQ 18
> ACPI: I/O resource 0000:00:1f.3 [0x3000-0x301f] conflicts with ACPI region
> SMBI [0x3000-0x300f]
> ACPI: This conflict may cause random problems and system instability
> ACPI: If an ACPI driver is available for this device, you should use it
> instead of the native driver
> iTCO_wdt: Enabling WDT ISR from init.
> iTCO_wdt: Found a 3420 TCO device (Version=2, TCOBASE=0x0460)
> iTCO_wdt: initialized. heartbeat=120 sec (nowayout=0)
> e1000e: Copyright(c) 1999 - 2011 Intel Corporation.
> e1000e 0000:00:19.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
> e1000e 0000:00:19.0: setting latency timer to 64
> e1000e 0000:00:19.0: irq 314 for MSI/MSI-X
> e1000e 0000:00:19.0: eth0: (PCI Express:2.5GT/s:Width x1) 88:88:88:88:87:88
> e1000e 0000:00:19.0: eth0: Intel(R) PRO/1000 Network Connection
> e1000e 0000:00:19.0: eth0: MAC: 10, PHY: 9, PBA No: FFFFFF-0FF
> RPC: Registered udp transport module.
> RPC: Registered tcp transport module.
> RPC: Registered tcp NFSv4.1 backchannel transport module.
> cpld_driver: cp_board_type = 16
> cpld_driver: mstp_subtype = 6
> cpld_driver: mstp_gbdtype = 10
> cpld2kp_driver: cp_board_type = 16
> cpld_driver: mstp_subtype = 6
> cpld_driver: mstp_bdtype = 10
> cpld_cpp_ecsr_base_p = ffffc900100d6800
> rmonbifo_mod: module license 'Proprietary' taints kernel.
> Disabling lock debugging due to kernel taint
> rmonbifo.ko loaded. 0.0.3 Date Jun 29 2012 19:43:25
> Copyright (c) 2005-2012 by Cisco Systems, Inc.
> rmonbifo.ko loaded. 0.0.3 Date Jun 29 2012 19:43:25
> Copyright (c) 2005-2012 by Cisco Systems, Inc.
> bash-3.2#
>
>
> regards,
> shaiju
>
> -----Original Message-----
> From: Peter Chen [mailto:hzpeterchen@xxxxxxxxx]
> Sent: Sunday, July 01, 2012 5:44 PM
> To: shaiju shaiju
> Cc: linux-usb@xxxxxxxxxxxxxxx
> Subject: Re: usb hub is n't recognised during boot up(sometimes)
>
> On Sun, Jul 1, 2012 at 11:59 PM, shaiju shaiju <shshaiju@xxxxxxxxx> wrote:
>> Hi,
>>
>> I am facing a problem in  the  router . During  boot up  sometimes  usb
> hub
>> isn't  get  recognized.
>> I have attached the dmesg for  the  failed  system  and an ls of
>> /sys/bus/usb/devices for failed and functional
>> systems to show that the entire usb bus for controller 2 is missing.
>>
>> Could  you help to find out  what  is  the problem  .
>>
> Not much information at your log, can you open usb debug
> "CONFIG_USB_DEBUG", and recompile the kernel.
>
> Besides, it is better to paste your log at email body.
>
> BR,
> Peter
>
>
>> Regards,
>> Shaiju.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux