[Soekris] Re: vpn1411 problem
Mike Tancsa
mike at sentex.net
Thu Aug 26 02:42:09 UTC 2004
I would open a PR on the openbsd website with all the details of the
problem and how to reproduce it. Is it possible you just have bad hardware ?
---Mike
At 05:41 AM 25/08/2004, John R. Shannon wrote:
>Hmm ...
>
>I'm running yesterday's source yet I still get:
>
>hifn0: abort, resetting.
>hifn0: proc unit did not reset
>
>after it runs for awhile.
>
>On Tuesday 24 August 2004 08:20 pm, Mike Tancsa wrote:
> > At 10:06 PM 24/08/2004, Gabriel Ebner wrote:
> > >Mike Tancsa <mike at sentex.net> writes:
> > > > The latest version in OpenBSD fixes the problem for me and I have a
> > > > patch kicking around for FreeBSD that seems to fix it as well. I have
> > > > only tested on the full sized boards, not the mini versions. But the
> > > > symptons you describe are what I was seeing.
> > >
> > >By "latest version", do you mean OpenBSD-3.5 or OpenBSD-CURRENT?
> >
> > Current. However, you should be able to grab just the HiFn changes from
> > the CVS
> >
> > http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/hifn7751.c
> >
> > For FreeBSD, this seemed to fix the problem for me
> >
> > --- hifn7751.c Wed Oct 8 19:52:00 2003
> > +++ hifn7751.c.new Tue Aug 3 21:03:38 2004
> > @@ -1916,10 +1916,9 @@
> > * interrupt salvages us from), unless there is more than one
> > command * in the queue.
> > */
> > - if (dma->cmdu > 1) {
> > - sc->sc_dmaier |= HIFN_DMAIER_C_WAIT;
> > - WRITE_REG_1(sc, HIFN_1_DMA_IER, sc->sc_dmaier);
> > - }
> > +/* sc->sc_dmaier |= HIFN_DMAIER_C_WAIT;
> > + WRITE_REG_1(sc, HIFN_1_DMA_IER, sc->sc_dmaier);
> > +*/
> >
> > hifnstats.hst_ipackets++;
> > hifnstats.hst_ibytes += cmd->src_mapsize;
> >
> > ---Mike
> >
> > _______________________________________________
> > Soekris-tech mailing list
> > Soekris-tech at lists.soekris.com
> > http://lists.soekris.com/mailman/listinfo/soekris-tech
>
>--
>
>John R. Shannon
>john at johnrshannon.com
More information about the Soekris-tech
mailing list