From owner-freebsd-stable@FreeBSD.ORG Thu Sep 25 21:25:38 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E11C16A4B3 for ; Thu, 25 Sep 2003 21:25:38 -0700 (PDT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3801343FEA for ; Thu, 25 Sep 2003 21:25:37 -0700 (PDT) (envelope-from bfoz@terrandev.com) Received: from terrandev.com (12-234-26-98.client.attbi.com[12.234.26.98]) by comcast.net (sccrmhc11) with SMTP id <2003092604253601100lcfd3e> (Authid: bfoz); Fri, 26 Sep 2003 04:25:36 +0000 Message-ID: <3F73C12F.3020902@terrandev.com> Date: Thu, 25 Sep 2003 21:31:43 -0700 From: Brandon Fosdick User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030706 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Atrens References: <3F72659E.8090809@nortelnetworks.com> In-Reply-To: <3F72659E.8090809@nortelnetworks.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: stable@freebsd.org Subject: Re: fix/workaround for usb probe lockups on nForce2 mbs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2003 04:25:38 -0000 Andrew Atrens wrote: > > All, > > The attached patch fixes the boot lockups I've been experiencing on my > nForce2 (A7N8X-Deluxe) motherboards when usb devices are on the bus at > boot time. > > Looks like something in usb_explore is (inadvertently?) enabling > interrupts if it detects a device on a port. The fix is, during hub > attach, to not assume that interrupts are off when we access the hub in > 'polling' mode. > > Not sure if this is a fix or a workaround. I'll leave that to the usb > gods to decide ... > > At any rate, I'd appreciate some feedback ... nForce2 users, does this > work for you ? It worked for me. I had to do a full buildworld, just doing buildkernel wasn't enough. Thanks for the patch. At this point I'm not sure if I want to try the patch from Ian Dowse since its working now and my USB hub is showing up as an OHCI.