From owner-freebsd-stable@FreeBSD.ORG Fri Jan 27 16:29:08 2006 Return-Path: X-Original-To: stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21E1216A420; Fri, 27 Jan 2006 16:29:08 +0000 (GMT) (envelope-from hdemir@metu.edu.tr) Received: from kale.cc.metu.edu.tr (kale.general.services.metu.edu.tr [144.122.144.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5872443D49; Fri, 27 Jan 2006 16:29:06 +0000 (GMT) (envelope-from hdemir@metu.edu.tr) Received: from simena.user.services.metu.edu.tr (simena.user.services.metu.edu.tr [144.122.144.15]) by kale.cc.metu.edu.tr (8.12.11/8.12.11) with ESMTP id k0RGT5fo007959; Fri, 27 Jan 2006 18:29:05 +0200 Received: (from hdemir@localhost) by simena.user.services.metu.edu.tr (8.13.5/8.13.5/Submit) id k0RGT5JI852214; Fri, 27 Jan 2006 18:29:05 +0200 Date: Fri, 27 Jan 2006 18:29:04 +0200 From: husnu demir To: Gleb Smirnoff Message-ID: <20060127162904.GA1224732@metu.edu.tr> References: <20060127122438.GA1044592@metu.edu.tr> <20060127153512.GX83922@FreeBSD.org> <20060127161151.GA1093828@metu.edu.tr> <20060127161348.GA83922@cell.sick.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060127161348.GA83922@cell.sick.ru> User-Agent: Mutt/1.5.10i X-Virus-Scanned: ClamAV 0.88/1253/Fri Jan 27 12:10:20 2006 on kale.cc.metu.edu.tr X-Virus-Status: Clean Cc: stable@FreeBSD.org Subject: Re: if_bge driver problem. - Upgrade to RELEASE :) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2006 16:29:08 -0000 > Also it is important to know whether doing 'ifconfig bge0 -rxcsum -txcsum' > fixes operation on 6.0-STABLE. No, It does not fixed. I will go back to STABLE if you need further detail. Husnu Demir. (Note: I may leave the office. will try to contact you las soon as possible.) For RELEASE version; -------------------- root@~# pciconf -lv | grep -A 3 ^bge bge0@pci3:1:0: class=0x020000 card=0x026f1014 chip=0x16a714e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5703X NetXtreme Gigabit Ethernet' class = network -- bge1@pci3:2:0: class=0x020000 card=0x100610b7 chip=0x164514e4 rev=0x15 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5701 NetXtreme Gigabit Ethernet' class = network -- bge2@pci3:3:0: class=0x020000 card=0x000a14e4 chip=0x16a714e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5703X NetXtreme Gigabit Ethernet' class = network root@~# ifconfig bge0: flags=8843 mtu 1500 options=1a inet6 fe80::211:9ff:fe9b:6a7d%bge0 prefixlen 64 scopeid 0x1 inet x.x.3.138 netmask 0xffffff80 broadcast x.x.3.255 ether 00:11:09:9b:6a:7d media: Ethernet autoselect (100baseTX ) status: active bge1: flags=8802 mtu 1500 options=1a ether 00:04:76:f7:99:6e media: Ethernet autoselect (none) status: no carrier bge2: flags=8843 mtu 1500 options=18 inet6 fe80::210:18ff:fe00:4d53%bge2 prefixlen 64 scopeid 0x3 inet x.x.2.2 netmask 0xffffff00 broadcast x.x.2.255 ether 00:10:18:00:4d:53 media: Ethernet autoselect (1000baseSX ) status: active em0: flags=8802 mtu 1500 options=b ether 00:04:23:c2:dc:29 media: Ethernet autoselect status: no carrier lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet 127.0.0.1 netmask 0xff000000 pfsync0: flags=0<> mtu 2020 pflog0: flags=0<> mtu 33208 For STABLE version ; ----------------------- root@~# ifconfig bge0: flags=8843 mtu 1500 options=1b inet6 fe80::211:9ff:fe9b:6a7d%bge0 prefixlen 64 scopeid 0x1 inet x.x.3.138 netmask 0xffffff80 broadcast x.x.3.255 ether 00:11:09:9b:6a:7d media: Ethernet autoselect (100baseTX ) status: active bge1: flags=8902 mtu 1500 options=1b ether 00:04:76:f7:99:6e media: Ethernet autoselect (none) status: no carrier bge2: flags=8843 mtu 1500 options=18 inet6 fe80::210:18ff:fe00:4d53%bge2 prefixlen 64 scopeid 0x3 inet x.x.2.2 netmask 0xffffff00 broadcast x.x.2.255 ether 00:10:18:00:4d:53 media: Ethernet autoselect (1000baseSX ) status: active em0: flags=8802 mtu 1500 options=b ether 00:04:23:c2:dc:29 media: Ethernet autoselect status: no carrier pflog0: flags=0<> mtu 33208 pfsync0: flags=0<> mtu 2020 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 inet 127.0.0.1 netmask 0xff000000 root@~# pciconf -lv | grep -A 3 ^bge bge0@pci3:1:0: class=0x020000 card=0x026f1014 chip=0x16a714e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5703X NetXtreme Gigabit Ethernet' class = network -- bge1@pci3:2:0: class=0x020000 card=0x100610b7 chip=0x164514e4 rev=0x15 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5701 NetXtreme Gigabit Ethernet' class = network -- bge2@pci3:3:0: class=0x020000 card=0x000a14e4 chip=0x16a714e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5703X NetXtreme Gigabit Ethernet' class = network On Fri, Jan 27, 2006 at 06:34:39PM +0300, Gleb Smirnoff wrote: > On Fri, Jan 27, 2006 at 02:24:38PM +0200, husnu demir wrote: > h> Hi, > h> > h> I upgraded my pc after "2006-01-25 FreeBSD-SA-06:06.kmem" issue. After that it also upgrade the bge drivers and now it is not working. In fact my "Broadcom BCM5703 Gigabit Ethernet, ASIC rev. 0x1002" is not working. The other bge's working properly. Most probly last update may cause that. I have been using 6-STABLE. > h> > h> I also tried to look at the switch part and find out that there are CRC Errors. The errors comes just after enabling the interface on the bsd box. After that there isnt any activity. Also when I sniff the interface with tcpdump, I saw lots of packets. Most probly, the driver did not let the further comminication after bad CRCs. > > What happens if you disable hardware checksum offloading on your NIC? > > ifconfig bge0 -rxcsum -txcsum > > -- > Totus tuus, Glebius. > GLEBIUS-RIPN GLEB-RIPE > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" On Fri, Jan 27, 2006 at 07:13:48PM +0300, Gleb Smirnoff wrote: > On Fri, Jan 27, 2006 at 06:11:51PM +0200, husnu demir wrote: > h> I upgraded to the 6_RELEASE; > h> > h> $ uname -a > h> FreeBSD nrouter.cc.metu.edu.tr 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Fri Jan 27 18:03:39 EET 2006 root@nrouter.cc.metu.edu.tr:/usr/obj/usr/src/sys/NON-GENERIC i386 > h> > h> and now it is working. But the CRC errors still exists. I only see the CRC errors on enabling the interface. But the stable still does not work. > > One more time: please provide also output from 'pciconf -lv | grep -A 3 ^bge', > and from 'ifconfig'. > > Also it is important to know whether doing 'ifconfig bge0 -rxcsum -txcsum' > fixes operation on 6.0-STABLE. > > -- > Totus tuus, Glebius. > GLEBIUS-RIPN GLEB-RIPE