mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: Athanasius <Athanasius@miggy.org.uk>
Cc: Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: Re: kernel: request_module[net-pf-10]: fork failed, errno 11
Date: Wed, 12 Jun 2002 09:34:34 +1000	[thread overview]
Message-ID: <15923.1023838474@ocs3.intra.ocs.com.au> (raw)
In-Reply-To: Your message of "Tue, 11 Jun 2002 14:42:25 +0100." <20020611134225.GD13726@miggy.org.uk>

On Tue, 11 Jun 2002 14:42:25 +0100, 
Athanasius <Athanasius@miggy.org.uk> wrote:
>  Ok, a little more investigation:
>
>root@bowl:/sbin# cat modprobe-logging 
>#!/bin/sh
>
>echo "`date` `ps axh | wc -l`: $@" >> /var/log/modprobe.log
>exec /sbin/modprobe $@
>root@bowl:/sbin# cat /proc/sys/kernel/modprobe 
>/sbin/modprobe-logging

You do not need a special modprobe.log script.  Just mkdir
/var/log/ksymoops and you will get module logging automatically.  man
insmod, look for ksymoops.

>In /var/log/kern.log:
>Jun 11 14:36:58 bowl kernel: request_module[net-pf-10]: fork failed, errno 11
>
>And in /var/log/modprobe.log:
>
>Tue Jun 11 14:36:41 BST 2002     229: -s -k -- net-pf-10
>Tue Jun 11 14:36:58 BST 2002     228: -s -k -- net-pf-10
>Tue Jun 11 14:36:58 BST 2002     227: -s -k -- net-pf-10
>Tue Jun 11 14:37:02 BST 2002     227: -s -k -- net-pf-10

>/proc/sys/kernel/threads-max is 4095.
>  Note that ulimit -u is 256, but that's per login instance normally and
>I'd not have thought a kernel thread goes through PAM anyway...

This is weird.  'fork failed' is issued when kernel_thread() fails.
This means that the fork() syscall for kernel threads is failing,
before the application has even been started.  The fact that you see
other modprobes working only shows that multiple requests for net-pf-10
were issued and some of them got as far as running modprobe but others
failed.


      reply	other threads:[~2002-06-11 23:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-08  9:43 Athanasius
2002-06-08 10:22 ` Keith Owens
2002-06-09 17:54   ` Athanasius
2002-06-11 13:42     ` Athanasius
2002-06-11 23:34       ` Keith Owens [this message]

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=15923.1023838474@ocs3.intra.ocs.com.au \
    --to=kaos@ocs.com.au \
    --cc=Athanasius@miggy.org.uk \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®