[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ppp0 not found when switched to 2.4 kernel



  OK, so it's a bit different than I thought: the ppp actually works (it
did not work because of the problems on the other side, I mistakenly
thought that it's my problem because of the modprobe error message), so
now the question is:

  why do I get following error message from modprobe:

Mar  8 11:13:43 azar modprobe: modprobe: Can't locate module ppp0

  ppp is not metioned in modules.conf at all, the ppp actually works so
the proper modules are loaded but modprobe still complains, even before
I run pon. any ideas? why does modprobe care?

  TIA

	erik

Erik Steffl wrote:
> 
> Sebastiaan wrote:
> >
> > On Sat, 10 Mar 2001, Erik Steffl wrote:
> >
> > > Sebastiaan wrote:
> > > ...
> > > > have you installed modutils-2.4.1 and the new ppp package from woody? You
> > > > will need those if you want to run 2.4 kernels.
> > >
> > >   yes, I've got everything from unstable (modutils 2.4.2 and pppd 2.4.0)
> >
> > Strange. I have ppp_generic, with ppp_deflate, bsd_comp and ppp_async
> > making use of that. I compiled my kernel with:
> >
> > CONFIG_PPP=m
> > CONFIG_PPP_ASYNC=m
> > CONFIG_PPP_DEFLATE=m
> > CONFIG_PPP_SYNC=m
> > CONFIG_PPP_BSDCOMP=m
> >
> > My aliasses are the same.
> 
>   I have the same options, yet it does not work.
> 
>   now I noticed that even when I use kernel 2.2.18 I get errors about
> modprobe not being able to find char-major-108 (it is aliased to
> ppp_generic which does not exist in kernel 2.2.18) but it loads ppp
> anyway! why? it is not mentioned in modules.conf at all! why does it try
> to load ppp? is it hardcoded in modprobe???
> 
>   when I use kernel 2.4 it still wants to load ppp even though it's not
> mentioned anywhere in config script (that I kow of) - why? it happily
> ignores char-major-108 being aliased to ppp_generic.
> 
>   what's going on here?
> 
>   any ideas anybody?
> 
>   Sebastian - do you have ppp.o module (with kernel 2.4) or does
> ppp_generic replace it?
> 
>         erik
> 
> > Hope it helps,
> > Sebastiaan
> >
> > >
> > > > If you take a look at /lib/modules/2.4.1 you will notice that the
> > > > arcitecture has changed. Temporarily you should be able to manually insmod
> > > > the needed ppp drivers.
> > >
> > >   I noticed that it changed but can't make any sense of it. there is no
> > > ppp module anymore. I'll try to load ppp_generic manually (as soon as I
> > > can) but it does not make sense anyway - what should I do to fix it? I
> > > have the same setup as Changes document in kernel tree suggests yet it
> > > does not work...
> > >
> > >   btw why does modprobe look for ppp0? shouldn't it look for
> > > char-major-108? which is aliased to ppp_generic.
> > >
> > >   thanks,
> > >
> > >       erik
> > >
> > > > On Sat, 10 Mar 2001, Erik Steffl wrote:
> > > >
> > > > >   I have compiled 2.4.1 kernel with ppp (async) support but here's what
> > > > > I get when running pon:
> > > > >
> > > > > Mar  8 11:13:43 azar modprobe: modprobe: Can't locate module ppp0
> > > > >
> > > > >   and pppd fails to connect. I can conect when using 2.2.18something so
> > > > > ppp scripts are fine.
> > > > >
> > > > >   here's the relevant part of /etc/modules.conf:
> > > > >
> > > > > alias char-major-108    ppp_generic
> > > > > alias /dev/ppp          ppp_generic
> > > > > alias tty-ldisc-3       ppp_async
> > > > > alias tty-ldisc-14      ppp_synctty
> > > > > alias ppp-compress-21   bsd_comp
> > > > > alias ppp-compress-24   ppp_deflate
> > > > > alias ppp-compress-26   ppp_deflate
> > > > >
> > > > >   and here's the list of ppp* modules:
> > > > >
> > > > > /lib/modules/2.4.1/kernel/drivers/net/ppp_generic.o
> > > > > /lib/modules/2.4.1/kernel/drivers/net/ppp_async.o
> > > > > /lib/modules/2.4.1/kernel/drivers/net/ppp_deflate.o
> > > > >
> > > > >   there's no ppp.o but there's also no ppp.c under kernel sources
> > > > > (unlike in 2.2.x kernels), I guess ppp_generic takes place of ppp? but
> > > > > the modules.conf quote above is same as the one supplied in kernel
> > > > > source tree under Documentation/Changes, should I add something like
> > > > > alias ppp ppp_generic? I thought the first alias (char-major-108) would
> > > > > take care of that.
> > > > >
> > > > >   any ideas?  TIA
> > > > >
> > > > >       erik
> 
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: