From owner-freebsd-sparc64@FreeBSD.ORG Wed Jan 18 11:07:41 2012 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E2F8106566B for ; Wed, 18 Jan 2012 11:07:40 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id E7B538FC16 for ; Wed, 18 Jan 2012 11:07:39 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1RnTLd-0006J1-5T; Wed, 18 Jan 2012 11:07:31 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1RnTLH-0006t5-Nu; Wed, 18 Jan 2012 11:06:11 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q0IB6Bv8028744; Wed, 18 Jan 2012 11:06:11 GMT (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q0IB6Bdi028743; Wed, 18 Jan 2012 11:06:11 GMT (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Wed, 18 Jan 2012 11:06:11 +0000 From: Anton Shterenlikht To: Peter Jeremy Message-ID: <20120118110611.GA28694@mech-cluster241.men.bris.ac.uk> References: <201201181050.q0IAoClv086271@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201201181050.q0IAoClv086271@freefall.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: sparc64/164227: Can't boot 9.0-RELEASE/sparc64 on Blade 1500 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 11:07:41 -0000 On Wed, Jan 18, 2012 at 10:50:12AM +0000, Peter Jeremy wrote: > The following reply was made to PR sparc64/164227; it has been noted by GNATS. > > From: Peter Jeremy > To: "C. P. Ghost" > Cc: freebsd-gnats-submit@FreeBSD.org > Subject: Re: sparc64/164227: Can't boot 9.0-RELEASE/sparc64 on Blade 1500 > Date: Wed, 18 Jan 2012 19:43:55 +1100 > > --cWoXeonUoKmBZSoM > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On 2012-Jan-17 00:47:14 +0000, "C. P. Ghost" wrote: > >Booting a FreeBSD-9.0-RELEASE kernel on a Blade 1500 panics with: > > > >panic: kmem_suballoc: bad status return of 3 > >cpuid =3D 0 > >KDB: stack backtrace: > > #0 0xc079841c at ??+0 > > #1 0xc04ca59c at ??+0 > > #2 0xc0487f90 at ??+0 > > #3 0xc0098028 at ??+0 > > > >This is on a Blade 1500 with 2 GB of RAM. > > I can reproduce this on my SB1500 but only with 2GB RAM (4x512MB > DIMMs) installed. When I install 1GB RAM (4x256MB) or 4GB RAM > (4x1GB), FreeBSD-9.0-RELEASE-sparc64-disc1.iso boots successfully. > > The problem is still present in 10-current: > ok boot freebsd > Boot device: /pci@1e,600000/ide@d/disk@1,0 File and args:=20 > =20 > >> FreeBSD/sparc64 boot block > Boot path: /pci@1e,600000/ide@d/disk@1,0:a > Boot loader: /boot/loader > Consoles: Open Firmware console > > FreeBSD/sparc64 bootstrap loader, Revision 1.0 > (root@sb1500.vk2pj.dyndns.org, Fri Jan 6 14:29:31 EST 2012) > bootpath=3D"/pci@1e,600000/ide@d/disk@1,0:a" > Loading /boot/defaults/loader.conf > /boot/kernel/kernel data=3D0x576f58+0x1fbea8 syms=3D[0x8+0x7db80+0x8+0x7298= > 1] > > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... > jumping to kernel entry at 0xc0070000. > KDB: debugger backends: ddb > KDB: current backend: ddb > Copyright (c) 1992-2012 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 10.0-CURRENT #4 r229481M: Tue Jan 10 15:54:52 EST 2012 > root@sb1500.vk2pj.dyndns.org:/usr/obj/usr/src/sys/sb1500 sparc64 > WARNING: WITNESS option enabled, expect reduced performance. > panic: kmem_suballoc: bad status return of 3 > KDB: stack backtrace: > (null)() at 0xc02a0330 > (null)() at 0xc04526fc > (null)() at 0xc028a894 > (null)() at 0xc024da70 > (null)() at 0xc0070028 > KDB: enter: panic > [ thread pid 0 tid 0 ] > Stopped at 0xc02d5dc0: ta %xcc, 1 > db> bt > Tracing pid 0 tid 0 td 0xc0587890 > (null)() at 0xc02a0374 > (null)() at 0xc04526fc > (null)() at 0xc028a894 > (null)() at 0xc024da70 > (null)() at 0xc0070028 > db>=20 > > Since DDB isn't seeing the symbols, I didn't go further but expanded > those addresses later via kgdb: > 0x00000000c02a0330 : call 0xc02d6340 > 0x00000000c02a0374 : call 0xc02d5d40 > 0x00000000c04526fc : call 0xc02a01e0 > 0x00000000c028a894 : call 0xc0452680 > 0x00000000c024da70 : call %g1 > 0x00000000c0070028 : call 0xc024d8a0 > > Overall, this suggests that Marius is correct in his suspicion that > this is related to strangeness in the RAM layout. oh.. this is similar to my panic: http://lists.freebsd.org/pipermail/freebsd-sparc64/2012-January/008164.html but my keyboard freezes, so I can't get a backtrace. This is also on a 2GB box. My other box with 4GB is fine. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423