Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 1995 17:21:47 +0100 (MET)
From:      J Wunsch <j@ida.interface-business.de>
To:        freebsd-hackers@freebsd.org, davdig@freebsd.org
Subject:   running in 2 MB...
Message-ID:  <199512111621.RAA03191@ida.interface-business.de>

next in thread | raw e-mail | index | archive | help
Booting wd(0,a)/kernel @ 0x100000
text=0x7a000 data=0x9000 bss=0x97ec symbols=[+0x814+0x4+0x927c+0x4+0x939c]
total=0x19f620 entry point=0x100000
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.

FreeBSD pre-2.1-test #0: Mon Dec 11 16:56:38 MET 1995
    root@dospc3.interface-business.de:/usr/src/sys/compile/VZENTR
CPU: i386DX (386-class CPU)
real memory  = 2359296 (2304K bytes)
avail memory = 1204224 (1176K bytes)

:-)

Btw., the 2304 KB is a lie, 256 K of the ISA hole is being remapped.

[...]

The machine sort of works:

Enter pathname of shell or RETURN for sh: 
# swapon -a
swapon: adding /dev/wd0s1b as swap device
# fsck
** /dev/rwd0a
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
CLEAN FLAG NOT SET IN SUPERBLOCK
FIX? [yn] y

6301 files, 36836 used, 13363 free (23 frags, 3335 blocks, 0.0% fragmentation)

***** FILE SYSTEM WAS MODIFIED *****
# 
# ls
.cshrc          dev             kernel.GENERIC  root            usr
.profile        dist            kernel.old      sbin            var
COPYRIGHT       etc             lkm             stand
OK              home            mnt             sys
bin             kernel          proc            tmp
# mount
root_device on / (local, read-only)
# cat /etc/fstab
/dev/wd0s1b                     none            swap    sw 0 0
/dev/wd0a                       /               ufs     rw 1 1
proc                            /proc           procfs  rw 0 0
# mount -u /dev/wd0a /
# ls
.cshrc          dev             kernel.GENERIC  root            usr
.profile        dist            kernel.old      sbin            var
COPYRIGHT       etc             lkm             stand
OK              home            mnt             sys
bin             kernel          proc            tmp


...but every now and then, i get:

# pstat -T
panic: kmem_malloc: kmem_map too small


Just curious: is there any way to avoid this?  I'm somewhat surprised,
since the kmem_map should suffice for 32 MB of VM, so how comes that
it's ``too small''?

(I could recompile elsewhere, but would like to use the machine for
some light-weight work.)

-- 
J"org Wunsch					       Unix support engineer
joerg_wunsch@interface-business.de
					[private: http://www.sax.de/~joerg/]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512111621.RAA03191>