Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2013 00:49:35 -0800
From:      =?iso-8859-1?Q?Ask_Bj=F8rn_Hansen?= <ask@develooper.com>
To:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>, freebsd-embedded@freebsd.org
Subject:   Re: panic: kmem_malloc(8192): kmem_map too small: 39460864 total allocated 
Message-ID:  <578B00AD-8524-4EE1-83D3-CFD1B739AC96@develooper.com>
In-Reply-To: <D572F3EC-8B5B-46F0-9C22-5B0FE3F75CEF@develooper.com>
References:  <D572F3EC-8B5B-46F0-9C22-5B0FE3F75CEF@develooper.com>

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

On Jan 24, 2013, at 0:48, Ask Bj=F8rn Hansen <ask@develooper.com> 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<FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CLFLUSH,MMX>
  AMD Features=3D0xc0400000<MMX+,3DNow!+,3DNow!>
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: <software crypto> on motherboard
pcib0 pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
Geode LX: PC Engines ALIX.2 v0.99h tinyBIOS V1.4a (C)1997-2007
glxsb0: <AMD Geode LX Security Block (AES-128-CBC, RNG)> mem =
0xefff4000-0xefff7fff irq 9 at device 1.2 on pci0
vr0: <VIA VT6105M Rhine III 10/100BaseTX> port 0x1000-0x10ff mem =
0xe0000000-0xe00000ff irq 10 at device 9.0 on pci0
vr0: Quirks: 0x2
vr0: Revision: 0x96
miibus0: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> 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: <VIA VT6105M Rhine III 10/100BaseTX> port 0x1400-0x14ff mem =
0xe0040000-0xe00400ff irq 11 at device 10.0 on pci0
vr1: Quirks: 0x2
vr1: Revision: 0x96
miibus1: <MII bus> on vr1
ukphy1: <Generic IEEE 802.3u media interface> 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: <VIA VT6105M Rhine III 10/100BaseTX> port 0x1800-0x18ff mem =
0xe0080000-0xe00800ff irq 15 at device 11.0 on pci0
vr2: Quirks: 0x2
vr2: Revision: 0x96
miibus2: <MII bus> on vr2
ukphy2: <Generic IEEE 802.3u media interface> 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: <PCI-ISA bridge> port =
0x6000-0x6007,0x6100-0x61ff,0x6200-0x623f,0x9d00-0x9d7f,0x9c00-0x9c3f at =
device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <AMD CS5536 UDMA100 controller> port =
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 15.2 on pci0
ata0: <ATA channel> at channel 0 on atapci0
ata1: <ATA channel> at channel 1 on atapci0
ohci0: <OHCI (generic) USB controller> mem 0xefffe000-0xefffefff irq 12 =
at device 15.4 on pci0
usbus0 on ohci0
ehci0: <AMD CS5536 (Geode) USB 2.0 controller> mem 0xefffd000-0xefffdfff =
irq 12 at device 15.5 on pci0
usbus1: EHCI version 1.0
usbus1 on ehci0
cpu0 on motherboard
orm0: <ISA Option ROM> 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 realtime clock> at port 0x70 irq 8 on isa0
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> 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: <AMD> at usbus0
uhub0: <AMD OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <AMD> at usbus1
uhub1: <AMD EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ada0 at ata0 bus 0 scbus0 target 0 lun 0
ada0: <SanDisk SDCFJ-256 HDX 2.33> 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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?578B00AD-8524-4EE1-83D3-CFD1B739AC96>