* get program exception in early setup
2003-03-13 18:04 Using BDI-2000 to debug kernel Jerry Walden
@ 2003-04-28 22:26 ` Jerry Walden
0 siblings, 0 replies; 2+ messages in thread
From: Jerry Walden @ 2003-04-28 22:26 UTC (permalink / raw)
To: linuxppc-embedded
Greetings:
I just built a brand new kernel(2.4.18) for the PPC 405Gp, and I discovered
something that does
not make sense to me.
In setup.c / early_setup:
/* First zero the BSS -- use memset, some arches don't have
* caches on yet */
memset_io(PTRRELOC(&__bss_start), 0, &_end - &__bss_start);
>From System.map:
c0113000 A __bss_start
c0113000 A __chrp_begin
c0113000 A __chrp_end
c0113000 A __init_end
c0113000 A __openfirmware_begin
c0113000 A __openfirmware_end
c0113000 A __pmac_begin
c0113000 A __pmac_end
c0113000 A __prep_begin
c0113000 A __prep_end
|
|
|
V
c013bc40 B ipv4_config
c013bc4c B unix_socket_table
c013c050 A _end
The symbol _end does not come after the bss - it is at the end of the
kernel, so the memset gets an exception.
It also looks like there is no _bss at all -
Help?
Do I hack the heck out of the file, or is there a better way?
I did a:
make mrproper
make dep
make pImage
Thanks
Jerry
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: get program exception in early setup
@ 2003-04-29 15:41 ghannon
0 siblings, 0 replies; 2+ messages in thread
From: ghannon @ 2003-04-29 15:41 UTC (permalink / raw)
To: jwalden; +Cc: linuxppc-embedded
Jerry Walden wrote:
> From System.map:
> c0113000 A __bss_start
> |
> |
> |
> V
> c013c050 A _end
> The symbol _end does not come after the bss - it is at the end of the
> kernel, so the memset gets an exception.
_end is correctly after bss_start.
There is probably a different problem with how memory is mapped.
Did your kernel get decompressed correctly at 0?
Gary
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-04-29 15:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-29 15:41 get program exception in early setup ghannon
-- strict thread matches above, loose matches on Subject: below --
2003-03-13 18:04 Using BDI-2000 to debug kernel Jerry Walden
2003-04-28 22:26 ` get program exception in early setup Jerry Walden
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.