linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Image generation for Efika is broken in 2.6.26
@ 2008-06-10 14:38 Jon Smirl
  2008-06-10 16:57 ` Scott Wood
  0 siblings, 1 reply; 8+ messages in thread
From: Jon Smirl @ 2008-06-10 14:38 UTC (permalink / raw)
  To: linuxppc-dev list

Why is my vmlinux.strip 3.2GB? Could a missing address be interpreted
as -1 (0xFFF..) and cause the image to contain all of memory?

-rw-r--r--  1 jonsmirl jonsmirl   61738015 2008-06-10 10:31 vmlinux.o
-rwxr-xr-x  1 jonsmirl jonsmirl 3224175192 2008-06-10 10:31 vmlinux.strip.3651

After it is packed vmlinux is 32MB. Packing gigabytes of zeros, maybe?

-rwxr-xr-x  1 jonsmirl jonsmirl 32430673 2008-06-10 10:31 vmlinux

This image won't load onto the Efika probably because it is trying to
expand back to 3.2GB.

With the same .config vmlinux is 4.1MB on 2.6.25

-rwxr-xr-x  1 jonsmirl jonsmirl 4119174 2008-06-09 20:09 vmlinux

-- 
Jon Smirl
jonsmirl@gmail.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Image generation for Efika is broken in 2.6.26
  2008-06-10 14:38 Image generation for Efika is broken in 2.6.26 Jon Smirl
@ 2008-06-10 16:57 ` Scott Wood
  2008-06-10 17:44   ` Jon Smirl
  2008-06-11 13:28   ` Marc Kleine-Budde
  0 siblings, 2 replies; 8+ messages in thread
From: Scott Wood @ 2008-06-10 16:57 UTC (permalink / raw)
  To: Jon Smirl; +Cc: linuxppc-dev list

On Tue, Jun 10, 2008 at 10:38:31AM -0400, Jon Smirl wrote:
> Why is my vmlinux.strip 3.2GB? Could a missing address be interpreted
> as -1 (0xFFF..) and cause the image to contain all of memory?
> 
> -rw-r--r--  1 jonsmirl jonsmirl   61738015 2008-06-10 10:31 vmlinux.o
> -rwxr-xr-x  1 jonsmirl jonsmirl 3224175192 2008-06-10 10:31 vmlinux.strip.3651
> 
> After it is packed vmlinux is 32MB. Packing gigabytes of zeros, maybe?
> 
> -rwxr-xr-x  1 jonsmirl jonsmirl 32430673 2008-06-10 10:31 vmlinux
> 
> This image won't load onto the Efika probably because it is trying to
> expand back to 3.2GB.
> 
> With the same .config vmlinux is 4.1MB on 2.6.25
> 
> -rwxr-xr-x  1 jonsmirl jonsmirl 4119174 2008-06-09 20:09 vmlinux

Are you using binutils 2.17?  It has a bug that was triggered by the p_paddr
change.  Do you get a bunch of warnings from the strip command?

-Scott

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Image generation for Efika is broken in 2.6.26
  2008-06-10 16:57 ` Scott Wood
@ 2008-06-10 17:44   ` Jon Smirl
  2008-06-10 19:08     ` Jon Smirl
  2008-06-11 13:28   ` Marc Kleine-Budde
  1 sibling, 1 reply; 8+ messages in thread
From: Jon Smirl @ 2008-06-10 17:44 UTC (permalink / raw)
  To: Scott Wood, Robert Schwebel; +Cc: linuxppc-dev list

On 6/10/08, Scott Wood <scottwood@freescale.com> wrote:
> On Tue, Jun 10, 2008 at 10:38:31AM -0400, Jon Smirl wrote:
>  > Why is my vmlinux.strip 3.2GB? Could a missing address be interpreted
>  > as -1 (0xFFF..) and cause the image to contain all of memory?
>  >
>  > -rw-r--r--  1 jonsmirl jonsmirl   61738015 2008-06-10 10:31 vmlinux.o
>  > -rwxr-xr-x  1 jonsmirl jonsmirl 3224175192 2008-06-10 10:31 vmlinux.strip.3651
>  >
>  > After it is packed vmlinux is 32MB. Packing gigabytes of zeros, maybe?
>  >
>  > -rwxr-xr-x  1 jonsmirl jonsmirl 32430673 2008-06-10 10:31 vmlinux
>  >
>  > This image won't load onto the Efika probably because it is trying to
>  > expand back to 3.2GB.
>  >
>  > With the same .config vmlinux is 4.1MB on 2.6.25
>  >
>  > -rwxr-xr-x  1 jonsmirl jonsmirl 4119174 2008-06-09 20:09 vmlinux
>
>
> Are you using binutils 2.17?  It has a bug that was triggered by the p_paddr
>  change.  Do you get a bunch of warnings from the strip command?

