Subject: Re: Problem booting a DECsystem 5000/200
To: Jens Ohlig <jens@ccc.de>
From: Simon Burge <simonb@wasabisystems.com>
List: port-pmax
Date: 12/02/2001 02:19:15
Jens Ohlig wrote:

> Hello,
> 
> I've been struggling with this problem for some days now and I really
> run out of ideas what to do.
> 
> I installed the current snapshot on a DECsystem 5000/200 using dhcpd
> and tftp, which went absolutely smooth and fine.

Did you do the installation by hand, or use sysinst?

> But after the
> installation the thing won't boot, claiming it cannot open boot.pmax
> in the root filesystem. Of course it's there:
> >>cnfg
>  7: KN02-AA  DEC      V5.3c    TCF0  (104 MB)
>  6: PMAD-AA  DEC      V5.3a    TCF0  (enet: 08-00-2b-24-fb-e3)
>  5: PMAZ-AA  DEC      V5.3b    TCF0  (SCSI = 7)
> >>printenv
>  boot=5/rz0/netbsd

Note that you want to do

	setenv boot '5/rz0/netbsd -a'

at the ">> " prompt if you want your box to come up in multiuser mode.

>  testaction=q
>  haltaction=h
>  more=24
>  console=1
>  #=7
>  osconsole=7
> >>boot
>  
> NetBSD/pmax 1.5Y FFS Primary Bootstrap
> open failed
> open 5/rz0//boot.pmax: 6
> Can't load '5/rz0//boot.pmax'
> open failed
> open 5/rz0//boot: 6
> Can't load '5/rz0//boot'
> open failed
> open 5/rz0//boot.pma: 6
> Can't load '5/rz0//boot.pma'
>  
> KN02-AA V5.3c    (PC: 0x80700070, SP: 0x806fffa0)
> >>
> 
> At this moment I'm about to give up, since there doesn't seem to be
> anyone who's able to help me. Does anyone on this list have any idea
> what might be wrong?

It looks like you have the first stage bootstrap installed ok, but the
first stage can't find the second stage (the "boot.pmax" file).  I take
it you can still boot from your dhcp/tftp setup?  If so, you want to do
something like:

	>> boot 6/tftp		[ get to single user prompt ]
	fsck -p /dev/rrz0a	[ just to make sure ]
	mount /dev/rz0a /mnt	[ mount the root filesystem on the disk ]
	ls -l /mnt/boot*	[ you should see a "boot.pmax" here ]

If you don't see a boot.pmax in the on-disk root directory, you'll need
to copy one there (copy it from /usr/mdec or /mnt/usr/mdec).

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD CDs, Support and Service:    http://www.wasabisystems.com/