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

2011-12-16 Thread Marius Strobl
On Fri, Dec 16, 2011 at 11:19:22AM +, Anton Shterenlikht wrote:
> On Fri, Dec 16, 2011 at 11:37:20AM +0100, Marius Strobl wrote:
> > On Fri, Dec 16, 2011 at 08:40:48AM +, 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 ]
> > > Stopped at 0x02937e0:   ta%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?
> > > 
> > 
> > Hrm, doesn't look like I can reproduce this. What machine model is
> > that and how much RAM does it have?
> 
> >From dmesg:
> 
> real memory  = 2147483648 (2048 MB)
> avail memory = 2079449088 (1983 MB)
> cpu0: Sun Microsystems UltraSparc-IIIi Processor (1503.00 MHz CPU)
> 
> > Do you use any loader tuneables?
> 
> I don't think so. You mean like /boot/loader.conf?
> I haven't got this file at all.
> 

Even with a Blade 1500, which is the closest match to your machine
that I have, and a kernel built with your configuration file I can't
reproduce this using r228583. I'd suggest to test with a kernel built
using an empty object directory and without any local modifications.
If that still doesn't solve the problem given that there isn't even
a backtrace I just can suggest to do a binary search for the offending
commit, probably accounting especially for the changes to the VM
within the window of revisions in question.

Marius

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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

2011-12-16 Thread Anton Shterenlikht
On Fri, Dec 16, 2011 at 11:37:20AM +0100, Marius Strobl wrote:
> On Fri, Dec 16, 2011 at 08:40:48AM +, 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 ]
> > Stopped at 0x02937e0:   ta%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?
> > 
> 
> Hrm, doesn't look like I can reproduce this. What machine model is
> that and how much RAM does it have?

>From dmesg:

real memory  = 2147483648 (2048 MB)
avail memory = 2079449088 (1983 MB)
cpu0: Sun Microsystems UltraSparc-IIIi Processor (1503.00 MHz CPU)

> Do you use any loader tuneables?

I don't think so. You mean like /boot/loader.conf?
I haven't got this file at all.


-- 
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-unsubscr...@freebsd.org"


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

2011-12-16 Thread Marius Strobl
On Fri, Dec 16, 2011 at 08:40:48AM +, 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 ]
> Stopped at 0x02937e0:   ta%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?
> 

Hrm, doesn't look like I can reproduce this. What machine model is
that and how much RAM does it have? Do you use any loader tuneables?

Marius

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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

2011-12-16 Thread Anton Shterenlikht
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 0x0003
> 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
> r...@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 ps

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

2011-12-16 Thread Monthadar Al Jaberi
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 0x0003
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
r...@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 ]
> Stopped at 0x02937e0:   ta    %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+=   -I/usr/local/include -DSASL=2
> SENDMAIL_LDFLAGS+=  -L/usr/local/lib
> SENDMAIL_LDADD+=    -lsasl2
>
> # added by use.perl 2011-11-15 09:47:38
> PERL_VERSION=5.14.1
>
> % cat /root/kernels/QOF
>
> cpu             SUN4U           # work sparc64
> ident           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

sparc64 r228561 panic: kmem_suballoc: bad status return of 3

2011-12-16 Thread Anton Shterenlikht
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 ]
Stopped at 0x02937e0:   ta%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+=   -I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS+=  -L/usr/local/lib
SENDMAIL_LDADD+=-lsasl2

# added by use.perl 2011-11-15 09:47:38
PERL_VERSION=5.14.1

% cat /root/kernels/QOF

cpu SUN4U   # work sparc64
ident   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
#optionsEXCEPTION_TRACING
options FFS
options GDB
options INET
options INET6
options INVARIANTS
options INVARIANT_SUPPORT
#optionsIPI_PREEMPTION
options KDB
options KTRACE
options MD_ROOT
options MSDOSFS
options NFSCLIENT
options NFSLOCKD
options P1003_1B_SEMAPHORES
#optionsPREEMPTION
options PRINTF_BUFR_SIZE=128
options PROCFS
options PSEUDOFS
options SCHED_4BSD
#optionsSCHED_ULE
options SCSI_DELAY=3000
options SCTP# Stream Control Transmission Protocol
options SOFTUPDATES
options SYSVMSG
options SYSVSEM
options SYSVSHM
options UFS_DIRHASH
#optionsUWX_TRACE_ENABLE
options WITNESS
#optionsWITNESS_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-unsubscr...@freebsd.org"