From owner-freebsd-current@freebsd.org Tue Sep 8 04:31:14 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4918DA00A5E for ; Tue, 8 Sep 2015 04:31:14 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 02CEE18B6 for ; Tue, 8 Sep 2015 04:31:13 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from [192.168.0.100] ([87.139.233.65]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0M7ojs-1YmrGa1Pd2-00vKof; Tue, 08 Sep 2015 06:31:04 +0200 Subject: Re: em broken on current amd64 To: "freebsd-current@freebsd.org" References: <1B3BC636-6765-4478-AAE0-122E6904276E@pozo.com> <70759B1C-6685-4EF9-BC65-52590ABD398E@gmail.com> <63EACBE5-F82A-47D9-BA9A-E95D0E6AE80D@FreeBSD.org> From: olli hauer X-Enigmail-Draft-Status: N1110 Message-ID: <55EE6488.3020509@gmx.de> Date: Tue, 8 Sep 2015 06:31:04 +0200 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <63EACBE5-F82A-47D9-BA9A-E95D0E6AE80D@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:iejGWOeM/FohkOt1LjnQUQ893/ho62vyu7aq2sBXZmKixa8y2xa 1Borr2gTAT6QOqoXFD65xz382hObndifLFDjBmAIg5GDT2IBEGSitKJW7UzrgNOoWELNS7W F8tS0i4hH8G/i7beXA47Xq4L8TPfvuWrqDQakYaQ/weDF+VMEMvbHulN/TVYNiO9Fv6kaYA nzdFlArCMyLi14DixGVrw== X-UI-Out-Filterresults: notjunk:1;V01:K0:L9c1voSx2uU=:Jn/oOKV1T5J8vnl9aiVKiu 3e7qEWaXVaz/iAM0uOQodYv7Zri0Ux7QV1CN2ABFFMXqZOD6AH/anjHL26Bfh7ZCCk9hqGNO6 Up/tqO2l60Pp3derieE1bZdRK/J9HHoAwO1kl2w4jCfg1fEvds8rwdX537TnoGAzJrTRsRTs7 IOuGD/05r0NZtNND3P73/qkwz85mdX351/Vkk7NgGm3Lc62vaCB309DXFiyN8q1qD8PLJHE2v lsUD3em91DYX5VlI51foeNPcZ9sOQu7qUS7Jpv3FQr2RXSJ5h7QmqVsbH1uNlufwB1ycNPvDI ZH3U7SyIbcc9ui6nolTO1R8xJ795JhkYdYIe2GRCfKNPXDVGWaxS8/gXZdkqZuZj36+/GY9vL Jnp/IXamph4Jc1HBN1v6nCgRKj5rtSVzw6jBTMCNm4SttSoJ6441+ZEiT8X72/EO3KjB4mvFg +cYrYdnQDW9lGWrFHfcUb2LAs6bz884bO/H/+kxSJBWqT27zEvxY91ccumqZL53Ygwh9tRK+i v31BGckS85dsg83WyTh2SzruOE64DaNxRKVi6NnOUMk3S+v5Ms3U5994QMVc6vb5YPXgXMgqy ZUH/QoRgBnH0i5ijnoW6MJq3cSYNELdt2cSnP12hG8itN5IfxfS++gTJDGdD04iGAGHeW1yOH R0JfBKvNjyzsVtbvX73NzWujT9/s0Xb65mm34bvRXe/I+ls5CSb8dxYE5FYzCV3Fok2L/9acl wUXRAGiWhkqiq4jHAdNp9CNwgd5zR3y30tUNmQ== X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Tue, 08 Sep 2015 04:31:14 -0000 On 2015-09-07 23:10, Mark R V Murray wrote: > >> On 5 Sep 2015, at 17:11, Garrett Cooper wrote: >> >> >>> On Sep 5, 2015, at 08:50, Manfred Antar wrote: >>> >>> Recent changes to em have broken current on amd64. >>> Booting kernel will hang when trying to load em0, then will continue booting without the driver loading (No Network) >>> This is on a HP SFF 8000 with em0 embedded on the motherboard. >>> >>> boot messages: >>> >>> em0: port 0x3100-0x311f mem 0xf3100000-0xf311ffff,0xf3125000-0xf3125fff irq 19 at device 25.0 on pci0 >>> em0: attempting to allocate 1 MSI vectors (1 supported) >>> em0: using IRQ 265 for MSI >>> em0: Using an MSI interrupt >>> em0: The EEPROM Checksum Is Not Valid >>> device_attach: em0 attach returned 5 >> >> Tijl said the same. The offending commit's r287467. >> Cheers, > > I’m also seeing breakage with the em0 device; this isn’t a kernel hang, it is a failure to move data after about 10-15 minutes. The symptom is that my WAN ethernet no longer moves traffic, no pings, nothing. Booting looks normal: > > em0: port 0x30c0-0x30df mem 0x50300000-0x5031ffff,0x50324000-0x50324fff irq 20 at device 25.0 on pci0 > em0: Using an MSI interrupt > em0: Ethernet address: 00:16:76:d3:e1:5b > em0: netmap queues/slots: TX 1/1024, RX 1/1024 > > Fixing it is as easy as … > > # ifconfig em0 down ; service ipfw restart ; ifconfig em0 up > > :-) > > I’m running CURRENT, r287538. This last worked of me a month or so ago at my previous build. > Not sure if this is a current issue. Some days ago I build a 10.2 system with an on-board em0 to test my new assigned IPv6 (only) connectivity and seeing similar symptoms. Haven't measured the time but the system stops forwarding packages on the em0 until I bring it down and up again (sometime additional restart pf) # uname FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC 2015 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 # ifconfig em0 em0: flags=8843 metric 0 mtu 1500 options=4219b ether f8:b1:56:d7:a9:c4 inet6 fe80::fab1:56ff:fed7:a9c4%em0 prefixlen 64 scopeid 0x1 inet6 2001:9xx:1xxx::2 prefixlen 64 nd6 options=23 media: Ethernet autoselect (1000baseT ) status: active # dmesg | grep em0 em0: port 0xf040-0xf05f mem 0xfb300000-0xfb31ffff,0xfb328000-0xfb328fff irq 20 at device 25.0 on pci0 em0: Using an MSI interrupt em0: Ethernet address: f8:b1:56:d7:a9:c4 ahciem0: on ahci0 ses0 at ahciem0 bus 0 scbus1 target 0 lun 0 -- olli