Subject: sneak preview: hp700
To: None <port-hp700@netbsd.org>
From: Matt Fredette <fredette@theory.lcs.mit.edu>
List: port-hp700
Date: 02/01/2002 11:53:40
Hi!  At the end of September I got an HP 9000/715, and I grabbed
all of the OpenBSD/hppa code and started working on it.  Michael
Shalayeff, the OpenBSD/hppa port maintainer, has a very good
foundation of code, which has saved me months of time.  Now, after 
a lot of coding myself I'm into single-user mode.  

This is really just a sneak preview - this entire effort is still
in its earliest stages.  The system is not stable.  Many questions 
that you may have, I may not be able to answer (I'm no expert on 
the architecture - but I am learning more every day.)  I don't have 
anything that can be downloaded and generally used yet, on the 715 
or any other machine.  

But things are looking up...

Matt

-- 
Matt Fredette

Script started on Fri Feb  1 10:58:47 2002
chimes-of-freedom# tip hardwire
connected

BOOT_ADMIN> boot lan

Trying lan.000000-000000.0.0
Boot path initialized.
Attempting to load IPL.


Hard booted.



>> NetBSD/hp700 LIF Boot, Revision 1.1
>> (fredette@the-gates-of-delirium.home, Thu Jan 31 13:32:45 EST 2002)
>> Enter "reset" to reset system.
Boot: [[[dk0a:]netbsd][-a][-c][-d][-s][-v][-q]] :- 
2097152+176128 [83280+59452]=0x24f1e8
Start @ 0x12000 [1=0x23d000-0x2611e8]...
PDC_CACHE_SETCS: 0, 0, 0, 0 (-2)
SPID bits: 0x0, error = -2
WARNING: no HPT support, fine!
pdc_coproc: c0, c0
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001
    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.5Z (ZOOROPA) #222: Fri Feb  1 10:52:03 EST 2002
    fredette@the-gates-of-delirium.home:/data/union-hp700/src/sys/arch/hp700/compile/ZOOROPA
HP9000/715/50 (Scorpio) PA-RISC 1.1
real mem = 49152 KB (73728 reserved for PROM, 32768 KB used by NetBSD)
avail mem = 42380 KB
using 640 buffers containing 2560 KB of memory
mainbus0 (root) [flex fff80000]
pdc0 at mainbus0
mem0 at mainbus0 hpa fffbf000: viper rev 0, ctrl 19a10001<eisa_den,lpmc_en> >> 19a10009<eisa_den,core_prf,lpmc_en> size 48MB
cpu0 at mainbus0 hpa fffbe000 irq 31: PCXT rev 2, lev 1, cat A, 50 MHz clk
cpu0: shadows, 64K/64K D/I caches, 120 shared TLB, 16 shared BTLB
cpu0: PCX-T (Rolex - CMOS-26B) floating point, rev 1
asp0 at mainbus0 hpa f082f000 irq 28: Scorpio rev 1, lan 1 scsi 7
gsc0 at asp0: leds
kgdb: attaching com at 0xf0822000 at 9600 baud... ok
kgdb waiting...connected.
"Advanced audio (ext.)" at gsc0 (type a, sv 7b) hpa f1000000 not configured
lpt0 at gsc0 hpa f0824000 irq 7
com0 at gsc0 hpa f0822000 irq 5: ns16550a, working fifo
com0: kgdb
com1 at gsc0 hpa f0823000 irq 6: untouched, assumed serial console
"Core HIL" at gsc0 (type a, sv 73) hpa f0821000 not configured
ie0 at gsc0 hpa f0826000 irq 8: v0.0 address 08:00:09:49:15:19, type i82596DX
osiop0 at gsc0 hpa f0825000 irq 9: NCR53C700 rev 0, 50MHz, SCSI ID 7
scsibus0 at osiop0: 8 targets, 8 luns per target
sti0 at mainbus0 hpa f4000000: HPA1991AC19 rev 8.02;10
sti0: 2048x1024 frame buffer, 1280x1024x8 display, offset 0x0
sti0: 10x20 font type 1, 40 bpc, charset 0-255
wsdisplay0 at sti0
biomask 00000203 netmask 00000303 ttymask 000003a7
i82586_tint: command still busy; status=0x6c33; tail=0
iestatus = 0xa000
scsibus0: waiting 2 seconds for devices to settle...
cd0 at scsibus0 target 2 lun 0: <TOSHIBA, CD-ROM XM-3301TA, 0272> SCSI2 5/cdrom removable
cd0: async, 8-bit transfers
boot device: ie0
root on ie0
mountroot: trying nfs...
nfs_boot: trying DHCP/BOOTP
intr: can't handle interrupt
intr: can't handle interrupt
nfs_boot: DHCP next-server: 10.0.0.10
nfs_boot: my_domain=home
nfs_boot: my_addr=10.0.0.13
nfs_boot: my_mask=255.0.0.0
nfs_boot: gateway=10.0.0.1
intr: can't handle interrupt
root on 10.0.0.10:/data/export/hp700-root
root time: 0x3c51160e
WARNING: clock lost 752 days -- CHECK AND RESET THE DATE!
root file system type: nfs
init: copying out flags `-s' 3
init: copying out path `/sbin/init' 11
Enter pathname of shell or RETURN for sh: 
We recommend creating a non-root account and using su(1) for root access.
# 
# uname -a
NetBSD  1.5Z NetBSD 1.5Z (ZOOROPA) #222: Fri Feb  1 10:52:03 EST 2002     fredette@the-gates-of-delirium.home:/data/union-hp700/src/sys/arch/hp700/compile/ZOOROPA hp700
# 
# vmstat -i
interrupt                                     total     rate
irq0                                            139        2
irq1                                           1223       21
irq8                                           1552       27
irq9                                             34        0
irq31                                          6933      123
Total                                          9881      176

