Subject: Mips 3230 port running in multiuser
To: None <>
From: Wayne Knowles <>
List: port-mips
Date: 07/18/2000 18:17:11
To all those interested in Mips R3000 Magnums - a new milestone has been

Single user was achieved a few days ago. I have been busy trying to
get the dynamic linker to work and solving a few problems talking to the
filesystems.   I have managed to solve the major problems and the machine
is running in a stable condition at present.  I can even mount filesystems
using NFS!!!

If anyone has an old Mips 3x30 machine in the corner it might be a good
time to dust it off and find an ASCII terminal that still works.

The userland is based on a NetBSD/newsmips shapshot which is slightly out
of sync with NetBSD 1.4.2 which is where I have been basing the port.

There is only a skeleton clockchip driver written, plus there is currently
no microtime support - that is next on my list to do.   Another issue is
to do with the console interface - it doesn't want to be opened by getty
when the machine is in multi-user mode.
For those who want to try booting a test kernel or perhaps getting
userland running I will put together a few notes and a test kernel over
the next few days.

Rx3230 MIPS Monitor: Version 5.43 OPT Mon May 13 17:31:12 PDT 1991 root
Memory size: 33554432 (0x2000000) bytes, 32 MB
Icache size: 32768 (0x8000) bytes
Dcache size: 32768 (0x8000) bytes
>> boot bootp()netbsd
210192+58672+230560 entry: 0xa0600000
Standalone Shell: Version 5.03 OPT Tue Jan 15 07:37:34 PST 1991 root

Loading bootp()netbsd
Obtaining netbsd from server
1025648+500527+124032 entry: 0x80021000
Copyright (c) 1996, 1997, 1998, 1999, 2000
    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 1.4.2 (HEWEY) #484: Mon Jul 17 20:37:21 PDT 2000
real mem  = 33554432
avail mem = 27840512
using 819 buffers containing 3354624 bytes of memory
Mips Rc3230 Magnum
mainbus0 (root)
cpu0 at mainbus0: cpu0: MIPS R3000 CPU Rev. 3.0 with MIPS R3010 FPC Rev. 4.0
cpu0: 32kb Instruction, 32kb Data, direct mapped cache
hb0 at mainbus0
mkclock0 at hb0 addr 0xbd00000
asc0 at hb0 addr 0xb8000000 [old revision]: NCR53C94, 24MHz, SCSI ID 7
scsibus0 at asc0: 8 targets, 8 luns per target
sd0 at scsibus0 targ 0 lun 0: <DEC, RZ25L    (C) DEC, 0008> SCSI2 0/direct fixed
sd0: 510MB, 1872 cyl, 7 head, 79 sec, 512 bytes/sect x 1046206 sectors
sd1 at scsibus0 targ 2 lun 0: <SEAGATE, ST31200N, 8008> SCSI2 0/direct fixed
sd1: 1006MB, 2700 cyl, 9 head, 84 sec, 512 bytes/sect x 2061108 sectors
sd2 at scsibus0 targ 4 lun 0: <SEAGATE, ST15150N, 0023> SCSI2 0/direct fixed
sd2: 4095MB, 3712 cyl, 21 head, 107 sec, 512 bytes/sect x 8388315 sectors
st0 at scsibus0 targ 6 lun 0: <ARCHIVE, VIPER 150  21247, -005> SCSI1 1/sequential removable
st0: rogue, drive empty
zsc0 at hb0 addr 0xbb000000
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1 (console)
le0 at hb0 addr 0xba000000: address 00:00:6b:82:52:44
le0: 8 receive buffers, 2 transmit buffers
Setting up timer interrupts...
boot device: <unknown>
root device: sd1
dump device (default sd1b): 
file system (default generic): 
root on sd1a dumps on sd1b
Found NetBSD disk label
mountroot: trying cd9660...
mountroot: trying nfs...
mountroot: trying ffs...
WARNING: preposterous time in file system
root file system type: ffs
init: copying out flags `-s' 3
init: copying out path `/sbin/init' 11
Enter pathname of shell or RETURN for sh: 
Don't login as root, use the su command.
No entry for terminal type "dumb";
using dumb terminal settings.
# ^D
swapctl: adding /dev/sd1b as swap device at priority 0
/dev/sd1a: file system not clean (fs_flags=0); please fsck(8)
setting tty flags
starting network
hostname: mips3230
domainname: lab
configuring network interfaces: le0.
add net default: gateway
adding interface aliases:
building databases...
dmesg: kvm_read: kvm_read: Bad address (0x27bd0030)
starting system logger
checking for core dump...
savecore: can't find device 128/33
starting rpc daemons:.
/dev/sd1a: file system not clean (fs_flags=0); please fsck(8)
Found NetBSD disk label
setting securelevel: Dec 31 16:02:52 mips3230 savecore: can't find device 128/33
kern.securelevel: 0 -> 1
checking quotas: done.
clearing /tmp
updating motd.
standard daemons: cron.
starting network daemons: inetd.
starting local daemons:.

  _____	   	Wayne Knowles,  Systems Manager
 / o   \/   	National Institute of Water & Atmospheric Research Ltd
 \/  v /\   	P.O. Box 14-901 Kilbirnie, Wellington, NEW ZEALAND
  `---'     	Email: