linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Porting problems
@ 2000-09-27 10:35 Dag Nygren
  0 siblings, 0 replies; 3+ messages in thread
From: Dag Nygren @ 2000-09-27 10:35 UTC (permalink / raw)
  To: linuxppc-embedded; +Cc: dag


Hi,

I am porting Linux to an unsupported (so far)
VME-board and have been banging my head into
the following problem for some time now,
nothing seems to help.....

Thought I would ask the wise men on the net for some
hints on where to look.

The board is hal PReP and half CHRP and I have been
struggling to get the boot to work.
At the moment it starts up using the VxWorks boot
and I then load Linux over the net and start it up.

The problem can be that the VxWorks monitor
inits something wrongly ?

Any hint welcome.

The processor is a PPC740

Boot log:

ksymoops 2.3.4 on i686 2.2.15.  Options used
     -V (specified)
     -K (specified)
     -L (specified)
     -O (specified)
     -m System.map (specified)
     -t powerpc -a powerpc

NIP: C01B2C84 XER: 00000000 LR: C01B2C74 REGS: c0189eb0 TRAP: 0300
MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c0187ff0[0] 'swapper' Last syscall: 0
last math 00000000 last altivec 00000000
GPR00: 00000005 C0189F60 C0187FF0 00000029 00001032 00000000 C01D0000 00000000
GPR08: C01D0000 00000005 C01A0000 C0189E30 44828024 00000000 00000000 00000000
GPR16: 00000000 00000000 00000000 00000000 003FF000 00000000 00000000 00000000
GPR24: 00000000 C01D0000 C01D0000 00001000 00000000 C01D0000 00002000 00000004
Call backtrace:
C01B2C74 C01B2DC0 C01A7778 000036C4
Kernel panic: kernel access of bad area pc c01b2c84 lr c01b2c74 address 5 tsk
swapper/0
Warning (Oops_read): Code line not seen, dumping what data is available

>>NIP; c01b2c84 <dcache_init+18c/1bc>   <=====
Trace; c01b2c74 <dcache_init+17c/1bc>
Trace; c01b2dc0 <vfs_caches_init+10c/120>
Trace; c01a7778 <start_kernel+134/1a4>
Trace; 000036c4 Before first symbol
>>NIP; c01b2c84 <dcache_init+18c/1bc>   <=====


1 warning issued.  Results may not be reliable.


BRGDS
--
Dag Nygren                               email: dag@newtech.fi
Oy NewTech Ab                            phone: +358 9 8024910
Trasktorpet 3                              fax: +358 9 8024916
02360 ESBO                                 GSM: 0400-426312
FINLAND


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Porting problems
@ 2000-09-27 10:40 Dag Nygren
  2000-09-27 15:39 ` Cal Erickson
  0 siblings, 1 reply; 3+ messages in thread
From: Dag Nygren @ 2000-09-27 10:40 UTC (permalink / raw)
  To: linuxppc-embedded; +Cc: dag


Sorry, forgot something:

The kernel is compiled from the generic linux-2.4.0-test6
sources. Have tested with generic 2.2.14  and linux-2.4.0-test5
as well and is doesn't seem to matter.

--
Dag Nygren                               email: dag@newtech.fi
Oy NewTech Ab                            phone: +358 9 8024910
Trasktorpet 3                              fax: +358 9 8024916
02360 ESBO                                 GSM: 0400-426312
FINLAND


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Porting problems
  2000-09-27 10:40 Porting problems Dag Nygren
@ 2000-09-27 15:39 ` Cal Erickson
  0 siblings, 0 replies; 3+ messages in thread
From: Cal Erickson @ 2000-09-27 15:39 UTC (permalink / raw)
  To: Dag Nygren; +Cc: linuxppc-embedded


Dag,
Looking at your panic it appears you are
accessing a memory location that is not valid.
Have you set up your board memory map
to include the addresses referenced? Try looking
at this first.
Cal

Dag Nygren wrote:

> Sorry, forgot something:
>
> The kernel is compiled from the generic linux-2.4.0-test6
> sources. Have tested with generic 2.2.14  and linux-2.4.0-test5
> as well and is doesn't seem to matter.
>
> --
> Dag Nygren                               email: dag@newtech.fi
> Oy NewTech Ab                            phone: +358 9 8024910
> Trasktorpet 3                              fax: +358 9 8024916
> 02360 ESBO                                 GSM: 0400-426312
> FINLAND
>

--
===========================================================================
Cal Erickson                 MontaVista Software Inc.
Customer Support Engineer    490 Potrero Avenue
Phone (408) 328-0304         Sunnyvale CA 94085
Fax   (408) 328-9204         e-mail cal_erickson@mvista.com
Pager 877-566-2012           support 1-800-759-8888 pin 202-7489
web http://www.mvista.com    support e-mail: support@mvista.com
eCode: http://cal@work.com.ecode.com
===========================================================================


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2000-09-27 15:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-27 10:40 Porting problems Dag Nygren
2000-09-27 15:39 ` Cal Erickson
  -- strict thread matches above, loose matches on Subject: below --
2000-09-27 10:35 Dag Nygren

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