# ls -l
total 2336
-rw-r--r--   2 root  wheel      939 Jan 31  2002 .cshrc
-rw-r--r--   2 root  wheel      495 Jan 31  2002 .profile
drwxr-xr-x   2 root  wheel      512 Dec 18  2001 altroot
drwxr-xr-x   2 root  wheel     1024 Jan 31  2002 bin
drwxr-xr-x   4 root  wheel     9216 Jan 31  2002 dev
drwxr-xr-x  16 root  wheel     1536 Jan 31  2002 etc
drwxr-xr-x   2 root  wheel      512 Dec 18  2001 home
drwxr-xr-x   2 root  wheel      512 Dec 18  2001 mnt
-rwxr-xr-x   1 root  wheel  2270104 Feb  1  2002 netbsd
drwxr-xr-x   2 root  wheel      512 Jan 31  2002 root
drwxr-xr-x   2 root  wheel     2048 Jan 31  2002 sbin
drwxr-xr-x   2 root  wheel      512 Dec 18  2001 stand
lrwxr-xr-x   1 root  wheel       11 Jan 31  2002 sys -> usr/src/sys
drwxrwxrwt   2 root  wheel      512 Feb  1  2002 tmp
drwxr-xr-x  13 root  wheel      512 Jan 31  2002 usr
drwxr-xr-x  21 root  wheel      512 Jan 23  2002 var
# 
# ps ax
ps: warning: /var/run/dev.db: No such file or directory
PID TT STAT    TIME COMMAND
  0 ?? DKs  0:00.02 [swapper]
  1 ?? Ss   0:00.07 init -s 
  2 ?? DK   0:00.00 [osiop0:0]
  3 ?? SK   0:00.00 [nfsio]
  4 ?? SK   0:00.00 [nfsio]
  5 ?? SK   0:00.00 [nfsio]
  6 ?? SK   0:00.00 [nfsio]
  7 ?? DK   0:00.02 [pagedaemon]
  8 ?? DK   0:00.04 [reaper]
  9 ?? DK   0:00.02 [ioflush]
 10 ?? DK   0:00.08 [aiodoned]
 11 ?? Ss   0:00.59 -sh 
 15 ?? R+   0:00.12 ps ax 
# 
# file netbsd
intr: can't handle interrupt
netbsd: ELF 32-bit MSB executable, PA-RISC version 1 (HP-UX), statically linked, not stripped
# 
# reboot
intr: can't handle interrupt
Jan  4 02:14:48 reboot: rebooted by root
sendsig: init[1] sig 18 catcher 0x4560
sendsig(1): sig 18 scp 0x68ff3614 fp 0x68ff3614 sc_sp 68ff3600 sc_ap 68ff364c
sigreturn: pid 1, scp 0x68ff3614
sigreturn(1): sc_ap 68ff364c flags 2
sigreturn(1): returns
syncing disks... done
unmounting / (10.0.0.10:/data/export/hp700-root)...
WARNING: not updating battery clock
rebooting...


              (c) Copyright Hewlett-Packard Company, 1991, 1992
Portions of this code are (c) Copyright Samsung Electronics Co., Ltd, 91, 92 

PDC ROM rev. 1.2
IODC ROM rev. 1.1
48 MB of memory have been configured.


Selecting a system to boot.
To stop selection process, press and hold the ESCAPE key.

Selection process stopped.

Searching for Potential Boot Devices.
To terminate search, press and hold the ESCAPE key.

Search terminated.



b)    Boot from specified device
s)    Search for bootable devices
a)    Enter Boot Administration mode
x)    Exit and continue boot sequence
?)    Help

Select from menu: a
BOOT_ADMIN> 
BOOT_ADMIN> ~
[EOT]
chimes-of-freedom# exit
chimes-of-freedom# exit

Script done on Fri Feb  1 11:02:25 2002