New finding.

If I cold power up the board, the Hispeed USB harddrive works.
If I press the reset buttong, it doesn't work.
I need to unplug and plug the power cable to make it work again.

Do you have any idea about that?

Zheng



From: fishbaoz@hotmail.com
To: vidwer@gmail.com; seabios@seabios.org
Date: Tue, 25 Aug 2015 06:11:53 +0000
Subject: Re: [SeaBIOS] : USB 3.0 port failed if a USB 3.0 device is attached when power up

I tried with Parmer, which I assume is close to ASUS F2A85-M, and got the same result.
:(

-----------------------------------
hudson_enable()
PCI: 00:10.0 [1022/7812] enabled
hudson_enable()
----------------------------------------------

SeaBIOS (version rel-1.8.0-0-g4c59f5d-dirty-20150825_015821-supersrv)
Found coreboot cbmem console @ bffde000
Found mainboard AMD Parmer
Relocating init from 0x000e7b40 to 0xbff55050 (size 40688)
Found CBFS header at 0xfffffc60
CPU Mhz=2498
Found 23 PCI devices (max PCI bus is 02)
Copying SMBIOS entry point from 0xbffa7000 to 0x000f1a10
Copying ACPI RSDP from 0xbffb8000 to 0x000f19e0
Copying MPTABLE from 0xbffdc000/bffdc010 to 0x000f17b0
Copying PIR from 0xbffdd000 to 0x000f1780
Using pmtimer, ioport 0x818
Scan for VGA option rom
Running option rom at c000:0003
Turning on vga text mode console
SeaBIOS (version rel-1.8.0-0-g4c59f5d-dirty-20150825_015821-supersrv)
/bff52000\ Start thread
|bff52000| XHCI init on dev 00:10.0: regs @ 0xf0248000, 4 ports, 32 slots, 32 byte contexts
|bff52000| XHCI    extcap 0x1 @ f0248500
|bff52000| XHCI    protocol USB  3.00, 2 ports (offset 1), def 0
|bff52000| XHCI    protocol USB  2.00, 2 ports (offset 3), def 0
/bff51000\ Start thread
|bff51000| configure_xhci: resetting
Found 1 serial ports
AHCI controller at 11.0, iobase f024d000, irq 0
AHCI: cap 0xf3309f05, ports_impl 0x3f
/bff50000\ Start thread
|bff50000| AHCI/0: probing
|bff50000| AHCI/0: link up
|bff52000| EHCI init on dev 00:12.2 (regs=0xf024d820)
/bff4f000\ Start thread
/bff4d000\ Start thread
|bff4d000| AHCI/1: probing
|bff50000| AHCI/0: ... finished, status 0x51, ERROR 0x4
|bff52000| EHCI init on dev 00:13.2 (regs=0xf024d920)
/bff4c000\ Start thread
/bff4b000\ Start thread
|bff4b000| AHCI/2: probing
|bff4d000| AHCI/1: link down
|bff52000| OHCI init on dev 00:12.0 (regs=0xf024a000)
/bff4a000\ Start thread
/bff49000\ Start thread
/bff48000\ Start thread
/bff46000\ Start thread
|bff46000| AHCI/3: probing
|bff4b000| AHCI/2: link down
\bff4d000/ End thread
|bff50000| Searching bootorder for: /pci@i0cf8/*@11/drive@0/disk@0
|bff52000| OHCI init on dev 00:13.0 (regs=0xf024b000)
/bff4d000\ Start thread
/bff45000\ Start thread
/bff44000\ Start thread
/bff43000\ Start thread
/bff42000\ Start thread
|bff42000| AHCI/4: probing
|bff46000| AHCI/3: link down
\bff4b000/ End thread
|bff50000| AHCI/0: registering: "AHCI/0: ST3250620NS ATA-7 Hard-Disk (232 GiBytes)"
\bff50000/ End thread
|bff52000| OHCI init on dev 00:14.5 (regs=0xf024c000)
/bff50000\ Start thread
/bff4b000\ Start thread
/bff41000\ Start thread
/bff40000\ Start thread
/bff3f000\ Start thread
|bff3f000| AHCI/5: probing
|bff42000| AHCI/4: link down
\bff46000/ End thread
\bff52000/ End thread
/bff46000\ Start thread
/bff3e000\ Start thread
\bff3e000/ End thread
/bff3e000\ Start thread
/bff3d000\ Start thread
|bff3d000| xhci_hub_reset port #4: 0x000202e1, powered, pls 7, speed 0 [ - ]
|bff3f000| AHCI/5: link down
\bff42000/ End thread
/bff47000\ Start thread
/bff42000\ Start thread
/bff3c000\ Start thread
/bff3b000\ Start thread
\bff3f000/ End thread
/bff3f000\ Start thread
/bff3a000\ Start thread
/bff39000\ Start thread
/bff38000\ Start thread
/bff37000\ Start thread
/bff36000\ Start thread
/bff35000\ Start thread
/bff34000\ Start thread
/bff33000\ Start thread
/bff32000\ Start thread
|bff3d000| XHCI port #4: 0x00200e03, powered, enabled, pls 0, speed 3 [High]
|bff3d000| xhci_alloc_pipe: usbdev 0xbff52f20, ring 0xbff9be00, slotid 0, epid 1
|bff3d000| xhci_cmd_enable_slot:
|bff3d000| xhci_trb_queue: ring 0xbff9ed00 [nidx 1, len 0]
|bff3d000| xhci_process_events: status change port #4
|bff3d000| xhci_process_events: status change port #2
|bff3d000| xhci_process_events: status change port #4
|bff3d000| xhci_process_events: ring 0xbff9ed00 [trb 0xbff9ed00, evt 0xbff9ee00, type 33, eidx 1, cc 1]
|bff3d000| xhci_alloc_pipe: enable slot: got slotid 1
|bff3d000| xhci_cmd_address_device: slotid 1
|bff3d000| xhci_trb_queue: ring 0xbff9ed00 [nidx 2, len 0]
|bff37000| usb_hid_setup 0xbff52a40
|bff37000| USB keyboard initialized
\bff37000/ End thread
\bff3b000/ End thread
\bff3e000/ End thread
\bff41000/ End thread
\bff44000/ End thread
\bff49000/ End thread
\bff40000/ End thread
\bff48000/ End thread
\bff4f000/ End thread
\bff39000/ End thread
\bff3c000/ End thread
\bff4b000/ End thread
\bff45000/ End thread
\bff4c000/ End thread
\bff33000/ End thread
\bff36000/ End thread
\bff3a000/ End thread
\bff42000/ End thread
\bff46000/ End thread
\bff4a000/ End thread
\bff32000/ End thread
\bff34000/ End thread
\bff3f000/ End thread
\bff47000/ End thread
\bff4d000/ End thread
\bff35000/ End thread
\bff38000/ End thread
\bff50000/ End thread
|bff3d000| WARNING - Timeout at xhci_event_wait:692!
|bff3d000| xhci_alloc_pipe: address device: failed (cc -1)
\bff3d000/ End thread
|bff43000| XHCI port #2: 0x00021203, powered, enabled, pls 0, speed 4 [Super]
|bff43000| xhci_alloc_pipe: usbdev 0xbff4efe0, ring 0xbff9e900, slotid 0, epid 1
|bff43000| xhci_cmd_enable_slot:
|bff43000| xhci_trb_queue: ring 0xbff9ed00 [nidx 3, len 0]
|bff43000| WARNING - Timeout at xhci_event_wait:692!
|bff43000| xhci_alloc_pipe: enable slot: failed
\bff43000/ End thread
|bff51000| XHCI no devices found
|bff51000| WARNING - Timeout at wait_bit:310!
\bff51000/ End thread
All threads complete.
Scan for option roms
Searching bootorder for: /pci@i0cf8/*@1,1

Press F12 for boot menu.

Select boot device:

1. AHCI/0: ST3250620NS ATA-7 Hard-Disk (232 GiBytes)
2. Legacy option rom

Zheng


> Date: Mon, 24 Aug 2015 15:12:13 +0200
> From: vidwer@gmail.com
> To: seabios@seabios.org
> Subject: Re: [SeaBIOS] : USB 3.0 port failed if a USB 3.0 device is attached when power up
>
> 2015-08-24 14:19 GMT+02:00 Zheng Bao <fishbaoz@hotmail.com>:
> > Hi,
> > Please review the debug message below.
> >
> > Seabios message if USB3 harddrive is plugged in USB3 port.
> > --------------------------------------------
> > SeaBIOS (version rel-1.7.5-0-ge51488c-dirty-20150824_081102-supersrv)
>
> FWIW, I'm using the version from github master, 1.8.0
>
> > Found coreboot cbmem console @ affde000
> > Found mainboard AMD FP4
> > Relocating init from 0x000e6d99 to 0xaff54770 (size 42948)
> > Found CBFS header at 0xfffffc60
> > CPU Mhz=2101
> > Found 26 PCI devices (max PCI bus is 01)
> > Copying SMBIOS entry point from 0xaffa7000 to 0x000f1540
> > Copying ACPI RSDP from 0xaffb8000 to 0x000f1510
> > Copying MPTABLE from 0xaffdc000/affdc010 to 0x000f1340
> > Copying PIR from 0xaffdd000 to 0x000f1310
> > Using pmtimer, ioport 0x818
> > Scan for VGA option rom
> > Running option rom at c000:0003
> > Turning on vga text mode console
> > SeaBIOS (version rel-1.7.5-0-ge51488c-dirty-20150824_081102-supersrv)
> > /aff51000\ Start thread
> > |aff51000| XHCI init on dev 00:10.0: regs @ 0xf0b8a000, 8 ports, 32 slots,
> > 32 byte contexts
> > |aff51000| XHCI extcap 0x1 @ f0b8a500
> > |aff51000| XHCI protocol USB 3.00, 4 ports (offset 1), def 0
> > |aff51000| XHCI protocol USB 2.00, 4 ports (offset 5), def 18
> > |aff51000| XHCI extcap 0xa @ f0b8a540
> > /aff50000\ Start thread
>
> > /aff4f000\ Start thread
> > |aff4f000| WARNING - Timeout at i8042_flush:71!
> > \aff4f000/ End thread
>
> Where does that belong to?
>
> > |aff51000| EHCI init on dev 00:12.0 (regs=0xf0b8d520)
> > /aff4f000\ Start thread
> > /aff4d000\ Start thread
> > Found 0 lpt ports
> > Found 1 serial ports
> > AHCI controller at 11.0, iobase f0b8d000, irq 0
> > AHCI: cap 0xf733ff01, ports_impl 0x3
> > /aff4c000\ Start thread
> > |aff4c000| AHCI/0: probing
> > |aff51000| EHCI init on dev 01:00.4 (regs=0xf0818020)
> > /aff4b000\ Start thread
> > /aff4a000\ Start thread
> > /aff49000\ Start thread
> > /aff47000\ Start thread
> > |aff47000| AHCI/1: probing
> > |aff47000| AHCI/1: link up
> > |aff4c000| AHCI/0: link down
> > |aff47000| AHCI/1: ... finished, status 0x51, ERROR 0x4
> > \aff4c000/ End thread
> > |aff47000| Searching bootorder for: /pci@i0cf8/*@11/drive@1/disk@0
> > \aff4a000/ End thread
> > \aff49000/ End thread
> > |aff47000| AHCI/1: registering: "AHCI/1: PLEXTOR PX-128M6G-2280 ATA-8
> > Hard-Disk (119 GiBytes)"
> > \aff47000/ End thread
> > \aff51000/ End thread
> > /aff4c000\ Start thread
> > /aff4a000\ Start thread
> > /aff49000\ Start thread
> > /aff48000\ Start thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > /aff47000\ Start thread
> > /aff46000\ Start thread
> > \aff46000/ End thread
> > /aff46000\ Start thread
> > \aff46000/ End thread
> > /aff46000\ Start thread
> > \aff46000/ End thread
> > |aff4a000| usb_hid_setup 0xaff51c50
> > |aff4b000| WARNING - Timeout at ehci_waittick:186!
>
> I haven't seen this before.
>
> > |aff4a000| USB keyboard initialized
> > \aff4a000/ End thread
> > \aff4b000/ End thread
> > |aff47000| WARNING - Timeout at wait_bit:484!
> > \aff47000/ End thread
> > |aff50000| XHCI no devices found
> > \aff50000/ End thread
> > \aff4c000/ End thread
> > \aff48000/ End thread
> > \aff49000/ End thread
> > |aff4d000| Initialized USB HUB (1 ports used)
> > \aff4d000/ End thread
> > \aff4f000/ End thread
> > All threads complete.
> > Scan for option roms
> >
> > Press F12 for boot menu.
> >
> > Select boot device:
> >
> > 1. AHCI/1: PLEXTOR PX-128M6G-2280 ATA-8 Hard-Disk (119 GiBytes
> >
> >
> >
> > Seabios message if USB3 hard drive is plugged in USB2 port.
> > ------------------------------
> > SeaBIOS (version rel-1.7.5-0-ge51488c-dirty-20150824_081102-supersrv)
> > Found coreboot cbmem console @ affde000
> > Found mainboard AMD FP4
> > Relocating init from 0x000e6d99 to 0xaff54770 (size 42948)
> > Found CBFS header at 0xfffffc60
> > CPU Mhz=2100
> > Found 26 PCI devices (max PCI bus is 01)
> > Copying SMBIOS entry point from 0xaffa7000 to 0x000f1540
> > Copying ACPI RSDP from 0xaffb8000 to 0x000f1510
> > Copying MPTABLE from 0xaffdc000/affdc010 to 0x000f1340
> > Copying PIR from 0xaffdd000 to 0x000f1310
> > Using pmtimer, ioport 0x818
> > Scan for VGA option rom
> > Running option rom at c000:0003
> > Turning on vga text mode console
> > SeaBIOS (version rel-1.7.5-0-ge51488c-dirty-20150824_081102-supersrv)
> > /aff51000\ Start thread
> > |aff51000| XHCI init on dev 00:10.0: regs @ 0xf0b8a000, 8 ports, 32 slots,
> > 32 byte contexts
> > |aff51000| XHCI extcap 0x1 @ f0b8a500
> > |aff51000| XHCI protocol USB 3.00, 4 ports (offset 1), def 0
> > |aff51000| XHCI protocol USB 2.00, 4 ports (offset 5), def 18
> > |aff51000| XHCI extcap 0xa @ f0b8a540
> > /aff50000\ Start thread
> > /aff4f000\ Start thread
> > |aff4f000| WARNING - Timeout at i8042_flush:71!
> > \aff4f000/ End thread
> > |aff51000| EHCI init on dev 00:12.0 (regs=0xf0b8d520)
> > /aff4f000\ Start thread
> > /aff4d000\ Start thread
> > Found 0 lpt ports
> > Found 1 serial ports
> > AHCI controller at 11.0, iobase f0b8d000, irq 0
> > AHCI: cap 0xf733ff01, ports_impl 0x3
> > /aff4c000\ Start thread
> > |aff4c000| AHCI/0: probing
> > |aff51000| EHCI init on dev 01:00.4 (regs=0xf0818020)
> > /aff4b000\ Start thread
> > /aff4a000\ Start thread
> > /aff49000\ Start thread
> > /aff47000\ Start thread
> > |aff47000| AHCI/1: probing
> > |aff47000| AHCI/1: link up
> > |aff4c000| AHCI/0: link down
> > |aff47000| AHCI/1: ... finished, status 0x51, ERROR 0x4
> > \aff4c000/ End thread
> > |aff47000| Searching bootorder for: /pci@i0cf8/*@11/drive@1/disk@0
> > \aff4a000/ End thread
> > \aff49000/ End thread
> > |aff47000| AHCI/1: registering: "AHCI/1: PLEXTOR PX-128M6G-2280 ATA-8
> > Hard-Disk (119 GiBytes)"
> > \aff47000/ End thread
> > \aff51000/ End thread
> > /aff4c000\ Start thread
> > /aff4a000\ Start thread
> > /aff49000\ Start thread
> > /aff48000\ Start thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > /aff47000\ Start thread
> > \aff47000/ End thread
> > |aff50000| XHCI no devices found
> > \aff50000/ End thread
> > |aff4b000| WARNING - Timeout at ehci_waittick:186!
> > \aff4b000/ End thread
> > |aff4c000| Searching bootorder for:
> > /pci@i0cf8/usb@12/hub@1/storage@1/*@0/*@0,0
> > |aff4c000| Searching bootorder for: /pci@i0cf8/usb@12/hub@1/usb-*@1
> > |aff4c000| USB MSC vendor='Seagate' product='FA GoFlex Pro' rev='0210'
> > type=0 removable=0
> > |aff4c000| USB MSC blksize=512 sectors=976773167
> > \aff4c000/ End thread
> > |aff4a000| usb_hid_setup 0xaff521d0
> > |aff4a000| USB keyboard initialized
> > \aff4a000/ End thread
> > \aff48000/ End thread
> > \aff49000/ End thread
> > |aff4d000| Initialized USB HUB (2 ports used)
> > \aff4d000/ End thread
> > \aff4f000/ End thread
> > All threads complete.
> > Scan for option roms
> >
> > Press F12 for boot menu.
> >
> > Select boot device:
> >
> > 1. AHCI/1: PLEXTOR PX-128M6G-2280 ATA-8 Hard-Disk (119 GiBytes
> > 2. USB MSC Drive Seagate FA GoFlex Pro 0210
> >
> >
> >> Date: Thu, 20 Aug 2015 13:14:54 +0200
> >> From: vidwer@gmail.com
> >> To: seabios@seabios.org
> >
> >> Subject: Re: [SeaBIOS] : USB 3.0 port failed if a USB 3.0 device is
> >> attached when power up
> >>
> >> 2015-08-07 23:21 GMT+02:00 Kevin O'Connor <kevin@koconnor.net>:
> >> > On Thu, Aug 06, 2015 at 11:51:04AM +0000, Zheng Bao wrote:
> >> >> Board: Bettong
> >> >> USB3 controller: Hudson on Carrizo
> >> >> USB3 device: Seagate USB hard drive. That is the only USB 3.0 device I
> >> >> can get.
> >> >
> >> > Thanks. The problem looks very similar to one reported in the past by
> >> > Idwer. Unfortunately, Idwer also didn't have access to any other USB3
> >> > devices - that would have been a great test to see if the quirky
> >> > behavior was due to the controller or due to the device.
> >>
> >> The board I have is an Hudson-D4? board, ASUS F2A85-M with the lspci ID:
> >> 00:10.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH
> >> USB XHCI Controller [1022:7812] (rev 03)
> >> 00:10.1 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH
> >> USB XHCI Controller [1022:7812] (rev 03)
> >>
> >> Zheng, can you recompile SeaBIOS with CONFIG_THREADS=y and
> >> CONFIG_DEBUG_LEVEL=2 and try booting off the superspeed device you're
> >> using?
> >> The experience I had was that, with those settings, this superspeed
> >> SATA dock showed up in the device menu (press ESCape).
> >>
> >> If that won't make the device show up - be sure to post that
> >> cbmem/console output - change USB_TIME_SIGATT in src/hw/usb.h to at
> >> least 1000.
> >>
> >> HTH,
> >>
> >> Idwer
> >>
> >> >
> >> > Can you provide the output from "lspci", "lsusb", and "lsusb -t".
> >> >
> >> > -Kevin
> >> >
> >> >>
> >> >> Joe
> >> >>
> >> >> > Date: Wed, 5 Aug 2015 06:25:13 -0400
> >> >> > From: kevin@koconnor.net
> >> >> > To: fishbaoz@hotmail.com
> >> >> > CC: seabios@seabios.org
> >> >> > Subject: Re: [SeaBIOS]: USB 3.0 port failed if a USB 3.0 device is
> >> >> > attached when power up
> >> >> >
> >> >> > On Wed, Aug 05, 2015 at 07:40:50AM +0000, Zheng Bao wrote:
> >> >> > > hi, Kevin,
> >> >> > > I am debugging the coreboot on AMD board.
> >> >> > >
> >> >> > > I found if a device is populated on USB 3.0 port during system
> >> >> > > power up, the USB3.0 function fail after OS boot up.
> >> >> > > If a USB 2.0 device is plugged, the port is OK.
> >> >> > > Can you take a look at this?
> >> >> >
> >> >> > What board is this, what USB3 controller is it, and what USB3 device
> >> >> > did the problem occur with? Does the problem occur with multiple/all
> >> >> > USB3 devices or just one?
> >> >> >
> >> >> > -Kevin
> >> >>
> >>
> >> _______________________________________________
> >> SeaBIOS mailing list
> >> SeaBIOS@seabios.org
> >> http://www.seabios.org/mailman/listinfo/seabios
>
> _______________________________________________
> SeaBIOS mailing list
> SeaBIOS@seabios.org
> http://www.seabios.org/mailman/listinfo/seabios

_______________________________________________ SeaBIOS mailing list SeaBIOS@seabios.org http://www.seabios.org/mailman/listinfo/seabios