linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ioremap() on ISA memory space
@ 1999-06-08 18:28 Geert Uytterhoeven
  1999-06-08 19:08 ` Gabriel Paubert
  0 siblings, 1 reply; 7+ messages in thread
From: Geert Uytterhoeven @ 1999-06-08 18:28 UTC (permalink / raw)
  To: Linux/PPC Development



I found one reason why current kernels don't work on my LongTrail: my NVRAM is
in ISA memory space. When the kernel tries to ioremap() it in
pmac_nvram_init(), I get

    __ioremap(): phys addr e0000 is RAM lr c000e43c

and ioremap() returns NULL, causing all later accesses to NVRAM (e.g. in atyfb)
to fail due to NULL pointer dereferences.

Do all CHRP boxes have NVRAM in ISA memory space? The comment (by Corey) near
the call to pmac_nvram_init() in chrp_init2() already wonders whether
pmac_nvram_init() should be called or not.

Besides, I'd say one must call ioremap() to access ISA memory space anyway, so
it sounds like a bug in the memory management subsystem to me.

Greetings,

						Geert

--
Geert Uytterhoeven                     Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP}  http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

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

end of thread, other threads:[~1999-06-10  8:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-08 18:28 ioremap() on ISA memory space Geert Uytterhoeven
1999-06-08 19:08 ` Gabriel Paubert
1999-06-08 20:16   ` Daniel Jacobowitz
1999-06-09  1:06     ` Paul Mackerras
1999-06-09  7:38     ` Geert Uytterhoeven
1999-06-09  7:41   ` Geert Uytterhoeven
1999-06-10  8:30     ` Geert Uytterhoeven

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