From owner-freebsd-current@FreeBSD.ORG Sun Oct 30 06:25:11 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A30916A420; Sun, 30 Oct 2005 06:25:11 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from mail.localelinks.com (web.localelinks.com [65.170.254.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E21743D45; Sun, 30 Oct 2005 06:25:08 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from mortis.over-yonder.net (adsl-152-91-180.jan.bellsouth.net [70.152.91.180]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.localelinks.com (Postfix) with ESMTP id 22F6A2A; Sun, 30 Oct 2005 01:25:08 -0500 (CDT) Received: by mortis.over-yonder.net (Postfix, from userid 100) id 5B27920FFE; Sun, 30 Oct 2005 01:25:06 -0500 (CDT) Date: Sun, 30 Oct 2005 01:25:05 -0500 From: "Matthew D. Fuller" To: John Baldwin Message-ID: <20051030062505.GA1367@over-yonder.net> References: <20051023044115.7050216A421@hub.freebsd.org> <200510251521.03036.jhb@freebsd.org> <20051025224508.GB74484@over-yonder.net> <200510261321.50623.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200510261321.50623.jhb@freebsd.org> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.9i-fullermd.2 Cc: freebsd-current@freebsd.org Subject: Re: The case of the missing USB controllers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2005 06:25:11 -0000 On Wed, Oct 26, 2005 at 01:21:49PM -0400 I heard the voice of John Baldwin, and lo! it spake thus: > > > > 2) Does it work ok if you disable APIC? > > > > > > 3) Do you have a verbose dmesg and mptable output available > > > somewhere? > > > > mptable -verbose attached. The dmesg will probably have to wait > > for the weekend; I really hate losing my state :| > > Ok. I kind of need both of them to make sense of things, but I can > wait, no rush. OK. Here we go. I updated another box to this afternoon's RELENG_4, and tried both a GENERIC[0] kernel, and a GENERIC+SMP+APIC[1]. I also booted my current -CURRENT kernel (~Oct 1) with APIC disabled[2] and normal[3]. Note the minor difference that for the RELENG_4 boots I had to enable the ATA controller, which is normally disabled. With the non-APIC/SMP, on both 4 and 7, the [onboard] USB worked. It took interrupts, the mouse responded. Unplugging and replugging it worked just fine. With APIC/SMP, on both 4 and 7, it failed to work and never took an interrupt. Note in the 4.smp dmesg there's a "No debugger in kernel" line where I Ctrl-Alt-Esc'd, right between the CPU1 launch and the uhub0 SET_ADDR_FAILED. It froze there for a long time (minute+). That same message comes up in 7 when I try to hotplug stuff; it shuts off power to that port, and so it won't probe anything plugged in after boot. Stuff plugged in at boot stays powered up, though (so at least I get to play with the LED on the mouse ;). But on 4 it didn't last that long. In none of the 4 combinations did the USB2 card (Adaptec AUA-4000, the package says) probe at all, other than perhaps in the bus enumeration (vendor 0x9004==Adaptec? There's 2 2940's in other PCI slots, so that sounds right). So, without the APIC, it seems to work well enough. Unfortunately, with this staggering CPU muscle, I can't really afford to lose half my processing power, even to get away from a terrifyingly nasty RS232 serial mouse... [0] [1] [2] [3] -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.