I don't know the exact way to solve your problem, however, I might be able
to point you in the right direction.
It looks like you are trying to load pieces of the kernel as modules, which
is something you have to explicitly setup when you build a custom kernel. In
particular, running 'make modules' and make install-modules' (note: this is
off the top of my head and these are probably NOT the proper make commands)
is mandatory if after performing the basic kernel build. From my limited
experience, it looks like you are not getting the modules set up properly.
A good step might be to take a look at the READMEs that come with the
kernel, found in the /Documentation directory. There is one about PPP and
about modules.
I hope what I have told you is accurate, useful, and not a repeat of what
you already knew.
Good Luck!
--shawn
-----Original Message-----
From: William Salvino [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 01, 1999 6:32 PM
To: [EMAIL PROTECTED]
Subject: Custom Kernel Side Effect
I recently made a custom kernel so I could try out a commercial sound
driver. Prior to this I was successfully using the scripts in
/usr/doc/ppp* to connect to my ISP; These are from the stock
off the shelf out of the box Official Red Hat Installation cd-rom. I got a
bootable custom kernel from which I can connect to the internet but now I
can no longer connect to the internet if I boot from my original stock Red
Hat kernel.
I have tried loading the module with the stock Red Hat kernel but I get
the following error message:
insmod /lib/modules/2.0.36/net/ppp.o
/lib/modules/2.0.36/net/ppp.o: unresolved symbol slhc_free_R3787e5b9
/lib/modules/2.0.36/net/ppp.o: unresolved symbol slhc_remember_Rbc0f8a5e
/lib/modules/2.0.36/net/ppp.o: unresolved symbol slhc_toss_R89ec95b6
/lib/modules/2.0.36/net/ppp.o: unresolved symbol slhc_uncompress_Ra2ca7e04
/lib/modules/2.0.36/net/ppp.o: unresolved symbol slhc_compress_R5d6838a9
/lib/modules/2.0.36/net/ppp.o: unresolved symbol slhc_init_R20741a64
Boot installed Red Hat 5.2 kernel 2.0.36-0.7
Log on as root
ppp-on from the command line
ppp login fails
>From /var/log/messages:
Apr 1 17:31:29 localhost login[375]: ROOT LOGIN ON tty1
Apr 1 17:31:29 localhost PAM_pwdb[375]: (login) session closed for user
root
Apr 1 17:31:36 localhost modprobe: no dependency information for module:
"/lib
/modules/2.0.36/net/ppp.o"
Apr 1 17:31:37 localhost modprobe: no dependency information for module:
"/lib
/modules/2.0.36/net/ppp.o"
Apr 1 17:31:37 localhost pppd[394]: ioctl(TIOCSETD): Invalid argument(22)
Apr 1 17:31:37 localhost pppd[394]: This system lacks kernel support for
PPP.
This could be because the PPP kernel module is not loaded, or because the
kern
el is not configured for PPP. See the README.linux file in the ppp-2.3.5
distr
ibution.
Boot custom kernel
Log on as ws
ppp-on from the command line
ppp login succeeds
>From /var/log/messages:
Apr 1 17:38:55 localhost login[393]: LOGIN ON tty1 BY ws
Apr 1 17:38:55 localhost PAM_pwdb[393]: (login) session closed for user ws
Apr 1 17:38:59 localhost pppd[642]: pppd 2.3.5 started by ws, uid 500
Apr 1 17:39:00 localhost chat[643]: timeout set to 3 seconds
...
Apr 1 17:39:29 localhost pppd[642]: Serial connection established.
...
Apr 1 17:39:30 localhost pppd[642]: Connect: ppp0 <--> /dev/ttyS1
...
Apr 1 17:39:32 localhost kernel: ppp: channel ppp0 going up for IP packets!
Apr 1 17:39:32 localhost pppd[642]: local IP address xxx.xxx.xx.xxx
Apr 1 17:39:32 localhost pppd[642]: remote IP address xxx.xxx.xx.xxx
I want to connect using either kernel. What do I have to do?
Can someone explain what happened when I made a custom kernel: make
config, make dep, make clean, make boot, make modules, and make
modules_install, and ppp functionality was broken for the original
installation kernel.
Thanks in advance.
Sincerely,
Bill Salvino
e-mail:[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]