From owner-freebsd-usb@freebsd.org Mon Nov 13 10:23:10 2017 Return-Path: Delivered-To: freebsd-usb@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 6CE68D7F698 for ; Mon, 13 Nov 2017 10:23:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 5A90568916 for ; Mon, 13 Nov 2017 10:23:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vADAN98T059998 for ; Mon, 13 Nov 2017 10:23:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 222624] [usb] [panic] thread's sleep queue 0 is not empty at usb_process.c:193 Date: Mon, 13 Nov 2017 10:23:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: decke@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2017 10:23:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222624 --- Comment #14 from Bernhard Froehlich --- I'm not sure if that is what you expected but anyway here it is. root@r5:/var/crash # ll /boot/kernel/kernel=20 -r-xr-xr-x 1 root wheel 27242832 Nov 1 13:08 /boot/kernel/kernel* root@r5:/var/crash # ll /boot/kernel/ehci.ko=20 -r-xr-xr-x 1 root wheel 90272 Nov 1 14:04 /boot/kernel/ehci.ko* root@r5:/var/crash # gdb GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd". (gdb) file /boot/kernel/ehci.ko Reading symbols from /boot/kernel/ehci.ko...Reading symbols from /usr/lib/debug//boot/kernel/ehci.ko.debug...done. done. (gdb) info line *(void *)(ehci_check_transfer+0x94) Line 218 of "cpufunc.h" starts at address 0x2f6c and ends at 0x3fae . In the meantime I have 3 more panics from the original kind "panic: thread's sleep queue 0 is not empty". --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Mon Nov 13 10:29:29 2017 Return-Path: Delivered-To: freebsd-usb@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 37187D7F723 for ; Mon, 13 Nov 2017 10:29:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 251D468A90 for ; Mon, 13 Nov 2017 10:29:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vADATSKC068346 for ; Mon, 13 Nov 2017 10:29:29 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 222624] [usb] [panic] thread's sleep queue 0 is not empty at usb_process.c:193 Date: Mon, 13 Nov 2017 10:29:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: decke@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2017 10:29:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222624 --- Comment #15 from Bernhard Froehlich --- I'm not sure if it's related but I want to mention that bhyve is used on th= at box. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Mon Nov 13 11:13:33 2017 Return-Path: Delivered-To: freebsd-usb@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 28AF0DB0753 for ; Mon, 13 Nov 2017 11:13:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 168AB6A117 for ; Mon, 13 Nov 2017 11:13:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vADBDW6Z079321 for ; Mon, 13 Nov 2017 11:13:32 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 222624] [usb] [panic] thread's sleep queue 0 is not empty at usb_process.c:193 Date: Mon, 13 Nov 2017 11:13:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2017 11:13:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222624 --- Comment #16 from Hans Petter Selasky --- Hi, ehci_get_port_speed_portsc() should not be in use on amd64. Either the stac= k is corrupt or this indicates a problem with the CPU or some registers have been clobbered. --HPS sys/dev/usb/controller/ehci_ixp4xx.c: sc->sc_vendor_get_port_speed =3D ehci_get_port_speed_portsc; sys/dev/usb/controller/ehci_imx.c: esc->sc_vendor_get_port_speed =3D ehci_get_port_speed_portsc; sys/dev/usb/controller/ehci.c:ehci_get_port_speed_portsc(struct ehci_softc = *sc, uint16_t index) sys/dev/usb/controller/ehci_mv.c: sc->sc_vendor_get_port_speed =3D ehci_get_port_speed_portsc; sys/dev/usb/controller/ehci.h:uint16_t ehci_get_port_speed_portsc(struct ehci_softc *sc, uint16_t index); cpufunc.h (amd64):218 static __inline u_int inl(u_int port) { u_int data; __asm __volatile("inl %w1, %0" : "=3Da" (data) : "Nd" (port)); return (data); } --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Mon Nov 13 13:57:37 2017 Return-Path: Delivered-To: freebsd-usb@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 D3F09DBB301 for ; Mon, 13 Nov 2017 13:57:37 +0000 (UTC) (envelope-from kevlo@ns.kevlo.org) Received: from ns.kevlo.org (220-135-115-6.HINET-IP.hinet.net [220.135.115.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns.kevlo.org", Issuer "ns.kevlo.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 75C196F4A4; Mon, 13 Nov 2017 13:57:36 +0000 (UTC) (envelope-from kevlo@ns.kevlo.org) Received: from ns.kevlo.org (localhost [127.0.0.1]) by ns.kevlo.org (8.15.2/8.15.2) with ESMTPS id vADDskFp015281 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 13 Nov 2017 21:54:47 +0800 (CST) (envelope-from kevlo@ns.kevlo.org) Received: (from kevlo@localhost) by ns.kevlo.org (8.15.2/8.15.2/Submit) id vADDsjQV015280; Mon, 13 Nov 2017 21:54:45 +0800 (CST) (envelope-from kevlo) Date: Mon, 13 Nov 2017 21:54:45 +0800 From: Kevin Lo To: Hans Petter Selasky Cc: Kris G , freebsd-usb@freebsd.org Subject: Re: usb quirks for ugen0.2: at usbus0 Message-ID: <20171113135445.GA15267@ns.kevlo.org> References: <51a971f6-2ddc-6a52-c0de-60f37a9207f1@selasky.org> <32f842c9-5bd0-98d7-3129-8a709552af9d@selasky.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <32f842c9-5bd0-98d7-3129-8a709552af9d@selasky.org> User-Agent: Mutt/1.8.0 (2017-02-23) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2017 13:57:37 -0000 On Fri, Nov 10, 2017 at 08:42:45AM +0100, Hans Petter Selasky wrote: > > On 11/10/17 02:59, Kris G wrote: > > USB_QUIRK(TPLINK, RTL8153, 0x0000, 0xffff, UQ_CFG_INDEX_1), > > Thank you for your quirk: > > https://svnweb.freebsd.org/changeset/base/325630 Err, that's incorrect. The quirk is not necessary and you should add vid/pid to ure(4) instead. > --HPS Kevin From owner-freebsd-usb@freebsd.org Mon Nov 13 15:04:32 2017 Return-Path: Delivered-To: freebsd-usb@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 DEB21DBCF57 for ; Mon, 13 Nov 2017 15:04:32 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (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 A68547193D; Mon, 13 Nov 2017 15:04:32 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id D75BE2603CF; Mon, 13 Nov 2017 16:04:29 +0100 (CET) Subject: Re: usb quirks for ugen0.2: at usbus0 To: Kevin Lo Cc: Kris G , freebsd-usb@freebsd.org References: <51a971f6-2ddc-6a52-c0de-60f37a9207f1@selasky.org> <32f842c9-5bd0-98d7-3129-8a709552af9d@selasky.org> <20171113135445.GA15267@ns.kevlo.org> From: Hans Petter Selasky Message-ID: <965daf95-5596-ca74-e0eb-701797f85326@selasky.org> Date: Mon, 13 Nov 2017 16:01:46 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171113135445.GA15267@ns.kevlo.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2017 15:04:33 -0000 On 11/13/17 14:54, Kevin Lo wrote: > On Fri, Nov 10, 2017 at 08:42:45AM +0100, Hans Petter Selasky wrote: >> >> On 11/10/17 02:59, Kris G wrote: >>> USB_QUIRK(TPLINK, RTL8153, 0x0000, 0xffff, UQ_CFG_INDEX_1), >> >> Thank you for your quirk: >> >> https://svnweb.freebsd.org/changeset/base/325630 > > Err, that's incorrect. The quirk is not necessary and you should add vid/pid > to ure(4) instead. > Hi Kris, Can you make a new patch for ure(4) and test? --HPS From owner-freebsd-usb@freebsd.org Mon Nov 13 23:50:26 2017 Return-Path: Delivered-To: freebsd-usb@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 6DE26DDA2E4 for ; Mon, 13 Nov 2017 23:50:26 +0000 (UTC) (envelope-from netsick@gmail.com) Received: from mail-qk0-x229.google.com (mail-qk0-x229.google.com [IPv6:2607:f8b0:400d:c09::229]) (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 24C223B11; Mon, 13 Nov 2017 23:50:26 +0000 (UTC) (envelope-from netsick@gmail.com) Received: by mail-qk0-x229.google.com with SMTP id a142so21995539qkb.5; Mon, 13 Nov 2017 15:50:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LbiabU1L/9EhwlGz3sq0l/YJThnld4f0fwKrHp0rDSE=; b=Ty3xMyoBwJxRZH70CDhsOQtVD+kqWv314mZZurqk4YWgBMkO9KZ+rG+FG+pzzuc1L8 I3YIQnDNyar0UUKPiF+R/6li+aB494Ge+nq06S1EZR4iGat7JfptObquC5yqalnCbVUG XHWLClrkfiA5PMHakpIe1HXaqULcgAKlNsxJXxF3wtAsqFH1If1v1Ywl6iKAG2yiE5ao ekktJKpU6FNZPUQm1jbfnHWAHqflt2Gu3vh9UppJ6yfndPdsJFVizIRPNdQnoLKt+lgz sUau07QsuKA7W2wBIMrE1jUMNVSDr9rCVodGKhDTHKCQ/MLCAhbwVoZ0L6qaWQMicu3V VE1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LbiabU1L/9EhwlGz3sq0l/YJThnld4f0fwKrHp0rDSE=; b=gAmT6UekEJ5kssfx9WrDJZZ5FcHTG+PAByx5rbwts34mQfkVhzFoB/gebjqG59+Xm/ fI+FBh+Tp+AFin/UHOi9GvGp/Lzj2iwVCwLTi2j7U+Jbc2LrnnyL9In9LEVbgMjG5oiZ fcfUwCTiU8X04J04D8Nc+8CmxNvV8qkwBYrL/BUKQmV4v3n3ffaWH94liydEHATu3Rsf kmQ0JRZDHM5KNL4EWVfORx/tTqOcPVOi2BFVdk7CzMtws+iW2ayzdkuDMehNb4UySYqr t6shq9mk7PeUi3q855mT6hEcdpu/OlZtPyJ3Lr5AFYjDVijjt7W6k5m9aWkGEA+4F0HO gy+A== X-Gm-Message-State: AJaThX5MDQeXnolmWeMhgqDYDjJb8Lzp3b9Ye6p2P3W6o7nhASILQtkt A+jpBmnCSPh2wsNAGTCdRdfZodn1IhTePfIGUnZRGw== X-Google-Smtp-Source: AGs4zMZbl3ptn+VoLFJJRH+R9AsYZY8YcnGbz+Dky9McH5yL57ry4UCNzpt0+EZDm3/+XIYKUVQC0ZgvJHo641hHRwg= X-Received: by 10.55.212.213 with SMTP id s82mr10122065qks.274.1510617025217; Mon, 13 Nov 2017 15:50:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.60.84 with HTTP; Mon, 13 Nov 2017 15:50:24 -0800 (PST) In-Reply-To: <965daf95-5596-ca74-e0eb-701797f85326@selasky.org> References: <51a971f6-2ddc-6a52-c0de-60f37a9207f1@selasky.org> <32f842c9-5bd0-98d7-3129-8a709552af9d@selasky.org> <20171113135445.GA15267@ns.kevlo.org> <965daf95-5596-ca74-e0eb-701797f85326@selasky.org> From: Kris G Date: Tue, 14 Nov 2017 09:50:24 +1000 Message-ID: Subject: Re: usb quirks for ugen0.2: at usbus0 To: Hans Petter Selasky Cc: Kevin Lo , freebsd-usb@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2017 23:50:26 -0000 It doesn't use "ure" it makes use of "rue" ure - RealTek RTL8152 USB to Fast Ethernet controller driver rue - RealTek RTL8150 USB to Fast Ethernet controller driver The TP-LINK USB 3.0 NIC is RTL8153 chipset - http://www.tp-link.com/us/products/details/cat-5523_TL-UE300.html#specifications I don't even have ure in my kernel.. the only lines I had to add was.. device cdce device rue /var/log/dmesg.today:ue0: on cdce0 /var/log/dmesg.today:ue0: Ethernet address: d4:6e:0e:0c:67:c5 I am now confused as to what you would like me to patch and test...? On Tue, Nov 14, 2017 at 1:01 AM, Hans Petter Selasky wrote: > On 11/13/17 14:54, Kevin Lo wrote: > >> On Fri, Nov 10, 2017 at 08:42:45AM +0100, Hans Petter Selasky wrote: >> >>> >>> On 11/10/17 02:59, Kris G wrote: >>> >>>> USB_QUIRK(TPLINK, RTL8153, 0x0000, 0xffff, UQ_CFG_INDEX_1), >>>> >>> >>> Thank you for your quirk: >>> >>> https://svnweb.freebsd.org/changeset/base/325630 >>> >> >> Err, that's incorrect. The quirk is not necessary and you should add >> vid/pid >> to ure(4) instead. >> >> > Hi Kris, > > Can you make a new patch for ure(4) and test? > > --HPS > > From owner-freebsd-usb@freebsd.org Tue Nov 14 02:00:34 2017 Return-Path: Delivered-To: freebsd-usb@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 10AF5C7D78C for ; Tue, 14 Nov 2017 02:00:34 +0000 (UTC) (envelope-from kevlo@ns.kevlo.org) Received: from ns.kevlo.org (220-135-115-6.HINET-IP.hinet.net [220.135.115.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns.kevlo.org", Issuer "ns.kevlo.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A849967D36; Tue, 14 Nov 2017 02:00:33 +0000 (UTC) (envelope-from kevlo@ns.kevlo.org) Received: from ns.kevlo.org (localhost [127.0.0.1]) by ns.kevlo.org (8.15.2/8.15.2) with ESMTPS id vAE1xvkn021035 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 14 Nov 2017 09:59:58 +0800 (CST) (envelope-from kevlo@ns.kevlo.org) Received: (from kevlo@localhost) by ns.kevlo.org (8.15.2/8.15.2/Submit) id vAE1xuCJ021032; Tue, 14 Nov 2017 09:59:56 +0800 (CST) (envelope-from kevlo) Date: Tue, 14 Nov 2017 09:59:56 +0800 From: Kevin Lo To: Kris G Cc: Hans Petter Selasky , freebsd-usb@freebsd.org Subject: Re: usb quirks for ugen0.2: at usbus0 Message-ID: <20171114015956.GA21019@ns.kevlo.org> References: <51a971f6-2ddc-6a52-c0de-60f37a9207f1@selasky.org> <32f842c9-5bd0-98d7-3129-8a709552af9d@selasky.org> <20171113135445.GA15267@ns.kevlo.org> <965daf95-5596-ca74-e0eb-701797f85326@selasky.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.0 (2017-02-23) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 02:00:34 -0000 Fixed in r325787, thanks. On Tue, Nov 14, 2017 at 09:50:24AM +1000, Kris G wrote: > > It doesn't use "ure" it makes use of "rue" > > ure - RealTek RTL8152 USB to Fast Ethernet controller driver > rue - RealTek RTL8150 USB to Fast Ethernet controller driver > > The TP-LINK USB 3.0 NIC is RTL8153 chipset - > http://www.tp-link.com/us/products/details/cat-5523_TL-UE300.html#specifications > > I don't even have ure in my kernel.. the only lines I had to add was.. > > device cdce > device rue > > /var/log/dmesg.today:ue0: on cdce0 > /var/log/dmesg.today:ue0: Ethernet address: d4:6e:0e:0c:67:c5 > > I am now confused as to what you would like me to patch and test...? > > > > On Tue, Nov 14, 2017 at 1:01 AM, Hans Petter Selasky > wrote: > > > On 11/13/17 14:54, Kevin Lo wrote: > > > >> On Fri, Nov 10, 2017 at 08:42:45AM +0100, Hans Petter Selasky wrote: > >> > >>> > >>> On 11/10/17 02:59, Kris G wrote: > >>> > >>>> USB_QUIRK(TPLINK, RTL8153, 0x0000, 0xffff, UQ_CFG_INDEX_1), > >>>> > >>> > >>> Thank you for your quirk: > >>> > >>> https://svnweb.freebsd.org/changeset/base/325630 > >>> > >> > >> Err, that's incorrect. The quirk is not necessary and you should add > >> vid/pid > >> to ure(4) instead. > >> > >> > > Hi Kris, > > > > Can you make a new patch for ure(4) and test? > > > > --HPS > > > > > _______________________________________________ > freebsd-usb@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" > From owner-freebsd-usb@freebsd.org Tue Nov 14 03:44:02 2017 Return-Path: Delivered-To: freebsd-usb@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 32E14CFDE24 for ; Tue, 14 Nov 2017 03:44:02 +0000 (UTC) (envelope-from netsick@gmail.com) Received: from mail-qk0-x236.google.com (mail-qk0-x236.google.com [IPv6:2607:f8b0:400d:c09::236]) (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 D6D5C6C814; Tue, 14 Nov 2017 03:44:01 +0000 (UTC) (envelope-from netsick@gmail.com) Received: by mail-qk0-x236.google.com with SMTP id f63so8007239qke.8; Mon, 13 Nov 2017 19:44:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=SDvcLZ55TPs3Y5Wfz5oIKgp9c/XrX6htqOoFS0VPq0I=; b=A8DkMkwYtme+CQyW6yFZrbc6VZfnV9bYFOS3841rji1rvSDO9Hi7HqE/OmDUYyaTQ0 CDppyUY9xuGIBE2DD2mTrPsKIlE1POpgsLpyNLdMRuTjyHFeBLQSYpF/NPEAtZN5LdEH cZJtgOdCeS//7YQGXZq1stJZuHItD9NlYD95npIpjkY7fy8EdrjlKmRwHfu8px37j+gb RuOtxKeGcanZr9Z/yBNu/dRwCHmoiUAgFzj/BL1F8Gy3y5hB6fgBjtyRX2ZXWi1mnEpU FQBVwFDCzzl0hkIOMm/3KXBBLxVMOH7eVZMOE2siH+Tp/Vhbhdxvc2cyAhQoaHwSKchl aGUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=SDvcLZ55TPs3Y5Wfz5oIKgp9c/XrX6htqOoFS0VPq0I=; b=J+CwsReDhZncd++ZDItAKngyqBvz7cKiZjaW0C6OcMg0iQZ6fQU7N1Zy1MJf+ofkFG 7s8aQEY9Abti1sl5QGjMunHJzeE9J03mANQAelzEkpqYTXRnq7Dv7gr8rXB0bzzzPeLj EaXS3X4WjFa4mWaSL2NYlXvPQTozo52BM9U+Sk6veJglGJaB1pF/nC1ODv4Bo98CG9f2 Pl/lgNJOYrAW4FjE8hE9pBa6/hrY4vWB7WjjD/esE3GSgEu+Lct/+hH+vPT4DstWGJDX FqrJ2c1gk395NPjC6S3jjbawpCQuYHrkc3W0+JPpYt86cLFD5+Cnnp8e1cb86qo+1AqE NrCg== X-Gm-Message-State: AJaThX5zKTWUaGhzNWt6u18fLCB563AbOtrUZQXRPM53zm2Laz0tm7nK fSAGaa1N2z04Gr/aUaTOSysowGugeauYR6IgOiOCbg== X-Google-Smtp-Source: AGs4zMYY/w/463zzgHQzvVv2AWTOC3/I0+N7iq/YFWet+11/BDl+wk7gtODTgiRnZvi+Wpgsypu3MVdXzR1fhq8XD5g= X-Received: by 10.55.140.69 with SMTP id o66mr17419883qkd.213.1510631040605; Mon, 13 Nov 2017 19:44:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.60.84 with HTTP; Mon, 13 Nov 2017 19:43:59 -0800 (PST) In-Reply-To: <20171114015956.GA21019@ns.kevlo.org> References: <51a971f6-2ddc-6a52-c0de-60f37a9207f1@selasky.org> <32f842c9-5bd0-98d7-3129-8a709552af9d@selasky.org> <20171113135445.GA15267@ns.kevlo.org> <965daf95-5596-ca74-e0eb-701797f85326@selasky.org> <20171114015956.GA21019@ns.kevlo.org> From: Kris G Date: Tue, 14 Nov 2017 13:43:59 +1000 Message-ID: Subject: Re: usb quirks for ugen0.2: at usbus0 To: Kevin Lo Cc: Hans Petter Selasky , freebsd-usb@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 03:44:02 -0000 thanks, seems like a miracle it worked at all since i was using rue not ure Can I download these files in head.. /head/sys/dev/usb/usbdevs /head/sys/dev/usb/net/if_ure.c /head/sys/dev/usb/net/if_urereg.h .. into my 11.1 release kernel source tree and then obviously add "device ure" instead of "device rue" into my kernel config and recompile? (I tried and it did build without any errors..) Will that then make my interface change from ue0: to ure0: or is it re0 ? On Tue, Nov 14, 2017 at 11:59 AM, Kevin Lo wrote: > Fixed in r325787, thanks. > > On Tue, Nov 14, 2017 at 09:50:24AM +1000, Kris G wrote: > > > > It doesn't use "ure" it makes use of "rue" > > > > ure - RealTek RTL8152 USB to Fast Ethernet controller driver > > rue - RealTek RTL8150 USB to Fast Ethernet controller driver > > > > The TP-LINK USB 3.0 NIC is RTL8153 chipset - > > http://www.tp-link.com/us/products/details/cat-5523_TL- > UE300.html#specifications > > > > I don't even have ure in my kernel.. the only lines I had to add was.. > > > > device cdce > > device rue > > > > /var/log/dmesg.today:ue0: on cdce0 > > /var/log/dmesg.today:ue0: Ethernet address: d4:6e:0e:0c:67:c5 > > > > I am now confused as to what you would like me to patch and test...? > > > > > > > > On Tue, Nov 14, 2017 at 1:01 AM, Hans Petter Selasky > > wrote: > > > > > On 11/13/17 14:54, Kevin Lo wrote: > > > > > >> On Fri, Nov 10, 2017 at 08:42:45AM +0100, Hans Petter Selasky wrote: > > >> > > >>> > > >>> On 11/10/17 02:59, Kris G wrote: > > >>> > > >>>> USB_QUIRK(TPLINK, RTL8153, 0x0000, 0xffff, UQ_CFG_INDEX_1), > > >>>> > > >>> > > >>> Thank you for your quirk: > > >>> > > >>> https://svnweb.freebsd.org/changeset/base/325630 > > >>> > > >> > > >> Err, that's incorrect. The quirk is not necessary and you should add > > >> vid/pid > > >> to ure(4) instead. > > >> > > >> > > > Hi Kris, > > > > > > Can you make a new patch for ure(4) and test? > > > > > > --HPS > > > > > > > > _______________________________________________ > > freebsd-usb@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-usb > > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" > > > From owner-freebsd-usb@freebsd.org Tue Nov 14 08:25:40 2017 Return-Path: Delivered-To: freebsd-usb@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 5E057D7FA39 for ; Tue, 14 Nov 2017 08:25:40 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (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 1811174DB2; Tue, 14 Nov 2017 08:25:39 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 6E4532603CF; Tue, 14 Nov 2017 09:25:36 +0100 (CET) Subject: Re: usb quirks for ugen0.2: at usbus0 To: Kris G , Kevin Lo Cc: freebsd-usb@freebsd.org References: <51a971f6-2ddc-6a52-c0de-60f37a9207f1@selasky.org> <32f842c9-5bd0-98d7-3129-8a709552af9d@selasky.org> <20171113135445.GA15267@ns.kevlo.org> <965daf95-5596-ca74-e0eb-701797f85326@selasky.org> <20171114015956.GA21019@ns.kevlo.org> From: Hans Petter Selasky Message-ID: <7302a69a-a8cd-d9ca-d96f-f21ce45bf25f@selasky.org> Date: Tue, 14 Nov 2017 09:22:55 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 08:25:40 -0000 On 11/14/17 04:43, Kris G wrote: > thanks, seems like a miracle it worked at all since i was using rue not ure > > Can I download these files in head.. > > /head/sys/dev/usb/usbdevs > /head/sys/dev/usb/net/if_ure.c > /head/sys/dev/usb/net/if_urereg.h > > .. into my 11.1 release kernel source tree and then obviously add "device > ure" instead of "device rue" into my kernel config and recompile? (I tried > and it did build without any errors..) > Hi, I think you can just C&P those file. Kevin will probably MFC them next week. Thank you! --HPS From owner-freebsd-usb@freebsd.org Tue Nov 14 10:44:55 2017 Return-Path: Delivered-To: freebsd-usb@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 6B4EFDBAAB3 for ; Tue, 14 Nov 2017 10:44:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 596F0796E8 for ; Tue, 14 Nov 2017 10:44:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vAEAisAY040902 for ; Tue, 14 Nov 2017 10:44:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 222624] [usb] [panic] thread's sleep queue 0 is not empty at usb_process.c:193 Date: Tue, 14 Nov 2017 10:44:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: decke@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 10:44:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222624 --- Comment #17 from Bernhard Froehlich --- I have copied the kernel and crashdumps to freefall:/home/decke/222624-thread-sleep-queue if someone wants to have a l= ook. --=20 You are receiving this mail because: You are the assignee for the bug.=