Subject: Re: le0 Timeouts
To: None <port-vax@netbsd.org>
From: Matt Thomas <matt@3am-software.com>
List: port-vax
Date: 11/01/1999 07:16:24
At 11:10 PM 10/31/99 , NetBSD Mailing list wrote:
> > ----- Original Message -----
> > From: Anders Magnusson <ragge@ludd.luth.se>
> > To: Anders Hogrelius SdU <elt96ahs@mds.mdh.se>
> > Cc: <ragge@ludd.luth.se>; <port-vax@netbsd.org>
> > Sent: Monday, November 01, 1999 2:34 AM
> > Subject: Re: le0 Timeouts
> >
> >
> > > > On Sun, 31 Oct 1999, Anders Magnusson wrote:
> > > >
> > > > > It is fixed already. If you fetch the latest -current and compile it
> > > > > then the timeouts should be gone.
> > > >
> > > > Oh, that would be a simple task, if it wasn't so that -current doesn't
> > > > compile. :-)
> > > > I tried this whith the -current sources as of yesterday, the
> > configuration
> > > > is just a copy of "GENERIC".
> > > >
> > > > The compilation crashes after some 3 hours whith this...
> > > > <snip>
> > > > ld -N -Ttext 80000000 -e start -S -o netbsd ${SYSTEM_OBJ} vers.o
> > > > cd.o: Undefined symbol `_dk_establish' referenced from text segment
> > > > sd.o: Undefined symbol `_dk_establish' referenced from text segment
> > > > *** Error code 1
> > > > </snip>
> > > >
> > > You haven't updated the whole source tree, the files sd.c and cd.c
> > > are too old.
> >
> > Just for the heck of it, i tried i too. Same result. I mirrored the complete
> > src/sys yesterday morning (USA).
>
>"Me too."
>
>The problem is at (for sd.c, and similarly for cd.c) dev/scsipi/sd.c:158:
> #if !defined(i386) && !defined(vax)
> dk_establish(&sd->sc_dk, &sd->sc_dev); /* XXX */
> #endif
>
>Apparently "vax" isn't defined at this point. I got around this by forcing
>the conditional to fail, but I have to do this every time I sup. I haven't
>investigated the definition of "vax" issue (or any other reason for the fail).
That should be __vax__ and __i386__. I'll see if I can fix that later today.
--
Matt Thomas Internet: matt@3am-software.com
3am Software Foundry WWW URL: http://www.3am-software.com/bio/matt/
Cupertino, CA Disclaimer: I avow all knowledge of this message