ftp.nice.ch/peanuts/GeneralData/Usenet/news/1991/CSNSys-91.tar.gz#/comp-sys-next-sysadmin/1991/Nov/swapfile-error-and-getty-question-Answers

This is swapfile-error-and-getty-question-Answers in view mode; [Up]


Date: Sun 25-Nov-1991 21:36:22 From: johnr@oceania.com (John Robison) Subject: Re: swapfile error and getty question - Answers In article <HDp_xrB@engin.umich.edu> thektoad@caen.engin.umich.edu (Kevin Cheek) writes: > Hello all, I have been getting the following error on the Console: > > vnode_deallocpage: error truncating /private/vm/swapfile, error = 2 > > Anybody know what that means? Yes, look in (/usr/include/)sys/errno.h you will find this: #define ENOENT 2 /* No such file or directory */ > Do I have a problem here? YES!! A strange problem. The rc.swap script in /etc is supposed to handle this condition. You should make sure the file and directory actually exist. If you remove the "swapfile" file (in single user of-course) and re-boot, the rc.swap file should re-create the file with correct permissions for you. > It does a full fsck when it gets going again no matter > how I shut the thing down or reboot. Try using cmd-cmd-~ and halt > > The second part to this post is a question about getty. Should it > be taking up to 45% of my CPU on each of the serial lines? Only if nothing is plugged in. > Even > when there's nothing plugged in? Especially then. There is no need to run a getty process on a port without a modem. NeXT's seem to give the getty process too much CPU if nothing is connected to the serial port. (Or if the cabling is wrong.) You can edit /etc/ttys to fix it. See man pages and sysadmin manual. The kill -HUP 1 refers to the command to get your changes to /etc/ttys to take effect. John

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.