I don't see any warnings even when run make V=1.

I'm using the Pengutronix OSELAS.Toolchain-1.1.1 which has bunutils 2.17 in it.

I'm trying to convince OSELAS to rebuild the toolchain on Ubuntu hardy
but I'm having problems.

>
>
>  -Scott
>


-- 
Jon Smirl
jonsmirl@gmail.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Image generation for Efika is broken in 2.6.26
  2008-06-10 17:44   ` Jon Smirl
@ 2008-06-10 19:08     ` Jon Smirl
  2008-06-11  5:29       ` Robert Schwebel
  0 siblings, 1 reply; 8+ messages in thread
From: Jon Smirl @ 2008-06-10 19:08 UTC (permalink / raw)
  To: Scott Wood, Robert Schwebel; +Cc: linuxppc-dev list

On 6/10/08, Jon Smirl <jonsmirl@gmail.com> wrote:
> On 6/10/08, Scott Wood <scottwood@freescale.com> wrote:
>  > On Tue, Jun 10, 2008 at 10:38:31AM -0400, Jon Smirl wrote:
>  >  > Why is my vmlinux.strip 3.2GB? Could a missing address be interpreted
>  >  > as -1 (0xFFF..) and cause the image to contain all of memory?
>  >  >
>  >  > -rw-r--r--  1 jonsmirl jonsmirl   61738015 2008-06-10 10:31 vmlinux.o
>  >  > -rwxr-xr-x  1 jonsmirl jonsmirl 3224175192 2008-06-10 10:31 vmlinux.strip.3651
>  >  >
>  >  > After it is packed vmlinux is 32MB. Packing gigabytes of zeros, maybe?
>  >  >
>  >  > -rwxr-xr-x  1 jonsmirl jonsmirl 32430673 2008-06-10 10:31 vmlinux
>  >  >
>  >  > This image won't load onto the Efika probably because it is trying to
>  >  > expand back to 3.2GB.
>  >  >
>  >  > With the same .config vmlinux is 4.1MB on 2.6.25
>  >  >
>  >  > -rwxr-xr-x  1 jonsmirl jonsmirl 4119174 2008-06-09 20:09 vmlinux
>  >
>  >
>  > Are you using binutils 2.17?  It has a bug that was triggered by the p_paddr
>  >  change.  Do you get a bunch of warnings from the strip command?
>
>
> I don't see any warnings even when run make V=1.
>
>  I'm using the Pengutronix OSELAS.Toolchain-1.1.1 which has bunutils 2.17 in it.
>
>  I'm trying to convince OSELAS to rebuild the toolchain on Ubuntu hardy
>  but I'm having problems.


After much mucking with my toolchain, I got it built with bin-utils
2.18. That fixed the Efika problem. Thanks for the tip.


>
>  >
>  >
>  >  -Scott
>
> >
>
>
>  --
>  Jon Smirl
>  jonsmirl@gmail.com
>


-- 
Jon Smirl
jonsmirl@gmail.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Image generation for Efika is broken in 2.6.26
  2008-06-10 19:08     ` Jon Smirl
@ 2008-06-11  5:29       ` Robert Schwebel
  2008-06-11  7:20         ` Marc Kleine-Budde
  0 siblings, 1 reply; 8+ messages in thread
From: Robert Schwebel @ 2008-06-11  5:29 UTC (permalink / raw)
  To: Jon Smirl; +Cc: Scott Wood, linuxppc-dev list

On Tue, Jun 10, 2008 at 03:08:05PM -0400, Jon Smirl wrote:
> >  I'm trying to convince OSELAS to rebuild the toolchain on Ubuntu
> >  hardy but I'm having problems.
>
> After much mucking with my toolchain, I got it built with bin-utils
> 2.18. That fixed the Efika problem. Thanks for the tip.

Marc, do we have a fix for that 2.17 problem?

rsc
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Image generation for Efika is broken in 2.6.26
  2008-06-11  5:29       ` Robert Schwebel
@ 2008-06-11  7:20         ` Marc Kleine-Budde
  0 siblings, 0 replies; 8+ messages in thread
From: Marc Kleine-Budde @ 2008-06-11  7:20 UTC (permalink / raw)
  To: Robert Schwebel; +Cc: Scott Wood, linuxppc-dev list

