upgrade linux kernel
I am upgrading kernel from 2.4.20-8(default in RH9) to 2.6.xx. when I do "make" command it gives some output and finally get error saying that,
"BFD: Warning: Writing section '.bss' to huge ( ie negative) file offset 0xc0244000. "
"Objcopy: arch/i386/boot/compressed/vmlinux.bin: file truncated"
"make[2]:***[ arch/i386/boot/compressed/vmlinux.bin] Error 1"
"make[1]: ***[ arch/i386/boot/compressed/vmlinux] Error 2"
"make: *** [bzImage] Error 2"
Thanks
Quoted 6 lines · On 5/13/07, [email protected] <[email protected]> wrote:
I am upgrading kernel from 2.4.20-8(default in RH9) to 2.6.xx. when I do "make" command it gives some output and finally get error saying that,
"BFD: Warning: Writing section '.bss' to huge ( ie negative) file offset
0xc0244000. "
Quoted 7 lines
"Objcopy:
arch/i386/boot/compressed/vmlinux.bin: file truncated""make[2]:***[
arch/i386/boot/compressed/vmlinux.bin] Error 1""make[1]: ***[
arch/i386/boot/compressed/vmlinux] Error 2""make: *** [bzImage] Error 2"
A quick round of googling brings up this
http://www.uwsg.iu.edu/hypermail/linux/kernel/0410.3/0205.html
where the issue was that binutils were too old to compile the newer kernels. More generically, RH9 is now really ancient, and you'd probably make your life much easier by upgrading to more recent distributions.
If you intend to stay on RH9, please have a look at the /usr/src/linux/Documentation/Changes file, it will give you a first idea of how much stuff you need to upgrade on RH9.
--alessandro
"Did you get married but forgot to get divorced ?"
(Danny and Dusty, 'The Good Old Days')
Quoted 6 lines · [email protected] wrote:
I am upgrading kernel from 2.4.20-8(default in RH9) to 2.6.xx. when I do "make" command it gives some output and finally get error saying that,
"BFD: Warning: Writing section '.bss' to huge ( ie negative) file offset
0xc0244000. "
Quoted 8 lines
"Objcopy:
arch/i386/boot/compressed/vmlinux.bin: file truncated""make[2]:***[
arch/i386/boot/compressed/vmlinux.bin] Error 1""make[1]: ***[
arch/i386/boot/compressed/vmlinux] Error 2""make: *** [bzImage] Error 2"
You can upgrade a bunch of system utilities, but I'm not sure it's worth doing. The system I'm on is RH8.0 patched to run later kernels when my development machine went down. I got 2.5.52 to boot, last stable was 2.5.47-ac6 and I gave up.
Unless you have some major need to upgrade the kernel without the distribution, grab the latest RH kernel, or use the latest 2.4 kernel available.
Signature · 3 lines
Bill Davidsen <[email protected]> "We have more to fear from the bungling of the incompetent than from the machinations of the wicked." - from Slashdot