Re: 2.6.33-rc2-git6 -- Boot fails with "Destination address too large." with recent kernels when compressed with bz2 or lzma (gzip works).

From: Miles Lane
Date: Tue Jan 05 2010 - 15:16:35 EST


On Tue, Jan 5, 2010 at 2:59 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
> On 01/05/2010 11:55 AM, Miles Lane wrote:
>> Hello,
>>
>> I can get a gzipped kernel to boot (I am running Ubuntu in a WUBI
>> FUSE-mounted EXT3 file system that is stored in a 16GB file on my
>> Windows NTFS partition).  But, when I try to compress the kernel with
>> lzma or bz2, the boot fails with "Destination address too large."
>>
>
> Known bug (it happens when your sh isn't bash on the compile host, and
> possibly some other tools).  It's being addressed.
>
>        -hpa
>

Yes, Ubuntu 10.04 (lucid) is using dash (/bin/sh -> dash)

dash 0.5.5.1-2ubuntu3 POSIX-compliant shell
"The Debian Almquist Shell (dash) is a lightweight POSIX-compliant
shell derived from ash."

BTW, why is it that only changing the compression algorithm forces a
complete rebuild? It seems like only the existing kernel should need
recompression.

GNU bash, version 4.1.0(1)-release (i486-pc-linux-gnu)

Linux ubuntu 2.6.32-9-generic #13-Ubuntu SMP Thu Dec 17 17:02:51 UTC
2009 i686 GNU/Linux

Gnu C 4.4.3
Gnu make 3.81
binutils 2.20
util-linux 2.16
mount support
module-init-tools 3.11.1
e2fsprogs 1.41.9
reiserfsprogs 3.6.21
pcmciautils 014
PPP 2.4.5
Linux C Library 2.10.2
Dynamic linker (ldd) 2.10.2
Procps 3.2.8
Net-tools 1.60
Kbd 1.15
Sh-utils 7.4
wireless-tools 29
Modules Loaded aes_i586 aes_generic binfmt_misc ppdev
snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep
snd_pcm_oss snd_mixer_oss fbcon tileblit font bitblit softcursor
vga16fb vgastate snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi
snd_rawmidi arc4 snd_seq_midi_event snd_seq snd_timer snd_seq_device
i915 ath9k drm_kms_helper mac80211 ath snd drm i2c_algo_bit cfg80211
intel_agp joydev psmouse serio_raw soundcore led_class agpgart
snd_page_alloc video output lp parport atl1e hid_logitech ff_memless
usbhid
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/