RE: kmem_alloc: out of kernel memory
Jan Stoess <[email protected]> Wed, 29 Jun 2011 07:52:30 +0000
| Newsgroups | gmane.comp.micro-kernel.l4.l4ka.general |
|---|---|
| Message-ID | <[email protected]> |
There seems to be something terribly broken :-/ Can you do me a favor and send me your kernel config (the config dir in you= r build directory)? Thanks, -Jan=20 -- Dr. Jan Stoess, KIT System Architecture Group Phone: +49 (721) 6084 4056 > -----Original Message----- > From: [email protected] [mailto:[email protected] > karlsruhe.de] On Behalf Of David Silcott > Sent: Monday, May 30, 2011 9:28 PM > To: [email protected] > Subject: kmem_alloc: out of kernel memory >=20 > Hi, >=20 > I've synced my local copy of Pistachio against the latest available and n= ow all > of my builds are reporting an out of memory error when I try to run any > application, even pingpong or memtest. Below is the output I receive when= I > attempt to run memtest >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D >=20 > KickStart 0.13.06 > Detected multiboot compliant loader > =A0kernel =A0 =A0(0x00824000-0x0090ad41) =A0 =3D> 0x001ef4d0 > =A0 (0x00824000-0x0083f388) -> 0x00100000-0x0011b388 > =A0 (0x00840000-0x00840028) -> 0x0011c000-0x0011c028 > =A0 (0x00841000-0x0084a376) -> 0x0011d000-0x00126376 > =A0 (0x0084b000-0x008ef0c0) -> 0x00127000-0x001cb0c0 > =A0 (0x008f0000-0x008f4338) -> 0x001ec000-0x001f0338 > =A0sigma0 =A0 =A0(0x0090b000-0x0092eb24) =A0 =3D> 0x00020000 > =A0 (0x0090c000-0x00915524) -> 0x00020000-0x00029524 > =A0roottask =A0(0x0092f000-0x0093d424) =A0 =3D> 0x00400000 > =A0 (0x00930000-0x00935044) -> 0x00400000-0x00405044 Launching kernel ... >=20 > L4Ka::Pistachio - built on May 28 2011 21:39:10 by david@andesite using g= cc > version 3.3.6 > --- "KD# kmem_alloc: out of kernel memory" --- > --------------------------------- (eip=3Df010909c, esp=3D00000000) --- >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D >=20 >=20 > A query of the memory statistics reveals the following: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D >=20 > /stats> kmem > Kernel memory statistics: > =A0 Chunk size =A0=3D 1024 bytes > =A0 Free chunks =3D 2 (2KB) >=20 > =A0 Consecutive =A0 Number of > =A0 chunks =A0 =A0 =A0 =A0matches > =A0 =A0 =A0 =A0 1 =A0 =A0 =A0 =A0 =A0 =A02 > =A0 =A0 =A0 =A0 2 =A0 =A0 =A0 =A0 =A0 =A01 > =A0 =A0 =A0 =A0 4 =A0 =A0 =A0 =A0 =A0 =A00 > =A0 =A0 =A0 =A0 8 =A0 =A0 =A0 =A0 =A0 =A00 > =A0 =A0 =A0 =A016 =A0 =A0 =A0 =A0 =A0 =A00 > =A0 =A0 =A0 =A032 =A0 =A0 =A0 =A0 =A0 =A00 > =A0 =A0 =A0 =A064 =A0 =A0 =A0 =A0 =A0 =A00 > =A0 =A0 =A0 128 =A0 =A0 =A0 =A0 =A0 =A00 > =A0 =A0 =A0 256 =A0 =A0 =A0 =A0 =A0 =A00 > =A0 =A0 =A0 512 =A0 =A0 =A0 =A0 =A0 =A00 > =A0 =A0 =A01024+ =A0 =A0 =A0 =A0 =A0 0 >=20 > =A0 Max consecutive chunks: 2 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D >=20 >=20 > =A0I get the same results even if I explicitly pass =A0memory values to > kickstart: =A0 =A0maxmem=3D1G =A0kmem=3D128M >=20 > I have tried several versions of GCC with 3.3.6 being the last but all ha= ve > reported some form of 'out of memory' error and the error occurs both on > qemu and on a physical machine. >=20 > The processor and memory spcecs of my test machine are: >=20 > CPU: Intel Core 2 duo > Memory: 4G >=20 > Can anyone see what I am doing wrong? I didn't have this problem before > updated pistachio >=20 > I have attached a copy of my config.out file. >=20 > Regards > David