Subject: Re: hp 715 new snapshot
To: None <port-hp700@netbsd.org>
From: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: port-hp700
Date: 03/04/2002 03:53:36
On Sun, Mar 03 2002 at 19:57:33 -0500, Matt Fredette wrote:
> Hi!  There is now a binary snapshot of NetBSD/hp700 available under:
> 
> ftp://ftp.netbsd.org/pub/NetBSD/arch/hp700/snapshot/20011209-1.5Z/
Great!!

> 1.  This is really, really alpha stuff.  No foolin.  Use at 
>     your own risk.  I keep the power to my HP/UX drive 
>     disconnected while testing.
Well, I only have Debian GNU/Linux on my drive and I don't mind that much
if it gets destroyed accidently or not...

> How To Use It:
> 
> Setting up to run diskless is similar to other architectures.
> I added an hp700 page to the Diskless NetBSD HOW-TO, at:
> 
> http://www.netbsd.org/Documentation/network/netboot/intro.hp700.html
One question: The page says booting via bootp/tftp isn't supported yet, but
it seems to work on my machine. At least it gets the LIF file loaded (see below).

BTW: dhcpd in the -current tree doesn't understand my HP's bootp requests
(715/80 BootRom 1.4). I know for sure that it used to work with older
versions of dhcpd...

I'm going to send-pr it with more details in a few days, for the impatiant,
here's my little hack-around (patch to dist/dhcp/common/packet.c):

--- packet.c.orig       Fri Aug  3 15:07:04 2001
+++ packet.c    Sun Dec 30 15:32:46 2001
@@ -243,6 +243,8 @@

   ip = (struct ip *)(buf + bufix);
   udp = (struct udphdr *)(buf + bufix + ip_len);
+  buflen-=4;
+  buf[buflen+bufix]=255;

 #ifdef USERLAND_FILTER
   /* Is it a UDP packet? */

Please note that it will break dhclient, but AFAICT it doesn't break
anything in dhcpd.

> So try out the snapshot, and report success and failure to the list.  
> Thanks!
Ok, I tried it on my Mirage. This is how far it gets (with bootp/tftp):

BOOT_ADMIN> boot lan
0x06.C740           




Attempting to boot.

Loading Initial Program Loader

0x06.C580

IPL successfully loaded


Booting
0x06.C7FF
0x00.CEC0



>> NetBSD/hp700 LIF Boot, Revision 1.1
>> (root@the-gates-of-delirium.home, Sat Mar  2 19:34:12 EST 2002)
>> Enter "reset" to reset system.                                 
Boot: [[[lf0a:]netbsd][-a][-c][-d][-s][-v][-q]] :- 
2115088+81920+188416 [281376+67537]=0x3187c8       
Start @ 0x80000 [1=0x342000-0x3987c8]...    
SPID bits: 0x0, error = -2              
[ using 354248 bytes of netbsd ELF symbol table ]
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 (GENERIC) #1: Sun Mar  3 11:25:18 EST 2002
    root@the-gates-of-delirium.home:/data/union-hp700/src/sys/arch/hp700/compile                    /GENERIC
HP9000/715/80 (Mirage) PA-RISC 1.1
real mem = 65536 KB (512 KB reserved for PROM, 51712 KB used by NetBSD)
avail mem = 47988 KB                                                   
using 844 buffers containing 3376 KB of memory
mainbus0 (root)panic: mbattach: cannot map mainbus IO space
Stopped in pid 0 (swapper) at   cpu_Debugger+0x10:      ldo     R'40(%r3),%r30
db> trace                                                                
cpu_Debugger(f00e0,0,1000,20) at cpu_Debugger+0x10
panic(242020,3415a8,1000,0) at panic+0x140        
panic(0,d8bf80,2492a0,0) at panic+0xf0    
mbattach(0,3096bc,2492a0,0) at mbattach+0xc0
config_attach(2492a0,2492a0,0,0) at config_attach+0x43c
config_rootfound(33a620,0,3,ffffffff) at config_rootfound+0x64
cpu_configure(338fd0,1,0,c0000000) at cpu_configure+0x6c      
configure(3a1000,0,0,0) at configure+0x5c               
main(0,0,0,0) at main+0x73c              
$callmain(0,0,0,0) at $callmain+0x8


-- 
Dies ist Thilos Unix Signature! Viel Spass damit.