Date: Sun, 30 Oct 2011 19:01:18 -0700 From: Garrett Cooper <yanegomi@gmail.com> To: "deeptech71@gmail.com" <deeptech71@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: lockup during probing because of a memory stick Message-ID: <5083193D-4DEA-4BFC-BD87-612C11B46C90@gmail.com> In-Reply-To: <CAF6hryS16TOPpFv_H4YTu4T98jJ_szVs29AjsOBuWJgT5xXNjg@mail.gmail.com> References: <CAF6hryRaJfDWbCYq9%2B8XBwkyj7KxdmqBLKutdcBmDcYBuUOo_Q@mail.gmail.com> <201110302127.51898.hselasky@c2i.net> <CAF6hryS16TOPpFv_H4YTu4T98jJ_szVs29AjsOBuWJgT5xXNjg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 30, 2011, at 6:47 PM, deeptech71@gmail.com wrote: > On Sun, Oct 30, 2011 at 9:27 PM, Hans Petter Selasky = <hselasky@c2i.net> 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: <A M I OEMXSDT> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5083193D-4DEA-4BFC-BD87-612C11B46C90>