From owner-freebsd-current@FreeBSD.ORG Mon Aug 22 19:48:42 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 0AE4116A420; Mon, 22 Aug 2005 19:48:42 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FA2E43D48; Mon, 22 Aug 2005 19:48:39 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from [10.50.40.201] (Not Verified[10.50.40.201]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Mon, 22 Aug 2005 16:03:45 -0400 From: John Baldwin To: freebsd-current@freebsd.org Date: Mon, 22 Aug 2005 15:18:42 -0400 User-Agent: KMail/1.8 References: <20050813221234.GA23162@nargothrond.kdm.org> <20050822163306.GA81213@nargothrond.kdm.org> <200508221319.31025.jkim@FreeBSD.org> In-Reply-To: <200508221319.31025.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508221518.43770.jhb@FreeBSD.org> Cc: "Kenneth D. Merry" , Jung-uk Kim Subject: Re: BTX problems 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, 22 Aug 2005 19:48:42 -0000 On Monday 22 August 2005 01:19 pm, Jung-uk Kim wrote: > On Monday 22 August 2005 12:33 pm, Kenneth D. Merry wrote: > > On Mon, Aug 22, 2005 at 12:16:51 -0400, Jung-uk Kim wrote: > > > On Monday 22 August 2005 11:57 am, Kenneth D. Merry wrote: > > > > On Mon, Aug 22, 2005 at 11:37:25 -0400, Jung-uk Kim wrote: > > > > > On Saturday 20 August 2005 01:02 am, Kenneth D. Merry wrote: > > > > > > On Tue, Aug 16, 2005 at 13:39:48 -0400, John Baldwin wrote: > > > > > > > There haven't been a whole lot of changes. My guess > > > > > > > would be the recently added smbios support. You can > > > > > > > probably just comment out the call to smbios_detect() in > > > > > > > sys/boot/i386/loader/main.c as a simple test for that. > > > > > > > It could also possibly be the multiple console support in > > > > > > > which case it would be easiest to just step your sys/boot > > > > > > > tree back using CVS. The good news is that sys/boot is > > > > > > > largely self-contained so you can step it back while > > > > > > > keeping the rest of the tree up to date for testing > > > > > > > purposes at least. > > > > > > > > > > > > Thanks for the tips! > > > > > > > > > > > > Commenting out smbios_detect() did the trick. The loader > > > > > > works fine after that. > > > > > > > > > > > > So now what? Is there a way to fix it so it won't crash on > > > > > > my system? > > > > > > > > > > So, I guess I broke it, then. Can you install > > > > > ports/sysutils/dmidecode and send me dmidecode output? > > > > > > > > Sure, here it is. > > > > > > Okay, it looks good so far. Can you do: > > > > > > dd if=/dev/mem of=dmi.dat bs=1 count=1534 skip=984640 > > > dd if=/dev/mem of=smbios.dat bs=1 count=65536 skip=983040 > > > > > > and send me dmi.dat and smbios.dat, please? > > > > Here they are. > > It's very strange. It seems SM entry and DMI structures are all sane. > I don't understand why it happens. :-( I just wrote a qucik-and-dirty > userland wrapper for smbios.c, which is attached. > > SMBIOS entry: 0x000f00a0 > DMI structures: length = 1534, paddr = 0x000f0640, count = 49 > smbios.bios.vendor="American Megatrends Inc." > smbios.bios.version="0700xx " > smbios.bios.reldate="11/14/2001" > smbios.system.maker="Supermicro" > smbios.system.product="P3TDE6" > smbios.system.version="1234567890" > smbios.planar.maker="Supermicro" > smbios.planar.product="P3TDE6" > smbios.planar.version="1234567890" > smbios.chassis.maker="Supermicro" > smbios.chassis.version="P3TDE6" > > Is it possible that PTOV() is not working somehow??? I need help > here. Perhaps give ken@ a patch with some printf's added to figure out how far it gets into smbios_detect() before it dies? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org