This is getting pretty sick: 2.1.111-pre1 boots in 2.5M!

Chris Wedgwood (chris@cybernet.co.nz)
Fri, 24 Jul 1998 17:02:21 +1200


With 3M:

Linux version 2.1.111 (root@caffeine) (gcc version 2.7.2.3) #6 Fri Jul 24 14:56:57 NZST 1998
Console: colour VGA+ 80x25
Calibrating delay loop... 2.73 BogoMIPS
Memory: 1824k/3072k available (632k kernel code, 392k reserved, 204k data, 20k init)
Checking if this processor honours the WP bit even in supervisor mode... No.
POSIX conformance testing by UNIFIX
CPU: 386
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
Swansea University Computer Society NET3.039 for Linux 2.1
NET3: Unix domain sockets 0.16 for Linux NET3.038.
Swansea University Computer Society TCP/IP for NET3.037
IP Protocols: ICMP, UDP, TCP
Starting kswapd v 1.5
hda: Maxtor 7213 AT, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: Maxtor 7213 AT, 202MB w/64kB Cache, CHS=683/16/38
eth0: 3c509 at 0x300 tag 1, 10baseT port, address 00 20 af e5 0e da, IRQ 10.
3c509.c:1.12 6/4/97 becker@cesdis.gsfc.nasa.gov
Partition check:
hda: hda1 hda2 hda3
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 20k freed
Adding Swap: 26140k swap-space (priority -1)
eth0: Setting Rx mode to 1 addresses.

A 386sx16 with 3M of ram is noticeable slower than a PPro200 with 256MB of
ram, but will probably suffice for a router....

I'm running inetd, syslogd, klogd and sshd. Seems to boot OK, can login via
ssh (same day service) but shutdown doesn't work so great. Running 'ps aux'
show that the only process swapping in the the current process, the shell,
sshd, etc. get swapped out entirely, so its a bit slow returning to the
command line.

Am about to try with 2.5M (where 2.0.x only barely works). 2M certainly
doesn't work, but it the kernel does the swap-on itself before mounting the
root filesystem and running init, it just might.

<pause>

Nope. mem=2560K continaully swaps in the init scripts. Bit that might be
possible to work around... 2M seems unlikely though, unless the kernel can
be trimmed considerably.

-cw

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html