bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/16788] Gold produces unbootable Linux kernel


From: markus at trippelsdorf dot de
Subject: [Bug gold/16788] Gold produces unbootable Linux kernel
Date: Wed, 02 Apr 2014 07:06:03 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=16788

--- Comment #15 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
(In reply to Andy Lutomirski from comment #14)
> Markus, can you see if arch/x86/boot/compressed/piggy.S is the same on a
> good and a bad kernel?  It may also be worth comparing
> arch/x86/boot/compressed/vmlinux between kernels.  (This is, confusingly,
> not the same thing as vmlinux in the root directory.)

--- /tmp/piggy.S        2014-04-02 08:27:25.106173778 +0200
+++ arch/x86/boot/compressed/piggy.S    2014-04-02 08:31:45.250284547 +0200
@@ -1,12 +1,12 @@
 .section ".rodata..compressed","a",@progbits
 .globl z_input_len
-z_input_len = 4363702
+z_input_len = 4368388
 .globl z_output_len
 z_output_len = 13789144
 .globl z_extract_offset
-z_extract_offset = 0x90e000
+z_extract_offset = 0x90d000
 .globl z_extract_offset_negative
-z_extract_offset_negative = -0x90e000
+z_extract_offset_negative = -0x90d000
 .globl input_data, input_data_end
 input_data:
 .incbin "arch/x86/boot/compressed/vmlinux.bin.lz4"

arch/x86/boot/compressed/vmlinux is also different. I will attach disassembly
of both.

> It's also probably worth trying to reproduce this with
> CONFIG_X86_VERBOSE_BOOTUP=y.

Attaching gdb to qemu shows that the kernel is spinning in
arch/x86/kernel/head_64.S:
(gdb) bt
#0  0x0000000000000000 in irq_stack_union ()
#1  0xf000ff53f000ff53 in ?? ()

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]