Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2011 10:24:44 +0100
From:      Monthadar Al Jaberi <monthadar@gmail.com>
To:        freebsd-current@freebsd.org, freebsd-sparc64@freebsd.org
Subject:   Re: sparc64 r228561 panic: kmem_suballoc: bad status return of 3
Message-ID:  <CA%2BsBSoJaz%2B08pi2vmo=H0L4buk%2B=puXSGtiu9my-2dLgd8rsPg@mail.gmail.com>
In-Reply-To: <20111216084048.GA98967@mech-cluster241.men.bris.ac.uk>
References:  <20111216084048.GA98967@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

do you get your panic at early in the boot stage?

I get the same message on arm when I set the DEBUG_MEMGUARD flag early
on bootup:

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 =3D 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@bristol.ac.uk> w=
rote:
> Updating from r216048 to r228561 on sparc64,
> with sys/conf/newvers.sh changed to REVISION=3D"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 ]
> Stopped at 0x02937e0: =A0 ta =A0 =A0%xcc,1
> db>
>
> 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+=3D =A0 -I/usr/local/include -DSASL=3D2
> SENDMAIL_LDFLAGS+=3D =A0-L/usr/local/lib
> SENDMAIL_LDADD+=3D =A0 =A0-lsasl2
>
> # added by use.perl 2011-11-15 09:47:38
> PERL_VERSION=3D5.14.1
>
> % cat /root/kernels/QOF
>
> cpu =A0 =A0 =A0 =A0 =A0 =A0 SUN4U =A0 =A0 =A0 =A0 =A0 # work sparc64
> ident =A0 =A0 =A0 =A0 =A0 QOF
>
> makeoptions =A0 =A0 DEBUG=3D-g
> makeoptions =A0 =A0 MODULES_OVERRIDE=3D"geom/geom_part geom/geom_label op=
ensolaris zfs"
>
> options =A0 =A0 =A0 =A0 ALT_BREAK_TO_DEBUGGER
> options =A0 =A0 =A0 =A0 BREAK_TO_DEBUGGER
> options =A0 =A0 =A0 =A0 CD9660
> options =A0 =A0 =A0 =A0 DDB
> #options =A0 =A0 =A0 =A0EXCEPTION_TRACING
> options =A0 =A0 =A0 =A0 FFS
> options =A0 =A0 =A0 =A0 GDB
> options =A0 =A0 =A0 =A0 INET
> options =A0 =A0 =A0 =A0 INET6
> options =A0 =A0 =A0 =A0 INVARIANTS
> options =A0 =A0 =A0 =A0 INVARIANT_SUPPORT
> #options =A0 =A0 =A0 =A0IPI_PREEMPTION
> options =A0 =A0 =A0 =A0 KDB
> options =A0 =A0 =A0 =A0 KTRACE
> options =A0 =A0 =A0 =A0 MD_ROOT
> options =A0 =A0 =A0 =A0 MSDOSFS
> options =A0 =A0 =A0 =A0 NFSCLIENT
> options =A0 =A0 =A0 =A0 NFSLOCKD
> options =A0 =A0 =A0 =A0 P1003_1B_SEMAPHORES
> #options =A0 =A0 =A0 =A0PREEMPTION
> options =A0 =A0 =A0 =A0 PRINTF_BUFR_SIZE=3D128
> options =A0 =A0 =A0 =A0 PROCFS
> options =A0 =A0 =A0 =A0 PSEUDOFS
> options =A0 =A0 =A0 =A0 SCHED_4BSD
> #options =A0 =A0 =A0 =A0SCHED_ULE
> options =A0 =A0 =A0 =A0 SCSI_DELAY=3D3000
> options =A0 =A0 =A0 =A0 SCTP =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Str=
eam Control Transmission Protocol
> options =A0 =A0 =A0 =A0 SOFTUPDATES
> options =A0 =A0 =A0 =A0 SYSVMSG
> options =A0 =A0 =A0 =A0 SYSVSEM
> options =A0 =A0 =A0 =A0 SYSVSHM
> options =A0 =A0 =A0 =A0 UFS_DIRHASH
> #options =A0 =A0 =A0 =A0UWX_TRACE_ENABLE
> options =A0 =A0 =A0 =A0 WITNESS
> #options =A0 =A0 =A0 =A0WITNESS_KDB
> options =A0 =A0 =A0 =A0 WITNESS_SKIPSPIN
> options =A0 =A0 =A0 =A0 _KPOSIX_PRIORITY_SCHEDULING
>
> options =A0 =A0 =A0 =A0 COMPAT_43TTY =A0 =A0 =A0 =A0 =A0 =A0# BSD 4.3 TTY=
 compat (sgtty)
