From owner-freebsd-bugs@FreeBSD.ORG Fri Nov 19 07:00:50 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3EC516A4CE for ; Fri, 19 Nov 2004 07:00:50 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9168343D49 for ; Fri, 19 Nov 2004 07:00:50 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iAJ70ov6027124 for ; Fri, 19 Nov 2004 07:00:50 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAJ70odi027123; Fri, 19 Nov 2004 07:00:50 GMT (envelope-from gnats) Resent-Date: Fri, 19 Nov 2004 07:00:50 GMT Resent-Message-Id: <200411190700.iAJ70odi027123@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vladimir Kurtukov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58ABF16A4CE for ; Fri, 19 Nov 2004 06:59:29 +0000 (GMT) Received: from dss.kbb.ru (dss.kbb.ru [217.116.159.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51E4543D2F for ; Fri, 19 Nov 2004 06:59:27 +0000 (GMT) (envelope-from vk@vk.pp.ru) Received: from dss.kbb.ru (localhost.kbb.ru [127.0.0.1]) by dss.kbb.ru (8.13.1/8.13.1) with ESMTP id iAJ6xC4h086147; Fri, 19 Nov 2004 13:59:13 +0700 (NKZ) (envelope-from vk@vk.pp.ru) Received: (from vk@localhost) by dss.kbb.ru (8.13.1/8.13.1/Submit) id iAJ6x8SB086144 for bp@butya.kz; Fri, 19 Nov 2004 13:59:08 +0700 (NKZ) (envelope-from vk@vk.pp.ru) Message-Id: <200411180445.iAI4jLPC002002@fbsd5.kbb.kemerovo.su> Date: Thu, 18 Nov 2004 11:45:21 +0700 (NKZ) From: Vladimir Kurtukov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/74105: IPX protocol support doesn't work X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Vladimir Kurtukov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2004 07:00:50 -0000 >Number: 74105 >Category: kern >Synopsis: IPX protocol support doesn't work >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 19 07:00:49 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Vladimir Kurtukov >Release: FreeBSD 5.3-RELEASE i386 >Organization: KBB >Environment: System: FreeBSD fbsd5.kbb.kemerovo.su 5.3-RELEASE FreeBSD 5.3-RELEASE #2: Thu Nov 18 09:22:33 NKZ 2004 vk@fbsd5.kbb.kemerovo.su:/usr/obj/usr/src/sys/TEST i386 world compiled with CPUTYPE=p2 CFLAGS= -O -pipe COPTFLAGS= -O -pipe NOPROFILE=true MODULES_WITH_WORLD=true xl0: <3Com 3cSOHO100-TX OfficeConnect> port 0xc000-0xc07f mem 0xd5100000-0xd5100 07f irq 12 at device 4.0 on pci1 miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:01:02:fb:33:e2 xl0: [GIANT-LOCKED] fxp0: port 0xc400-0xc41f mem 0xd5000000-0xd50ffff f,0xd6000000-0xd6000fff irq 11 at device 10.0 on pci1 miibus1: on fxp0 inphy0: on miibus1 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:a0:c9:91:34:8f fxp0: [GIANT-LOCKED] kernel config is like GENERIC bit with commented out SCSI, firewire, USB, network cards and this options: options IPFIREWALL options IPFIREWALL_VERBOSE options IPDIVERT options BRIDGE # ipx support options IPX device ef options ETHER_II >Description: IPX support work fine on 4-STABLE, but with 5-BETA7 and 5.3-RELEASE I can't force it to work. tcpdump shows strange IPX network in outgoing packets. # tcpdump -p -i xl0 -n -e ipx correct packet (net 0x123) comes from Novell Netware server: 10:30:07.740774 00:60:08:96:c0:46 > ff:ff:ff:ff:ff:ff, ethertype IPX (0x8137), length 494: (NOV-ETHII) 00000123.00:60:08:96:c0:46.0452 > 00000123.ff:ff:ff:ff:ff:ff.0452:ipx-sap-resp[|ipx 448] # tcpdump -p -i xl0 -n -e ipx and ether host 00:01:02:fb:33:e2 outgoing packet from out machine: 10:30:57.458631 00:01:02:fb:33:e2 > ff:ff:ff:ff:ff:ff, ethertype IPX (0x8137), length 58: (NOV-ETHII) 04530000.01:23:00:01:02:fb.33e2 > 00000000.01:23:ff:ff:ff:ff.ffff: ipx-#ffff 14 IPX network on interface is configured as 0x123, but tcpdump shows 0x4530000 and node number not same as MAC address. seems like net number shifted to right by 2 bytes: 04530000.01:23:00:01:02:fb - incorrect 00000123.00:01:02:fb:33:e2 - correct the same behavior is with xl0, fxp0 and with device ef's xl0f0, fxp0f0 >How-To-Repeat: compile kernel with IPX support: options IPX #ifconfig ipx 0x123 #tcpdump -p -i -n -e ipx and ether host address in outgoing packets must be 00000123. >Fix: unknown >Release-Note: >Audit-Trail: >Unformatted: