Networking Forums

Networking Forums > Computer Networking > Linux Networking > PPP on FC5: kernel modules?

Reply
Thread Tools Display Modes

PPP on FC5: kernel modules?

 
 
Laurent-jan
Guest
Posts: n/a

 
      10-28-2006, 02:14 PM
Hi,

I have some problems getting PPP working on Fedora 5. I am not able to load
the kernel module somehow.

The PPPD dies with:

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.

So, loading the kernel module would be:
modprobe ppp_generic
(FATAL: Module ppp_generic not found.)

ls -l /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp*
gives me:
-rwxr--r-- 1 root root 14416 Mar 14
2006 /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp_async.ko
-rwxr--r-- 1 root root 8032 Mar 14
2006 /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp_deflate.ko
-rwxr--r-- 1 root root 34660 Mar 14
2006 /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp_generic.ko
-rwxr--r-- 1 root root 8992 Mar 14
2006 /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp_mppe.ko
-rwxr--r-- 1 root root 17300 Mar 14
2006 /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/pppoe.ko
-rwxr--r-- 1 root root 5688 Mar 14
2006 /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/pppox.ko
-rwxr--r-- 1 root root 12928 Mar 14
2006 /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp_synctty.ko

(which should be correct)

Can anyone tell me what I am doing wrong, and what I should do instead?

Laurent-jan
 
Reply With Quote
 
 
 
 
Clifford Kite
Guest
Posts: n/a

 
      10-28-2006, 04:32 PM
Laurent-jan <(E-Mail Removed)> wrote:
> Hi,


> I have some problems getting PPP working on Fedora 5. I am not able to load
> the kernel module somehow.


> The PPPD dies with:


> 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.


> So, loading the kernel module would be:
> modprobe ppp_generic
> (FATAL: Module ppp_generic not found.)


> ls -l /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp*
> gives me:
> -rwxr--r-- 1 root root 14416 Mar 14
> 2006 /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp_async.ko
> -rwxr--r-- 1 root root 8032 Mar 14
> 2006 /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp_deflate.ko
> -rwxr--r-- 1 root root 34660 Mar 14
> 2006 /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp_generic.ko
> -rwxr--r-- 1 root root 8992 Mar 14
> 2006 /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp_mppe.ko
> -rwxr--r-- 1 root root 17300 Mar 14
> 2006 /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/pppoe.ko
> -rwxr--r-- 1 root root 5688 Mar 14
> 2006 /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/pppox.ko
> -rwxr--r-- 1 root root 12928 Mar 14
> 2006 /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp_synctty.ko


> (which should be correct)


> Can anyone tell me what I am doing wrong, and what I should do instead?


Probably not yet.

Does "uname -r" match 2.6.15-1.2054_FC5?
Does "depmod -A" help? (shouldn't be necessary but...)
Is modprobe up to date? (depmod -V; Documentation/Changes, module-init-tools)

> Laurent-jan


--
Clifford Kite
/* For every credibility gap, there is a gullibility fill.
-- R. Clopton */
 
Reply With Quote
 
Moe Trin
Guest
Posts: n/a

 
      10-28-2006, 06:20 PM
On Sat, 28 Oct 2006, in the Usenet newsgroup comp.os.linux.networking, in
article <454365d8$0$12519$847b8a10@dreader23>, Laurent-jan wrote:

>I have some problems getting PPP working on Fedora 5. I am not able to load
>the kernel module somehow.


Look at all of the missing details. Let's start with "what kernel is this?"
Is this the "stock" kernel from FC5 (2.6.15-1.2054_FC5 out of box, and should
have been updated to 2.6.17-1.2174_FC5 last August, and 2.6.17-1.2187_FC5
last month), or is this some kernel you compiled on your own? 'uname -a'
will give that information.

How are you trying to run pppd? The few times that I've seen this message
with a modern installation and a "distribution" kernel (also known as a
"kitchen sink" kernel because it has _everything_ compiled in, usually as
a module) is when something else was using the serial port. An example
would be trying to use pppd while running minicom, seyon, or something
similar.

What does 'lsmod' show? You may also want to check (using 'fuser' or
'lsof') if anything is using the serial port - look both at the /dev/ttyS?
device and any links, like /dev/modem).

>Can anyone tell me what I am doing wrong, and what I should do instead?


Not until you tell us what you are doing ;-)

Old guy
 
Reply With Quote
 
Laurent-jan
Guest
Posts: n/a

 
      10-29-2006, 09:48 PM
Clifford Kite wrote:

> Laurent-jan <(E-Mail Removed)> wrote:
>> Hi,

>
>> I have some problems getting PPP working on Fedora 5. I am not able to
>> load the kernel module somehow.

>
>> The PPPD dies with:

>
>> 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.

>
>> So, loading the kernel module would be:
>> modprobe ppp_generic
>> (FATAL: Module ppp_generic not found.)

>
>> ls -l /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp*
>> gives me:
>> -rwxr--r-- 1 root root 14416 Mar 14
>> 2006 /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp_async.ko
>> -rwxr--r-- 1 root root 8032 Mar 14
>> 2006 /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp_deflate.ko
>> -rwxr--r-- 1 root root 34660 Mar 14
>> 2006 /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp_generic.ko
>> -rwxr--r-- 1 root root 8992 Mar 14
>> 2006 /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp_mppe.ko
>> -rwxr--r-- 1 root root 17300 Mar 14
>> 2006 /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/pppoe.ko
>> -rwxr--r-- 1 root root 5688 Mar 14
>> 2006 /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/pppox.ko
>> -rwxr--r-- 1 root root 12928 Mar 14
>> 2006 /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp_synctty.ko

