Best of Technical Support

Our experts answer your technical questions.
Recognizing New Memory

I have upgraded my PC's memory from 16MB to 72MB. Although the BIOS and Win95 recognize the extra memory, Linux appears not to see it. Using utilities such as free and top show a total of only 16MB of available memory. My PC still performs as it did when I had only 16MB installed.

Is there something I must do for Linux to recognize the new memory?

—George Tankoski, Slackware 1.3.2

LILO's configuration file may be explicitly setting the available memory to 16MB. To see if this is true, check the file /etc/lilo.conf for a line that looks like this:


As root, change this line to read:


Then, run /sbin/lilo (also as root) to make LILO reread the edited configuration file and reboot.

If you don't see the “16m” line in /etc/lilo.conf, back up your system, then try rebooting and typing the “72m” line directly at the LILO prompt. If your system boots and appears to be stable, you can then permanently enshrine the “72m” line in /etc/lilo.conf.

—Scott Maxwell,

Modem Connection to NT

I have a modem connection at work on a MS Windows NT/4 server. When I try to connect with PPP, I never get the login prompt. Once the dial up is done (using seyon), the connection hangs up. I guess NT is using RAS rather than the regular PPP. Do you know any way to set up the connection with NT?

Thanks for your help.

—Jacques Milman, Red Hat 4.1

The NT server uses ms-auth-chap authentication. Check out your pppd configuration to be sure it is compiled with ms-auth-chap crypted authentication.

Here is an example of what can happen if your pppd does not include ms-auth-chap support—server asks for ms-auth-chap:

pppd[164]: rcvd [LCP ConfReq id=0x0 <asyncmap 0x0>
<auth chap 80> <magic 0x307f> <pcomp> <accomp>]

pppd rejects the request:

pppd[164]: sent [LCP ConfRej id=0x0 <auth chap 80>]

so NT closes the line.

—Pierre Ficheux,

Boot Problems

Let me start from the beginning. One day I booted my computer and received a message saying “remove and insert new disk” or something similar. I played around with the CMOS setting and checked the hardware to make sure no wires had fallen out. I ended up formatting my c: disk, and up until this time, I could still use Linux. I received the same message, but I could load DOS from a boot disk.

The next time I tried to load Linux at the LILO prompt, it said “loading........” and hung. I then tried to use a Linux boot disk and got the message “cannot initiate console”.

I am finding this to be a big problem, as I cannot access the files on either my Windows 95 partition or my Linux partition. If you can give me any help with fixing my Linux problem, I will be very grateful.

—Jamie Gamble, Slackware 3.2

The process of booting Linux on the PC platform is a bit intricate, mainly because of the peculiarities of the platform.

LILO loads the kernel using a list of disk blocks it built beforehand (when you ran /sbin/lilo, the map installer). After loading the blocks, it jumps to the kernel image; but if you moved the kernel after running /sbin/lilo, the loader will jump to nonsense program code, thus hanging the system.

Boot floppies, on the other hand, come in different flavours. The message “cannot open an initial console” means the kernel was loaded just right; it mounted a root file system, but couldn't open /dev/tty1 or /dev/ttyS0. I've seen this happen when mounting the /home partition as the root file system (there was no /dev directory).

Restoring a Linux installation is not trivial, especially if you have no other Linux box around. Short of finding a local Linuxer, try the /usr/doc/lilo*/README or my article “Booting the Kernel” in the June 1997 LJ.

—Alessandro Rubini,

Memory Exhausted

When I'm recompiling my kernel, I get a virtual memory exhausted error. It seems to happen when the compile is around the floppy.o section. When I use a different boot kernel (bare), it gives me a fatal signal 13.

—Wes Horn, Slackware 3.2

There are two common causes of this kind of problem.

  1. Hardware; perhaps a bad cache or RAM

  2. Out of swap space

You did not specify how much RAM nor how much swap space you have. Compiling the kernel is a CPU/memory intensive task, so if you do not have enough physical memory, your system will start using the swap space. If this swap is used up, strange things, such as the one you mentioned, can happen.

—Mario Bello Bittencourt,


One Click, Universal Protection: Implementing Centralized Security Policies on Linux Systems

As Linux continues to play an ever increasing role in corporate data centers and institutions, ensuring the integrity and protection of these systems must be a priority. With 60% of the world's websites and an increasing share of organization's mission-critical workloads running on Linux, failing to stop malware and other advanced threats on Linux can increasingly impact an organization's reputation and bottom line.

Learn More

Sponsored by Bit9

Linux Backup and Recovery Webinar

Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.

In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.

Learn More

Sponsored by Storix