linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* How to build the zImage.prep was Re: Bug#345424 acknowledged by developer         (Bug#345424: fixed in linux-2.6 2.6.15-1)
       [not found]   ` <handler.345424.D345424.113629990832428.notifdone@bugs.debian.org>
@ 2006-01-05 10:51     ` Sebastian Heutling
  2006-01-05 11:05       ` Sven Luther
  2006-01-05 16:04       ` Grant Likely
  0 siblings, 2 replies; 6+ messages in thread
From: Sebastian Heutling @ 2006-01-05 10:51 UTC (permalink / raw)
  To: sven.luther; +Cc: linuxppc-dev

Hi Sven,

maybe I'm just stupid - but I am not able to get an image built that can 
be netbooted or put into the prep-bootloader partition. Looking at the 
sources I wonder how you do it for the debian linux-images-* as the only 
Makefile where it seems to generate a "zImage.prep" automagically is in 
arch/ppc/boot/simple/Makefile. But that doesn't work, I guess, because 
CONFIG_PPC_PREP doesn't exist anymore (at least I couldn't find it in 
"menuconfig" or in the ".config" file).

Before trying to build a kernel myself I tried the debian linux binary 
image. An image for powerpc is not there yet so I used rc7. I netbooted 
"/boot/vmlinuz-2.6.15-rc7-powerpc" and the result was that I got a lot 
of output saying that there is something wrong. I assume the output was 
from the firmware because the kernel usually doesn't report an endless 
list of errors saying something about "stack exception" every now and 
then and mostly printing zeros followed by a new line character.

After that I copied the config from that kernel, downloaded the debian 
sources of 2.6.15, enabled ISA and some alsa ISA sound drivers and run 
into the trouble above.


Sebastian


Debian Bug Tracking System wrote:
> This is an automatic notification regarding your Bug report
> #345424: linux-source-2.6.14: Missing IDE IRQ for PReP Utah (PowerstackII Pro4000),
> which was filed against the linux-source-2.6.14 package.
> 
> It has been closed by one of the developers, namely
> Sven Luther <luther@debian.org>.
> 
> Their explanation is attached below.  If this explanation is
> unsatisfactory and you have not received a better one in a separate
> message then please contact the developer, by replying to this email.
> 
> Debian bug tracking system administrator
> (administrator, Debian Bugs database)
> 

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

* Re: How to build the zImage.prep was Re: Bug#345424 acknowledged by developer (Bug#345424: fixed in linux-2.6 2.6.15-1)
  2006-01-05 10:51     ` How to build the zImage.prep was Re: Bug#345424 acknowledged by developer (Bug#345424: fixed in linux-2.6 2.6.15-1) Sebastian Heutling
@ 2006-01-05 11:05       ` Sven Luther
  2006-01-05 12:59         ` Sebastian Heutling
  2006-01-05 16:04       ` Grant Likely
  1 sibling, 1 reply; 6+ messages in thread
From: Sven Luther @ 2006-01-05 11:05 UTC (permalink / raw)
  To: Sebastian Heutling; +Cc: linuxppc-dev

On Thu, Jan 05, 2006 at 11:51:01AM +0100, Sebastian Heutling wrote:
> Hi Sven,
> 
> maybe I'm just stupid - but I am not able to get an image built that can 

No, you just fail to read the manual :)

please : man mkvmlinuz :)

mkvmlinuz allows to build the zImage.prep from the vmlinux outside of the
kernel build process, which is what we are doing, otherwise the zImage.prep
may indeed be the way to handle this.

> be netbooted or put into the prep-bootloader partition. Looking at the 
> sources I wonder how you do it for the debian linux-images-* as the only 
> Makefile where it seems to generate a "zImage.prep" automagically is in 
> arch/ppc/boot/simple/Makefile. But that doesn't work, I guess, because 
> CONFIG_PPC_PREP doesn't exist anymore (at least I couldn't find it in 
> "menuconfig" or in the ".config" file).

Should work, i booted 2.6.14 on my powerstack II, didn't try 2.6.15 yet, but
will this WE.

> Before trying to build a kernel myself I tried the debian linux binary 
> image. An image for powerpc is not there yet so I used rc7. I netbooted 
> "/boot/vmlinuz-2.6.15-rc7-powerpc" and the result was that I got a lot 
> of output saying that there is something wrong. I assume the output was 
> from the firmware because the kernel usually doesn't report an endless 
> list of errors saying something about "stack exception" every now and 
> then and mostly printing zeros followed by a new line character.

Mmm, upstream may have broken prep on 2.6.15, i have to say i didn't test it,
will have a look this WE, ok ? 

> After that I copied the config from that kernel, downloaded the debian 
> sources of 2.6.15, enabled ISA and some alsa ISA sound drivers and run 
> into the trouble above.

Mmm, i am leaving for two days now, but i will have a look afterward.

Friendly,

Sven Luther

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

* Re: How to build the zImage.prep was Re: Bug#345424 acknowledged by developer         (Bug#345424: fixed in linux-2.6 2.6.15-1)
  2006-01-05 11:05       ` Sven Luther
@ 2006-01-05 12:59         ` Sebastian Heutling
  0 siblings, 0 replies; 6+ messages in thread
From: Sebastian Heutling @ 2006-01-05 12:59 UTC (permalink / raw)
  To: Sven Luther; +Cc: linuxppc-dev

Sven Luther wrote:
> On Thu, Jan 05, 2006 at 11:51:01AM +0100, Sebastian Heutling wrote:
> 
>>Hi Sven,
>>
>>maybe I'm just stupid - but I am not able to get an image built that can 
> 
> 
> No, you just fail to read the manual :)
> 
> please : man mkvmlinuz :)

