From owner-freebsd-current@FreeBSD.ORG Sun Aug 26 11:41:45 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5587216A418 for ; Sun, 26 Aug 2007 11:41:45 +0000 (UTC) (envelope-from joerg@net.t-labs.tu-berlin.de) Received: from mail.net.t-labs.tu-berlin.de (mail.net.t-labs.tu-berlin.de [130.149.220.252]) by mx1.freebsd.org (Postfix) with ESMTP id 1634D13C457 for ; Sun, 26 Aug 2007 11:41:45 +0000 (UTC) (envelope-from joerg@net.t-labs.tu-berlin.de) Received: from falcon.net.t-labs.tu-berlin.de (falcon.net.t-labs.tu-berlin.de [130.149.220.27]) by mail.net.t-labs.tu-berlin.de (Postfix) with ESMTP id 253697059788 for ; Sun, 26 Aug 2007 13:08:42 +0200 (CEST) Received: from falcon.net.t-labs.tu-berlin.de (localhost [127.0.0.1]) by falcon.net.t-labs.tu-berlin.de (8.13.8/8.13.8) with ESMTP id l7QB8fYa031313 for ; Sun, 26 Aug 2007 13:08:41 +0200 (CEST) (envelope-from joerg@net.t-labs.tu-berlin.de) Received: (from joerg@localhost) by falcon.net.t-labs.tu-berlin.de (8.13.8/8.13.8/Submit) id l7QB8fT2031312 for freebsd-current@freebsd.org; Sun, 26 Aug 2007 13:08:41 +0200 (CEST) (envelope-from joerg) Date: Sun, 26 Aug 2007 13:08:41 +0200 From: Joerg Wallerich To: freebsd-current@freebsd.org Message-ID: <20070826110841.GA31243@falcon.net.t-labs.tu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) X-Mailman-Approved-At: Sun, 26 Aug 2007 11:44:13 +0000 Subject: Network problems with sendto() syscall X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Aug 2007 11:41:45 -0000 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 -- --------------------------------------------------------------- - Joerg Wallerich joerg@net.t-labs.tu-berlin.de - - Technische Universitaet Berlin - ---------------------------------------------------------------