Project

General

Profile

Actions

Bug #743

closed

problems with NATA + EHCI + USB harddisk

Added by swildner over 17 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Hi,

I got curious about Alexander Shiryaev's USB harddisk bug and just
upgraded my system on a USB harddisk to HEAD. It shows some different
behavior here:

All works unless I use both EHCI and NATA. Either one will work fine
alone but used together will result in da0 (the USB harddisk) not being
detected upon boot, ending on the mountroot> prompt.

Sascha

Actions #1

Updated by dillon over 17 years ago

:Hi,
:
:I got curious about Alexander Shiryaev's USB harddisk bug and just
:upgraded my system on a USB harddisk to HEAD. It shows some different
:behavior here:
:
:All works unless I use both EHCI and NATA. Either one will work fine
:alone but used together will result in da0 (the USB harddisk) not being
:detected upon boot, ending on the mountroot> prompt.
:
:Sascha
:
:--
:http://yoyodyne.ath.cx

I've seen this too.  If I load EHCI as a module da0 doesn't get detected
at boot time.
There's some sort of timing issue.  I'm certain it's not NATA's fault
but instead it is an issue with assumptions the USB code makes when
EHCI is present. EHCI has to take over the OHCI driver and its a real
mess (and badly designed).
-Matt
Matthew Dillon
<>
Actions #2

Updated by swildner over 17 years ago

Hmm, strange that old ATA and EHCI work fine, though.

Sascha

Actions #3

Updated by dillon over 17 years ago

I've spent all day trying to make EHCI work at boot time. There are
all sorts of ordering problems, too many to be able to fix it for this
release. Even making little changes I managed to cause my test box to
hang so this is going to have to wait until after the release.

I am going to try to figure out what vinum is doing now.
-Matt
Actions #4

Updated by swildner about 15 years ago

I just tried this again, and with 2.5.1, it works for me. The laptop boots fine
from a USB drive using nata(4) and with ehci(4) loaded. da8 is detected and the
boot proceeds normally.

Sascha

Actions #5

Updated by alexh almost 15 years ago

Based on the fact that this is a 'works for me' from the original bug
reporter, I'm closing this.

Cheers,
Alex Hornung

Actions #6

Updated by swildner almost 15 years ago

Sorry, I'm re-opening this again.

I've tried it on another laptop and unfortunately the drive was not recognized
there.

Actions #7

Updated by swildner almost 13 years ago

  • Description updated (diff)
  • Status changed from New to Closed
  • Assignee deleted (0)

Closing now for real. I recently tested booting off a USB HDD with ehci and nata and it worked.

Actions

Also available in: Atom PDF