Subject: Re: IIcx kernel problems
To: None <port-mac68k@netbsd.org>
From: Jeff Wyman <wysoft@wysoft.tzo.com>
List: port-mac68k
Date: 10/17/2000 20:15:27
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--0-1021619555-971838927=:55801
Content-Type: TEXT/PLAIN; charset=US-ASCII

I'm sorry for the previous empty message. I somehow managed to
accidentally hit the send combination... Here's a recap:


I'm running 1.4.2, using the plain GENERIC kernel. I stripped down the
GENERIC config to fit hardware that I had installed, along with specific
OS features I wanted.
 
When booting the new kernel with extra debug info (or just plain booting, 
in which it simply deadlocks), it freezes after displaying something along
the lines of:

--SNIP--

Bootstrapping NetBSD/mac68k
Getting mapping from MMU.
System RAM: 33554432 bytes in 8192 pages.
     Low = 0x0, high = 0x2000000
  no internal video at address 0 -- videoaddr is 0xf9900020
Done.
Bootstrapping the pmap system.
Pmap bootstrapped.
Moving ROMBase from 0x40800 to 0x9f0000
Video address 0xf9900020 -> 0xbf0020

--SNIP--

A small machine description:

Mac IIcx, 32MB RAM, Mac II High Res Video, 3Com Etherlink/NB, System 7.5.3

I've tried removing and swapping the ethernet card after reading the FAQ,
but this provides no releif from the crash. I had problems with the kernel
build, in which "iwm_fd.c" complained about an "unidentified
variable: i" that would crash when build with -Werror as a build
option. Either omitting -Werror or commenting out the variable got it to
build, but I'm not sure how it might damage it. 

Might it be possible, by this message, that internal video support should
be linked in at all times? I don't really know what to poke at, because I
know just enough about this mac to get NetBSD up and running, but I plan
to learn more as time goes on.

For those who are interesed, my kernel config is attached. Please give me
any pointers you might have. I'm listening.


--0-1021619555-971838927=:55801
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=GORDO
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.BSF.4.21.0010172015270.55801@wysoft.tzo.com>
Content-Description: 
Content-Disposition: attachment; filename=GORDO

IwkkTmV0QlNEOiBHRU5FUklDLHYgMS44NS40LjIgMTk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