Subject: Re: NetBSD/pmax installation
To: Gregory McGarry <gmcgarry@lux.sprc.qut.edu.au>
From: Michael L. Hitch <mhitch@lightning.oscs.montana.edu>
List: port-pmax
Date: 07/12/1997 14:21:06
On Jul 12, 5:06am, Jonathan Stone wrote:
>
> Gregory McGarry <gmcgarry@lux.sprc.qut.edu.au> writes:
>
> >Tohru Nishimura wrote:
>
> >> I learned MAXINE can not complete netboot procedure with video
> >> console. (Jonathan already has some guess of the cause). So, you
> >> have to use serial console hooked up MAXINE serial port for TFTPboot.
>
> >I can verify this. I don't have a serial console either. Is this the
> >next logical problem in the NetBSD/pmax installation procedure?
>
> Acutally, it would help a **lot** if someone who has a Personal
> Decstation already set up to boot locally, and with access to a second
> machine on the same nework, could build a GENERIC test kernel,
> netbooting it, and seeing
> what's happening here.
The following patch seens to fix it for me (with an sfb console):
*** /c/src/sys/arch/pmax/dev/dtop.c Sun Jun 22 05:39:42 1997
--- ./dtop.c Sat Jul 12 14:19:11 1997
***************
*** 626,633 ****
--- 626,635 ----
{
register int c;
dtop_softc_t dtop;
+ int s;
dtop = dtop_cd.cd_devs[0];
+ s = spltty();
again:
c = -1;
***************
*** 648,654 ****
&ds->status, &msg,
DTOP_EVENT_RECEIVE_PACKET, -1);
! if (c > 0) return c;
c = -1;
}
--- 650,660 ----
&ds->status, &msg,
DTOP_EVENT_RECEIVE_PACKET, -1);
!
! if (c > 0) {
! splx(s);
! return c;
! }
c = -1;
}
***************
*** 660,665 ****
--- 666,672 ----
goto again;
}
+ splx(s);
return c;
}
--
Michael L. Hitch mhitch@montana.edu
Computer Consultant
Information Technology Center
Montana State University Bozeman, MT USA