mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthew Harrell <lists-sender-14a37a@bittwiddlers.com>
To: viro@parcelfarce.linux.theplanet.co.uk
Cc: Kernel List <linux-kernel@vger.kernel.org>
Subject: Re: ppp problems in 2.5.69-bk14 - devfs related?
Date: Thu, 29 May 2003 12:38:31 -0400	[thread overview]
Message-ID: <20030529163831.GA13769@bittwiddlers.com> (raw)
In-Reply-To: <20030528214047.GE14138@parcelfarce.linux.theplanet.co.uk>


Well, this does stop the oops but it also prevents ppp from working.  I now get
this when I execute pppd

  pppd: This system lacks kernel support for PPP.  This could be because
  the PPP kernel module could not be loaded, or because PPP was not
  included in the kernel configuration.  If PPP was included as a
  module, try `/sbin/modprobe -v ppp'.  If that fails, check that
  ppp.o exists in /lib/modules/`uname -r`/net.
  See README.linux file in the ppp distribution for more details.

and the kernel logs show this

  CSLIP: code copyright 1989 Regents of the University of California
  PPP generic driver version 2.4.2
  devfs_mk_cdev: could not append to parent for ppp


: Fsck knows why devfs_mk_cdev() fails, but what follows that is obvious -
: int __init ppp_init(void)
: {
:         int err;
: 
:         printk(KERN_INFO "PPP generic driver version " PPP_VERSION "\n");
:         err = register_chrdev(PPP_MAJOR, "ppp", &ppp_device_fops);
:         if (!err) {
:                 err = devfs_mk_cdev(MKDEV(PPP_MAJOR, 0),
:                                 S_IFCHR|S_IRUSR|S_IWUSR, "ppp");
:         }
: 
:         if (err)
:                 printk(KERN_ERR "failed to register PPP device (%d)\n", err);
:         return err;
: }
: clearly leaves device registered after failed insmod.  open() afterwards
: happily finds the device and dies on attempt to do anything with it
: (the module is not there, pointers go to hell knows where).

-- 
  Matthew Harrell                          Life is like a diaper -
  Bit Twiddlers, Inc.                       short and loaded.
  mharrell@bittwiddlers.com     

  reply	other threads:[~2003-05-29 16:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-21  0:52 ppp problems in 2.5.69-bk14 Brett
2003-05-28 12:55 ` Matthew Harrell
2003-05-28 21:27   ` ppp problems in 2.5.69-bk14 - devfs related? Matthew Harrell
2003-05-28 21:40     ` viro
2003-05-29 16:38       ` Matthew Harrell [this message]
2003-06-04 22:26   ` ppp problems in 2.5.69-bk14 Matthew Harrell

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=20030529163831.GA13769@bittwiddlers.com \
    --to=lists-sender-14a37a@bittwiddlers.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mharrell-dated-1054658315.8d343f@bittwiddlers.com \
    --cc=viro@parcelfarce.linux.theplanet.co.uk \
    /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®