Uhm! I didn't even think about that. I was just used to that somewhere 
under arch/ppc/ is a zImage.prep after doing a "make zImage".
But anyway: Switching to shame mode. ;)



Sebastian

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

* Re: How to build the zImage.prep was Re: Bug#345424 acknowledged by developer         (Bug#345424: fixed in linux-2.6 2.6.15-1)
  2006-01-05 10:51     ` How to build the zImage.prep was Re: Bug#345424 acknowledged by developer (Bug#345424: fixed in linux-2.6 2.6.15-1) Sebastian Heutling
  2006-01-05 11:05       ` Sven Luther
@ 2006-01-05 16:04       ` Grant Likely
       [not found]         ` <oqr77koggf.fsf@merlin.sez.to>
  1 sibling, 1 reply; 6+ messages in thread
From: Grant Likely @ 2006-01-05 16:04 UTC (permalink / raw)
  To: Sebastian Heutling; +Cc: linuxppc-dev

Sebastian Heutling wrote:
> Hi Sven,
> 
> Before trying to build a kernel myself I tried the debian linux binary
> image. An image for powerpc is not there yet so I used rc7. I netbooted
> "/boot/vmlinuz-2.6.15-rc7-powerpc" and the result was that I got a lot
> of output saying that there is something wrong. I assume the output was
> from the firmware because the kernel usually doesn't report an endless
> list of errors saying something about "stack exception" every now and
> then and mostly printing zeros followed by a new line character.
Have you tried 2.6.14?  I'm having a similar issue with PReP images
using QEMU.  2.6.14 works, but 2.6.15 is busted.  It *might* be the same
issue.

http://ozlabs.org/pipermail/linuxppc-dev/2005-December/020782.html

I was able to use git-bisect to narrow it down to 20 or so changes, but
I didn't get any farther.

Cheers,
g.


-- 
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
(403) 663-0761

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

* Re: How to build the zImage.prep was Re: Bug#345424 acknowledged by developer         (Bug#345424: fixed in linux-2.6 2.6.15-1)
       [not found]         ` <oqr77koggf.fsf@merlin.sez.to>
@ 2006-01-07  4:25           ` Grant Likely
  2006-01-07 19:55             ` Sebastian Heutling
  0 siblings, 1 reply; 6+ messages in thread
From: Grant Likely @ 2006-01-07  4:25 UTC (permalink / raw)
  To: Paul Janzen, linuxppc-embedded; +Cc: Sebastian Heutling, Paul Mackerras

Paul Janzen wrote:
> grant.likely at secretlab.ca (Grant Likely) writes:
> 
> 
>>Have you tried 2.6.14?  I'm having a similar issue with PReP images
>>using QEMU.  2.6.14 works, but 2.6.15 is busted.  It *might* be the same
>>issue.
>>
>>http://ozlabs.org/pipermail/linuxppc-dev/2005-December/020782.html
>>
>>I was able to use git-bisect to narrow it down to 20 or so changes, but
>>I didn't get any farther.
> 
> 
> This *might* be the problem described in: 
> 
> http://ozlabs.org/pipermail/linuxppc-embedded/2006-January/021550.html
> 
> It matches the git-bisect ID's you narrowed it down to, and it matches
> the problem report.  I'm just not sure if it matches the environment
> you're running in. 

Yes, that's exactly it.  QEMU boots prep images again with that patch.
Thank you.

g.

-- 
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
(403) 663-0761

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

* Re: How to build the zImage.prep was Re: Bug#345424 acknowledged by developer         (Bug#345424: fixed in linux-2.6 2.6.15-1)
  2006-01-07  4:25           ` Grant Likely
@ 2006-01-07 19:55             ` Sebastian Heutling
  0 siblings, 0 replies; 6+ messages in thread
From: Sebastian Heutling @ 2006-01-07 19:55 UTC (permalink / raw)
  To: Grant Likely; +Cc: Paul Mackerras, Paul Janzen, linuxppc-embedded

Grant Likely wrote:
> Paul Janzen wrote:
> 
>>grant.likely at secretlab.ca (Grant Likely) writes:
>>
>>
>>
>>>Have you tried 2.6.14?  I'm having a similar issue with PReP images
>>>using QEMU.  2.6.14 works, but 2.6.15 is busted.  It *might* be the same
>>>issue.
>>>
>>>http://ozlabs.org/pipermail/linuxppc-dev/2005-December/020782.html
>>>
>>>I was able to use git-bisect to narrow it down to 20 or so changes, but
>>>I didn't get any farther.
>>
>>
>>This *might* be the problem described in: 
>>
>>http://ozlabs.org/pipermail/linuxppc-embedded/2006-January/021550.html
>>
>>It matches the git-bisect ID's you narrowed it down to, and it matches
>>the problem report.  I'm just not sure if it matches the environment
>>you're running in. 
> 
> 
> Yes, that's exactly it.  QEMU boots prep images again with that patch.
> Thank you.
> 
> g.
> 

Great! :)


Sebastian

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

end of thread, other threads:[~2006-01-07 20:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1EtnU9-0008HI-I0@spohr.debian.org>
     [not found] ` <20051230171705.32043.38767.reportbug@sengor.ath.cx>
     [not found]   ` <handler.345424.D345424.113629990832428.notifdone@bugs.debian.org>
2006-01-05 10:51     ` How to build the zImage.prep was Re: Bug#345424 acknowledged by developer (Bug#345424: fixed in linux-2.6 2.6.15-1) Sebastian Heutling
2006-01-05 11:05       ` Sven Luther
2006-01-05 12:59         ` Sebastian Heutling
2006-01-05 16:04       ` Grant Likely
     [not found]         ` <oqr77koggf.fsf@merlin.sez.to>
2006-01-07  4:25           ` Grant Likely
2006-01-07 19:55             ` Sebastian Heutling

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).