Kernel upgrade from RH 7.2(2.4.7-10) to 2.4.18

Kernel upgrade from RH 7.2(2.4.7-10) to 2.4.18

Post by Mikhail Kuzmins » Tue, 30 Apr 2002 23:43:22



1)I've RH 7.2 RPM's (kernel-source-2.4.7-10 and kernel-headers-2.4.7-
10) installed, and now I want to do upgrade to 2.4.18.

Tar-file of 2.4.18 contains only linux/* files and directories,
which will place under usual /usr/src/. They'll replace
/usr/src/linux/ files from kernel-source-2.4.7-10.

But RPM kernel-headers-2.4.7-10 includes
/boot/kernel.h-2.4.7,
/usr/include/asm and /usr/include/linux directories
- and where should I take the replacements for files of this RPM ?

2) I want to create the kernel version with features close
to standard RH kernel (2.4.7-10smp). But where I may find the list
of possible new (added) CONFIG_* -parameters for 2.4.18 in comparison
w/2.4.7-10 ?

Should I run make oldconfig and compare w/2.4.7-10smp.config
string-by-string ?

Thanks for a future help !

Mikhail Kuzminsky
Zelinsky Institute of Organic Chemistry
Moscow

3) BTW, in kernel-HOWTO I found that tools like gpm and hdparm
requires kernel patches. Is it just right for 2.4.18 kernel also ?

Yours
Mikhail Kuzminsky

 
 
 

Kernel upgrade from RH 7.2(2.4.7-10) to 2.4.18

Post by Ravindra Jaj » Wed, 01 May 2002 23:04:27



> 1)I've RH 7.2 RPM's (kernel-source-2.4.7-10 and kernel-headers-2.4.7-
> 10) installed, and now I want to do upgrade to 2.4.18.
> Tar-file of 2.4.18 contains only linux/* files and directories,
> which will place under usual /usr/src/. They'll replace
> /usr/src/linux/ files from kernel-source-2.4.7-10.
> But RPM kernel-headers-2.4.7-10 includes
> /boot/kernel.h-2.4.7,
> /usr/include/asm and /usr/include/linux directories
> - and where should I take the replacements for files of this RPM ?

Actually, you need not worry so much. Things take care of themselves.

untar/(g|b)unzip in, say, /usr/src/kernel, run 'make config; make dep;
make bzImage; make modules; make modules_install', copy the bzImage
file to /boot, edit the grub.conf files, and start using.

In the /lib/modules/<kernel-version> directory, there's a symlink
which will point to ( in this case ) /usr/src/kernel/linux.
Applications which need to use headers etc. will use this.

Quote:> 2) I want to create the kernel version with features close
> to standard RH kernel (2.4.7-10smp). But where I may find the list
> of possible new (added) CONFIG_* -parameters for 2.4.18 in comparison
> w/2.4.7-10 ?
> Should I run make oldconfig and compare w/2.4.7-10smp.config
> string-by-string ?

Well, RH makes quite a few changes to the standard kernel.
So, I suggest you get the kernel-src rpm from ftp.redhat.com
and then install and run 'make oldconfig'. That might help.

They have precompiled binaries for SMP et al too.

Quote:> 3) BTW, in kernel-HOWTO I found that tools like gpm and hdparm
> requires kernel patches. Is it just right for 2.4.18 kernel also ?

Must be an old HOWTO. You need not apply patches.

--
jaju

 
 
 

1. kernel 2.4.18 and RH 7.2

Not sure if this has been reported as I am not on the mailing list.  I'm
guessing probably yes.

I have a RH 7.2 box and am getting the following error from iptables and
kernel 2.4.18. I don't get it in 2.4.17.

output from /etc/init.d/iptables start

Flushing all current rules and user defined chains:        [  OK  ]
Clearing all current rules and user defined chains:        [  OK  ]
iptables: libiptc/libip4tc.c:384: do_check: Assertion
`h->info.valid_hooks == (1 << 0 | 1 << 3)' failed.
/etc/init.d/iptables: line -242:  1222 Aborted                 iptables
-t $i -Fiptables: libiptc/libip4tc.c:384: do_check: Assertion
`h->info.valid_hooks == (1 << 0 | 1 << 3)' failed.
/etc/init.d/iptables: line -239:  1225 Aborted                 iptables
-t $i -Xiptables: libiptc/libip4tc.c:384: do_check: Assertion
`h->info.valid_hooks == (1 << 0 | 1 << 3)' failed.
/etc/init.d/iptables: line -235:  1228 Aborted                 iptables
-t $i -ZApplying iptables firewall rules:
iptables-restore: libiptc/libip4tc.c:384: do_check: Assertion
`h->info.valid_hooks == (1 << 0 | 1 << 3)' failed.
/etc/init.d/iptables: line -232:  1230 Done                    grep -v
"^[[:space:]]*#" $IPTABLES_CONFIG
      1231                       | grep -v '^[[:space:]]*$'
      1232 Aborted                 | /sbin/iptables-restore -c

from var/log/messages:

Feb 27 09:53:01 Lserver iptables: Flushing all current rules and user
defined chains: succeeded
Feb 27 09:53:01 Lserver iptables: Clearing all current rules and user
defined chains: succeeded
Feb 27 09:53:01 Lserver iptables: Flushing all current rules and user
defined chains: succeeded
Feb 27 09:53:01 Lserver iptables: Clearing all current rules and user
defined chains: succeeded
Feb 27 09:53:01 Lserver iptables: Applying iptables firewall rules
failed

Joe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. PLIP PLIP PLIP

3. Problems with firewire hd (tecra 9000, rh 7.2, 2.4.18 kernel)

4. getting linux to see my 2nd pci ethernet card

5. Updating from 2.4.7-10 to 2.4.18

6. FreeBSD 4.7 and SB128 PCI

7. source for 2.4.18-10 (redhat)

8. linux crashes on nfs and sound!!!

9. Problem accessing my ISP with RH 7.2 (kernel 2.4.7-10, LTModem driver 8.26a9)

10. Kernel Issue - Anything after RH 7.2 (2.4.7-10) - Help!!!

11. Linux Kernel Crash - Vanilla 2.4.18/Redhat 2.4.18-5

12. Linux Kernel Crash - Vanilla 2.4.18/Redhat 2.4.18-5 (2nd try =) )

13. Does someone successful to patch kernel 2.4.18 to Redhat 7.2?