amd64/138882: Can't install FreeBSD 7.2

Andriy Gapon avg at icyb.net.ua
Fri Sep 18 14:36:01 UTC 2009


on 18/09/2009 12:55 John Baldwin said the following:
> Torfinn Ingolfsen wrote:
>> On Thu, 17 Sep 2009 13:00:16 +0000 (GMT)
>> John Baldwin <jhb at FreeBSD.org> wrote:
>>
>>>  Try turning off legacy USB support in your BIOS.  I have a machine
>>> at home that has run 6.x and 7.x/i386 that has this same issue.  The
>>>  problem appears to be that ohci_reset() doesn't fully clear the
>>> state of the ohci(4) controller and when the driver first probes it
>>> sees a completed USB request that was the last request initiated by
>>> the BIOS. 
>>
>> Or if that doesn't work (I have a M2A-VM HDMI, but I don't know how old
>> a BIOS he has) he can remove all usb attached devices during boot.
>> For some reason, most devices work fine when plugged in after the
>> machine has booted.
>> (Some devices will panic the machine, but that is another story)
> 
> Yes, that is true in my experience as well.  In my case I have a UPS
> with a USB adapter plugged in and removing it during boot was another
> workaround.

I am debugging a somewhat related problem with head code and SB700 ohci.
The problem is that certain ports become unusable of there is a keyboard or mouse
attached to them during boot.
My findings so far:
1) the problem happens only with ports provided by ohci0 (the very first PCI OHCI
device)
2) the problem is that some configuration registers of ohci controller get
mysteriously changed after ohci driver configures them and before the first
interrupt gets generated by the controller; registers in question are
HcControlHeadED and HcDoneHead.

Looks like perhaps either the controller doesn't get "sufficiently"
reset/re-initialized or firmware/SMM code touches the controller after handover
procedure completes.

-- 
Andriy Gapon


More information about the freebsd-amd64 mailing list