Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2007 11:21:48 +0200
From:      Joerg Wallerich <joerg@net.t-labs.tu-berlin.de>
To:        Olivier Houchard <mlfbsd@cognet.ci0.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Network problems with sendto() syscall
Message-ID:  <20070827092148.GA34582@falcon.net.t-labs.tu-berlin.de>
In-Reply-To: <20070826122525.GA59924@ci0.org>
References:  <20070826110841.GA31243@falcon.net.t-labs.tu-berlin.de> <20070826122525.GA59924@ci0.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 26, 2007 at 02:25:25PM +0200, Olivier Houchard wrote:
> On Sun, Aug 26, 2007 at 01:08:41PM +0200, Joerg Wallerich wrote:
> > Hi all,
> > 
> > since moving to 7-CURRENT I have a serious problem with
> > the network stack when using the sendto() syscall.
> > 
> > The problem appears as soon as I work with bootpd(8). As
> > soon as bootpd tries to answer a BOOTP request, the
> > sendto() call fails with EAFNOSUPPORT, I get kernel log
> > messages like
> > 
> >  'fxp0: can't handle af18'
> > 
> > and then I can no longer access the IP address I sent the
> > BOOTP request from.
> > 
> > The call to sendto() in bootpd seems OK, so I doubt that the
> > problem lies with bootpd. The NIC driver seems to be OK as
> > well, as the problems appears with three different drivers
> > (fxp, nfe, rl). I even get things like
> > 
> >  'kernel: looutput: af=18 unexpected'
> > 
> > in the logs when using bootptest on the local machine.
> > 
> > This problem can be reproduced on my hardware using a
> > vanilla installation of the latest snapshot of 7-CURRENT (200708).
> > 
> > 
> > Does anyone see this behavior besides myself?
> > 
> >  Thanks,
> >    Joerg
> > 
> 
> Hi Joerg,
> 
> This is a known problem. Until the proper fix is committed, you can use the
> attached patch, it should make bootp usable again.
> 
> Regards,
> 
> Olivier

Hi Olivier,

thanks a bunch! Your patch seems to fix the problem. At least
bootpd works again. 

 Thanks,

   Joerg

-- 
---------------------------------------------------------------
- Joerg Wallerich               joerg@net.t-labs.tu-berlin.de -
- Technische Universitaet Berlin      Phone +49 30 8353 58377 -
- Deutsche Telekom Laboratories                               -
---------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070827092148.GA34582>