Re: sparc64 r228561 panic: kmem_suballoc: bad status return of 3

From: Anton Shterenlikht <mexas_at_bristol.ac.uk>
Date: Fri, 16 Dec 2011 10:16:10 +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_at_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 <mexas_at_bristol.ac.uk> 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_at_freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
> 
> 
> -- 
> Monthadar Al Jaberi
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_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
Received on Fri Dec 16 2011 - 09:16:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:22 UTC