All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ossy <ossy1980@gmx.net>
To: buildroot@busybox.net
Subject: [Buildroot] init: I won't write compressed data to a terminal.
Date: Wed, 07 Jul 2010 22:41:55 +0200	[thread overview]
Message-ID: <4C34E693.9040307@gmx.net> (raw)
In-Reply-To: <87aaq358x1.fsf@macbook.be.48ers.dk>

Am 07.07.2010 22:33, schrieb Peter Korsgaard:
>>>>>> "Ossy" == Ossy<ossy1980@gmx.net>  writes:
>   Ossy>  After passing init=/bin/sh to the kernel, I ran into a similar error:
>   Ossy>  [    4.387550] eth0: link up, 100 Mb/s, full duplex, flow control disabled
>   Ossy>  [    4.716652] Looking up port of RPC 100003/2 on 192.168.1.106
>   Ossy>  [    4.727962] Looking up port of RPC 100005/1 on 192.168.1.106
>   Ossy>  [    4.739261] VFS: Mounted root (nfs filesystem) on device 0:12.
>   Ossy>  [    4.745153] Freeing init memory: 112K
>   Ossy>  sh: I won't write compressed data to a terminal.
>   Ossy>  sh: For help, type: `sh --help'.
>
> Hmm, Did something overwrite your busybox binary? It should be around
> ~500KB big.
>
> What does strings -n 25 bin/busybox|head give?
ossy at debian-virtual:/exports/rootfs/rfs1$ strings -n 25 bin/busybox|head
bzip2: I'm not configured correctly for this platform!
         I require Int32, Int16 and Char to have sizes
         of 4, 2 and 1 bytes to run properly, and they don't.
         Probably you can fix this by defining them correctly,
is suspiciously (more than %d chars) long.
Try using a reasonable file name instead.  Sorry! :-)
%s: Deleting output file %s, if it exists.
%s: WARNING: deletion of output file (apparently) failed.
%s: WARNING: deletion of output file suppressed
%s:    since input file no longer exists.  Output file
ossy at debian-virtual:/exports/rootfs/rfs1$

I'm compiling for target arm926 on an amd64 debian squeeze.

My busybox is not 500kb big ... (shared vs. static?):
ossy at debian-virtual:/exports/rootfs/rfs1/bin$ ls -la busybox
-rwsr-xr-x 1 root root 78480 28. Jun 15:40 busybox

  reply	other threads:[~2010-07-07 20:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-06 22:16 [Buildroot] init: I won't write compressed data to a terminal Ossy
2010-07-07  0:35 ` Mitch Davis
2010-07-07 20:20   ` Ossy
2010-07-07 20:33     ` Peter Korsgaard
2010-07-07 20:41       ` Ossy [this message]
2010-07-07 20:49         ` Peter Korsgaard
2010-07-07 21:39           ` Peter Korsgaard
2010-07-09 19:46             ` Ossy
2010-07-11 18:52               ` Peter Korsgaard
2010-07-07 20:45       ` Peter Korsgaard
2010-07-07  5:52 ` Peter Korsgaard
2010-07-07  6:14   ` Mitch Davis
2010-07-07 18:00   ` Ossy
2010-07-07 18:59     ` Peter Korsgaard
2010-07-07 20:14       ` Ossy

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=4C34E693.9040307@gmx.net \
    --to=ossy1980@gmx.net \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.