From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 17:38:13 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19F1D16A4CE; Wed, 12 Jan 2005 17:38:13 +0000 (GMT) Received: from banka.binep.ac.ru (banka.binep.ac.ru [193.233.44.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FFE243D31; Wed, 12 Jan 2005 17:38:12 +0000 (GMT) (envelope-from goshik@binep.ac.ru) Received: from banka.binep.ac.ru (localhost.binep.ac.ru [127.0.0.1]) by banka.binep.ac.ru (Postfix) with ESMTP id 240611534E; Wed, 12 Jan 2005 20:38:09 +0300 (MSK) Received: from byfi.binep.ac.ru (byfi.binep.ac.ru [193.233.44.234]) by banka.binep.ac.ru (Postfix) with ESMTP id 099151533D; Wed, 12 Jan 2005 20:38:09 +0300 (MSK) Date: Wed, 12 Jan 2005 20:37:23 +0300 From: "Igor B. Bykhalo" X-Mailer: The Bat! (v2.10.03) Personal Organization: BINEPCP RAS X-Priority: 3 (Normal) Message-ID: <1062371492.20050112203723@binep.ac.ru> To: FreeBSD Questions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP cc: bp@FreeBSD.org Subject: RELENG_4 IPX commit broke net/mars_nwe? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Igor B. Bykhalo" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jan 2005 17:38:13 -0000 [Cc'ing Boris Popov as maintainer] Greeings! On my RELENG_4 file server box the follwoing commit broke net/mars_nwe port: Edit src/sys/netipx/ipx.h Add delta 1.15.2.1 2005.01.02.13.00.51 rwatson First, after upgrading machine (buildworld, kernel, installworld), non-rebuilt nwserv didn't even start. After port was rebuilt, it starts, but server doesn't appear on the network and doesn't accept connections from client Windows boxes. There is no errors or warnings in log files of IPXrouted(8) or port programs, so i am totally lost... Here are corresponding parts of ps -ax and other network info: [...] 73 ?? Is 0:00,02 IPXrouted -s /var/log/nw.ipx.log [...] 374 ?? I 0:00,04 nwbind GO aa.aa.0.0:0.0.0.0.0.1:4.51 400c 375 ?? I 0:00,00 ncpserv GO aa.aa.0.0:0.0.0.0.0.1:4.51 400c 4009 [...] banka# ifconfig -a fxp0: flags=9843 mtu 1500 inet aaa.bbb.ccc.213 netmask 0xffffffc0 broadcast aaa.bbb.ccc.255 inet aaa.bbb.ccc.221 netmask 0xffffffff broadcast aaa.bbb.ccc.221 ether 00:08:c7:49:99:b1 media: Ethernet 100baseTX status: active fxp0f0: flags=8843 mtu 1500 ipx bbbb0000.8c74999b1 ether 00:08:c7:49:99:b1 [...] lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 ipx aaaa0000.1H banka# =================================================================== RCS file: /usr/local/www/cvsroot/FreeBSD/src/sys/netipx/ipx.h,v retrieving revision 1.15 retrieving revision 1.15.2.1 diff -u -p -r1.15 -r1.15.2.1 --- src/sys/netipx/ipx.h 1999/08/28 18:21:52 1.15 +++ src/sys/netipx/ipx.h 2005/01/02 13:00:51 1.15.2.1 @@ -33,7 +33,7 @@ * * @(#)ipx.h * - * $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/netipx/ipx.h,v 1.15 1999/08/28 18:21:52 jhay Exp $ + * $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/netipx/ipx.h,v 1.15.2.1 2005/01/02 13:00:51 rwatson Exp $ */ #ifndef _NETIPX_IPX_H_ @@ -108,6 +108,7 @@ union ipx_host { union ipx_net { u_char c_net[4]; u_short s_net[2]; + u_int u_net; }; union ipx_net_u { @@ -131,6 +132,8 @@ struct sockaddr_ipx { char sipx_zero[2]; }; #define sipx_port sipx_addr.x_port +#define sipx_network sipx_addr.x_net.u_net +#define sipx_node sipx_addr.x_host.c_host /* * Definitions for IPX Internetwork Packet Exchange Protocol