public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Bambach <eric@cisu.net>
To: Andrew <ald2@arrakis.es>
Cc: linux-newbie@vger.kernel.org
Subject: Re: kernel update fiasco (depmod)
Date: Fri, 23 Dec 2005 09:43:15 -0600	[thread overview]
Message-ID: <200512230943.15725.eric@cisu.net> (raw)
In-Reply-To: <43ABBF61.5080708@arrakis.es>

On Friday 23 December 2005 03:12 am, Andrew wrote:
> Good morning,
>
> I have just installed Slackware-10.2 with kernel 2.4.31 on a Pentium 100
> with 32Mb ram. All packets are from the 1st iso, which I downloaded and
> burned on cd. The problems start when I try to upgrade the kernel using
> the Slackware packet kernel-generic-2.6.13 and the corresponding
> kernel-modules. The 3 symlinks in /boot all point to the right files.
> lilo.conf is set up correctly. I've run lilo -v repeatedly. But the
> system will not boot correctly as the files in /lib/modules/2.6.13
> (modules.dep, etc.) are not being created. (However, I can boot the
> system from a floppy with the 2.4.31 kernel). If I try running depmod
> after booting with the 2.6.13 I just get the message Killed, and the
> following lines appear in var/log/messages:
>
> Dec 23 10:47:45 fw kernel: Mem-info:
> Dec 23 10:47:45 fw kernel: Free swap:            0kB
> Dec 23 10:47:45 fw kernel: 8192 pages of RAM
> Dec 23 10:47:45 fw kernel: 0 pages of HIGHMEM
> Dec 23 10:47:45 fw kernel: 924 reserved pages
> Dec 23 10:47:45 fw kernel: 16 pages shared
> Dec 23 10:47:45 fw kernel: 0 pages swap cached
> Dec 23 10:47:45 fw kernel: 5 pages dirty
> Dec 23 10:47:45 fw kernel: 1 pages writeback
> Dec 23 10:47:45 fw kernel: 6298 pages mapped
> Dec 23 10:47:45 fw kernel: 618 pages slab
> Dec 23 10:47:45 fw kernel: 55 pages pagetables

Your machine is running out of memory and the command is being killed by the 
OOM killer. 32MB is quite slim nowadays and if you dont have a distribution 
BUILT for low memory conditions you could experience this. I recommend 
increasing your swap file (or creating one!).

See what the output of the command 'free' is and it will list all your memory 
usage statistics including swap file size.

Google around for how to create a swap file its quite easy. You can ignore the 
PITA of creating a swap PARTITION, just use a swap FILE. The modern kernel 
more than support swap files and you dont have to re-organize your partitions 
that way.

If you already have a swap file, just create another one and leave the first; 
it will add to the swap pool.

> (The figures vary)
>
> I have tried redownloading and reinstalling the kernel, kernel-modules
> and module-init-tools tgzs. No difference. I replaced the hd (it was
> giving intermittent error messages) and reinstalled. No difference.
>
> Now what?
>
> TIA,
>
> Andrew
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs

-- 
----------------------------------------
--EB

> All is fine except that I can reliably "oops" it simply by trying to read
> from /proc/apm (e.g. cat /proc/apm).
> oops output and ksymoops-2.3.4 output is attached.
> Is there anything else I can contribute?

The latitude and longtitude of the bios writers current position, and
a ballistic missile.

                --Alan Cox LKML-December 08,2000 

----------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  reply	other threads:[~2005-12-23 15:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-23  9:12 kernel update fiasco (depmod) Andrew
2005-12-23 15:43 ` Eric Bambach [this message]
2005-12-23 19:58   ` Andrew

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200512230943.15725.eric@cisu.net \
    --to=eric@cisu.net \
    --cc=ald2@arrakis.es \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox