I have an old PC (486/66D/RAM24M/HD800M) wich is currently running
Slackware 7.2 (2.2.19) and works as a firewall. On one of my PCs I use
a VPN client that uses PPTP to access my companys VPN server. To get
this to work I have to apply a patch to get the FW to masquerade PPTP
( http://www.impsec.org/linux/masquerade/VPN-howto/VPN-Masquerade-3.htm...
)
As the patch available is for kernel 2.2.18, I have to "downgrade" to
an older kernel.
As I don't think there will be enough disk on my 486 to host the dev
packages, kernel source etc, I do the compiling on my Compaq Armada
portable and then transfer the nessecary components to the 486.
Now I have patched the the 2.2.18 source, make menuconfig, make dep,
make bzImage, make modules, make modules_install.
I have:
- moved the bzImage to the / on the 486 and renamed it to bzImage_01.
(lilo.conf adjusted and /sbin/lilo run)
- copied System.map from the Compaq to the /boot on the 486
- moved the ip_masq_pptp.o.gz to /lib/modules/2.2.19/ipv4/
- done depmod -a on the 486
But when I boot the 486 with this configuration, it hangs right after
"uncompressing kernel" and says something like "run out of data",
"system halted".
What have I done wrong??? Any missing files not transferred from the
Compaq? Have I put the ip_masq_pptp.o.gz in the wrong directory?
Should it perhaps be in a "/lib/modules/2.2.18" hierarchy?
When I restart the 486 with the "old" 2.2.19 kernel it works fine, but
when I do modprobe ip_masq_pptp it says:
/lib/modules/2.2.19/ipv4/ip_masq_pptp.o.gz: kernel module mismatch
/lib/modules/2.2.19/ipv4/ip_masq_pptp.o.gz: was compiled for kernel
version 2.2.18 while this kernel is 2.2.19.
/lib/modules/2.2.19/ipv4/ip_masq_pptp.o.gz: insmod
/lib/modules/2.2.19/ipv4/ip_masq_pptp.o.gz failed
/lib/modules/2.2.19/ipv4/ip_masq_pptp.o.gz: insmod ip_masq_pptp failed
Sounds reasonable, but why?
Thanks in advance,
--David
--
---------------------------------------------------------------
David Lagerstr?m | Almstigen 28 | SE-756 53 Uppsala | Sweden
Tel 070-552 99 00 | 018-32 09 09 | Fax 070-616 10 82
http://lagerstrom.com
"Enter any 11-digit prime number to continue..."
---------------------------------------------------------------