>
>> (which should be correct)

>
>> Can anyone tell me what I am doing wrong, and what I should do instead?

>
> Probably not yet.
>
> Does "uname -r" match 2.6.15-1.2054_FC5?
> Does "depmod -A" help? (shouldn't be necessary but...)
> Is modprobe up to date? (depmod -V; Documentation/Changes,
> module-init-tools)
>


Ah, eh yes. My information was incomplete. Sorry.
[root@ronsard ~]# uname -r
2.6.15-1.2054_FC5
[root@ronsard ~]# depmod -V
module-init-tools 3.2.2

Depmod -A does not help:
[root@ronsard ~]# depmod -A
[root@ronsard ~]# modprobe ppp_generic
FATAL: Module ppp_generic not found.

Basically, it's all directly from the CDs; I haven't run a kernel upgrade
yet nor have I compiled a new one.

Laurent-jan


 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      10-30-2006, 03:21 AM
Laurent-jan <(E-Mail Removed)> wrote:
> Clifford Kite wrote:
>> Laurent-jan <(E-Mail Removed)> wrote:
>>
>> Does "uname -r" match 2.6.15-1.2054_FC5?
>> Does "depmod -A" help? (shouldn't be necessary but...)
>> Is modprobe up to date? (depmod -V; Documentation/Changes,
>> module-init-tools)
>>


> Ah, eh yes. My information was incomplete. Sorry.
> [root@ronsard ~]# uname -r
> 2.6.15-1.2054_FC5
> [root@ronsard ~]# depmod -V
> module-init-tools 3.2.2


> Depmod -A does not help:
> [root@ronsard ~]# depmod -A
> [root@ronsard ~]# modprobe ppp_generic
> FATAL: Module ppp_generic not found.


> Basically, it's all directly from the CDs; I haven't run a kernel upgrade
> yet nor have I compiled a new one.


Well, when distros mess with the kernel things can go (more:?) wrong..

You might try adding

alias char-major-108 ppp_generic

to /etc/modprobe.conf.

In the past "char-major-108" was the name by which ppp_generic was
known to a kernel. Here PPP is compiled directly into the kernel,
but "modprobe -c" shows most, if not all, of what I believe to be
the kernel names for the modules that were compiled (modprobe.conf
is empty).

And with that I'm out of suggestions.

--
Clifford Kite
/* 97.3% of all statistics are made up. */
 
Reply With Quote
 
Laurent-jan
Guest
Posts: n/a

 
      11-01-2006, 03:27 PM
Clifford Kite wrote:

> Laurent-jan <(E-Mail Removed)> wrote:
>> Clifford Kite wrote:
>>> Laurent-jan <(E-Mail Removed)> wrote:
>>>
>>> Does "uname -r" match 2.6.15-1.2054_FC5?
>>> Does "depmod -A" help? (shouldn't be necessary but...)
>>> Is modprobe up to date? (depmod -V; Documentation/Changes,
>>> module-init-tools)
>>>

>
>> Ah, eh yes. My information was incomplete. Sorry.
>> [root@ronsard ~]# uname -r
>> 2.6.15-1.2054_FC5
>> [root@ronsard ~]# depmod -V
>> module-init-tools 3.2.2

>
>> Depmod -A does not help:
>> [root@ronsard ~]# depmod -A
>> [root@ronsard ~]# modprobe ppp_generic
>> FATAL: Module ppp_generic not found.

>
>> Basically, it's all directly from the CDs; I haven't run a kernel upgrade
>> yet nor have I compiled a new one.

>
> Well, when distros mess with the kernel things can go (more:?) wrong..
>
> You might try adding
>
> alias char-major-108 ppp_generic
>
> to /etc/modprobe.conf.
>
> In the past "char-major-108" was the name by which ppp_generic was
> known to a kernel. Here PPP is compiled directly into the kernel,
> but "modprobe -c" shows most, if not all, of what I believe to be
> the kernel names for the modules that were compiled (modprobe.conf
> is empty).
>
> And with that I'm out of suggestions.



That's a pity, because it still does not help. Seems I'm left with a
recompile of the kernel.

Thanks anyway.

ljm

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Delay in loading of kernel modules Asif Linux Networking 0 04-28-2007 01:58 PM
iptables modules on 2.6.18 ArameFarpado Linux Networking 2 10-06-2006 11:20 PM
Supply Mini-Com Coupler Modules ,Mini-com Coupler Modules,Panduit Mini-com Coupler Module,Panduit Minicom Modules,Panduit Mini-Com Module,Panduit Mini-com Fiber Optic Adapter Modules samul888@vip.163.com Broadband 0 04-23-2006 01:48 PM
About insmod NIC modules? hushui Linux Networking 1 08-30-2003 01:14 PM
mapping interfaces to their kernel modules? Shane Kennedy Linux Networking 0 08-26-2003 03:42 PM



1 2 3 4 5 6 7 8 9 10 11