lkml.org 
[lkml]   [2004]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.6.9-mm1
Chuck Harding wrote:

>On Fri, 22 Oct 2004, Andrew Morton wrote:
>
>
>>ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9/2.6.9-mm1/
>>
>>- Lots of new patches.
>>
>>
>
>which causes the following during build:
>
> OBJCOPY arch/i386/boot/compressed/vmlinux.bin
>BFD: Warning: Writing section `.bss' to huge (ie negative) file offset
>0xc0435000.
>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
>
This appears a result of changes in:

arch/i386/kernel/vmlinux.lds.S

which causes the kernel start address to
change from 0xc0100000 to 0x100000 causing
objcopy to gag. I rolled back to a 2.6.8.1
version of the above linker map file and did
get the kernel to build and [mostly] boot.
However it incorporated Ingo's RT patches and
wasn't exactly a vanilla 2.6.9-mm1.

While I don't recommend the above as a fix,
a repeat of the experiment will require adding
the following to the linker text section:

--- /user1/linux/linux-2.6.8.1/arch/i386/kernel/vmlinux.lds.S
2004-08-14 06:54:51.000000000 -0400
+++
/user1/linux/ingo-preempt/linux-2.6.9-Ux/linux-2.6.9/arch/i386/kernel/vmlinux.lds.S
2004-10-24 13:11:52.000000000 -0400
@@ -17,6 +17,7 @@
.text : {
*(.text)
SCHED_TEXT
+ LOCK_TEXT
*(.fixup)
*(.gnu.warning)
} = 0x9090

--
john.cooper@timesys.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.383 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site