Re: trouble with 2.6.6
On Wed, 9 Jun 2004, Geert Uytterhoeven wrote:
> On Mon, 7 Jun 2004, Meelis Roos wrote:
> > CTS> I tried to boot 2.6.6 on my amiga and my mac. Besides some drivers which did
> > CTS> not want to (cross) compile, like ide-scsi, apne, I could not get it to
> > CTS> work. The mac had a problem with backwards seeking when loading the kernel,
> > CTS> I think I read something about this here before. Has there been a solution,
> > CTS> ie some fix in the binutils or something? I didn't find this again with
> > CTS> google...
> >
> > Some binutils (or gcc?) change caused the order of segments in vmlinux
> > to change from being sorted by address. This breaks Penguin. No known
> > progress on this one, neither from finding out what binutils/gcc change
> > broke it nor from fixing penguin to work with these kind on binaries.
>
> It's binutils. But it's not simply the order.
>
> I compiled an (experimental, of course :-) uClinux 2.6.6 kernel using gcc
> 3.3.3 (Debian 20040321) and binutils 2.14.90.0.7 (20031029), both generated
> from Debian's toolchain-source, and I suffered from the same problem. Amiboot
> aborts with:
>
> | The kernel will be located at 0x00200000
> | \ 638976 file Unsupported backward seek in module file (bufstart=622592,| dstpost=0)
> | Failed to seek to segment 2
>
> However, if I use m68k-linux-ld from binutils 2.9.5.0.37 to perform the final
> linking step of vmlinux, I can boot the kernel fine under UAE (until it hangs
And binutils 2.13.90.0.10 is OK as well.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Reply to: