Re: Debugging kernel memory allocation

2014-11-25 Thread Rich Neswold
On Mon, Nov 17, 2014 at 2:42 AM, Tom Ivar Helbekkmo t...@hamartun.priv.no
wrote:

 Lars Heidieker l...@heidieker.de writes:

  are any pools with a limit are exhausted?

 Here's a possibly interesting data point:


Here's my interesting data point(s):

I have a Supermicro X7DCL (8-core, SATA drives, 24GB RAM), a Dell 2850
(8-core, SCSI drives, 6GB RAM) and another Dell 2850 (4-core, SCSI drives,
6GB RAM.) Both the 8-core machines are being used, so I shouldn't try to
trigger the stalls on them. I've been trying to reproduce them on the
unused 4-core system, though. I've built the world twice and traversed the
PKGSRC tree many times and I can't seem to get it to happen. Today,
however, I did a 'ls -Rl' on the 8-core Dell on a relatively small tree
(much smaller than PKSRC) and the system stalled for 40 seconds.

So, right now, I've only seen the stalls on my two 8-core machines. I
haven't been able to stall the 4-core machine. If I can schedule some
downtime, I'm thinking of moving the services to the 4-core system. Then
I'll have the 8-core Dell to try to debug. Unfortunately, I'm not there yet.

-- 
Rich


Re: raspberry pi panic 7.0_BETA after install fs resize

2014-11-25 Thread Nick Hudson

On 10/31/14 21:01, Petri Laakso wrote:

Hi

I'd got panic when doing 7.0_BETA file system resize for raspberry pi 
after

install. I compiled system using build.sh:

 build.sh command:./build.sh -j4 -m evbarm -u -U release
 build.sh started:Fri Oct 31 20:33:32 EET 2014
 NetBSD version:  7.0_BETA
 MACHINE: evbarm
 MACHINE_ARCH:earm
 Build platform:  NetBSD 6.1.4 amd64
 HOST_SH: /bin/sh
 MAKECONF file:   /etc/mk.conf
 TOOLDIR path:/work/nb/tooldir
 DESTDIR path:/work/nb/destdir
 RELEASEDIR path: /work/nb/release
 Updated makewrapper: /work/nb/tooldir/bin/nbmake-evbarm
 Successful make release
 build.sh ended:  Fri Oct 31 21:55:27 EET 2014

I wrote resulting rpi.img to SD card and realized that I need to 
resize file

system to extract pkgsrc. On multiuser I did disklabel part of the resize
and then restarted system to single user after that to do rest.

I followed mostly instructions from

https://wiki.netbsd.org/ports/evbarm/raspberry_pi/

except I did disklabeling against instructions when I was still in 
multiuser

mode... I don't know had this anything to do with panic.

Anyways in single user after sync and reboot the system paniced. I 
was too
busy and didn't take full stack trace, sorry about that. But maybe 
this has

some data for someone who might have had similar issue.

Screenshot: http://www.asd.fi/~petri/tmp/rpi_panic.jpg

PS. System seems to work just fine despite of panic. (currently 
extracting

pkgsrc)
HTH
Petri Laakso



OK, we figured out what the problem was here and it's just been
fixed in -current and the netbsd-7 branch.

Nick


daily CVS update output

2014-11-25 Thread NetBSD source update

Updating src tree:
P src/distrib/utils/embedded/conf/evbarm.conf
P src/share/mk/bsd.own.mk
P src/sys/arch/amd64/amd64/linux32_syscall.c
P src/sys/arch/arm/broadcom/bcm2835_emmc.c
P src/sys/arch/cats/conf/Makefile.cats.inc
P src/sys/arch/evbmips/conf/CI20
P src/sys/arch/mips/mips/mips_machdep.c
P src/sys/arch/shark/conf/Makefile.shark.inc
P src/sys/dev/pci/if_wmvar.h
P src/sys/external/bsd/drm2/dist/drm/i915/intel_opregion.c
P src/sys/fs/smbfs/smbfs_node.c
P src/sys/netinet/in_pcb.c
P src/sys/netinet/in_pcb.h
P src/sys/netinet6/icmp6.c
P src/sys/netinet6/in6_pcb.c
P src/sys/ufs/ufs/ufs_quota1.c
P src/tests/ipf/expected/n14
P src/tests/ipf/expected/n14_6
P src/usr.bin/patch/common.h
P src/usr.bin/patch/pch.c

Updating xsrc tree:


Killing core files:

Running the SUP scanner:
SUP Scan for current starting at Wed Nov 26 03:04:55 2014
SUP Scan for current completed at Wed Nov 26 03:06:52 2014
SUP Scan for mirror starting at Wed Nov 26 03:06:52 2014
SUP Scan for mirror completed at Wed Nov 26 03:09:42 2014



Updating release-5 src tree (netbsd-5):

Updating release-5 xsrc tree (netbsd-5):

Running the SUP scanner:
SUP Scan for release-5 starting at Wed Nov 26 03:16:42 2014
SUP Scan for release-5 completed at Wed Nov 26 03:16:52 2014



Updating release-6 src tree (netbsd-6):

Updating release-6 xsrc tree (netbsd-6):

Running the SUP scanner:
SUP Scan for release-6 starting at Wed Nov 26 03:27:19 2014
SUP Scan for release-6 completed at Wed Nov 26 03:27:30 2014




Updating file list:
-rw-rw-r--  1 srcmastr  netbsd  46081511 Nov 26 03:48 ls-lRA.gz