2007-05-13 11:39:17

by umesh

[permalink] [raw]
Subject: 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



2007-05-13 12:31:31

by Alessandro Suardi

[permalink] [raw]
Subject: Re: upgrade linux kernel

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

2007-05-14 01:02:54

by Bill Davidsen

[permalink] [raw]
Subject: Re: upgrade linux kernel

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

--
Bill Davidsen <[email protected]>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot