Subject: Those funky Classic II's
To: None <port-mac68k@NetBSD.ORG>
From: Andrew Foakes <andrew@foakes.demon.co.uk>
List: port-mac68k
Date: 04/01/1996 19:39:00
Chris Ghormley wrote:
> I was able to boot my Classic II with the generic#5 kernel several
> times, even in multi-user mode. My hard drive got corrupted during
> repartitioning, though, and I had to rebuild NetBSD. I think I had
> everything set up as I did before, and the standard messages showed
> up on my serial console regarding what kernel I was using, until the
> message "ser0 at mainbus0" appeared, and the machine hung.
An odd place to hang. Did you change the /etc/ttys file a la (note the bit
about this only being necessary for multi-user mode - single user will boot
without this):
3.) Change the "/etc/ttys" file. It can be moved to the MacOS disk via
the minishell's "cpout" command:
cd /etc
cpout ttys ttys
Edit it, changing the lines:
# Define console that we actually run getty on
ttye0 "/usr/libexec/getty Pc" vt220 on secure
and:
#Hardwired lines are marked off ...
tty00 "/usr/libexec/getty std.9600" unknown off secure
to:
# Define console that we actually run getty on
ttye0 "/usr/libexec/getty Pc" vt220 off secure
and:
#Hardwired lines are marked off ...
tty00 "/usr/libexec/getty std.9600" unknown on secure
respectively. Save this file as text with Unix line terminations
and "cpin" it back to "/etc/ttys":
cpin ttys ttys
Without this step, the kernel will boot only into single user mode
when this is selected in "Booter".
Note also that Chris Marklund replied to this:
> Hmm... I'm confused, I was under the impression that the for_mays
> kernel was the only one that would work on a classic2... the
> for_mays kernel boots single and multi fine for me but every time
> I try to switch to the generic5 kernel it hangs right after the line
> about the video address. Did you have to do anything special to make
> it work?
The above is from a How-To I wrote on getting the Classic II to work
(though I should point out that I'm ignorant about NetBSD and the how-to
just contained the distilled wisdom of others, no-doubt with errors
introduced by me). Look it up in the list's archive. The "for_mays" seems
a little less stable than "GENERIC#5" on the Classic II.
I am just starting to look at why the Classic II doesn't boot with internal
video with the ADBTEST kernels. It seems that the screen is at 0x009F9A80
to 0x009F000 (as set by the EAGLE chip), but NetBSD doesn't know this -
just my first theory, so it's probably wrong. Any comments? Don't hold
your breath for any developments. (I'm hoping that the EAGLE, being mainly
just a switching gateway, doesn't need any special setting up - what other
Macs use this chip and do I need to worry about it?)
Yours,
Andrew
* ====================================================================== *
Andrew Foakes | I share my birthday with Mrs Thatcher.
| I share my home town with the Queen.
andrew@foakes,demon.co.uk | But I'll share my opinion with anybody.