downgrading from kernel 2.2.19 to 2.2.18

downgrading from kernel 2.2.19 to 2.2.18

Post by David Lagerstr » Sat, 14 Jul 2001 08:24:24



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

 
 
 

downgrading from kernel 2.2.19 to 2.2.18

Post by Frank Rile » Sat, 14 Jul 2001 16:49:33



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

Quote:> )

> 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 don't think you have to do make modules_install since you're not building
on the target machine.

Quote:> 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

You're using the 2.2.19 modules with the 2.2.18 kernel? Try using the
modules from the 2.2.18 kernel with the 2.2.18 kernel. Leave the 2.2.19
modules to run with the 2.2.19 kernel.

 
 
 

1. USB sound with kernels 2.2.18 / 2.2.19

Hi, I had the bad surprise to spend much time with 2.2.19, trying to
figure out why it would not send any sound to my usb port, when I
reverted to 2.2.18, and then it worked. Both of them are mandrake, and I
can load the modules (audio, usb-ohci) from both of them.

Any clues ?

2. wu-ftpd Connection Refused

3. 2.2.18 -> 2.2.19 => no traffic on eth0

4. LTO questions

5. 2.2.18 -> 2.2.19 panic

6. Jumpstart keywords & variables

7. panic: nonexistent vm area (upgrading 2.2.18 to 2.2.19)

8. /bin/idar necessary

9. 2.2.19 + ide 2.2.19 03252001 patch problem

10. Kernel way of mind (kmalloc trouble) kernel 2.2.18 mandrake 7.2 x86 arch

11. kernel 2.2.18 compile fails on slackware

12. KERNEL PANIC in 2.2.17 and 2.2.18

13. Big trouble trying to compile a 2.2.18 kernel