From owner-freebsd-current@FreeBSD.ORG Mon Oct 31 02:01:23 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F4B6106566C for ; Mon, 31 Oct 2011 02:01:23 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id C052A8FC15 for ; Mon, 31 Oct 2011 02:01:22 +0000 (UTC) Received: by ywt32 with SMTP id 32so7174919ywt.13 for ; Sun, 30 Oct 2011 19:01:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=X+t7FvJhkuKCZ9bX06QPnXGIDcuDjrE34YYJpLY2mvc=; b=R53U7sUDjdhY/5wrUn/aY0QIcRn3iQB5BFy+Kt5lX94BObIoC7I25wbKu2dzgcWxm7 iN1BgeB3kMuObrBWuHfQM4SYqMW6mo0Q1/z6mkyORBUPnEsyMhALBssfajWmPYMGj1up oeJnG42p+b4vA+gfQr15rdbLoYrcKz9A+25K4= Received: by 10.68.60.97 with SMTP id g1mr19749844pbr.108.1320026481713; Sun, 30 Oct 2011 19:01:21 -0700 (PDT) Received: from [192.168.20.5] (c-24-6-49-154.hsd1.ca.comcast.net. [24.6.49.154]) by mx.google.com with ESMTPS id mh1sm7413852pbc.11.2011.10.30.19.01.20 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 30 Oct 2011 19:01:20 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Garrett Cooper In-Reply-To: Date: Sun, 30 Oct 2011 19:01:18 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <5083193D-4DEA-4BFC-BD87-612C11B46C90@gmail.com> References: <201110302127.51898.hselasky@c2i.net> To: "deeptech71@gmail.com" X-Mailer: Apple Mail (2.1084) Cc: freebsd-current@freebsd.org Subject: Re: lockup during probing because of a memory stick 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: Mon, 31 Oct 2011 02:01:23 -0000 On Oct 30, 2011, at 6:47 PM, deeptech71@gmail.com wrote: > On Sun, Oct 30, 2011 at 9:27 PM, Hans Petter Selasky = wrote: >=20 >> On Saturday 29 October 2011 23:26:29 deeptech71@gmail.com wrote: >=20 >>> I don't recall this case happening some time ago. But now, this >=20 >>> happens with and without the NEW_PCIB option. I mention this because >=20 >>> ``acpi0: on motherboard'' is shortly followed by >=20 >>> ``acpi0: reservation of 0, a0000 (3) failed'', whatever that means. >=20 >=20 >=20 >> ACPI involves some USB BIOS code most likely which is causing the = crash. I >=20 >> think this is maybe not a FreeBSD issue, but if you can binary search = the >=20 >> revisions to find exactly what commit broke your system, them I can = look >=20 >> further at your issue. >=20 >=20 >=20 > Actually, I've just tested a pre-compiled 7.3-RELEASE GENERIC kernel, > and the lockup also occurs there. >=20 >=20 >=20 >> Have you tried to turn off USB legacy support in the BIOS? >=20 >=20 >=20 > Hmm. Interesting, only a combination of the following result in the = lockup: >=20 > - Legacy USB Support: Auto (enable if and only if a USB device is > connected) or Enabled, >=20 > - USB 2.0 Controller: Enabled, >=20 > - USB 2.0 Controller Mode: HiSpeed, >=20 > - the memory stick is plugged in when the computer starts, and >=20 > - the memory stick is plugged in when FreeBSD boots. >=20 > Note that, to reproduce the lockup, it is not sufficient to just have > the said BIOS settings (Legacy USB Support: Enabled, etc.), it is also > required that the mutherboard recognize the memory stick when the > computer starts, and to have the memory stick connected when FreeBSD > boots. (If I disable 2.0 support, or set the speed to FullSpeed, or > disable legacy support, or do not have the stick plugged in when the > computer starts, or do not have the stick plugged in when FreeBSD > boots, then the lockup does not occur.) >=20 >=20 >=20 > But Windows XP does not produce any lockups in the case where FreeBSD > does. Furthermore, in all cases, the memory stick is usable from > FreeBSD if FreeBSD boots successfully. So why should I expect FreeBSD > to lock up? Vendor hacks and limited testing on other OSes is the most = likely cause, if it's not a bug within FreeBSD. Just to narrow things = down a bit... 1. Are there are BIOS updates for your motherboard? 2. Do you have ACPI 2.0 support enabled in the BIOS (I was reminded of = this because some ASUS MBs default this setting to off -- which may or = may not cause problems with FreeBSD)? -Garrett