Subject: Re: Installing NetBSD 2.1 on Quadra 950
To: Gheorghe Ardelean <ardelean@ww.uni-erlangen.de>
From: William Duke <wduke@cogeco.ca>
List: port-mac68k
Date: 05/04/2006 09:35:37
On Thu, 2006-04-05 at 00:03 +0200, Gheorghe Ardelean wrote:
> Hi,
> 
> I have tried, as an exercise, to install NetBSD 2.1 on a Quadra 950.
> The installation I've done consists of booting the netbsd install kernel
> from MacOS with Booter 2.0 and then run the installation totally within
> NetBSD via the serial console. Everything went ok until reboot.
> After reboot I could not get to a login prompt. Instead of a login
> prompt came only the message that the ttyE0 device was not present.
> After that I have rebooted in single user mode and found out that in
> my case (Quadra 950) the proper device is ttyZ0 (corresponds to the
> zstty detected on QUADRA at boot time -- see /dev/MAKEDEV).
> 
> So I added the following line in /etc/ttys:
> 
> # Define the console that we actually run getty on.
> ttyZ0   "/usr/libexec/getty Pc"         vt220   on secure
> 
> and rebooted. This time I've got the login prompt on the serial console.
> 
> NetBSD/mac68k (quadra950) (ttyZ0)
> 
> login:
> 
> after logging in as root:
> 
> quadra950# w
>  9:53PM  up  2:02, 1 user, load averages: 0.67, 0.38, 0.85
> USER    TTY FROM              LOGIN@  IDLE WHAT
> root     Z0 -                 9:53PM     0 w
> 
> And now the Quadra is usable either over serial console or over network.
> Maybe somebody could add this to /etc/ttys in repo?
> 
> Regards,
> 
> Gheorghe Ardelean.
> 
> P.S. Here is the dmesg form the Quadra:
> Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
>     The NetBSD Foundation, Inc.  All rights reserved.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>     The Regents of the University of California.  All rights reserved.
> 
> NetBSD 2.1 (GENERIC) #0: Mon Oct 24 22:13:16 UTC 2005
> 
> builds@b2.netbsd.org:/home/builds/ab/netbsd-2-1-RELEASE/mac68k/200510241747Z-obj/home/builds/ab/netbsd-2-1-RELEASE/src/sys/arch/mac68k/compile/GENERIC
> Apple Macintosh Quadra 950  (68040)
> cpu: delay factor 1067
> total memory = 81920 KB
> avail memory = 75656 KB
> mrg: 'Quadra950 class ROMs' ROM glue, tracing off, debug off, silent traps
> mainbus0 (root)
> obio0 at mainbus0
> esp0 at obio0 (quick): address 0x897000: NCR53C96, 25MHz, SCSI ID 7
> scsibus0 at esp0: 8 targets, 8 luns per target
> esp1 at obio0 (quick): address 0x897402: NCR53C96, 25MHz, SCSI ID 7
> scsibus1 at esp1: 8 targets, 8 luns per target
> adb0 at obio0
> asc0 at obio0: Apple Sound Chip
> intvid0 at obio0 @ f9001000: DAFB video subsystem, monitor sense 1
> intvid0: 640 x 480, monochrome
> macfb0 at intvid0
> wsdisplay0 at macfb0 (kbdmux ignored)
> sn0 at obio0: integrated Ethernet adapter
> sn0: Ethernet address 08:00:07:d4:65:4e
> iwm0 at obio0: Apple GCR floppy disk controller
> fd0 at iwm0 drive 0: (HD disk -- not supported)
> fd1 at iwm0 drive 1: (HD disk -- not supported)
> zsc0 at obio0 chip type 0
> zsc0 channel 0: d_speed   9600 DCD clk 0 CTS clk 0
> zstty0 at zsc0 channel 0 (console i/o)
> zsc0 channel 1: d_speed   9600 DCD clk 0 CTS clk 0
> zstty1 at zsc0 channel 1
> nubus0 at mainbus0
> fpu0 at mainbus0 (mc68040)
> adb0 (direct, IOP): 0 targets
> aed0 at adb0 addr 0: ADB Event device
> scsibus0: waiting 2 seconds for devices to settle...
> scsibus1: waiting 2 seconds for devices to settle...
> sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST32430N, 0266> disk fixed
> sd0: 2047 MB, 3992 cyl, 9 head, 116 sec, 512 bytes/sect x 4193415 sectors
> sd0: sync (160.00ns offset 15), 8-bit (6.250MB/s) transfers
> cd0 at scsibus0 target 2 lun 0: <MATSHITA, CD-ROM CR-8004, 1.1f> cdrom removable
> cd0: sync (480.00ns offset 8), 8-bit (2.083MB/s) transfers
> boot device: sd0
> root on sd0a dumps on sd0b
> root file system type: ffs
> 
> 

Have you encountered any problems with running NetBSD on your Quadra
950?   I have a Quadra 950 kicking around here that I might try
installing NetBSD on.

Keep us posted on usability.