From owner-freebsd-sparc64@FreeBSD.ORG Fri Dec 16 10:16:58 2011 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 800AB1065670; Fri, 16 Dec 2011 10:16:58 +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 2FD7D8FC17; Fri, 16 Dec 2011 10:16:57 +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 1RbUqG-0003Z4-Af; Fri, 16 Dec 2011 10:16:46 +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 1RbUpm-00056U-SK; Fri, 16 Dec 2011 10:16:10 +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 pBGAGA4R099306; Fri, 16 Dec 2011 10:16:10 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id pBGAGA7m099305; Fri, 16 Dec 2011 10:16:10 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 16 Dec 2011 10:16:10 +0000 From: Anton Shterenlikht To: Monthadar Al Jaberi Message-ID: <20111216101610.GB99256@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: Monthadar Al Jaberi , freebsd-current@freebsd.org, freebsd-sparc64@freebsd.org References: <20111216084048.GA98967@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org, freebsd-sparc64@freebsd.org Subject: Re: sparc64 r228561 panic: kmem_suballoc: bad status return of 3 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: Fri, 16 Dec 2011 10:16:58 -0000 On Fri, Dec 16, 2011 at 10:24:44AM +0100, Monthadar Al Jaberi wrote: > Hi, > > do you get your panic at early in the boot stage? yes, the panic is straight after WARNING: WITNESS option enabled, expect reduced performance. > I get the same message on arm when I set the DEBUG_MEMGUARD flag early > on bootup: I don't have this in kernel config. > Nov 24 201018:40:27 > poweron_pll > EMI_CTRL 0x1C084040 > FRAC 0x92926192 > init_clock > init_ddr_mt46v32m16_133Mhz > exit self refresh timeout > power 0x00310710 > Frac 0x92926192 > start change cpu freq > hbus 0x00000003 > cpu 0x00010001 > KDB: debugger backends: ddb > KDB: current backend: ddb > Copyright (c) 1992-2011 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > \0x09The Rege > nts of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 10.0-CURRENT #948: Thu Dec 15 16:45:14 UTC 2011 > root@bsd.ab:/usr/obj/arm.arm/usr/src/sys/ARM arm > WARNING: WITNESS option enabled, expect reduced performance. > WARNING: DIAGNOSTIC option enabled, expect reduced performance. > MEMGUARD DEBUGGING ALLOCATOR INITIALIZED: > \0x09MEMGUARD map base: 0xc0e8b000 > \0x09MEMGUARD map lim > it: 0xc790b000 > \0x09MEMGUARD map size: 109056 KBytes > CPU: ARM926EJ-S rev 5 (ARM9EJ-S core) > DC enabled IC enabled WB enabled LABT > 16KB/32B 4-way Instruction cache > 16KB/32B 4-way write-back-locking-C Data cache > real memory = 67108864 (64 MB) > panic: kmem_suballoc: bad status return of 3 > KDB: enter: panic > > br, > > On Fri, Dec 16, 2011 at 9:40 AM, Anton Shterenlikht wrote: > > Updating from r216048 to r228561 on sparc64, > > with sys/conf/newvers.sh changed to REVISION="9.9". > > > > Trinscribed by hand: > > > > FreeBSD 9.9-CURRENT #3 r228561M: > > > > panic: kmem_suballoc: bad status return of 3 > > KDB: enter: panic > > [ thread pid 0 tid 0 ] > > The keyboard froze, couldn't get a bt, > > required a cold reboot. > > > > My /etc/make.conf and kernel config files are below. > > > > Any advice? > > > > Many thanks > > Anton > > > > > > > > > > % cat /etc/make.conf > > # Add SMTP AUTH support to Sendmail > > SENDMAIL_CFLAGS+=   -I/usr/local/include -DSASL=2 > > # added by use.perl 2011-11-15 09:47:38 > > PERL_VERSION=5.14.1 > > > > % cat /root/kernels/QOF > > > > makeoptions     DEBUG=-g > > makeoptions     MODULES_OVERRIDE="geom/geom_part geom/geom_label opensolaris zfs" > > > > options         ALT_BREAK_TO_DEBUGGER > > options         BREAK_TO_DEBUGGER > > options         CD9660 > > options         DDB > > #options        EXCEPTION_TRACING > > options         FFS > > options         GDB > > options         INET > > options         INET6 > > options         INVARIANTS > > options         INVARIANT_SUPPORT > > #options        IPI_PREEMPTION > > options         KDB > > options         KTRACE > > options         MD_ROOT > > options         MSDOSFS > > options         NFSCLIENT > > options         NFSLOCKD > > options         P1003_1B_SEMAPHORES > > #options        PREEMPTION > > options         PRINTF_BUFR_SIZE=128 > > options         PROCFS > > options         PSEUDOFS > > options         SCHED_4BSD > > #options        SCHED_ULE > > options         SCSI_DELAY=3000 > > options         SCTP                    # Stream Control Transmission Protocol > > options         SOFTUPDATES > > options         SYSVMSG > > options         SYSVSEM > > options         SYSVSHM > > options         UFS_DIRHASH > > #options        UWX_TRACE_ENABLE > > options         WITNESS > > #options        WITNESS_KDB > > options         WITNESS_SKIPSPIN > > options         _KPOSIX_PRIORITY_SCHEDULING > > > > options         COMPAT_43TTY            # BSD 4.3 TTY compat (sgtty) > > options         STACK                   # stack(9) support > > options         HWPMC_HOOKS             # Necessary kernel hooks for hwpmc(4) > > options         KBD_INSTALL_CDEV # install a CDEV entry in /dev > > > > device          ata > > device          atadisk > > device          atapicd > > device          atapicam > > device          auxio > > device          bge > > device          bpf > > device          cd > > device          da > > device          ebus > > device          eeprom          # eeprom (really a front-end for the MK48Txx) > > device          ehci > > device          ether           # Ethernet support > > device          firmware        # firmware assist module > > device          isa > > device          loop            # Network loopback > > device          lpt > > device          machfb          # ATI Mach64 framebuffers > > device          mc146818        # Motorola MC146818 and compatible clocks > > device          md > > device          miibus          # MII bus support > > device          mk48txx         # Mostek MK48Txx clocks > > device          ohci > > device          pass > > device          pci > > device          pty             # BSD-style compatibility pseudo ttys > > device          puc             # Multi-channel uarts > > device          ppbus > > device          ppc > > device          random          # Entropy device > > device          rtc             # rtc (really a front-end for the MC146818) > > device          sbus > > device          sc > > device          scbus           # SCSI bus (required for SCSI) > > device          scc             # Serial communications controllers. > > device          snd_audiocs > > device          snd_t4dwave > > device          sound > > device          tun             # Packet tunnel. > > device          uart            # Multi-uart driver > > device          uhci > > device          ukbd            # Keyboard > > device          umass > > device          ums             # Mouse > > device          usb > > > > -- > > 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 > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > > -- > Monthadar Al Jaberi > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- 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