# cat /etc/redhat-release Red Hat Linux release 8.0 (Psyche) # uname -a Linux logey 2.4.20-18.8 #1 Thu May 29 07:20:39 EDT 2003 i686 athlon i386 GNU/Linux
I installed kernel-2.4.20-18.8.athlon.rpm using 'rpm -Uhv ...', but
noticed that sound stopped working, probably in relation to bug 92043 (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=92043).
Unfortunately, the kernel-2.4.18-14.athlon.rpm that /was/ installed
(bundled with Red Hat 8.0) was removed after executing 'rpm -Uhv
kernel-2.4.20-18.8.athlon.rpm'. I tried 'rpm --force -ihv
kernel-2.4.18-14.athlon.rpm'. However, I get the following errors and
the 2.4.18-14 kernel causes a kernel panic. Any ideas what I might be
doing wrong?
# rpm --force -ihv kernel-2.4.18-14.athlon.rpm Preparing... ########################################### [100%] 1:kernel ########################################### [100%] /sbin/mkinitrd: line 133: [: too many arguments /sbin/mkinitrd: line 133: [: too many arguments /sbin/mkinitrd: line 133: [: too many arguments /sbin/mkinitrd: line 133: [: too many arguments /sbin/mkinitrd: line 133: [: too many arguments /sbin/mkinitrd: line 133: [: too many arguments /sbin/mkinitrd: line 133: [: too many arguments /sbin/mkinitrd: line 133: [: too many arguments /sbin/mkinitrd: line 133: [: too many arguments tar: This does not look like a tar archive tar: Skipping to next header tar: Archive contains obsolescent base-64 headers tar: Error exit delayed from previous errors
I do see what looks like the necessary files even after the mkinitrd/tar errors...
# ls /boot/*-14* /boot/config-2.4.18-14 /boot/System.map-2.4.18-14 /boot/initrd-2.4.18-14.img /boot/vmlinux-2.4.18-14 /boot/module-info-2.4.18-14 /boot/vmlinuz-2.4.18-14
And the relevant lines to boot 2.4.18-14 exist in /etc/grub.conf.
I also tried installing the kernel-source rpm for 2.4.20-18.8, patching with the patch from bug 92043, and recompiling. Everything works fine execpt the very last step (mkinitrd). I get similar 'too many arguments' and tar error messages like above, and the custom kernel causes a kernel panic.
Side question: when compiling a custom kernel using the source in a
kernel-source rpm (I followed
http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custom-guide/ch-custom-kernel.html),
will the kernel that is build contain Red Hat's patches?
-- Adam Monsen
-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list