From owner-freebsd-current@FreeBSD.ORG Mon Oct 31 01:47:53 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 79343106564A for ; Mon, 31 Oct 2011 01:47:53 +0000 (UTC) (envelope-from deeptech71@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 36B108FC13 for ; Mon, 31 Oct 2011 01:47:52 +0000 (UTC) Received: by qyg14 with SMTP id 14so6799749qyg.13 for ; Sun, 30 Oct 2011 18:47:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=YIcDLyNS/QqWK3s+ny1EXVhZNV/Oq47NvxQZdWR1XAU=; b=pGCUMW1vaooJ459KZAHPL246U+7Fo3yUy8XdeN/11iUQLv9kRXrkJSXK4MSzu7nupp 2zOzgmhwH8Ee+VrwirULwoP6cLJmEgmAugIHlhJlGDfw2X+30G3h5FpHyqbzm39O/5Ba jlCp0XezY3xZESIVtLRF6JJs0yjrfNYZKanF0= MIME-Version: 1.0 Received: by 10.229.245.149 with SMTP id lu21mr2661328qcb.70.1320025672118; Sun, 30 Oct 2011 18:47:52 -0700 (PDT) Received: by 10.229.226.65 with HTTP; Sun, 30 Oct 2011 18:47:52 -0700 (PDT) In-Reply-To: <201110302127.51898.hselasky@c2i.net> References: <201110302127.51898.hselasky@c2i.net> Date: Mon, 31 Oct 2011 02:47:52 +0100 Message-ID: From: "deeptech71@gmail.com" To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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 01:47:53 -0000 On Sun, Oct 30, 2011 at 9:27 PM, Hans Petter Selasky wrote: > On Saturday 29 October 2011 23:26:29 deeptech71@gmail.com wrote: >> I don't recall this case happening some time ago. But now, this >> happens with and without the NEW_PCIB option. I mention this because >> ``acpi0: on motherboard'' is shortly followed by >> ``acpi0: reservation of 0, a0000 (3) failed'', whatever that means. > ACPI involves some USB BIOS code most likely which is causing the crash. I > think this is maybe not a FreeBSD issue, but if you can binary search the > revisions to find exactly what commit broke your system, them I can look > further at your issue. Actually, I've just tested a pre-compiled 7.3-RELEASE GENERIC kernel, and the lockup also occurs there. > Have you tried to turn off USB legacy support in the BIOS? Hmm. Interesting, only a combination of the following result in the lockup: - Legacy USB Support: Auto (enable if and only if a USB device is connected) or Enabled, - USB 2.0 Controller: Enabled, - USB 2.0 Controller Mode: HiSpeed, - the memory stick is plugged in when the computer starts, and - the memory stick is plugged in when FreeBSD boots. 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.) 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?