> options =A0 =A0 =A0 =A0 STACK =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # stack=
(9) support
> options =A0 =A0 =A0 =A0 HWPMC_HOOKS =A0 =A0 =A0 =A0 =A0 =A0 # Necessary k=
ernel hooks for hwpmc(4)
> options =A0 =A0 =A0 =A0 KBD_INSTALL_CDEV # install a CDEV entry in /dev
>
> device =A0 =A0 =A0 =A0 =A0ata
> device =A0 =A0 =A0 =A0 =A0atadisk
> device =A0 =A0 =A0 =A0 =A0atapicd
> device =A0 =A0 =A0 =A0 =A0atapicam
> device =A0 =A0 =A0 =A0 =A0auxio
> device =A0 =A0 =A0 =A0 =A0bge
> device =A0 =A0 =A0 =A0 =A0bpf
> device =A0 =A0 =A0 =A0 =A0cd
> device =A0 =A0 =A0 =A0 =A0da
> device =A0 =A0 =A0 =A0 =A0ebus
> device =A0 =A0 =A0 =A0 =A0eeprom =A0 =A0 =A0 =A0 =A0# eeprom (really a fr=
ont-end for the MK48Txx)
> device =A0 =A0 =A0 =A0 =A0ehci
> device =A0 =A0 =A0 =A0 =A0ether =A0 =A0 =A0 =A0 =A0 # Ethernet support
> device =A0 =A0 =A0 =A0 =A0firmware =A0 =A0 =A0 =A0# firmware assist modul=
e
> device =A0 =A0 =A0 =A0 =A0isa
> device =A0 =A0 =A0 =A0 =A0loop =A0 =A0 =A0 =A0 =A0 =A0# Network loopback
> device =A0 =A0 =A0 =A0 =A0lpt
> device =A0 =A0 =A0 =A0 =A0machfb =A0 =A0 =A0 =A0 =A0# ATI Mach64 framebuf=
fers
> device =A0 =A0 =A0 =A0 =A0mc146818 =A0 =A0 =A0 =A0# Motorola MC146818 and=
 compatible clocks
> device =A0 =A0 =A0 =A0 =A0md
> device =A0 =A0 =A0 =A0 =A0miibus =A0 =A0 =A0 =A0 =A0# MII bus support
> device =A0 =A0 =A0 =A0 =A0mk48txx =A0 =A0 =A0 =A0 # Mostek MK48Txx clocks
> device =A0 =A0 =A0 =A0 =A0ohci
> device =A0 =A0 =A0 =A0 =A0pass
> device =A0 =A0 =A0 =A0 =A0pci
> device =A0 =A0 =A0 =A0 =A0pty =A0 =A0 =A0 =A0 =A0 =A0 # BSD-style compati=
bility pseudo ttys
> device =A0 =A0 =A0 =A0 =A0puc =A0 =A0 =A0 =A0 =A0 =A0 # Multi-channel uar=
ts
> device =A0 =A0 =A0 =A0 =A0ppbus
> device =A0 =A0 =A0 =A0 =A0ppc
> device =A0 =A0 =A0 =A0 =A0random =A0 =A0 =A0 =A0 =A0# Entropy device
> device =A0 =A0 =A0 =A0 =A0rtc =A0 =A0 =A0 =A0 =A0 =A0 # rtc (really a fro=
nt-end for the MC146818)
> device =A0 =A0 =A0 =A0 =A0sbus
> device =A0 =A0 =A0 =A0 =A0sc
> device =A0 =A0 =A0 =A0 =A0scbus =A0 =A0 =A0 =A0 =A0 # SCSI bus (required =
for SCSI)
> device =A0 =A0 =A0 =A0 =A0scc =A0 =A0 =A0 =A0 =A0 =A0 # Serial communicat=
ions controllers.
> device =A0 =A0 =A0 =A0 =A0snd_audiocs
> device =A0 =A0 =A0 =A0 =A0snd_t4dwave
> device =A0 =A0 =A0 =A0 =A0sound
> device =A0 =A0 =A0 =A0 =A0tun =A0 =A0 =A0 =A0 =A0 =A0 # Packet tunnel.
> device =A0 =A0 =A0 =A0 =A0uart =A0 =A0 =A0 =A0 =A0 =A0# Multi-uart driver
> device =A0 =A0 =A0 =A0 =A0uhci
> device =A0 =A0 =A0 =A0 =A0ukbd =A0 =A0 =A0 =A0 =A0 =A0# Keyboard
> device =A0 =A0 =A0 =A0 =A0umass
> device =A0 =A0 =A0 =A0 =A0ums =A0 =A0 =A0 =A0 =A0 =A0 # Mouse
> device =A0 =A0 =A0 =A0 =A0usb
>
> --
> 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=
"



--=20
Monthadar Al Jaberi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BsBSoJaz%2B08pi2vmo=H0L4buk%2B=puXSGtiu9my-2dLgd8rsPg>