[-- Attachment #1: Type: text/plain, Size: 741 bytes --]

Robert Schwebel wrote:
> On Tue, Jun 10, 2008 at 03:08:05PM -0400, Jon Smirl wrote:
>>>  I'm trying to convince OSELAS to rebuild the toolchain on Ubuntu
>>>  hardy but I'm having problems.
>> After much mucking with my toolchain, I got it built with bin-utils
>> 2.18. That fixed the Efika problem. Thanks for the tip.
> 
> Marc, do we have a fix for that 2.17 problem?

No,
I just have heard yesterday that there is a problem, but have not seen
any further details (I'm not reading this list). Is there a fix w/o
update binutils to 2.18?

Marc

-- 
 Marc Kleine-Budde              Phone: +49-231-2826-924
 Pengutronix - Linux Solutions for Science and Industry
 Vertretung West/Dortmund     http://www.pengutronix.de


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Image generation for Efika is broken in 2.6.26
  2008-06-10 16:57 ` Scott Wood
  2008-06-10 17:44   ` Jon Smirl
@ 2008-06-11 13:28   ` Marc Kleine-Budde
  2008-06-11 16:53     ` Scott Wood
  1 sibling, 1 reply; 8+ messages in thread
From: Marc Kleine-Budde @ 2008-06-11 13:28 UTC (permalink / raw)
  To: Scott Wood; +Cc: linuxppc-dev list

[-- Attachment #1: Type: text/plain, Size: 1371 bytes --]

Scott Wood wrote:
> On Tue, Jun 10, 2008 at 10:38:31AM -0400, Jon Smirl wrote:
>> Why is my vmlinux.strip 3.2GB? Could a missing address be interpreted
>> as -1 (0xFFF..) and cause the image to contain all of memory?
>>
>> -rw-r--r--  1 jonsmirl jonsmirl   61738015 2008-06-10 10:31 vmlinux.o
>> -rwxr-xr-x  1 jonsmirl jonsmirl 3224175192 2008-06-10 10:31 vmlinux.strip.3651
>>
>> After it is packed vmlinux is 32MB. Packing gigabytes of zeros, maybe?
>>
>> -rwxr-xr-x  1 jonsmirl jonsmirl 32430673 2008-06-10 10:31 vmlinux
>>
>> This image won't load onto the Efika probably because it is trying to
>> expand back to 3.2GB.
>>
>> With the same .config vmlinux is 4.1MB on 2.6.25
>>
>> -rwxr-xr-x  1 jonsmirl jonsmirl 4119174 2008-06-09 20:09 vmlinux
> 
> Are you using binutils 2.17?  It has a bug that was triggered by the p_paddr
> change.  Do you get a bunch of warnings from the strip command?

Same problem here with binutils-2.17. But no warnings from strip. Can
you give me some pointers to the original bug report or the fix of the
problem in the binutils svn. I've searched this mailinglist and the
binutils bugzilla, but without success.

cheers, Marc

-- 
 Marc Kleine-Budde              Phone: +49-231-2826-924
 Pengutronix - Linux Solutions for Science and Industry
 Vertretung West/Dortmund     http://www.pengutronix.de


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Image generation for Efika is broken in 2.6.26
  2008-06-11 13:28   ` Marc Kleine-Budde
@ 2008-06-11 16:53     ` Scott Wood
  0 siblings, 0 replies; 8+ messages in thread
From: Scott Wood @ 2008-06-11 16:53 UTC (permalink / raw)
  To: Marc Kleine-Budde; +Cc: linuxppc-dev list

On Wed, Jun 11, 2008 at 03:28:43PM +0200, Marc Kleine-Budde wrote:
> Scott Wood wrote:
> > Are you using binutils 2.17?  It has a bug that was triggered by the
> > p_paddr change.  Do you get a bunch of warnings from the strip command?
> 
> Same problem here with binutils-2.17. But no warnings from strip. Can
> you give me some pointers to the original bug report or the fix of the
> problem in the binutils svn. I've searched this mailinglist and the
> binutils bugzilla, but without success.

Not sure, I just know that I don't see the behavior on anything before or
after 2.17.  This is the closest I found, though it's post-2.18:

http://www.nabble.com/Zero-p_paddr-confuses-BFD-td17002340.html

-Scott

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-06-11 16:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-10 14:38 Image generation for Efika is broken in 2.6.26 Jon Smirl
2008-06-10 16:57 ` Scott Wood
2008-06-10 17:44   ` Jon Smirl
2008-06-10 19:08     ` Jon Smirl
2008-06-11  5:29       ` Robert Schwebel
2008-06-11  7:20         ` Marc Kleine-Budde
2008-06-11 13:28   ` Marc Kleine-Budde
2008-06-11 16:53     ` Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).