Subject: Back at single user mode! Testers needed!
To: None <port-hp700@NetBSD.org>
From: Jochen Kunz <jkunz@unixag-kl.fh-kl.de>
List: port-hp700
Date: 10/29/2003 19:24:29
Hi.

Good news: I got a kernel booting diskless to single user mode with the
old userland fron the last snapshoot. I commented out the third
instruction of cpu_switch() in locore.s that writes NULL to curlwp. The
kernel allways crashed at that point. I will try to investigate this
later.
ENTRY(cpu_switch,128)

        /*
         * Clear curlwp so that we don't accumulate system time while
idle.
         */
        ldil    L%curlwp, %t1
        ldw     R%curlwp(%t1), %arg2
/*      stw     %r0, R%curlwp(%t1) */
        /* remain on the old (curlwp)'s stack until we have a better
choice */


Only the 715/100XC has a disk. Due to the recent changes to the hp700
disklabel(5) code I have no working disklabel(8). I need to build a
-current userland, this will take some time. So diskless is all at the
moment.

On the dmesg(8) output below you can see that this stuff runs on three
mayor machine types: B132L with the newer device scanning code and
Phantom port, 715/100XC with the old device scanning code and LASI and
on a 715/33 with old device scanning code and ASP chip set. 

If you have a [ABCJK] class machine and you want to help: I will put
this test kernel and source diffs on
http://www.unixag-kl.fh-kl.de/~jkunz/NetBSD/hp700/ later tonight. The
old userland is still available on the NetBSD ftp site.
(ftp://ftp.NetBSD.org/pub/NetBSD/arch/hp700/snapshot/20020706-1.6D/ and
ftp://ftp.NetBSD.org/pub/NetBSD/misc/fredette/hp700/hp700-update-20020905.tar.gz)
Please give it a test. Especially of interrest are the machine types:
C100/C110, A180 and J2xx. They have only slightly different hardware
then my B132L so they may just run. 


NetBSD 1.6ZE (SMALL) #1: Wed Oct 29 18:26:55 CET 2003
	jkunz@SirTobie:/usr/src-current/objdir/hp700/sys/arch/hp700/compile/SMALL
HP9000/778/B132L (Merlin L2 132)
real mem = 192 MB (73728 reserved for PROM, 177 MB used by NetBSD)
avail mem = 164 MB
using 2483 buffers containing 9932 KB of memory
mainbus0 (root) [flex fff80000]
pdc0 at mainbus0
curlwp=0x64cb08
pdc_scanbus_system_map
mem0 at mainbus0 hpa 0xfffbf000 path 63: size 192MB, 1MB L2 cache
cpu0 at mainbus0 hpa 0xfffbe000 path 62 irq 31 ipl 0: PA7300LC
(Velociraptor) rev 4
cpu0: PCX-L2, PA-RISC 1.1e, lev 1, cat A, 132 MHz clk
cpu0: shadows, 64K/64K D/I caches, 96 shared TLB, 8 shared BTLB
cpu0: VR floating point, rev 1
phantomas0 at mainbus0 hpa 0xffc00000 path 8
pdc_scanbus_system_map
"GIO Graphics" at phantomas0 (type 0xa, sv 0x85) hpa 0xf8000000 path
8/24 not configured
"WAX Bus Adapter" at phantomas0 (type 0xb, sv 0x8e) hpa 0xffe00000 path
8/20 not configured
lasi0 at phantomas0 hpa 0xffc00000 path 8/16 irq 28: rev 3.0
gsc0 at lasi0
pdc_scanbus_system_map
"PS/2 port" at gsc0 (type 0xa, sv 0x84) hpa 0xffd08100 path 8/16/8 not
configured
"PS/2 port" at gsc0 (type 0xa, sv 0x84) hpa 0xffd08000 path 8/16/7 not
configured
ie0 at gsc0 hpa 0xffd07000 path 8/16/6 irq 8 ipl 1: v3.0 address
08:00:09:ef:04:41, type LASI/i82596CA
osiop0 at gsc0 hpa 0xffd06000 path 8/16/5 irq 9 ipl 2: NCR53C710 rev 2,
40MHz, SCSI ID 7
scsibus0 at osiop0: 8 targets, 8 luns per target
"Core RS-232C" at gsc0 (type 0xa, sv 0x8c) hpa 0xffd05000 path 8/16/4
not configured
"Advanced audio (ext.)" at gsc0 (type 0xa, sv 0x7b) hpa 0xffd04000 path
8/16/1 not configured
lpt0 at gsc0 hpa 0xffd02000 path 8/16/0 irq 7 ipl 3
"PCI Bridge" at phantomas0 (type 0xd, sv 0xa) hpa 0xfff80000 path 8/0
not configured
curlwp=0x64cb08
biomask 00000034 netmask 00000036 ttymask 0000007e
scsibus0: waiting 2 seconds for devices to settle...
boot device: ie0
root on ie0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.2.254
nfs_boot: my_addr=192.168.2.101
nfs_boot: my_mask=255.255.255.0
root on 192.168.2.2:/usr/nfsroot/NetBSD/hp700
root file system type: nfs


NetBSD 1.6ZE (SMALL) #1: Wed Oct 29 18:26:55 CET 2003
	jkunz@SirTobie:/usr/src-current/objdir/hp700/sys/arch/hp700/compile/SMALL
HP9000/715/33 (Scorpio Jr.)
real mem = 65536 KB (73728 reserved for PROM, 57520 KB used by NetBSD)
avail mem = 53004 KB
using 844 buffers containing 3376 KB of memory
mainbus0 (root) [flex fff80000]
pdc0 at mainbus0
curlwp=0x64cb08
pdc_scanbus_memory_map
mem0 at mainbus0 hpa 0xfffbf000 path 9: viper rev 0, ctrl
19a10001<eisa_den,lpmc_en> size 64MB
cpu0 at mainbus0 hpa 0xfffbe000 path 8 irq 31 ipl 0: PA7100 (T-Bird) rev
2
cpu0: PCX-T, PA-RISC 1.1b, lev 1, cat A, 33.33 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 0xf0000000 path 2 irq 28: Scorpio rev 1, lan 1 scsi
7
gsc0 at asp0: leds
pdc_scanbus_memory_map
"Advanced audio (ext.)" at gsc0 (type 0xa, sv 0x7b) hpa 0xf1000000 path
2/8 not configured
lpt0 at gsc0 hpa 0xf0824000 path 2/6 irq 7 ipl 1
"Core RS-232C" at gsc0 (type 0xa, sv 0x75) hpa 0xf0822000 path 2/5 not
configured
"Core RS-232C" at gsc0 (type 0xa, sv 0x75) hpa 0xf0823000 path 2/4 not
configured
"Core HIL" at gsc0 (type 0xa, sv 0x73) hpa 0xf0821000 path 2/3 not
configured
ie0 at gsc0 hpa 0xf0826000 path 2/2 irq 8 ipl 2: v0.0 address
08:00:09:62:6a:d6, type i82596DX
oosiop0 at gsc0 hpa 0xf0825000 path 2/1 irq 9 ipl 3: NCR53C700 rev 0,
33MHz, SCSI ID 7
scsibus0 at oosiop0: 8 targets, 8 luns per target
"SGC Graphics" at mainbus0 (type 0xa, sv 0x77) hpa 0xf4000000 path 0 not
configured
curlwp=0x64cb08
biomask 00000038 netmask 0000003c ttymask 0000007e
i82586_tint: command still busy; status=0x25ae; tail=0
iestatus = 0xa000
scsibus0: waiting 2 seconds for devices to settle...
boot device: ie0
root on ie0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.2.254
nfs_boot: my_addr=192.168.2.105
nfs_boot: my_mask=255.255.255.0
root on 192.168.2.2:/usr/nfsroot/NetBSD/hp700
WARNING: clock lost 12354 days -- CHECK AND RESET THE DATE!
root file system type: nfs



NetBSD 1.6ZE (SMALL) #1: Wed Oct 29 18:26:55 CET 2003
	jkunz@SirTobie:/usr/src-current/objdir/hp700/sys/arch/hp700/compile/SMALL
HP9000/715/100XC (Mirage Sr.)
real mem = 224 MB (73728 reserved for PROM, 208 MB used by NetBSD)
avail mem = 192 MB
using 2892 buffers containing 11568 KB of memory
mainbus0 (root) [flex fff80000]
pdc0 at mainbus0
curlwp=0x64cb08
pdc_scanbus_memory_map
mem0 at mainbus0 hpa 0xfffbf000 path 9: viper rev 0, ctrl 40400100 size
224MB
cpu0 at mainbus0 hpa 0xfffbe000 path 8 irq 31 ipl 0: PA7100LC
(Hummingbird) rev 6
cpu0: PCX-L, PA-RISC 1.1c, lev 1, cat A, 100 MHz clk
cpu0: shadows, 512K/512K D/I caches, 64 shared TLB, 8 shared BTLB
cpu0: PCX-L (CMOS-26B) floating point, rev 1
"WAX Bus Adapter" at mainbus0 (type 0xb, sv 0x8e) hpa 0xf0200000 path 5
not configured
"WAX EISA Bus Adapter" at mainbus0 (type 0xb, sv 0x90) hpa 0xfc000000
path 4 not configured
lasi0 at mainbus0 hpa 0xf0000000 path 2 irq 28: rev 3.0
gsc0 at lasi0
pdc_scanbus_memory_map
"PS/2 port" at gsc0 (type 0xa, sv 0x84) hpa 0xf0108100 path 2/12 not
configured
"PS/2 port" at gsc0 (type 0xa, sv 0x84) hpa 0xf0108000 path 2/11 not
configured
"floppy controller" at gsc0 (type 0xa, sv 0x83) hpa 0xf010a000 path 2/10
not configured
"Advanced audio (ext.)" at gsc0 (type 0xa, sv 0x7b) hpa 0xf0104000 path
2/8 not configured
lpt0 at gsc0 hpa 0xf0102000 path 2/6 irq 7 ipl 1
"Core RS-232C" at gsc0 (type 0xa, sv 0x8c) hpa 0xf0105000 path 2/4 not
configured
ie0 at gsc0 hpa 0xf0107000 path 2/2 irq 8 ipl 2: v2.0 address
08:00:09:e1:51:3a, type LASI/i82596CA
osiop0 at gsc0 hpa 0xf0106000 path 2/1 irq 9 ipl 3: NCR53C710 rev 2,
40MHz, SCSI ID 7
scsibus0 at osiop0: 8 targets, 8 luns per target
"GIO Graphics" at mainbus0 (type 0xa, sv 0x85) hpa 0xf8000000 path 1 not
configured
curlwp=0x64cb08
biomask 00000038 netmask 0000003c ttymask 0000007e
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST32430N, HP04> disk fixed
sd0: 2048 MB, 3992 cyl, 9 head, 116 sec, 512 bytes/sect x 4194685
sectors
sd0: sync (100.00ns offset 8), 8-bit (10.000MB/s) transfers
boot device: ie0
root on ie0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.2.254
nfs_boot: my_addr=192.168.2.102
nfs_boot: my_mask=255.255.255.0
root on 192.168.2.2:/usr/nfsroot/NetBSD/hp700
WARNING: clock lost 15 days -- CHECK AND RESET THE DATE!
root file system type: nfs
/etc/rc.conf is not configured.  Multiuser boot aborted.
Enter pathname of shell or RETURN for sh: 
Terminal type is vt100.                                                 
We recommend creating a non-root account and using su(1) for root
access.
# set -E
# dd if=/dev/rsd0c of=/dev/null bs=64k count=1600
sd0: no disk label
1600+0 records in
1600+0 records out
104857600 bytes transferred in 18.020 secs (5818956 bytes/sec)
# 
-- 


tschüß,
       Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/