From owner-freebsd-questions@FreeBSD.ORG Fri Apr 13 01:42:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 56899106564A for ; Fri, 13 Apr 2012 01:42:32 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0D65B8FC08 for ; Fri, 13 Apr 2012 01:42:31 +0000 (UTC) Received: by vbmv11 with SMTP id v11so2512755vbm.13 for ; Thu, 12 Apr 2012 18:42:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=a38xzvtVL6vchD390INcWWipCrCWF9l5JFwAy7yTvyQ=; b=pLuOUBg2ZazxcDISywceGFrrivYIhFTn8Mmk7n1DmBsO9rhI08sm6YakRExVlAI1CA eM9Ratzj1f4wNSz6jUTPrR1TXGprI4xwgqzIEVMvdEfUjNTC8Kre1BPK/X8z5rM2cEF7 SDIouPvLynPG4aZblNNaQIMU8jTlnvhLzvXLETfNCWjASGriUpwNl35uPInzYlbb/Yxo eOoZT4KOgBsdi7sOIQ5k3wKHf/bS2jfxoUNeiufOVVT33qmYu4blTe4IuUVY1HzeIrhG 32PfMqDRDunuo+9N8cdO/FF2+sUXKra+ZBm7ZKnlmWrpUdzqYaYNhwIcew7RniCL58Rg hTNA== MIME-Version: 1.0 Received: by 10.52.95.212 with SMTP id dm20mr156313vdb.85.1334281351534; Thu, 12 Apr 2012 18:42:31 -0700 (PDT) Received: by 10.52.26.42 with HTTP; Thu, 12 Apr 2012 18:42:31 -0700 (PDT) In-Reply-To: <26203474.20120412233549@yandex.ru> References: <505981334167684@web133.yandex.ru> <26203474.20120412233549@yandex.ru> Date: Fri, 13 Apr 2012 03:42:31 +0200 Message-ID: From: Damien Fleuriot To: =?KOI8-R?B?68/O2MvP1yDl18fFzsnK?= Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQkXyViugNtN26TjdFHr5E1NyoZxRd041J2UkD9i+QFht2AmwTJAV2fylrHwFwVkqTLYTnaE Cc: "freebsd-questions@freebsd.org" , KES Subject: Re: Re[2]: Problem with vlans on igb (was: fsck problem FreeBSD 8.3) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Apr 2012 01:42:32 -0000 Yes, I suggest you try with "-vlanhwtag" as well. If that stops your unwanted reboots, you may want to remove it and see if the situation changes. 2012/4/12 =EB=CF=CE=D8=CB=CF=D7 =E5=D7=C7=C5=CE=C9=CA : > Now i350 is configured as: > > /etc/rc.conf > ## TCP/IP > ifconfig_igb0=3D"-rxcsum -txcsum -lro -tso up" > ifconfig_igb1=3D"-rxcsum -txcsum -lro -tso up" > ifconfig_igb2=3D"-rxcsum -txcsum -lro -tso up" > ifconfig_igb3=3D"-rxcsum -txcsum -lro -tso up" > > # ifconfig -m igb1 > igb1: flags=3D8843 metric 0 mtu 1= 500 > =9A =9A =9A =9Aoptions=3D400b8 > =9A =9A =9A =9Acapabilities=3D505bb > =9A =9A =9A =9Aether a0:36:9f:00:66:a5 > =9A =9A =9A =9Amedia: Ethernet autoselect (1000baseT ) > =9A =9A =9A =9Astatus: active > =9A =9A =9A =9Asupported media: > =9A =9A =9A =9A =9A =9A =9A =9Amedia autoselect > =9A =9A =9A =9A =9A =9A =9A =9Amedia 1000baseT > =9A =9A =9A =9A =9A =9A =9A =9Amedia 1000baseT mediaopt full-duplex > =9A =9A =9A =9A =9A =9A =9A =9Amedia 100baseTX mediaopt full-duplex > =9A =9A =9A =9A =9A =9A =9A =9Amedia 100baseTX > =9A =9A =9A =9A =9A =9A =9A =9Amedia 10baseT/UTP mediaopt full-duplex > =9A =9A =9A =9A =9A =9A =9A =9Amedia 10baseT/UTP > > #pciconf -lv > igb0@pci0:1:0:0: =9A =9A =9A =9Aclass=3D0x020000 card=3D0x00018086 chip= =3D0x15218086 rev=3D0x01 hdr=3D0x00 > =9A =9Avendor =9A =9A =3D 'Intel Corporation' > =9A =9Aclass =9A =9A =9A=3D network > =9A =9Asubclass =9A =3D ethernet > > > > Do I need to disable VLAN_HWCSUM, VLAN_HWFILTER,VLAN_HWTSO also? > > PS. I will try to disable those after the holidays > > DF> Try disabling hardware VLAN tagging like so, I know we had problems a > DF> few years back with it. > > DF> in /etc/rc.conf : > DF> ifconfig_igb2=3D" -vlanhwtag -tso -lro up" > > > DF> 2012/4/11 KES : >>> >>> >>> -------- =F0=C5=D2=C5=D3=D9=CC=C1=C5=CD=CF=C5 =D3=CF=CF=C2=DD=C5=CE=C9= =C5 =9A-------- >>> 11.04.2012, 13:14, "KES" : >>> >>> 10.04.2012, 08:50, "Da Rock" : >>> >>>> =9AOn 04/10/12 05:02, =EB=CF=CE=D8=CB=CF=D7 =E5=D7=C7=C5=CE=C9=CA wrot= e: >>>>> =9A=9AYes, I have tested. >>>>> =9A=9Aand on this hardware on this OS it works from =9AFri Feb 24 17:= 07:48 UTC 2012 >>>>> =9A=9Abut last two days: >>>>> =9A=9Areboot =9A=9A=9A=9A=9A=9A=9A=9A=9A=9A~ =9A=9A=9A=9A=9A=9A=9A=9A= =9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9AMon Apr =9A9 19:50 >>>>> =9A=9Areboot =9A=9A=9A=9A=9A=9A=9A=9A=9A=9A~ =9A=9A=9A=9A=9A=9A=9A=9A= =9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9AMon Apr =9A9 18:30 >>>>> =9A=9Areboot =9A=9A=9A=9A=9A=9A=9A=9A=9A=9A~ =9A=9A=9A=9A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embered. One thing changed. >>>>> =9A=9AI add vlans to igb2, but no traffic flow on that devices yet. >>>> =9APerhaps you should test removing the vlans and see if things improv= e? >>> >>> I have removed vlans, two day server works without reboots >>> >>>>> =9A=9ABefore this I have use: igb0, igb1, igb3 >>>>> =9A=9Aigb0@pci0:1:0:0: =9A=9A=9A=9A=9A=9A=9Aclass=3D0x020000 card=3D0= x00018086 chip=3D0x15218086 rev=3D0x01 hdr=3D0x00 >>>>> =9A=9A=9A=9A=9A=9A=9Avendor =9A=9A=9A=9A=3D 'Intel Corporation' >>>>> =9A=9A=9A=9A=9A=9A=9Aclass =9A=9A=9A=9A=9A=3D network >>>>> =9A=9A=9A=9A=9A=9A=9Asubclass =9A=9A=3D ethernet >>>>> =9A=9Aigb1@pci0:1:0:1: =9A=9A=9A=9A=9A=9A=9Aclass=3D0x020000 card=3D0= x00018086 chip=3D0x15218086 rev=3D0x01 hdr=3D0x00 >>>>> =9A=9A=9A=9A=9A=9A=9Avendor =9A=9A=9A=9A=3D 'Intel Corporation' >>>>> =9A=9A=9A=9A=9A=9A=9Aclass =9A=9A=9A=9A=9A=3D network >>>>> =9A=9A=9A=9A=9A=9A=9Asubclass =9A=9A=3D ethernet >>>>> =9A=9Aigb2@pci0:1:0:2: =9A=9A=9A=9A=9A=9A=9Aclass=3D0x020000 card=3D0= x00018086 chip=3D0x15218086 rev=3D0x01 hdr=3D0x00 >>>>> =9A=9A=9A=9A=9A=9A=9Avendor =9A=9A=9A=9A=3D 'Intel Corporation' >>>>> =9A=9A=9A=9A=9A=9A=9Aclass =9A=9A=9A=9A=9A=3D network >>>>> =9A=9A=9A=9A=9A=9A=9Asubclass =9A=9A=3D ethernet >>>>> =9A=9Aigb3@pci0:1:0:3: =9A=9A=9A=9A=9A=9A=9Aclass=3D0x020000 card=3D0= x00018086 chip=3D0x15218086 rev=3D0x01 hdr=3D0x00 >>>>> =9A=9A=9A=9A=9A=9A=9Avendor =9A=9A=9A=9A=3D 'Intel Corporation' >>>>> =9A=9A=9A=9A=9A=9A=9Aclass =9A=9A=9A=9A=9A=3D network >>>>> =9A=9A=9A=9A=9A=9A=9Asubclass =9A=9A=3D ethernet >>>>> >>>>> =9A=9Aifconfig_vlan100=3D"inet =9A192.168.0.1 netmask 255.255.255.0 v= lan 100 vlandev igb2" #nALL >>>>> =9A=9Aifconfig_vlan101=3D"inet =9A192.168.1.1 netmask 255.255.255.0 v= lan 101 vlandev igb2" #n2 p24 >>>>> =9A=9Aifconfig_vlan102=3D"inet =9A192.168.2.1 netmask 255.255.255.0 v= lan 102 vlandev igb2" #n1 p23 >>>>> =9A=9Aifconfig_vlan103=3D"inet =9A192.168.3.1 netmask 255.255.255.0 v= lan 103 vlandev igb2" #n3 p22 >>>>> =9A=9Aifconfig_vlan104=3D"inet =9A192.168.4.1 netmask 255.255.255.0 v= lan 104 vlandev igb2" #n7,9 p21 >>>>> =9A=9Aifconfig_vlan105=3D"inet =9A192.168.5.1 netmask 255.255.255.0 v= lan 105 vlandev igb2" #n11 p20 >>>>> =9A=9Aifconfig_vlan106=3D"inet =9A192.168.6.1 netmask 255.255.255.0 v= lan 106 vlandev igb2" #n13 p19 >>>>> =9A=9Aifconfig_vlan107=3D"inet =9A192.168.7.1 netmask 255.255.255.0 v= lan 107 vlandev igb2" #n223 p18 >>>>> =9A=9Aifconfig_vlan108=3D"inet =9A192.168.8.1 netmask 255.255.255.0 v= lan 108 vlandev igb2" #n225 p17 >>>>> =9A=9Aifconfig_vlan109=3D"inet =9A192.168.9.1 netmask 255.255.255.0 v= lan 109 vlandev igb2" #n221 p16 >>>>> =9A=9Aifconfig_vlan110=3D"inet 192.168.10.1 netmask 255.255.255.0 vla= n 110 vlandev igb2" #n229 p15 >>>>> =9A=9Aifconfig_vlan111=3D"inet 192.168.11.1 netmask 255.255.255.0 vla= n 111 vlandev igb2" #n233 p14 >>>>> =9A=9Aifconfig_vlan112=3D"inet 192.168.12.1 netmask 255.255.255.0 vla= n 112 vlandev igb2" #n231 p13 >>>>> =9A=9Aifconfig_vlan113=3D"inet 192.168.13.1 netmask 255.255.255.0 vla= n 113 vlandev igb2" #n237 p12 >>>>> =9A=9Aifconfig_vlan114=3D"inet 192.168.14.1 netmask 255.255.255.0 vla= n 114 vlandev igb2" #n424 p11 >>>>> =9A=9Aifconfig_vlan115=3D"inet 192.168.15.1 netmask 255.255.255.0 vla= n 115 vlandev igb2" # >>>>> >>>>> =9A=9APAP> =9ANothing logged in /var/log/* or crashes that exist in /= var/crash >>>>> =9A=9APAP> =9Awould indicate to me some sort of hardware related prob= lem. >>>>> =9A=9APAP> =9AHave you tested your hardware lately and know that it i= s in operational order? >>>>> >>>>> =9A=9APAP> =9A~Paul >>>>> >>>>> =9A=9APAP> =9AOn Mon, Apr 09, 2012 at 09:36:54PM +0300, ??????? ?????= ?? wrote: >>>>>>> =9A=9AHi. >>>>>>> >>>>>>> =9A=9AApr =9A9 19:51:58 fsck: /dev/ad8s1e: UNEXPECTED INCONSISTENCY= , CANNOT RUN FAST FSCK >>>>>>> =9A=9AApr =9A9 19:51:58 fsck: >>>>>>> =9A=9AApr =9A9 19:51:58 fsck: >>>>>>> =9A=9AApr =9A9 19:51:58 fsck: /dev/ad8s1e: UNEXPECTED INCONSISTENCY= ; RUN fsck MANUALLY. >>>>>>> =9A=9AApr =9A9 19:51:58 fsck: /dev/ad8s1e: CANNOT SET FS_NEEDSFSCK = FLAG >>>>>>> =9A=9AApr =9A9 20:09:22 kernel: >>>>>>> >>>>>>> =9A=9Arunning manually: >>>>>>> =9A=9A# fsck -y /dev/ad8s1e >>>>>>> =9A=9A** /dev/ad8s1e (NO WRITE) >>>>>>> =9A=9A** Last Mounted on /tmp >>>>>>> =9A=9A** Phase 1 - Check Blocks and Sizes >>>>>>> =9A=9A** Phase 2 - Check Pathnames >>>>>>> =9A=9A** Phase 3 - Check Connectivity >>>>>>> =9A=9A** Phase 4 - Check Reference Counts >>>>>>> =9A=9A** Phase 5 - Check Cyl groups >>>>>>> =9A=9A99 files, 10 used, 506477 free (45 frags, 63304 blocks, 0.0% = fragmentation) >>>>>>> >>>>>>> =9A=9AServer reboot two or three time per day >>>>>>> =9A=9A# uname -a >>>>>>> =9A=9AFreeBSD flux 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #3 r231881= : Fri Feb 24 17:07:48 UTC 2012 =9A=9A=9A=9Aadm@flux:/usr/obj/usr/src/sys/KE= S_KERN_v8 =9Aamd64 >>>>>>> >>>>>>> =9A=9Abefore this it works about month without problems >>>>>>> >>>>>>> =9A=9A/var/crash - empty, in /var/log/messages there is no any mess= ages before crash. >>>>>>> =9A=9ACan any help to fix problem? >>>> =9A_______________________________________________ > >