NetBSD Problem Report #45502

From  Wed Oct 19 20:12:44 2011
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 44B0B63D5C4
	for <>; Wed, 19 Oct 2011 20:12:44 +0000 (UTC)
Message-Id: <>
Date: Wed, 19 Oct 2011 20:12:44 +0000 (UTC)
Subject: Panic configuring vnconfig or cgd
X-Send-Pr-Version: 3.95

>Number:         45502
>Category:       kern
>Synopsis:       Panic configuring vnconfig or cgd
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 19 20:15:00 +0000 2011
>Originator:     Julio Merino
>Release:        NetBSD 5.99.56 (sources of 2011/10/11)
Julio Merino

System: NetBSD 5.99.56 NetBSD 5.99.56 (MINI) #13: Tue Oct 11 15:53:10 EDT 2011 macppc
Architecture: powerpc
Machine: macppc
	I have a script that does this:

        vnconfig -c /dev/vnd2 /secure.img
        cgdconfig cgd0 /dev/vnd2c
        fsck -y /dev/cgd0c
        mount /dev/cgd0c /secure

	In general, it works just fine, but when I ran it now, the machine
	panicked and rebooted.  I don't know if this is macppc-specific, so
	filing as kern for triage.

	The backtrace:

	panic: cpu_uarea_alloc: uvm_pglistalloc failed: 12
	cpu0: Begin traceback...
	0x3e5f4910: at panic+0x4c
	0x3e5f4950: at cpu_uarea_alloc+0x80
	0x3e5f4980: at uarea_system_poolpage_alloc+0x20
	0x3e5f4990: at pool_grow+0x48
	0x3e5f49b0: at pool_get+0x60
	0x3e5f49d0: at pool_cache_get_slow+0x1a4
	0x3e5f4a20: at pool_cache_get_paddr+0x120
	0x3e5f4a60: at uvm_uarea_system_alloc+0x1c
	0x3e5f4a70: at kthread_create+0x60
	0x3e5f4ad0: at vndioctl+0xb8c
	0x3e5f4cb0: at bdev_ioctl+0x6c
	0x3e5f4cd0: at spec_ioctl+0xc0
	0x3e5f4cf0: at VOP_IOCTL+0x40
	0x3e5f4d20: at vn_ioctl+0x94
	0x3e5f4e00: at sys_ioctl+0x1c8
	0x3e5f4ec0: at syscall_plain+0x1d8
	0x3e5f4f20: user SC trap #54 by 0xfdf4388c: srr1=0xd032
	           r1=0xffffd850 cr=0x24000024 xer=0x20000000 ctr=0xfdf43884
	cpu0: End traceback...




NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.