From owner-freebsd-net@freebsd.org Fri Mar 10 16:47:19 2017 Return-Path: Delivered-To: freebsd-net@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 D0332D06C03 for ; Fri, 10 Mar 2017 16:47:19 +0000 (UTC) (envelope-from cr2025x1@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id AE8A87DA for ; Fri, 10 Mar 2017 16:47:19 +0000 (UTC) (envelope-from cr2025x1@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id AAFDAD06C01; Fri, 10 Mar 2017 16:47:19 +0000 (UTC) Delivered-To: net@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 AAA31D06C00 for ; Fri, 10 Mar 2017 16:47:19 +0000 (UTC) (envelope-from cr2025x1@gmail.com) Received: from mail-pf0-x234.google.com (mail-pf0-x234.google.com [IPv6:2607:f8b0:400e:c00::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7C0057D8 for ; Fri, 10 Mar 2017 16:47:19 +0000 (UTC) (envelope-from cr2025x1@gmail.com) Received: by mail-pf0-x234.google.com with SMTP id w189so43791370pfb.0 for ; Fri, 10 Mar 2017 08:47:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:mime-version:to:from:subject:date:importance; bh=fxoOIeqELyI66nAe9ViQkJ6CCdQUE4eyPX8v2mOkSgs=; b=MBDf9vcC7HkzsSg+eKxuAxI9rehtNvmi5d1ynh8axIN4N/WMzNA38Lp15HrzpXcBN1 jxi9jTcgkiHTBzlGAis6p5wjl2A8/BXHGDXlksbWzBb5R0PrDIXRVZlqJiNXBbLF/r9N EGzU9h6xIaqTr+9ry7FwuF2Pf4VGOLwMH+Q839dWjJ9n9BNCOosxP3HdXKSQ+I592alk 77BVPxH6g3RJWc+kATfTbD+t5FnXqQx++c36ZWANnIiguwLYrUCexN3494JauMg1sXe0 5DvZaoNr/E/8hovcU3IkHuaAHKS09qIzdYuLY60SqUUTYSuhZRIC/F+2CY2pyesPlLR8 xBJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version:to:from:subject:date :importance; bh=fxoOIeqELyI66nAe9ViQkJ6CCdQUE4eyPX8v2mOkSgs=; b=VWzqvt0Y6f+TUUEjAzJyZMDbeMft0giarC1vGnLEWHcOsZJDLQrQrQdVMDdTxCJXxF rUKPDcmrd06k2Ob1NElIqwCA9S4Cai7ijo6QZMMALHY3UU/Jwu/2NhXt4udJljlXmqEi Ypf+7tHrtWysBMz/EChr9RfBTVEJPSx7qw+2uJSM/a9yMnALOy2gJhc2XIo6BknigQq4 qlHeI3q+W2haOj2CVOD0zwVq7wR3QlrKl0bjt52Tgv8XaUspbVDpBLTELytHLesce++I KCFuoaWVHaUlkoDhVzdmevNb44MXJUx0VUkuNtLbq8pgtNAcV6KKVt7XtU1RQA07iz+U L7oQ== X-Gm-Message-State: AMke39kFcpujwJi6Z93FHFsDcXRLwKElAM2xgMqGXbmececE0ZG0HPzpMLYIpe4SiRz2Dw== X-Received: by 10.98.42.151 with SMTP id q145mr21724241pfq.175.1489164438643; Fri, 10 Mar 2017 08:47:18 -0800 (PST) Received: from ?IPv6:::ffff:192.168.55.197? ([210.125.84.248]) by smtp.gmail.com with ESMTPSA id b195sm19636798pfb.106.2017.03.10.08.47.17 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Mar 2017 08:47:18 -0800 (PST) Message-ID: <58c2d896.cc1b620a.f8ef7.cc2e@mx.google.com> MIME-Version: 1.0 To: "net@freebsd.org" From: Subject: Suspected broken driver qlxgb for FreeBSD 10.3 Date: Sat, 11 Mar 2017 01:47:18 +0900 Importance: normal X-Priority: 3 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Mar 2017 16:47:19 -0000 Hello, I have a dual 10Gbps Ethernet LAN Card using QLE3242 and I=E2=80=99m trying= to use it at pfSense based on FreeBSD. However, I=E2=80=99m facing errors and unable to use it. The log is: ql0: qla_hw_send: (nsegs[1, 42, 0x0] > Q8_TX_MAX_SEGMENTS) ql0: qla_dump_buf8: qla_hw_send: wrong pkt 0x2a dump start ql0: 0x00000000: 00 1b 21 2f 1c 1b 2c 27 d7 4e ce e0 08 06 00 01 ql0: 0x00000010: 08 00 06 04 00 02 2c 27 d7 4e ce e0 0a 0a 0a 01 ql0: 0x00000020: 00 1b 21 2f 1c 1b 0a 0a 0a 02 ql0: qla_dump_buf8: qla_hw_send: wrong pkt dump end ql0: qla_hw_send: (nsegs[1, 42, 0x0] > Q8_TX_MAX_SEGMENTS) ql0: qla_dump_buf8: qla_hw_send: wrong pkt 0x2a dump start ql0: 0x00000000: 00 1b 21 2f 1c 1b 2c 27 d7 4e ce e0 08 06 00 01 ql0: 0x00000010: 08 00 06 04 00 02 2c 27 d7 4e ce e0 0a 0a 0a 01 ql0: 0x00000020: 00 1b 21 2f 1c 1b 0a 0a 0a 02 ql0: qla_dump_buf8: qla_hw_send: wrong pkt dump end ql0: qla_hw_send: (nsegs[1, 42, 0x0] > Q8_TX_MAX_SEGMENTS) ql0: qla_dump_buf8: qla_hw_send: wrong pkt 0x2a dump start ql0: 0x00000000: 00 1b 21 2f 1c 1b 2c 27 d7 4e ce e0 08 06 00 01 ql0: 0x00000010: 08 00 06 04 00 02 2c 27 d7 4e ce e0 0a 0a 0a 01 ql0: 0x00000020: 00 1b 21 2f 1c 1b 0a 0a 0a 02 ql0: qla_dump_buf8: qla_hw_send: wrong pkt dump end ql0: qla_hw_send: (nsegs[1, 42, 0x0] > Q8_TX_MAX_SEGMENTS) ql0: qla_dump_buf8: qla_hw_send: wrong pkt 0x2a dump start ql0: 0x00000000: 00 1b 21 2f 1c 1b 2c 27 d7 4e ce e0 08 06 00 01 ql0: 0x00000010: 08 00 06 04 00 02 2c 27 d7 4e ce e0 0a 0a 0a 01 ql0: 0x00000020: 00 1b 21 2f 1c 1b 0a 0a 0a 02 ql0: qla_dump_buf8: qla_hw_send: wrong pkt dump end After searching the Internet, I=E2=80=99m thinking the driver for QLE3242 i= s broken on FreeBSD 10. The following link is from FreeNAS bug tracker. The issue is about Ethernet= card with QLogic 8214 failing at FreeNAS 9.10. https://bugs.freenas.org/issues/14925 The original poster says it was OK when using FreeNAS 9.3, which is based o= n FreeBSD 9.3 but it was broken when using FreeNAS 9.10, which is based on = FreeBSD 10.3. The next link is from FreeBSD forum, also showing similar symptom. The OP t= ries to use HP NC523SFP, the card with QLE3242. https://forums.freebsd.org/threads/52033/ The OP is using the version of pfSense based on FreeBSD 10.1. The next link is from FreeBSD mailing list, also with the same symptom. The= OP also using HP NC523SFP. https://lists.freebsd.org/pipermail/freebsd-net/2014-February/037840.html The reply says the same driver on FreeBSD 9.0 doesn=E2=80=99t show any prob= lem. Mine and those three cases all use qlxgb driver, the driver for FreeBSD for= these chips.=20 And it seems the driver worked before FreeBSD 10.x, but it wasn=E2=80=99t o= n FreeBSD 10.x. Would you help me solve this problem? Sincerely, MJ Kang. Sent from Mail for Windows 10