From: jsc@response.loni.ucla.edu (J Carlyle) Subject: Some luck, some problems w/99p10 Date: Thu, 1 Jul 1993 00:41:18 GMT
general protection:0000
EIP: 0010: 0012FEDF
EFLAGS: 00010246
eax: 0008ef3c ebx: 5b1c5930
ecx: 0008ef00 cdx: 004e8e00
esi: 0008ef00 edi: 004e8e00 ebp: 0000 0000
ds: 0018 es: 0018 fs: 002b gs: 002b
pid: 01 process nr: 0
8b 83 84 00 00 ff d0 83 c4
task [0] (swapper) killed: unable to recover
kernel panic: Trying to free up swapper memory space
In swapper task -- not syncing
By the way, my file system is on a 100 meg hard-disk, 90419 blocks mounted
on /dev/hda1 in an ex2fs file system and 8316 blocks linux swap partition type
and 8316 blocks linux swap partition type on /dev/hda2. Swap space created
by mkswap /dev/hda2 8192, swapon /dev/hda2
So to SUM UP, my questions are:
1) How do I get my net-2 setup fully working (pinging locally, etc, so I
can run X-windows and recognize my own host, and other such tasks)? I have
included my config files below (i.e. /etc/hosts, etc.)
2) What caused and what can be done about the kernel panic?
Thanks in advance for any helpful hints and information. My email address
is jsc@response.loni.ucla.edu (secondary address jwc2@nome.cs.ucla.edu).
Jay Carlyle
Computer Asst
Ocd Research Prog
CONFIG files follow below:
==========rc.inet1
#! /bin/sh
#
# rc.inet1 This shell script boots up the base INET system.
#
# Version: @(#)/etc/rc.d/rc.inet1 1.01 05/27/93
#
# Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
#
HOSTNAME=`ocd`
#Attach the loopback device
/etc/ifconfig lo 127.0.0.1
/etc/route add 127.0.0.1
#IF YOU HAVE AN ETHERNET CONNECTION, use these lines below to configure the
# eth0 interface. If you're only using loopback or SLIP, don't include these
# lines.
#Edit for your setup.
IPADDR="128.97.134.234"
NETMASK="255.255.0.0"
NETWORK="128.97.0.0"
GATEWAY="128.97.134.2"
/etc/ifconfig eth0 ${IPADDR} netmask ${NETMASK}
/etc/route add ${IPADDR}
/etc/route add ${NETWORK}
/etc/route add default gw ${GATEWAY} metric 1
#End of rc.inet1
==========rc.inet2
#! /bin/sh
#
# rc.inet2 This shell script boots up the entire INET system.
# Note, that when this script is used to also fire
# up any important remote NFS disks (like the /usr
# distribution), care must be taken to actually
# have all the needed binaries online _now_ ...
#
# Version: @(#)/etc/rc.d/rc.inet2 2.18 05/27/93
#
# Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
#
# Constants.
NET="/usr/etc"
IN_SERV="lpd"
LPSPOOL="/var/spool/lpd"
# At this point, we are ready to talk to The World...
echo "Mounting remote file systems..."
/etc/mount -a -t nfs # This may be our /usr runtime!!!
# Start the SYSLOG daemon. This has to be the first server.
echo -n "INET: "
if [ -f ${NET}/syslogd ]
then
echo -n "syslogd "
${NET}/syslogd
fi
# Start the SUN RPC Portmapper.
#if [ -f ${NET}/rpc.portmap ]
#then
# echo -n "portmap "
# ${NET}/rpc.portmap
# fi
# Start the INET SuperServer
if [ -f ${NET}/inetd ]
then
echo -n "inetd "
${NET}/inetd
else
echo "no INETD found. INET cancelled!"
exit 1
fi
# Start the NAMED/BIND name server.
# if [ -f ${NET}/named ]
# then
# echo -n "named "
# ${NET}/named
# fi
# Start the ROUTEd server.
#if [ -f ${NET}/routed ]
#then
# echo -n "routed "
# ${NET}/routed -g -s
# fi
Start the RWHO server.
if [ -f ${NET}/rwhod ]
then
echo -n "rwhod "
${NET}/rwhod -t -s
fi
# Start the U-MAIL SMTP server.
#if [ -f XXX/usr/lib/umail/umail ]
#then
# echo -n "umail "
# /usr/lib/umail/umail -d7 -bd </dev/null >/dev/null 2>&1 &
# fi
# Start the various INET servers.
for server in ${IN_SERV}
do
if [ -f ${NET}/${server} ]
then
echo -n "${server} "
${NET}/${server}
fi
done
# Start the various SUN RPC servers.
# if [ -f ${NET}/rpc.portmap ]
# then
# if [ -f ${NET}/rpc.ugidd ]
# then
# echo -n "ugidd "
# ${NET}/rpc.ugidd -d
# fi
# if [ -f ${NET}/rpc.mountd ]
# then
# echo -n "mountd "
# ${NET}/rpc.mountd
# fi
# if [ -f ${NET}/rpc.nfsd ]
# then
# echo -n "nfsd "
# ${NET}/rpc.nfsd
# fi
#
# # Fire up the PC-NFS daemon(s).
# if [ -f ${NET}/rpc.pcnfsd ]
# then
# echo -n "pcnfsd "
# ${NET}/rpc.pcnfsd ${LPSPOOL}
# fi
# if [ -f ${NET}/rpc.bwnfsd ]
# then
# echo -n "bwnfsd "
# ${NET}/rpc.bwnfsd ${LPSPOOL}
# fi
#
# fi
#
# echo
# Done!
-----------------/etc/hosts
# Hosts file: names of the local hosts (see explanation below).
#
# Local Hosts Format:
# IP_NUMBER HOSTNAME ALIASES
#
# Here is the name of your host, first, followed by any aliases
128.97.134.234 ocd
#
# Your network number (usually same as above, with last number zero)
128.97.134.0 network
#
# Uncomment and define IP number of router if not on isolated network.
128.97.134.2 router
#
# Local host ip num: no need to change this.
127.0.0.1 loopback
#
#
# The names of any other local hosts go below here.
#--------------------------------------------------
#
#--------------------------------------------------
# This file is an attempt to simplify network configuration to just
# this file, plus the externally set host and domain name (see below).
# Entries up to the first dashed line are used at bootup by
# /etc/inet/rc.net, so be careful changing them. Note that the
# hostcvt.build command only works if all hosts are on your network.
#
# Instructions:
# - Set the IP number for your host, network, and router(opt).
# - Add any other local hosts you need, then exit the editor.
# - Set your host name (/etc/host and first entry this file).
# - Set your domain name using (/etc/domain and this file).
# - Rebuild the named files (by running /etc/hostscvt.build).
# - Or skip nameserver and set /etc/host.conf to "order hosts".
# - reboot
============ /etc/networks
#
# networks This file describes a number of netname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
#
# Version: @(#)/etc/networks 2.00 04/30/93
#
# Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org
#
loopback 127.0.0.0
localnet 128.97.134.0
# End of networks.
============ /etc/host.conf
order hosts,bind
multi
========= /etc/resov.conf
nameserver 128.97.134.170
domain loni.ucla.edu
======== /etc/HOSTNAME
ocd
========= /etc/rc.local
/usr/bin/setterm -blank 10
if [ -x /etc/rc.net ]; then
/bin/hostname `cat /etc/host`
/etc/rc.net
(sleep 2; # wait for daemons to get a foothold
mount -av -t nfs)&
else
/bin/hostname -S ocd
fi
if [ -x /etc/clock ]; then
/etc/clock -s
fi
if [ -x /etc/syslogd ]; then
syslogd # turn on logging of su's, logins etc.
fi
if [ -x /etc/syslogk ]; then
syslogk on > /usr/log/kernel& # log all kernel messages.
fi
============ /etc/rc
#!/bin/sh
# remove /etc/mtab* so mount creates the /etc/mtab file
/bin/rm -f /etc/mtab* /etc/nologin /etc/utmp
echo -n "" >> /etc/utmp
# You may wish to clip this one down as well
#/bin/mv -f /etc/wtmp /etc/wtmp.old
#touch /etc/wtmp
echo -n "" >> /etc/utmp
# should check fs before mounting
#e2fsck -av /dev/sda2
/bin/mount -av -t nonfs
/bin/swapon -a
/bin/rm -f /usr/spool/uucp/LCK*
/bin/sh /etc/rc.local