From: sean darcy <seandarcy@hotmail.com>
To: Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de>,
linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: piggy broken in 2.5.24 build
Date: Sun, 23 Jun 2002 12:03:02 -0400 [thread overview]
Message-ID: <3D15F136.90800@hotmail.com> (raw)
In-Reply-To: linux.kernel.Pine.LNX.4.44.0206222143550.7338-100000@chaos.physics.uiowa.edu
Kai Germaschewski wrote:
> On Sat, 22 Jun 2002, sean darcy wrote:
>
> Well, could you try to
>
> cd /opt/kernel/linux-2.5.24/arch/i386/boot/compressed
> objcopy -O binary -R .note -R .comment -S /opt/kernel/linux-2.5.24/vmlinux
> _tmp_piggy
>
> and see if that generates _tmp_piggy in that directory?
>
> --Kai
Nope .It generates a segmentation fault!. I'm running 2.4.18, binutils
2.12.90. I'm going to try a different binutils.
Here's strace:
[root@daddy compressed]# strace objcopy -O binary -R .note -R .comment
-S /opt/kernel/linux-2.5.24/vmlinux _tmp_piggy
execve("/usr/bin/objcopy", ["objcopy", "-O", "binary", "-R", ".note",
"-R", ".comment", "-S", "/opt/kernel/linux-2.5.24/vmlinux",
"_tmp_piggy"], [/* 28 vars */]) = 0
uname({sys="Linux", node="daddy", ...}) = 0
brk(0) = 0x807c66c
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/libNoVersion.so.1", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0755, st_size=6135, ...}) = 0
close(3) = 0
open("/lib/libNoVersion.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\10\0\000"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=6135, ...}) = 0
old_mmap(NULL, 7248, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40014000
mprotect(0x40015000, 3152, PROT_NONE) = 0
old_mmap(0x40015000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0) = 0x40015000
close(3) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=76711, ...}) = 0
old_mmap(NULL, 76711, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3) = 0
open("/lib/i686/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`u\1B4\0"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1401027, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40029000
old_mmap(0x42000000, 1264928, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x42000000
mprotect(0x4212c000, 36128, PROT_NONE) = 0
old_mmap(0x4212c000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x12c000) = 0x4212c000
old_mmap(0x42131000, 15648, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x42131000
close(3) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
next parent reply other threads:[~2002-06-23 15:57 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <linux.kernel.Pine.LNX.4.44.0206222143550.7338-100000@chaos.physics.uiowa.edu>
2002-06-23 16:03 ` sean darcy [this message]
2002-06-23 16:32 ` piggy broken in 2.5.24 build - not piggy; it was BINUTILS sean darcy
[not found] <linux.kernel.20020623095429.A5667@mars.ravnborg.org>
2002-06-23 15:27 ` piggy broken in 2.5.24 build sean darcy
[not found] <linux.kernel.Pine.LNX.4.44.0206221501430.7338-100000@chaos.physics.uiowa.edu>
2002-06-23 1:32 ` sean darcy
2002-06-23 1:35 ` Larry McVoy
2002-06-23 2:46 ` Kai Germaschewski
[not found] <linux.kernel.20020622213422.A13652@mars.ravnborg.org>
2002-06-23 1:22 ` sean darcy
2002-06-23 7:54 ` Sam Ravnborg
2002-06-22 17:41 sean darcy
2002-06-22 19:34 ` Sam Ravnborg
2002-06-22 20:07 ` Kai Germaschewski
2002-06-22 20:52 ` Diego Calleja
2002-06-22 21:08 ` Kai Germaschewski
2002-06-22 21:35 ` Diego Calleja
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D15F136.90800@hotmail.com \
--to=seandarcy@hotmail.com \
--cc=kai@tp1.ruhr-uni-bochum.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox