From owner-freebsd-current@FreeBSD.ORG Tue Nov 30 13:04:31 2004 Return-Path: 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 55EF516A4CE; Tue, 30 Nov 2004 13:04:31 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id B17D743D1D; Tue, 30 Nov 2004 13:04:30 +0000 (GMT) (envelope-from scottl@freebsd.org) Received: from [192.168.254.11] (junior-wifi.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id iAUD81ai006963; Tue, 30 Nov 2004 06:08:01 -0700 (MST) (envelope-from scottl@freebsd.org) Message-ID: <41AC6FF8.40501@freebsd.org> Date: Tue, 30 Nov 2004 06:04:56 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040929 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Steve Kargl References: <20041129211341.GA26548@troutmask.apl.washington.edu> <20041129233211.GA27426@troutmask.apl.washington.edu> In-Reply-To: <20041129233211.GA27426@troutmask.apl.washington.edu> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: freebsd-current@freebsd.org cc: freebsd-amd64@freebsd.org Subject: Re: kernel panic with greater that 8 GB of memory X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 30 Nov 2004 13:04:31 -0000 Steve Kargl wrote: > On Mon, Nov 29, 2004 at 01:13:41PM -0800, Steve Kargl wrote: > >>kmem_suballoc: bad status return of 3 >>panic: kmem_suballoc >>cpuid = 0 >>KDB: stack backtrace: >>kdb_backtrace() at kdb_backtrace+0x37 >>panic() at painc+0x1d1 >>kmem_suballoc() at kmem_suballoc+0x93 >>kmeminit() at kmeminit+0x16d >>mi_startuup() at mi_startup+0xb6 >>btext90 at btext+0x2c >>KDB: enter: panic >>[thread pid 0 tid 0] >> >>This is a Tyan K8S Pro motherboard with 16 GB of PC2700 >>Cosair ECC memory. The BIOS was flashed to the latest >>available from Tyan. The scheduler is 4BSD. There are >>no ATA devices in the system and no ATA subsystem in >>the kernel. This a SCSI only box. World and kernel >>were rebuilt today with CFLAGS=-O -pipe and >>COPTFLAGS=-O -pipe. >> >>If I set hw.physmem="#G" n /boot/loader.conf where # is >>less than or equal to 8 the box boots up (see dmesg below). >>If # > 8, then we have the above panic. >> >>Any ideas where to look for the a fix? >> > > > (dmesg snipped) > (CC'd to -current because the may impact any system with >8 GB of ram) > > As a data point, I've downloaded, burned, and booted the netbsd/amd64 > ISO image. Netbsd's dmesg shows that netbsd correctly finds 16 GB > of memory on the system. > I fixed this on i386 a few months ago, and I applied a similar fix to amd64 on the advice of Peter Wemm. Go beat him up on this one =-) Scott