From owner-freebsd-current@freebsd.org Sun May 15 22:27:18 2016 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 318BBB3B87A for ; Sun, 15 May 2016 22:27:18 +0000 (UTC) (envelope-from mva@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 21A181FAA for ; Sun, 15 May 2016 22:27:18 +0000 (UTC) (envelope-from mva@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1D4C9B3B879; Sun, 15 May 2016 22:27:18 +0000 (UTC) Delivered-To: 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 1A276B3B878; Sun, 15 May 2016 22:27:18 +0000 (UTC) (envelope-from mva@FreeBSD.org) Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.31.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D45591FA6; Sun, 15 May 2016 22:27:14 +0000 (UTC) (envelope-from mva@FreeBSD.org) Received: from [77.186.19.122] (helo=localhost) by smtprelay03.ispgateway.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from ) id 1b24CD-0002jG-Nt; Mon, 16 May 2016 00:07:33 +0200 Date: Mon, 16 May 2016 00:07:28 +0200 From: Marcus von Appen To: current@FreeBSD.org, freebsd-wireless@FreeBSD.org Subject: rtwn(0) panics with RTL8188CE Message-ID: <20160515220728.GA954@athena.fritz.box> Reply-To: Marcus von Appen Mail-Followup-To: current@FreeBSD.org, freebsd-wireless@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.6.1 (2016-04-27) X-Df-Sender: MTEyNTc0Mg== X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 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: Sun, 15 May 2016 22:27:18 -0000 Dear all, thankfully -CURRENT supports the RTL8188CE wifi chipset via rtwn(0) on the Thinkpad X230. Unfortunately the connection to the AP drops nine times out of ten after transmitting a few kb. Trying to reconnect via service netif restart will cause a panic: panic: Memory modified after free 0xfffff80005c50800(2048) val=3D19 @ 0xfff= ff80005c50800 cpuid =3D 0 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe04552ae= 540 vpanic() at vpanic+0x186/frame 0xfffffe04552ae5c0 panic() at panic+0x43/frame 0xfffffe04552ae620 trash_ctor() at trash_ctor+0x4b/frame 0xfffffe04552ae630 mb_ctor_pack() at mb_ctor_pack+0x3c/frame 0xfffffe04552ae670 uma_zalloc_arg() at uma_zalloc_arg+0x504/frame 0xfffffe04552ae6d0 m_getm2() at m_getm2+0x12d/frame 0xfffffe04552ae740 m_uiotombuf() at m_uiotombuf+0x62/frame 0xfffffe04552ae790 sosend_generic() at sosend_generic+0x356/frame 0xfffffe04552ae850 kern_sendit() at kern_sendit+0x244/frame 0xfffffe04552ae900 sendit() at sendit+0x126/frame 0xfffffe04552ae950 sys_sendto() at sys_sendto+0x4d/frame 0xfffffe04552ae9a0 amd64_syscall() at amd64_syscall+0x2db/frame 0xfffffe04552aeab0 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe04552aeab0 --- syscall (133, FreeBSD ELF64, sys_sendto), rip =3D 0x8015aac6a, rsp =3D = 0x7fffffffd6a8, rbp =3D 0 x7fffffffe3b0 --- pciconf -lv: [...] rtwn0@pci0:3:0:0: class=3D0x028000 card=3D0x819510ec chip=3D0x817610ec rev= =3D0x01 hdr=3D0x00 vendor =3D 'Realtek Semiconductor Co., Ltd.' device =3D 'RTL8188CE 802.11b/g/n WiFi Adapter' class =3D network Any help on getting this fixed is highly appreciated.=20 Cheers Marcus