Subject: Re: macBSD on PowerBook 170?
To: Dan L Gilpin <dgilpin@jupiter.cyberfish.com>
From: Brian Wimberly <brianw@scripps.edu>
List: port-mac68k
Date: 03/03/1996 17:20:46
You need to boot a newer kernel, and you need to boot from a serial console.

(By the way, if anyone has a powerbook, esp, a powerbook 1xx, booting without
the serial console, I'd love to hear about it.)

The newer kernel I have working on my PB 170  is from

ftp://ghpc8.ihf.rwth-aachen.de/pub/NetBSD/

(or a directory visible there) and is called netbsd.960206.3.xxx.gz, where
I forget
what xxx is. Download this, and use MacGzip (available from
http://www.shareware.com/)
 to unzip it. Then you can use the netbsd installer to put this on your
netbsd partition.
I can't remember whether the  menu command "install" installed it or
whether I had to use
the installer minishell command "cpin" to get the new kernel onto the
netbsd partition. Use the
 minishell to delete the old kernel (ie, rm netbsd) and to rename the new
kernel to "netbsd"
(mv netbsd.960206.3.xxx  netbsd). Finally, you'll need to change a few
things in /etc/ttys.
Use the minishell command "cpout" to copy /etc/ttys to your mac partition.
Then use
an editor/ word processor to make the following changes:

Change the lines:
------

# Define console that we actually run getty on
ttye0 "/usr/libexec/getty Pc" vt220 on secure
.
.
.
#Hardwired lines are marked off ...
tty00 "/usr/libexec/getty std.9600" unknown off secure
-------

to this:
-------

# Define console that we actually run getty on
ttye0 "/usr/libexec/getty Pc" vt220 off secure
.
.
.
#Hardwired lines are marked off ...
tty00 "/usr/libexec/getty std.9600" unknown on secure


---

That is, I just swapped "on" and "off" on those two lines. Save this file
as text-only,
then use the minshell cpin command to put it back on the netbsd partition as
/etc/ttys. Make a backup of the old /etc/ttys under a different filename
first, since
I doubt this is exactly the right fix!

The second thing you need to do is to use a serial console to boot since
the current
kernels don't recognize the powerbook display/keyboard/mouse. If you have a
second mac handy, hook up a mac printer cable (mini-DB8 on both ends) to
the modem ports of both macs. Run a communications program on the
second mac with 8N1, 9600 baud. If you have a second pc, you'll need a null
modem
cable, which in this case (mac-pc) is a mac printer (imagewriter-I, I
think) cable, which
has a mini-db-8 end and a db-25 end.

Set the booting prefs in the macbsd booter for a serial console. Make sure
the SCSI ID is set correctly. The first time you try it, I would recommend
booting
with the single-user box checked -- if this works, then you can un-check it
and go for the multi-user boot.

The only other things I can think of are to make sure that you turn off all
extensions,
including ramdoubler, and make sure your monitor control panel is set for
black and white.

Booting messages will begin on the powerbook screen, but should soon start
appearing on
the serial console screen.

You should probably verify that your serial console is set up properly
before trying to boot
macbsd. Do this by firing up your comm program on both computers (8N1, 9600
baud)
and verifying that typing on one keyboard shows up on the other screen &
vice-versa.

Good luck, and I hope this helps,

Brian


>I loaded macBSD 1.1 on a PowerBook 170 (68030 with math coprocessor, 8MB
>RAM, System 7.5.1). It does not boot all the way - it gets past the
>copyright and to the following lines:
>
>mrg: Not setting up egret.
>mrg: ADB interrups enabled.
>
>Then it freezes.
>
>Does macBSD run on this Mac? If so, any ideas on what is wrong?
>
>Thanks, Dan.