Gentoo Archives: gentoo-catalyst

From: Andrew Gaffney <agaffney@g.o>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] Zero-sized busybox binaries in livecd stage2
Date: Wed, 03 Oct 2007 12:14:47
Message-Id: 4703857B.4020703@gentoo.org
In Reply to: [gentoo-catalyst] Zero-sized busybox binaries in livecd stage2 by "Åsmund Grammeltvedt"
1 Åsmund Grammeltvedt wrote:
2 > Hi all.
3 >
4 > This may be more of a problem with genkernel (3.4.8), but perhaps someone here
5 > has an idea of what's wrong.
6 >
7 > On building x86 livecd stage2 on amd64, the initramfs _sometimes_ ends up
8 > containing mostly empty files:
9 >
10 > -rwxr-xr-x 8 asmundg asmundg 0 Oct 3 13:00 [
11 > -rwxr-xr-x 8 asmundg asmundg 0 Oct 3 13:00 ash
12 > -rwxr-xr-x 8 asmundg asmundg 0 Oct 3 13:00 busybox
13 > -rwxr-xr-x 8 asmundg asmundg 0 Oct 3 13:00 cut
14 > -rwxr-xr-x 8 asmundg asmundg 0 Oct 3 13:00 echo
15 > -rwxr-xr-x 1 asmundg asmundg 479420 Oct 3 13:00 insmod
16 > -rwxr-xr-x 8 asmundg asmundg 0 Oct 3 13:00 mount
17 > -rwxr-xr-x 8 asmundg asmundg 0 Oct 3 13:00 sh
18 > -rwxr-xr-x 1 asmundg asmundg 396 Oct 3 13:00 udhcpc.scripts
19 > -rwxr-xr-x 8 asmundg asmundg 0 Oct 3 13:00 uname
20 >
21 > There are no obvious errors in the output, and subsequent rebuilds often get
22 > it right again. I would blame the hardware, if not for the fact that nothing
23 > else is failing. Is anyone familiar with these symptoms?
24
25 I haven't seen that before, but you're obviously using an "older" (not
26 3.4.9_pre3) version of genkernel, since you've got an actual insmod binary
27 instead of it being built into busybox. You should try using _pre3, because we
28 always need testing :) Also, most of those 0-length files are supposed to be
29 symlinks to /bin/busybox. Do you have a /bin/bb?
30
31 --
32 Andrew Gaffney http://dev.gentoo.org/~agaffney/
33 Gentoo Linux Developer Catalyst/Installer + x86 release coordinator
34 --
35 gentoo-catalyst@g.o mailing list

Replies

Subject Author
Re: [gentoo-catalyst] Zero-sized busybox binaries in livecd stage2 "Åsmund Grammeltvedt" <asmundg@××××.tv>
Re: [gentoo-catalyst] Zero-sized busybox binaries in livecd stage2 "Åsmund Grammeltvedt" <asmundg@××××.tv>