From owner-freebsd-stable@FreeBSD.ORG Thu Jan 24 08:49:36 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E5CE452D for ; Thu, 24 Jan 2013 08:49:36 +0000 (UTC) (envelope-from ask@develooper.com) Received: from mbox1.develooper.com (mbox1.develooper.com [207.171.7.178]) by mx1.freebsd.org (Postfix) with ESMTP id C6E3AF46 for ; Thu, 24 Jan 2013 08:49:36 +0000 (UTC) Received: from mbox1.develooper.com (mbox1.develooper.com [127.0.0.1]) by mbox1.develooper.com (Postfix) with ESMTP id 6E7ED175AD3 for ; Thu, 24 Jan 2013 00:49:36 -0800 (PST) Received: (qmail 31213 invoked from network); 24 Jan 2013 08:49:36 -0000 Received: from cpe-76-172-28-38.socal.res.rr.com (HELO embla.bn.dev) (ask@mail.dev@76.172.28.38) by smtp.develooper.com with ESMTPA; 24 Jan 2013 08:49:36 -0000 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: panic: kmem_malloc(8192): kmem_map too small: 39460864 total allocated From: =?iso-8859-1?Q?Ask_Bj=F8rn_Hansen?= In-Reply-To: Date: Thu, 24 Jan 2013 00:49:35 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <578B00AD-8524-4EE1-83D3-CFD1B739AC96@develooper.com> References: To: "freebsd-stable@freebsd.org" , freebsd-embedded@freebsd.org X-Mailer: Apple Mail (2.1499) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2013 08:49:37 -0000 On Jan 24, 2013, at 0:48, Ask Bj=F8rn Hansen wrote: > Hi everyone, >=20 > I upgraded my NanoBSD image from 9.0 (from May 2012) to 9.1 from a few = days ago. >=20 > Booting the new image on a pcEngines Alix board it panics with a = "kmem_map too small" error when mounting the disk. Any ideas what I'm = doing wrong? In case it's useful, below is the full boot sequence. Ask PC Engines ALIX.2 v0.99h 640 KB Base Memory 130048 KB Extended Memory 01F0 Master 848A SanDisk SDCFJ-256 =20 Phys C/H/S 980/16/32 Log C/H/S 248/32/63 1 FreeBSD 2 FreeBSD F6 PXE Boot: 2=20 /boot/config: -h FreeBSD/x86 boot Default: 0:ad(0,a)/boot/loader boot: Consoles: serial port =20 BIOS drive C: is disk0 BIOS 640kB/130048kB available memory FreeBSD/x86 bootstrap loader, Revision 1.1 (root@fbsdvm, Wed Jan 23 14:28:25 PST 2013) Loading /boot/defaults/loader.conf=20 /boot/kernel/kernel text=3D0x928f64 data=3D0x68a6c+0x89cb0 = syms=3D[0x4+0x8d9e0+0x4+0xcc4ec] \ Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... =20 Copyright (c) 1992-2013 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights = reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.1-STABLE #0: Wed Jan 23 14:51:17 PST 2013 root@fbsdvm:/usr/obj/nanobsd.grundwall/usr/src/sys/GRUNDCLOCK i386 CPU: Geode(TM) Integrated Processor by AMD PCS (431.65-MHz 586-class = CPU) Origin =3D "AuthenticAMD" Id =3D 0x5a2 Family =3D 0x5 Model =3D 0xa = Stepping =3D 2 Features=3D0x88a93d AMD Features=3D0xc0400000 real memory =3D 134217728 (128 MB) avail memory =3D 116412416 (111 MB) pnpbios: Bad PnP BIOS data checksum K6-family MTRR support enabled (2 registers) cryptosoft0: on motherboard pcib0 pcibus 0 on motherboard pci0: on pcib0 Geode LX: PC Engines ALIX.2 v0.99h tinyBIOS V1.4a (C)1997-2007 glxsb0: mem = 0xefff4000-0xefff7fff irq 9 at device 1.2 on pci0 vr0: port 0x1000-0x10ff mem = 0xe0000000-0xe00000ff irq 10 at device 9.0 on pci0 vr0: Quirks: 0x2 vr0: Revision: 0x96 miibus0: on vr0 ukphy0: PHY 1 on miibus0 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, = auto-flow vr0: Ethernet address: 00:0d:b9:12:99:ec vr1: port 0x1400-0x14ff mem = 0xe0040000-0xe00400ff irq 11 at device 10.0 on pci0 vr1: Quirks: 0x2 vr1: Revision: 0x96 miibus1: on vr1 ukphy1: PHY 1 on miibus1 ukphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, = auto-flow vr1: Ethernet address: 00:0d:b9:12:99:ed vr2: port 0x1800-0x18ff mem = 0xe0080000-0xe00800ff irq 15 at device 11.0 on pci0 vr2: Quirks: 0x2 vr2: Revision: 0x96 miibus2: on vr2 ukphy2: PHY 1 on miibus2 ukphy2: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, = auto-flow vr2: Ethernet address: 00:0d:b9:12:99:ee isab0: port = 0x6000-0x6007,0x6100-0x61ff,0x6200-0x623f,0x9d00-0x9d7f,0x9c00-0x9c3f at = device 15.0 on pci0 isa0: on isab0 atapci0: port = 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 15.2 on pci0 ata0: at channel 0 on atapci0 ata1: at channel 1 on atapci0 ohci0: mem 0xefffe000-0xefffefff irq 12 = at device 15.4 on pci0 usbus0 on ohci0 ehci0: mem 0xefffd000-0xefffdfff = irq 12 at device 15.5 on pci0 usbus1: EHCI version 1.0 usbus1 on ehci0 cpu0 on motherboard orm0: at iomem 0xe0000-0xea7ff pnpid ORM0000 on isa0 uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on = isa0 uart0: console (9600,n,8,1) uart1: <16550 or compatible> at port 0x2f8-0x2ff irq 3 on isa0 atrtc0: at port 0x70 irq 8 on isa0 Event timer "RTC" frequency 32768 Hz quality 0 attimer0: at port 0x40 on isa0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 ctl: CAM Target Layer loaded Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert enabled, nat loadable, default to = accept, logging disabled DUMMYNET 0 with IPv6 initialized (100409) load_dn_sched dn_sched WF2Q+ loaded load_dn_sched dn_sched FIFO loaded load_dn_sched dn_sched PRIO loaded load_dn_sched dn_sched QFQ loaded load_dn_sched dn_sched RR loaded usbus0: 12Mbps Full Speed USB v1.0 usbus1: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ada0 at ata0 bus 0 scbus0 target 0 lun 0 ada0: CFA-4 device ada0: 16.700MB/s transfers (PIO4, PIO 512bytes) ada0: 245MB (501760 512 byte sectors: 16H 32S/T 980C) ada0: Previously was known as ad0 Timecounter "TSC" frequency 431653248 Hz quality 800 Root mount waiting for: usbus1 usbus0 uhub0: 4 ports with 4 removable, self powered Root mount waiting for: usbus1 uhub1: 4 ports with 4 removable, self powered Trying to mount root from ufs:/dev/ada0s2a [ro]... panic: kmem_malloc(8192): kmem_map too small: 39460864 total allocated cpuid =3D 0 KDB: stack backtrace: #0 0xc089b0ff at kdb_backtrace+0x4f #1 0xc08678af at panic+0x16f #2 0xc0b0848a at kmem_malloc+0x28a #3 0xc0afbc87 at page_alloc+0x27 #4 0xc0afe320 at uma_large_malloc+0x50 #5 0xc085142c at malloc+0x8c #6 0xc07cedc0 at g_read_data+0x50 #7 0xc07d45f8 at g_label_ufs_taste_common+0x98 #8 0xc07d485b at g_label_ufs_id_taste+0x1b #9 0xc07d35ec at g_label_taste+0x3ec #10 0xc07d075f at g_new_provider_event+0x5f #11 0xc07ce205 at g_run_events+0x265 #12 0xc07cf6e9 at g_event_procbody+0x69 #13 0xc08366f6 at fork_exit+0x96 #14 0xc0b59e64 at fork_trampoline+0x8 Uptime: 13s Automatic reboot in 15 seconds - press a key on the console to abort