From owner-freebsd-usb@FreeBSD.ORG Sun Dec 21 20:21:10 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B6906FF5 for ; Sun, 21 Dec 2014 20:21:10 +0000 (UTC) Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45CE321B0 for ; Sun, 21 Dec 2014 20:21:10 +0000 (UTC) Received: by mail-wi0-f172.google.com with SMTP id n3so6382014wiv.5 for ; Sun, 21 Dec 2014 12:21:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=sUeocqcRh6QJooxFHTxSYXQjCUBuXAV/kR0YFwn93Yo=; b=TQIa/8k0Em2/+AaAp3e7H4FWrNLC8ogC+T58Ermu7Ijjf+hf8JczRMrlbH5yd/fHwK VrBEoxn7bh/eLEvdur0aSW9V4CR0jfxLMcI39ADvmunB1DRqhcPljVMSLXdyi2I86bMv oL3rjRYDT/95s6wmh9a1/knRzke8Sd5UqSlbtzmi+fZxjWDbA3ysPVpDuSwmsPhQr1Ci lSDPwYDb6pULU+omAkVtUsRSBNkFv9aktDvRM2QEA6z9901kEUYCWsNQdVO1kHHGu6WG mTcbRSdWm/eL9KYXfajgzJT73OxHIpilGXJ+DphsOUx3qzcoDAirZSd1haQvR1S/y4zu aSTg== MIME-Version: 1.0 X-Received: by 10.195.12.97 with SMTP id ep1mr35300686wjd.29.1419193268684; Sun, 21 Dec 2014 12:21:08 -0800 (PST) Received: by 10.27.174.20 with HTTP; Sun, 21 Dec 2014 12:21:08 -0800 (PST) In-Reply-To: <2834715.Xnaz94KKIN@bigguy.am-productions.biz> References: <1580934.Kkj0kKdA3z@bigguy.am-productions.biz> <1993304.2n7h1o4Guv@bigguy.am-productions.biz> <548EABCA.7090908@selasky.org> <2834715.Xnaz94KKIN@bigguy.am-productions.biz> Date: Sun, 21 Dec 2014 12:21:08 -0800 Message-ID: Subject: Re: urndis and umodem device collision for ue device From: Randall Fox To: Anish Mistry Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 20:21:10 -0000 > Hi, > > The following patches should fix your problem: > > https://svnweb.freebsd.org/changeset/base/275790 > https://svnweb.freebsd.org/changeset/base/275791 > > --HPS I finally was able to apply this, and it did not work for me. I am still getting the disconnect messages. It seems to have worked for someone else with a different (but similar) Tripp Lite unit. He had the same issue as I did, but this seemed to have fixed it. Were you able to get the ID values from my data? Or did you pull them from another source? If it was another source, how can I get a trace so I can get you the needed ID values? Thanks On Mon, Dec 15, 2014 at 8:02 PM, Anish Mistry wrote: > On Monday, December 15, 2014 10:37:14 AM Hans Petter Selasky wrote: > > Hi, > > > > The following patches should fix your problem: > > > > https://svnweb.freebsd.org/changeset/base/275790 > > https://svnweb.freebsd.org/changeset/base/275791 > > > > --HPS > > Just tested and confirmed this works. > > Thanks, > > -- > Anish Mistry > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" > From owner-freebsd-usb@FreeBSD.ORG Sun Dec 21 20:23:40 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5CF25D0 for ; Sun, 21 Dec 2014 20:23:40 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (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 1842F21CB for ; Sun, 21 Dec 2014 20:23:39 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (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 6F5DE1FE022; Sun, 21 Dec 2014 21:23:36 +0100 (CET) Message-ID: <54972C6E.2080906@selasky.org> Date: Sun, 21 Dec 2014 21:24:14 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Randall Fox , Anish Mistry Subject: Re: urndis and umodem device collision for ue device References: <1580934.Kkj0kKdA3z@bigguy.am-productions.biz> <1993304.2n7h1o4Guv@bigguy.am-productions.biz> <548EABCA.7090908@selasky.org> <2834715.Xnaz94KKIN@bigguy.am-productions.biz> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 20:23:40 -0000 On 12/21/14 21:21, Randall Fox wrote: >> Hi, >> >> The following patches should fix your problem: >> >> https://svnweb.freebsd.org/changeset/base/275790 >> https://svnweb.freebsd.org/changeset/base/275791 >> >> --HPS > > > I finally was able to apply this, and it did not work for me. I am still > getting the disconnect messages. It seems to have worked for someone else > with a different (but similar) Tripp Lite unit. He had the same issue as I > did, but this seemed to have fixed it. > > Were you able to get the ID values from my data? Or did you pull them from > another source? If it was another source, how can I get a trace so I can > get you the needed ID values? > > Thanks Hi, Did you update /etc/devd/usb.conf, install new kernel and reboot your system? --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Dec 21 20:40:39 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A8C6636B for ; Sun, 21 Dec 2014 20:40:39 +0000 (UTC) Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 359A02AC4 for ; Sun, 21 Dec 2014 20:40:39 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id b13so5324484wgh.31 for ; Sun, 21 Dec 2014 12:40:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ftu8AQdU1bZOnfDjgFoZqSvYr3LGVkaKCUZgFPaDMtI=; b=lN0uW4x2KMW+meIPD5XUA7kPeRflD1EV6+Yt556WSGNQtxD2n51da/vmX3c49d5Sm4 dawpyRZTSKef6SKXHudN3TiFS6fP0/1caPG9tLCQ1oWJnSCRkrcJb5qEU/y0WZ612D31 IKv7Hn2rvAgF6lpcqZbpcnsLHvpW4qwbSM7NmKr+8+DGI49YLuGjZ6xI/ux8u6eXk3fo 4JNRe2XCCNN2q9Zr2Hb0UsnwqGQ4ZDaWAg23abAAKgMLNeY/+2cdl91CJaiSoo2djNYi 8GPHo7Ti0oX746RQRVNBj6+zdyf98s209qhlaV4zxdiT/tM7gBP7rYikgEgT/r5uo4tC ekYw== MIME-Version: 1.0 X-Received: by 10.180.19.193 with SMTP id h1mr25284481wie.10.1419194437512; Sun, 21 Dec 2014 12:40:37 -0800 (PST) Received: by 10.27.174.20 with HTTP; Sun, 21 Dec 2014 12:40:37 -0800 (PST) In-Reply-To: <54972C6E.2080906@selasky.org> References: <1580934.Kkj0kKdA3z@bigguy.am-productions.biz> <1993304.2n7h1o4Guv@bigguy.am-productions.biz> <548EABCA.7090908@selasky.org> <2834715.Xnaz94KKIN@bigguy.am-productions.biz> <54972C6E.2080906@selasky.org> Date: Sun, 21 Dec 2014 12:40:37 -0800 Message-ID: Subject: Re: urndis and umodem device collision for ue device From: Randall Fox To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 20:40:39 -0000 > Did you update /etc/devd/usb.conf, install new kernel and reboot your system? I actually had the FreeNAS team apply this fix to the nightly build and I created a whole new install based on their Nightly Build. The DEVs put the fix in, and it must have been correct because it worked for someone else. Here is the link to the ticket for this: https://bugs.freenas.org/issues/7153 It appears they are familiar with you! I will try putting the usb.conf in the location you specify, to see if that works. I would be surprised if the dev's missed this. On Sun, Dec 21, 2014 at 12:24 PM, Hans Petter Selasky wrote: > On 12/21/14 21:21, Randall Fox wrote: > >> Hi, >>> >>> The following patches should fix your problem: >>> >>> https://svnweb.freebsd.org/changeset/base/275790 >>> https://svnweb.freebsd.org/changeset/base/275791 >>> >>> --HPS >>> >> >> >> I finally was able to apply this, and it did not work for me. I am still >> getting the disconnect messages. It seems to have worked for someone else >> with a different (but similar) Tripp Lite unit. He had the same issue as >> I >> did, but this seemed to have fixed it. >> >> Were you able to get the ID values from my data? Or did you pull them >> from >> another source? If it was another source, how can I get a trace so I can >> get you the needed ID values? >> >> Thanks >> > > Hi, > > Did you update /etc/devd/usb.conf, install new kernel and reboot your > system? > > --HPS > > From owner-freebsd-usb@FreeBSD.ORG Sun Dec 21 21:01:49 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 27637809 for ; Sun, 21 Dec 2014 21:01:49 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (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 D5FB12ECD for ; Sun, 21 Dec 2014 21:01:48 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (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 414AC1FE022; Sun, 21 Dec 2014 22:01:46 +0100 (CET) Message-ID: <54973560.4090908@selasky.org> Date: Sun, 21 Dec 2014 22:02:24 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Randall Fox Subject: Re: urndis and umodem device collision for ue device References: <1580934.Kkj0kKdA3z@bigguy.am-productions.biz> <1993304.2n7h1o4Guv@bigguy.am-productions.biz> <548EABCA.7090908@selasky.org> <2834715.Xnaz94KKIN@bigguy.am-productions.biz> <54972C6E.2080906@selasky.org> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 21:01:49 -0000 On 12/21/14 21:40, Randall Fox wrote: >> Did you update /etc/devd/usb.conf, install new kernel and reboot your > system? > > I actually had the FreeNAS team apply this fix to the nightly build and I > created a whole new install based on their Nightly Build. The DEVs put the > fix in, and it must have been correct because it worked for someone else. > > Here is the link to the ticket for this: > https://bugs.freenas.org/issues/7153 > It appears they are familiar with you! > > I will try putting the usb.conf in the location you specify, to see if that > works. I would be surprised if the dev's missed this. > > > > On Sun, Dec 21, 2014 at 12:24 PM, Hans Petter Selasky > wrote: > >> On 12/21/14 21:21, Randall Fox wrote: >> >>> Hi, >>>> >>>> The following patches should fix your problem: >>>> >>>> https://svnweb.freebsd.org/changeset/base/275790 >>>> https://svnweb.freebsd.org/changeset/base/275791 >>>> >>>> --HPS >>>> >>> >>> Can you get the dmesg when plugging your device? --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Dec 21 21:28:43 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 55011667 for ; Sun, 21 Dec 2014 21:28:43 +0000 (UTC) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D2BBB31BB for ; Sun, 21 Dec 2014 21:28:42 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id n3so6356858wiv.1 for ; Sun, 21 Dec 2014 13:28:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=TiSfn+DIYPkAh6N47Zq6SiO7lIao+7b0eEgS+y3uvDE=; b=EReZVXnDTmrAqgtzp4Ms/7WrXwPFarAJe7veH1BP6okzXSJPTDW6ck46lRsLooZJcZ k6q5ZKhVXT16HAkgOhcm5cbC3SXpwc5QJ8+bBl4defBQaB/XV1B0IeMJnW2lNVdns6+c 1amn/14HdA/StGHA0UKVbCsSuya4MLOmZnlw6TA8EVVV+enZwWaFuwNGJ+0iDIsc2SGj nC6EInJi0286NKLj7XhOpaJUcyhZDdf+XFXoxV9uStsoXJ2LEFNC67I3uiX7S0XiMJfj B9xcePP2wwZU45/wBmpu+yvqX9NCsOA9KL4eH83atzBuh0i9mTBMMVFfvZTdDbm5XGX3 eVpQ== MIME-Version: 1.0 X-Received: by 10.180.88.33 with SMTP id bd1mr25533450wib.10.1419197321265; Sun, 21 Dec 2014 13:28:41 -0800 (PST) Received: by 10.27.174.20 with HTTP; Sun, 21 Dec 2014 13:28:41 -0800 (PST) In-Reply-To: <54973560.4090908@selasky.org> References: <1580934.Kkj0kKdA3z@bigguy.am-productions.biz> <1993304.2n7h1o4Guv@bigguy.am-productions.biz> <548EABCA.7090908@selasky.org> <2834715.Xnaz94KKIN@bigguy.am-productions.biz> <54972C6E.2080906@selasky.org> <54973560.4090908@selasky.org> Date: Sun, 21 Dec 2014 13:28:41 -0800 Message-ID: Subject: Re: urndis and umodem device collision for ue device From: Randall Fox To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 21:28:43 -0000 On Sun, Dec 21, 2014 at 1:02 PM, Hans Petter Selasky wrote: > On 12/21/14 21:40, Randall Fox wrote: > >> Did you update /etc/devd/usb.conf, install new kernel and reboot your >>> >> system? >> >> I actually had the FreeNAS team apply this fix to the nightly build and I >> created a whole new install based on their Nightly Build. The DEVs put >> the >> fix in, and it must have been correct because it worked for someone else. >> >> Here is the link to the ticket for this: >> https://bugs.freenas.org/issues/7153 >> It appears they are familiar with you! >> >> I will try putting the usb.conf in the location you specify, to see if >> that >> works. I would be surprised if the dev's missed this. >> >> >> >> On Sun, Dec 21, 2014 at 12:24 PM, Hans Petter Selasky >> wrote: >> >> On 12/21/14 21:21, Randall Fox wrote: >>> >>> Hi, >>>> >>>>> >>>>> The following patches should fix your problem: >>>>> >>>>> https://svnweb.freebsd.org/changeset/base/275790 >>>>> https://svnweb.freebsd.org/changeset/base/275791 >>>>> >>>>> --HPS >>>>> >>>>> >>>> >>>> > Can you get the dmesg when plugging your device? > > --HPS > > uhid0: on usbus1 ugen1.3: at usbus1 (disconnected) uhid0: at uhub3, port 1, addr 3 (disconnected) ugen1.3: at usbus1 uhid0: on usbus1 ugen1.3: at usbus1 (disconnected) uhid0: at uhub3, port 1, addr 3 (disconnected) I tried putting the usb.conf in /etc/devd and rebooting, but no change.. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 22 01:38:42 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E68CC6E9 for ; Mon, 22 Dec 2014 01:38:42 +0000 (UTC) Received: from smtp.mei.co.jp (smtp.mei.co.jp [133.183.100.20]) by mx1.freebsd.org (Postfix) with ESMTP id 6B0812C86 for ; Mon, 22 Dec 2014 01:38:42 +0000 (UTC) Received: from mail-gw.jp.panasonic.com ([157.8.1.157]) by smtp.mei.co.jp (8.12.11.20060614/3.7W/kc-maile14) with ESMTP id sBM1cYCN024768; Mon, 22 Dec 2014 10:38:34 +0900 (JST) Received: from epochmail.jp.panasonic.com ([157.8.1.130]) by mail.jp.panasonic.com (8.11.6p2/3.7W/kc-maili14) with ESMTP id sBM1cYL32715; Mon, 22 Dec 2014 10:38:34 +0900 Received: by epochmail.jp.panasonic.com (8.12.11.20060308/3.7W/lomi13) id sBM1cYFC010655; Mon, 22 Dec 2014 10:38:34 +0900 Received: from localhost by lomi13.jp.panasonic.com (8.12.11.20060308/3.7W) with ESMTP id sBM1cY0a010623; Mon, 22 Dec 2014 10:38:34 +0900 Date: Mon, 22 Dec 2014 10:38:33 +0900 (JST) Message-Id: <20141222.103833.2105768702793613386.okuno.kohji@jp.panasonic.com> To: hps@selasky.org Subject: Re: About XHCI_TD_PAGE_SIZE. From: Kohji Okuno In-Reply-To: <549541BC.6070505@selasky.org> References: <20141217.110334.1811096089058017495.okuno.kohji@jp.panasonic.com> <549541BC.6070505@selasky.org> Organization: Panasonic Corporation X-Mailer: Mew version 6.6 on Emacs 24.4 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 01:38:43 -0000 From: Hans Petter Selasky Subject: Re: About XHCI_TD_PAGE_SIZE. Date: Sat, 20 Dec 2014 10:30:36 +0100 > On 12/17/14 05:42, Nidal Khalil wrote: >> I agree. Thanks >> >> Nidal >> On Dec 16, 2014 6:25 PM, "Kohji Okuno" wrote: >> >>> Hi Hans, >>> >>> If we use PAGE_SIZE as USB_PAGE_SIZE, we should use PAGE_SIZE as >>> XHCI_TD_PAGE_SIZE, too. I think. >>> >>> As you know, one TRB can use 1~64kB for the transfer length. >>> > > Hi, > > We currently only check if 4K pages are supported by the hardware. If you > change the value of XHCI_TD_PAGE_SIZE, you will also need to change the checks > other places. You know that PAGE_SIZE is not a constant? > > Do you have a complete patch? > > --HPS > Hi, XHCI_TD_PAGE_SIZE is used at only 2-points. 1. use as XHCI_TD_PAYLOAD_MAX (XHCI_TD_PAGE_NBUF) in xhci.h We sholud change as the following, I think. - #define XHCI_TD_PAGE_NBUF 17 /* units, room enough for 64Kbytes */ - #define XHCI_TD_PAGE_SIZE 4096 /* bytes */ - #define XHCI_TD_PAYLOAD_MAX (XHCI_TD_PAGE_SIZE * (XHCI_TD_PAGE_NBUF - 1)) + #define XHCI_TD_PAYLOAD_MAX (64*1024) /* bytes */ + #define XHCI_TD_PAGE_SIZE PAGE_SIZE /* bytes */ + /* units, room enough for 64Kbytes */ + #define XHCI_TD_PAGE_NBUF (XHCI_TD_PAYLOAD_MAX/XHCI_TD_PAGE_SIZE + 1) 2. use as the maximum length of TRB. If PAGE_SIZE is 8kB, buf_res.length may be 8kB. But, we can set 1B~64kB for length of TRB. This is the spcification of xHCI. So, we don't need change this point. xhci.c 1807 /* check for maximum length */ 1808 if (buf_res.length > XHCI_TD_PAGE_SIZE) 1809 buf_res.length = XHCI_TD_PAGE_SIZE; Best regards, Kohji Okuno From owner-freebsd-usb@FreeBSD.ORG Mon Dec 22 04:18:47 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CEF52793 for ; Mon, 22 Dec 2014 04:18:47 +0000 (UTC) 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 B6355374B for ; Mon, 22 Dec 2014 04:18:47 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBM4Ilrt008295 for ; Mon, 22 Dec 2014 04:18:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 180617] [usbdevs] [patch] New quirk (another member of Western Digital My Passport family of devices) Date: Mon, 22 Dec 2014 04:18:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 9.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gcr@tharned.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 04:18:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=180617 gcr@tharned.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gcr@tharned.org --- Comment #4 from gcr@tharned.org --- I've just come across another drive in this family: Western Digital My Passport Ultra, 2TB, Model WDBMWV0020BBK. $ usbconfig -d 0.2 dump_device_desc ugen0.2: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (224mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0300 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0009 idVendor = 0x1058 idProduct = 0x0741 bcdDevice = 0x1022 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0005 <575836314137334839383938> bNumConfigurations = 0x0001 Can you please add this one to your upcoming MFC? Thanks. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 22 08:41:35 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3D2D87B3 for ; Mon, 22 Dec 2014 08:41:35 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (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 EA43C3006 for ; Mon, 22 Dec 2014 08:41:34 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (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 240D61FE022; Mon, 22 Dec 2014 09:41:31 +0100 (CET) Message-ID: <5497D961.2090302@selasky.org> Date: Mon, 22 Dec 2014 09:42:09 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Randall Fox Subject: Re: urndis and umodem device collision for ue device References: <1580934.Kkj0kKdA3z@bigguy.am-productions.biz> <1993304.2n7h1o4Guv@bigguy.am-productions.biz> <548EABCA.7090908@selasky.org> <2834715.Xnaz94KKIN@bigguy.am-productions.biz> <54972C6E.2080906@selasky.org> <54973560.4090908@selasky.org> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 08:41:35 -0000 On 12/21/14 22:28, Randall Fox wrote: > On Sun, Dec 21, 2014 at 1:02 PM, Hans Petter Selasky > wrote: > >> On 12/21/14 21:40, Randall Fox wrote: >> >>> Did you update /etc/devd/usb.conf, install new kernel and reboot your >>>> >>> system? >>> >>> I actually had the FreeNAS team apply this fix to the nightly build and I >>> created a whole new install based on their Nightly Build. The DEVs put >>> the >>> fix in, and it must have been correct because it worked for someone else. >>> >>> Here is the link to the ticket for this: >>> https://bugs.freenas.org/issues/7153 >>> It appears they are familiar with you! >>> >>> I will try putting the usb.conf in the location you specify, to see if >>> that >>> works. I would be surprised if the dev's missed this. >>> >>> >>> >>> On Sun, Dec 21, 2014 at 12:24 PM, Hans Petter Selasky >>> wrote: >>> >>> On 12/21/14 21:21, Randall Fox wrote: >>>> >>>> Hi, >>>>> >>>>>> >>>>>> The following patches should fix your problem: >>>>>> >>>>>> https://svnweb.freebsd.org/changeset/base/275790 >>>>>> https://svnweb.freebsd.org/changeset/base/275791 >>>>>> >>>>>> --HPS >>>>>> >>>>>> >>>>> >>>>> >> Can you get the dmesg when plugging your device? >> >> --HPS >> >> > uhid0: addr 3> on usbus1 > ugen1.3: at usbus1 (disconnected) > uhid0: at uhub3, port 1, addr 3 (disconnected) > ugen1.3: at usbus1 > uhid0: addr 3> on usbus1 > ugen1.3: at usbus1 (disconnected) > uhid0: at uhub3, port 1, addr 3 (disconnected) > > I tried putting the usb.conf in /etc/devd and rebooting, but no change.. > Hi, This looks correct. Did you select the correct device profile? Also, did you set the correct USB configuration number? usbconfig -d X.Y dump_device_desc dump_curr_config_desc usbconfig -d X.Y set_config 1 --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Dec 22 09:10:11 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6759A238 for ; Mon, 22 Dec 2014 09:10:11 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (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 2379D3A60 for ; Mon, 22 Dec 2014 09:10:10 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (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 ABAE41FE022; Mon, 22 Dec 2014 10:10:08 +0100 (CET) Message-ID: <5497E016.7020809@selasky.org> Date: Mon, 22 Dec 2014 10:10:46 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Kohji Okuno Subject: Re: About XHCI_TD_PAGE_SIZE. References: <20141217.110334.1811096089058017495.okuno.kohji@jp.panasonic.com> <549541BC.6070505@selasky.org> <20141222.103833.2105768702793613386.okuno.kohji@jp.panasonic.com> In-Reply-To: <20141222.103833.2105768702793613386.okuno.kohji@jp.panasonic.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 09:10:11 -0000 On 12/22/14 02:38, Kohji Okuno wrote: > From: Hans Petter Selasky > Subject: Re: About XHCI_TD_PAGE_SIZE. > Date: Sat, 20 Dec 2014 10:30:36 +0100 > >> On 12/17/14 05:42, Nidal Khalil wrote: >>> I agree. Thanks >>> >>> Nidal >>> On Dec 16, 2014 6:25 PM, "Kohji Okuno" wrote: >>> >>>> Hi Hans, >>>> >>>> If we use PAGE_SIZE as USB_PAGE_SIZE, we should use PAGE_SIZE as >>>> XHCI_TD_PAGE_SIZE, too. I think. >>>> >>>> As you know, one TRB can use 1~64kB for the transfer length. >>>> >> >> Hi, >> >> We currently only check if 4K pages are supported by the hardware. If you >> change the value of XHCI_TD_PAGE_SIZE, you will also need to change the checks >> other places. You know that PAGE_SIZE is not a constant? >> >> Do you have a complete patch? >> >> --HPS >> > > Hi, > > XHCI_TD_PAGE_SIZE is used at only 2-points. > > 1. use as XHCI_TD_PAYLOAD_MAX (XHCI_TD_PAGE_NBUF) in xhci.h > We sholud change as the following, I think. > > - #define XHCI_TD_PAGE_NBUF 17 /* units, room enough for 64Kbytes */ > - #define XHCI_TD_PAGE_SIZE 4096 /* bytes */ > - #define XHCI_TD_PAYLOAD_MAX (XHCI_TD_PAGE_SIZE * (XHCI_TD_PAGE_NBUF - 1)) > + #define XHCI_TD_PAYLOAD_MAX (64*1024) /* bytes */ > + #define XHCI_TD_PAGE_SIZE PAGE_SIZE /* bytes */ > + /* units, room enough for 64Kbytes */ > + #define XHCI_TD_PAGE_NBUF (XHCI_TD_PAYLOAD_MAX/XHCI_TD_PAGE_SIZE + 1) > > 2. use as the maximum length of TRB. > If PAGE_SIZE is 8kB, buf_res.length may be 8kB. > But, we can set 1B~64kB for length of TRB. This is the spcification > of xHCI. So, we don't need change this point. > > xhci.c > 1807 /* check for maximum length */ > 1808 if (buf_res.length > XHCI_TD_PAGE_SIZE) > 1809 buf_res.length = XHCI_TD_PAGE_SIZE; > Hi Kohji, I see your points. By doing this you save some memory in the descriptor layout for 8K page size - right? BTW: Do you think the following check is OK, or should it be extended to check also for 8K? if (!(XREAD4(sc, oper, XHCI_PAGESIZE) & XHCI_PAGESIZE_4K)) { device_printf(sc->sc_bus.parent, "Controller does " "not support 4K page size.\n"); return (USB_ERR_IOERROR); } I guess your patch is more in the direction of optimisation. Is it very urgent? Or is it fine if I handle it the beginning of January? Thank you for your input and review! --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Dec 22 09:14:18 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A9C6D2EF for ; Mon, 22 Dec 2014 09:14:18 +0000 (UTC) Received: from mail-wg0-x233.google.com (mail-wg0-x233.google.com [IPv6:2a00:1450:400c:c00::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 28C283C0D for ; Mon, 22 Dec 2014 09:14:18 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id x12so6076683wgg.24 for ; Mon, 22 Dec 2014 01:14:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=M9kwkt1bML2q40iL0xjj2I1NIACC8mn+AH+Z1EXN7vY=; b=awltr29mSdaFKTBBi2k9zOCYU2STf6+HCCiqwzoPAGB2OsTVfeAxlrPM22Tjo12TxG XcyhRoPxvl2dyX9dhi2qOaF9qJ3ksXnnvu/HSyXTsXbFbMnskuwrn6FVi21KCVXNnDUa zfC2qUxpvNs6kQvPiWMNrXByvqUZrPldScko7dw2O7AsKRXfg0u2Tif3w4jQmdfZVvUu QASjr2yTzRrMLK4T3TwKE0J3glQcnTTuWXWnvu1gG1fvRVlox2S79aBDhsvxCQlvmlWr I/ZpFPb7+1AAQXVpgHMZWGOUyPr61+Xx5tmLODYXBScpf5Qa+zYJQqks6vGmQ22nuR8I rdiw== MIME-Version: 1.0 X-Received: by 10.194.62.19 with SMTP id u19mr40748685wjr.0.1419239656413; Mon, 22 Dec 2014 01:14:16 -0800 (PST) Received: by 10.27.174.20 with HTTP; Mon, 22 Dec 2014 01:14:16 -0800 (PST) In-Reply-To: <5497D961.2090302@selasky.org> References: <1580934.Kkj0kKdA3z@bigguy.am-productions.biz> <1993304.2n7h1o4Guv@bigguy.am-productions.biz> <548EABCA.7090908@selasky.org> <2834715.Xnaz94KKIN@bigguy.am-productions.biz> <54972C6E.2080906@selasky.org> <54973560.4090908@selasky.org> <5497D961.2090302@selasky.org> Date: Mon, 22 Dec 2014 01:14:16 -0800 Message-ID: Subject: Re: urndis and umodem device collision for ue device From: Randall Fox To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 09:14:18 -0000 On Mon, Dec 22, 2014 at 12:42 AM, Hans Petter Selasky wrote: > On 12/21/14 22:28, Randall Fox wrote: > >> On Sun, Dec 21, 2014 at 1:02 PM, Hans Petter Selasky >> wrote: >> >> On 12/21/14 21:40, Randall Fox wrote: >>> >>> Did you update /etc/devd/usb.conf, install new kernel and reboot your >>>> >>>>> >>>>> system? >>>> >>>> I actually had the FreeNAS team apply this fix to the nightly build and >>>> I >>>> created a whole new install based on their Nightly Build. The DEVs put >>>> the >>>> fix in, and it must have been correct because it worked for someone >>>> else. >>>> >>>> Here is the link to the ticket for this: >>>> https://bugs.freenas.org/issues/7153 >>>> It appears they are familiar with you! >>>> >>>> I will try putting the usb.conf in the location you specify, to see if >>>> that >>>> works. I would be surprised if the dev's missed this. >>>> >>>> >>>> >>>> On Sun, Dec 21, 2014 at 12:24 PM, Hans Petter Selasky >>>> wrote: >>>> >>>> On 12/21/14 21:21, Randall Fox wrote: >>>> >>>>> >>>>> Hi, >>>>> >>>>>> >>>>>> >>>>>>> The following patches should fix your problem: >>>>>>> >>>>>>> https://svnweb.freebsd.org/changeset/base/275790 >>>>>>> https://svnweb.freebsd.org/changeset/base/275791 >>>>>>> >>>>>>> --HPS >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> Can you get the dmesg when plugging your device? >>> >>> --HPS >>> >>> >>> uhid0: > addr 3> on usbus1 >> ugen1.3: at usbus1 (disconnected) >> uhid0: at uhub3, port 1, addr 3 (disconnected) >> ugen1.3: at usbus1 >> uhid0: > addr 3> on usbus1 >> ugen1.3: at usbus1 (disconnected) >> uhid0: at uhub3, port 1, addr 3 (disconnected) >> >> I tried putting the usb.conf in /etc/devd and rebooting, but no change.. >> >> > Hi, > > This looks correct. Did you select the correct device profile? > > Also, did you set the correct USB configuration number? > > usbconfig -d X.Y dump_device_desc dump_curr_config_desc > usbconfig -d X.Y set_config 1 > > --HPS > I ran the set_config 1, but that didn't have any effect, nor did set_config 0. the dump device & config is below. I did not select any profile, I just plug the unit in and I get the disconnect messages. ugen1.3: at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (0mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x09ae idProduct = 0x3015 bcdDevice = 0x020a iManufacturer = 0x0002 iProduct = 0x0003 iSerialNumber = 0x0004 <2351BY0SM820600181> bNumConfigurations = 0x0001 Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0022 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 bmAttributes = 0x00e0 bMaxPower = 0x0000 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0003 bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Additional Descriptor bLength = 0x09 bDescriptorType = 0x21 bDescriptorSubType = 0x10 RAW dump: 0x00 | 0x09, 0x21, 0x10, 0x01, 0x00, 0x01, 0x22, 0xe4, 0x08 | 0x04 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0003 wMaxPacketSize = 0x0008 bInterval = 0x0028 bRefresh = 0x0000 bSynchAddress = 0x0000 From owner-freebsd-usb@FreeBSD.ORG Mon Dec 22 09:23:15 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 976D45D8 for ; Mon, 22 Dec 2014 09:23:15 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (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 3F1993E8D for ; Mon, 22 Dec 2014 09:23:15 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (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 540C61FE022; Mon, 22 Dec 2014 10:23:12 +0100 (CET) Message-ID: <5497E326.7000908@selasky.org> Date: Mon, 22 Dec 2014 10:23:50 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Randall Fox Subject: Re: urndis and umodem device collision for ue device References: <1580934.Kkj0kKdA3z@bigguy.am-productions.biz> <1993304.2n7h1o4Guv@bigguy.am-productions.biz> <548EABCA.7090908@selasky.org> <2834715.Xnaz94KKIN@bigguy.am-productions.biz> <54972C6E.2080906@selasky.org> <54973560.4090908@selasky.org> <5497D961.2090302@selasky.org> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 09:23:15 -0000 On 12/22/14 10:14, Randall Fox wrote: > On Mon, Dec 22, 2014 at 12:42 AM, Hans Petter Selasky > wrote: > >> On 12/21/14 22:28, Randall Fox wrote: >> >>> On Sun, Dec 21, 2014 at 1:02 PM, Hans Petter Selasky >>> wrote: >>> >>> On 12/21/14 21:40, Randall Fox wrote: >>>> >>>> Did you update /etc/devd/usb.conf, install new kernel and reboot your >>>>> >>>>>> >>>>>> system? >>>>> >>>>> I actually had the FreeNAS team apply this fix to the nightly build and >>>>> I >>>>> created a whole new install based on their Nightly Build. The DEVs put >>>>> the >>>>> fix in, and it must have been correct because it worked for someone >>>>> else. >>>>> >>>>> Here is the link to the ticket for this: >>>>> https://bugs.freenas.org/issues/7153 >>>>> It appears they are familiar with you! >>>>> >>>>> I will try putting the usb.conf in the location you specify, to see if >>>>> that >>>>> works. I would be surprised if the dev's missed this. >>>>> >>>>> >>>>> >>>>> On Sun, Dec 21, 2014 at 12:24 PM, Hans Petter Selasky >>>>> wrote: >>>>> >>>>> On 12/21/14 21:21, Randall Fox wrote: >>>>> >>>>>> >>>>>> Hi, >>>>>> >>>>>>> >>>>>>> >>>>>>>> The following patches should fix your problem: >>>>>>>> >>>>>>>> https://svnweb.freebsd.org/changeset/base/275790 >>>>>>>> https://svnweb.freebsd.org/changeset/base/275791 >>>>>>>> >>>>>>>> --HPS >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> Can you get the dmesg when plugging your device? >>>> >>>> --HPS >>>> >>>> >>>> uhid0: >> addr 3> on usbus1 >>> ugen1.3: at usbus1 (disconnected) >>> uhid0: at uhub3, port 1, addr 3 (disconnected) >>> ugen1.3: at usbus1 >>> uhid0: >> addr 3> on usbus1 >>> ugen1.3: at usbus1 (disconnected) >>> uhid0: at uhub3, port 1, addr 3 (disconnected) >>> >>> I tried putting the usb.conf in /etc/devd and rebooting, but no change.. >>> >>> >> Hi, >> >> This looks correct. Did you select the correct device profile? >> >> Also, did you set the correct USB configuration number? >> >> usbconfig -d X.Y dump_device_desc dump_curr_config_desc >> usbconfig -d X.Y set_config 1 >> >> --HPS >> > > I ran the set_config 1, but that didn't have any effect, nor did set_config > 0. the dump device & config is below. > > I did not select any profile, I just plug the unit in and I get the > disconnect messages. > > ugen1.3: at usbus1, cfg=0 > md=HOST spd=LOW (1.5Mbps) pwr=ON (0mA) > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0110 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0008 > idVendor = 0x09ae > idProduct = 0x3015 > bcdDevice = 0x020a > iManufacturer = 0x0002 > iProduct = 0x0003 > iSerialNumber = 0x0004 <2351BY0SM820600181> > bNumConfigurations = 0x0001 > > > Configuration index 0 > > bLength = 0x0009 > bDescriptorType = 0x0002 > wTotalLength = 0x0022 > bNumInterfaces = 0x0001 > bConfigurationValue = 0x0001 > iConfiguration = 0x0000 > bmAttributes = 0x00e0 > bMaxPower = 0x0000 > > Interface 0 > bLength = 0x0009 > bDescriptorType = 0x0004 > bInterfaceNumber = 0x0000 > bAlternateSetting = 0x0000 > bNumEndpoints = 0x0001 > bInterfaceClass = 0x0003 > bInterfaceSubClass = 0x0000 > bInterfaceProtocol = 0x0000 > iInterface = 0x0000 > > Additional Descriptor > > bLength = 0x09 > bDescriptorType = 0x21 > bDescriptorSubType = 0x10 > RAW dump: > 0x00 | 0x09, 0x21, 0x10, 0x01, 0x00, 0x01, 0x22, 0xe4, > 0x08 | 0x04 > > Endpoint 0 > > bLength = 0x0007 > bDescriptorType = 0x0005 > bEndpointAddress = 0x0081 > bmAttributes = 0x0003 > wMaxPacketSize = 0x0008 > bInterval = 0x0028 > bRefresh = 0x0000 > bSynchAddress = 0x0000 > Hi, There is no RNDIS device here! There is only a UHID device. --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Dec 22 09:29:38 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A599867D for ; Mon, 22 Dec 2014 09:29:38 +0000 (UTC) Received: from mail-wg0-x236.google.com (mail-wg0-x236.google.com [IPv6:2a00:1450:400c:c00::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 281823EF5 for ; Mon, 22 Dec 2014 09:29:38 +0000 (UTC) Received: by mail-wg0-f54.google.com with SMTP id l2so6179222wgh.13 for ; Mon, 22 Dec 2014 01:29:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=DyaHPZiFzX33QLYirYR/fApBRjWpSxi6pTZ43zNU2qU=; b=yEAyMowgEVCjY5cAtM4jZH+9lMYPbg0PZmFVLngEb348J+mYGVhHmLA0Z2qxK0ka1W e3M9G6H5lhFUOoxVDiAooFD4S+bERTa/k+C512KoEewwtCKYK0HSSC+bDxICyYOayTSq 61WMGUvZaRGV7l1N/+TnMsQmvbYuYpU9/wI7SDm8wux05/lkW6bkApaMa7SiWAPEbWbZ SiC+U4MfnpekIS2ibW4frToY2CTV8HX6NAbb8MSz6kNxXYX4Kfv0oRwsfYOflRwAmcVS Ys5tRj2WmO5OZ2+v4wSFAi40Q6klQ3FA2DSl/J5ZPx8Bt9y5Ndh5Vcq+XXeYSp2Rf6ae 57wA== MIME-Version: 1.0 X-Received: by 10.180.187.67 with SMTP id fq3mr28727305wic.37.1419240576617; Mon, 22 Dec 2014 01:29:36 -0800 (PST) Received: by 10.27.174.20 with HTTP; Mon, 22 Dec 2014 01:29:36 -0800 (PST) In-Reply-To: <5497E326.7000908@selasky.org> References: <1580934.Kkj0kKdA3z@bigguy.am-productions.biz> <1993304.2n7h1o4Guv@bigguy.am-productions.biz> <548EABCA.7090908@selasky.org> <2834715.Xnaz94KKIN@bigguy.am-productions.biz> <54972C6E.2080906@selasky.org> <54973560.4090908@selasky.org> <5497D961.2090302@selasky.org> <5497E326.7000908@selasky.org> Date: Mon, 22 Dec 2014 01:29:36 -0800 Message-ID: Subject: Re: urndis and umodem device collision for ue device From: Randall Fox To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 09:29:38 -0000 On Mon, Dec 22, 2014 at 1:23 AM, Hans Petter Selasky wrote: > On 12/22/14 10:14, Randall Fox wrote: > >> On Mon, Dec 22, 2014 at 12:42 AM, Hans Petter Selasky >> wrote: >> >> On 12/21/14 22:28, Randall Fox wrote: >>> >>> On Sun, Dec 21, 2014 at 1:02 PM, Hans Petter Selasky >>>> wrote: >>>> >>>> On 12/21/14 21:40, Randall Fox wrote: >>>> >>>>> >>>>> Did you update /etc/devd/usb.conf, install new kernel and reboot your >>>>> >>>>>> >>>>>> >>>>>>> system? >>>>>>> >>>>>> >>>>>> I actually had the FreeNAS team apply this fix to the nightly build >>>>>> and >>>>>> I >>>>>> created a whole new install based on their Nightly Build. The DEVs >>>>>> put >>>>>> the >>>>>> fix in, and it must have been correct because it worked for someone >>>>>> else. >>>>>> >>>>>> Here is the link to the ticket for this: >>>>>> https://bugs.freenas.org/issues/7153 >>>>>> It appears they are familiar with you! >>>>>> >>>>>> I will try putting the usb.conf in the location you specify, to see if >>>>>> that >>>>>> works. I would be surprised if the dev's missed this. >>>>>> >>>>>> >>>>>> >>>>>> On Sun, Dec 21, 2014 at 12:24 PM, Hans Petter Selasky < >>>>>> hps@selasky.org> >>>>>> wrote: >>>>>> >>>>>> On 12/21/14 21:21, Randall Fox wrote: >>>>>> >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> >>>>>>>> >>>>>>>> The following patches should fix your problem: >>>>>>>>> >>>>>>>>> https://svnweb.freebsd.org/changeset/base/275790 >>>>>>>>> https://svnweb.freebsd.org/changeset/base/275791 >>>>>>>>> >>>>>>>>> --HPS >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> Can you get the dmesg when plugging your device? >>>>>>>> >>>>>>> >>>>> --HPS >>>>> >>>>> >>>>> uhid0: >>>> 1.10/2.0a, >>>>> >>>> addr 3> on usbus1 >>>> ugen1.3: at usbus1 (disconnected) >>>> uhid0: at uhub3, port 1, addr 3 (disconnected) >>>> ugen1.3: at usbus1 >>>> uhid0: >>> addr 3> on usbus1 >>>> ugen1.3: at usbus1 (disconnected) >>>> uhid0: at uhub3, port 1, addr 3 (disconnected) >>>> >>>> I tried putting the usb.conf in /etc/devd and rebooting, but no change.. >>>> >>>> >>>> Hi, >>> >>> This looks correct. Did you select the correct device profile? >>> >>> Also, did you set the correct USB configuration number? >>> >>> usbconfig -d X.Y dump_device_desc dump_curr_config_desc >>> usbconfig -d X.Y set_config 1 >>> >>> --HPS >>> >>> >> I ran the set_config 1, but that didn't have any effect, nor did >> set_config >> 0. the dump device & config is below. >> >> I did not select any profile, I just plug the unit in and I get the >> disconnect messages. >> >> ugen1.3: at usbus1, cfg=0 >> md=HOST spd=LOW (1.5Mbps) pwr=ON (0mA) >> >> bLength = 0x0012 >> bDescriptorType = 0x0001 >> bcdUSB = 0x0110 >> bDeviceClass = 0x0000 >> bDeviceSubClass = 0x0000 >> bDeviceProtocol = 0x0000 >> bMaxPacketSize0 = 0x0008 >> idVendor = 0x09ae >> idProduct = 0x3015 >> bcdDevice = 0x020a >> iManufacturer = 0x0002 >> iProduct = 0x0003 >> iSerialNumber = 0x0004 <2351BY0SM820600181> >> bNumConfigurations = 0x0001 >> >> >> Configuration index 0 >> >> bLength = 0x0009 >> bDescriptorType = 0x0002 >> wTotalLength = 0x0022 >> bNumInterfaces = 0x0001 >> bConfigurationValue = 0x0001 >> iConfiguration = 0x0000 >> bmAttributes = 0x00e0 >> bMaxPower = 0x0000 >> >> Interface 0 >> bLength = 0x0009 >> bDescriptorType = 0x0004 >> bInterfaceNumber = 0x0000 >> bAlternateSetting = 0x0000 >> bNumEndpoints = 0x0001 >> bInterfaceClass = 0x0003 >> bInterfaceSubClass = 0x0000 >> bInterfaceProtocol = 0x0000 >> iInterface = 0x0000 >> >> Additional Descriptor >> >> bLength = 0x09 >> bDescriptorType = 0x21 >> bDescriptorSubType = 0x10 >> RAW dump: >> 0x00 | 0x09, 0x21, 0x10, 0x01, 0x00, 0x01, 0x22, 0xe4, >> 0x08 | 0x04 >> >> Endpoint 0 >> >> bLength = 0x0007 >> bDescriptorType = 0x0005 >> bEndpointAddress = 0x0081 >> bmAttributes = 0x0003 >> wMaxPacketSize = 0x0008 >> bInterval = 0x0028 >> bRefresh = 0x0000 >> bSynchAddress = 0x0000 >> >> > Hi, > > There is no RNDIS device here! There is only a UHID device. > > --HPS > I am not familiar with RNDIS.. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 22 09:32:01 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6EA1C6DA for ; Mon, 22 Dec 2014 09:32:01 +0000 (UTC) Received: from smtp.mei.co.jp (smtp.mei.co.jp [133.183.100.20]) by mx1.freebsd.org (Postfix) with ESMTP id 25A683FA5 for ; Mon, 22 Dec 2014 09:32:00 +0000 (UTC) Received: from mail-gw.jp.panasonic.com ([157.8.1.157]) by smtp.mei.co.jp (8.12.11.20060614/3.7W/kc-maile12) with ESMTP id sBM9VwlY001594; Mon, 22 Dec 2014 18:31:58 +0900 (JST) Received: from epochmail.jp.panasonic.com ([157.8.1.130]) by mail.jp.panasonic.com (8.11.6p2/3.7W/kc-maili12) with ESMTP id sBM9Vwo19015; Mon, 22 Dec 2014 18:31:58 +0900 Received: by epochmail.jp.panasonic.com (8.12.11.20060308/3.7W/lomi13) id sBM9VwIs022642; Mon, 22 Dec 2014 18:31:58 +0900 Received: from localhost by lomi13.jp.panasonic.com (8.12.11.20060308/3.7W) with ESMTP id sBM9VwhC022612; Mon, 22 Dec 2014 18:31:58 +0900 Date: Mon, 22 Dec 2014 18:31:57 +0900 (JST) Message-Id: <20141222.183157.253796126986510571.okuno.kohji@jp.panasonic.com> To: hps@selasky.org Subject: Re: About XHCI_TD_PAGE_SIZE. From: Kohji Okuno In-Reply-To: <5497E016.7020809@selasky.org> References: <549541BC.6070505@selasky.org> <20141222.103833.2105768702793613386.okuno.kohji@jp.panasonic.com> <5497E016.7020809@selasky.org> Organization: Panasonic Corporation X-Mailer: Mew version 6.6 on Emacs 24.4 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 09:32:01 -0000 From: Hans Petter Selasky Subject: Re: About XHCI_TD_PAGE_SIZE. Date: Mon, 22 Dec 2014 10:10:46 +0100 Message-ID: <5497E016.7020809@selasky.org> > On 12/22/14 02:38, Kohji Okuno wrote: >> From: Hans Petter Selasky >> Subject: Re: About XHCI_TD_PAGE_SIZE. >> Date: Sat, 20 Dec 2014 10:30:36 +0100 >> >>> On 12/17/14 05:42, Nidal Khalil wrote: >>>> I agree. Thanks >>>> >>>> Nidal >>>> On Dec 16, 2014 6:25 PM, "Kohji Okuno" >>>> wrote: >>>> >>>>> Hi Hans, >>>>> >>>>> If we use PAGE_SIZE as USB_PAGE_SIZE, we should use PAGE_SIZE as >>>>> XHCI_TD_PAGE_SIZE, too. I think. >>>>> >>>>> As you know, one TRB can use 1~64kB for the transfer length. >>>>> >>> >>> Hi, >>> >>> We currently only check if 4K pages are supported by the hardware. If you >>> change the value of XHCI_TD_PAGE_SIZE, you will also need to change the >>> checks >>> other places. You know that PAGE_SIZE is not a constant? >>> >>> Do you have a complete patch? >>> >>> --HPS >>> >> >> Hi, >> >> XHCI_TD_PAGE_SIZE is used at only 2-points. >> >> 1. use as XHCI_TD_PAYLOAD_MAX (XHCI_TD_PAGE_NBUF) in xhci.h >> We sholud change as the following, I think. >> >> - #define XHCI_TD_PAGE_NBUF 17 /* units, room enough for 64Kbytes */ >> - #define XHCI_TD_PAGE_SIZE 4096 /* bytes */ >> - #define XHCI_TD_PAYLOAD_MAX (XHCI_TD_PAGE_SIZE * (XHCI_TD_PAGE_NBUF - 1)) >> + #define XHCI_TD_PAYLOAD_MAX (64*1024) /* bytes */ >> + #define XHCI_TD_PAGE_SIZE PAGE_SIZE /* bytes */ >> + /* units, room enough for 64Kbytes */ >> + #define XHCI_TD_PAGE_NBUF (XHCI_TD_PAYLOAD_MAX/XHCI_TD_PAGE_SIZE + 1) >> >> 2. use as the maximum length of TRB. >> If PAGE_SIZE is 8kB, buf_res.length may be 8kB. >> But, we can set 1B~64kB for length of TRB. This is the spcification >> of xHCI. So, we don't need change this point. >> >> xhci.c >> 1807 /* check for maximum length */ >> 1808 if (buf_res.length > XHCI_TD_PAGE_SIZE) >> 1809 buf_res.length = XHCI_TD_PAGE_SIZE; >> > > Hi Kohji, > > I see your points. By doing this you save some memory in the descriptor layout > for 8K page size - right? > > BTW: Do you think the following check is OK, or should it be extended to check > also for 8K? > > if (!(XREAD4(sc, oper, XHCI_PAGESIZE) & XHCI_PAGESIZE_4K)) { > device_printf(sc->sc_bus.parent, "Controller does " > "not support 4K page size.\n"); > return (USB_ERR_IOERROR); > } > > I guess your patch is more in the direction of optimisation. Is it very > urgent? Or is it fine if I handle it the beginning of January? > > Thank you for your input and review! > > --HPS > Hi HPS, > I see your points. By doing this you save some memory in the > descriptor layout for 8K page size - right? Yes. In addition, we may reduce the size of data which a xhci controller fetches. > I guess your patch is more in the direction of optimisation. Is it very > urgent? Or is it fine if I handle it the beginning of January? No, it isn't urgent. It's OK in the next month. In an optimisation, we should reduce the number of LINK_TRB, too. I heard from a LSI engineer that, Generally xhci controler has the cache of TRB array. But, LINK_TRB may make the cache miss. Unfortunately, I don't know about XHCI_PAGESIZE. If I can hear from a LSI engineer, I will inform you. Best regards, Kohji Okuno From owner-freebsd-usb@FreeBSD.ORG Mon Dec 22 09:39:28 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1271B933 for ; Mon, 22 Dec 2014 09:39:28 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (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 B814664037 for ; Mon, 22 Dec 2014 09:39:27 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (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 CADBF1FE022; Mon, 22 Dec 2014 10:39:25 +0100 (CET) Message-ID: <5497E6F4.40108@selasky.org> Date: Mon, 22 Dec 2014 10:40:04 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Randall Fox Subject: Re: urndis and umodem device collision for ue device References: <1580934.Kkj0kKdA3z@bigguy.am-productions.biz> <1993304.2n7h1o4Guv@bigguy.am-productions.biz> <548EABCA.7090908@selasky.org> <2834715.Xnaz94KKIN@bigguy.am-productions.biz> <54972C6E.2080906@selasky.org> <54973560.4090908@selasky.org> <5497D961.2090302@selasky.org> <5497E326.7000908@selasky.org> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 09:39:28 -0000 On 12/22/14 10:29, Randall Fox wrote: > On Mon, Dec 22, 2014 at 1:23 AM, Hans Petter Selasky > wrote: > > > I am not familiar with RNDIS.. > This thread is about umodem and urndis. --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Dec 22 09:47:59 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 113F1CF8 for ; Mon, 22 Dec 2014 09:47:59 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (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 C2A2764171 for ; Mon, 22 Dec 2014 09:47:58 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (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 D9EEA1FE022; Mon, 22 Dec 2014 10:47:55 +0100 (CET) Message-ID: <5497E8F2.5080800@selasky.org> Date: Mon, 22 Dec 2014 10:48:34 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Kohji Okuno Subject: Re: About XHCI_TD_PAGE_SIZE. References: <549541BC.6070505@selasky.org> <20141222.103833.2105768702793613386.okuno.kohji@jp.panasonic.com> <5497E016.7020809@selasky.org> <20141222.183157.253796126986510571.okuno.kohji@jp.panasonic.com> In-Reply-To: <20141222.183157.253796126986510571.okuno.kohji@jp.panasonic.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 09:47:59 -0000 On 12/22/14 10:31, Kohji Okuno wrote: > In an optimisation, we should reduce the number of LINK_TRB, too. > I heard from a LSI engineer that, > Generally xhci controler has the cache of TRB array. But, LINK_TRB > may make the cache miss. Hi, One reason for the additional link TRB's is that I think there is different behaviour among the XHCI implementations how and when they generate a completion event. Any changes we make in that area needs to be tested with different XHCI controllers. Currently only the umass driver will use transfers greater than 64KBytes in case of USB 3.0. Else the most common case is transfers below 64KBytes, except for custom apps. I have another idea pending, which is related to performance, but not the XHCI. I was thinking that the FreeBSD libusb could be extended to allocate a data buffer in the kernel which then gets mmapped to userspace, to save copying/copyout of USB transfer data. The problem about mmap() is that the buffers cannot be freed afterwards, and must remain in the kernel. What do you think? --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Dec 22 09:51:29 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 71E9CBA for ; Mon, 22 Dec 2014 09:51:29 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (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 2AECF64272 for ; Mon, 22 Dec 2014 09:51:29 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (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 167D41FE022; Mon, 22 Dec 2014 10:51:27 +0100 (CET) Message-ID: <5497E9C5.60703@selasky.org> Date: Mon, 22 Dec 2014 10:52:05 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Randall Fox , "freebsd-usb@FreeBSD.org" Subject: Re: Disconnects every 15 seconds References: <548D38D5.2010700@selasky.org> <548DDC93.2020601@selasky.org> <548E964B.8080408@selasky.org> <548EA7F1.7070407@selasky.org> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 09:51:29 -0000 On 12/22/14 10:46, Randall Fox wrote: > On Mon, Dec 15, 2014 at 9:07 AM, Randall Fox wrote: > >> Here is the result, nothing but grep.. >> >> $ ps auxw | grep ugen >> root 80705 0.0 0.0 16272 2080 0 S+ 9:04AM 0:00.00 grep ugen >> >> Looks like you have another message with a possible fix.. I will reply on that one.. >> >> thnx >> >> >> On Mon, Dec 15, 2014 at 1:20 AM, Hans Petter Selasky >> wrote: >>> >>> Hi, >>> >>> On 12/15/14 09:58, Randall Fox wrote: >>> >>>> Dec 15 00:29:21 freenas kernel: uhub_read_port_status: port 2, >>>> wPortStatus=0x0101, wPortChange=0x0001, err=USB_ERR_NORMAL_COMPLETION >>>> >>> >>> This message means that the "UPS_C_CONNECT_STATUS" changed. My best guess >>> is that the device had a problem and decided to restart. Maybe an >>> unsupported command triggered it. >>> >>> Also, try to "ps auxw | grep ugen" to see if there are multiple drivers >>> running on your device. >>> >>> --HPS >>> >> > Result of ps auxw is above. Any ideas on how to fix this? > Hi, Can you get output from usbdump, as this attach/detach goes on. usbdump -i usbusX -f Y -s 65536 -vvv --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Dec 22 10:30:25 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A930897E for ; Mon, 22 Dec 2014 10:30:25 +0000 (UTC) Received: from mail-wg0-x236.google.com (mail-wg0-x236.google.com [IPv6:2a00:1450:400c:c00::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3338B64D58 for ; Mon, 22 Dec 2014 10:30:25 +0000 (UTC) Received: by mail-wg0-f54.google.com with SMTP id l2so6324189wgh.27 for ; Mon, 22 Dec 2014 02:30:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=r5un+UnMgiZfHFqNBBFc2OefYAmrj5QASNKSYuVCzuQ=; b=PHc6R7X9vhSkuBEb71pS1qYzFoXbxrrtLLqbVgEx8dHKsBPusSdvfKUcO85sxZ61Qt 06vUW1huvy079P3ZfiPQqyQi4bOLzo86WU6NvhrY6p+hajK0RQjANhIKaEb8KC4pSXsf OWnGT4YKVdNiAqhiK/ZB8UM/2NPc+MEvdjQ05A+JINIzFeHzmVO0Edi+HTQPb8lJ9Mkx wRyBVulEx8/lnyUc+NjO4hTq1V9ldbOephWcvDncV44OAuiRCzOndOTZc36bN7PUYNoU 5kgk5r2JqS/9mH7h911YEIvOOBktKWUS38tNwHB0W0dXN7uU59jz7PA/P1xfyPyIlN4Y 836A== MIME-Version: 1.0 X-Received: by 10.194.57.84 with SMTP id g20mr41118350wjq.122.1419244223559; Mon, 22 Dec 2014 02:30:23 -0800 (PST) Received: by 10.27.174.20 with HTTP; Mon, 22 Dec 2014 02:30:23 -0800 (PST) In-Reply-To: <5497E9C5.60703@selasky.org> References: <548D38D5.2010700@selasky.org> <548DDC93.2020601@selasky.org> <548E964B.8080408@selasky.org> <548EA7F1.7070407@selasky.org> <5497E9C5.60703@selasky.org> Date: Mon, 22 Dec 2014 02:30:23 -0800 Message-ID: Subject: Re: Disconnects every 15 seconds From: Randall Fox To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-usb@FreeBSD.org" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 10:30:25 -0000 On Mon, Dec 22, 2014 at 1:52 AM, Hans Petter Selasky wrote: > On 12/22/14 10:46, Randall Fox wrote: > >> On Mon, Dec 15, 2014 at 9:07 AM, Randall Fox >> wrote: >> >> Here is the result, nothing but grep.. >>> >>> $ ps auxw | grep ugen >>> root 80705 0.0 0.0 16272 2080 0 S+ 9:04AM 0:00.00 >>> grep ugen >>> >>> Looks like you have another message with a possible fix.. I will reply >>> on that one.. >>> >>> thnx >>> >>> >>> On Mon, Dec 15, 2014 at 1:20 AM, Hans Petter Selasky >>> wrote: >>> >>>> >>>> Hi, >>>> >>>> On 12/15/14 09:58, Randall Fox wrote: >>>> >>>> Dec 15 00:29:21 freenas kernel: uhub_read_port_status: port 2, >>>>> wPortStatus=0x0101, wPortChange=0x0001, err=USB_ERR_NORMAL_COMPLETION >>>>> >>>>> >>>> This message means that the "UPS_C_CONNECT_STATUS" changed. My best >>>> guess >>>> is that the device had a problem and decided to restart. Maybe an >>>> unsupported command triggered it. >>>> >>>> Also, try to "ps auxw | grep ugen" to see if there are multiple drivers >>>> running on your device. >>>> >>>> --HPS >>>> >>>> >>> Result of ps auxw is above. Any ideas on how to fix this? >> >> > Hi, > > Can you get output from usbdump, as this attach/detach goes on. > > usbdump -i usbusX -f Y -s 65536 -vvv > > --HPS > I will send a txt file as attachment directly to you.. (This will save people on the mailing list the large email message). From owner-freebsd-usb@FreeBSD.ORG Mon Dec 22 14:49:13 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 28C7D7BC for ; Mon, 22 Dec 2014 14:49:13 +0000 (UTC) Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F016A22E for ; Mon, 22 Dec 2014 14:49:12 +0000 (UTC) Received: from [73.34.117.227] (helo=ilsoft.org) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Y34IJ-000CzO-50; Mon, 22 Dec 2014 14:49:11 +0000 Received: from revolution.hippie.lan (revolution.hippie.lan [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id sBMEn5FN027476; Mon, 22 Dec 2014 07:49:07 -0700 (MST) (envelope-from ian@freebsd.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 73.34.117.227 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/lfOyBY0UVB3eksZQNUnLt Message-ID: <1419259745.1018.113.camel@freebsd.org> Subject: Re: About XHCI_TD_PAGE_SIZE. From: Ian Lepore To: Hans Petter Selasky Date: Mon, 22 Dec 2014 07:49:05 -0700 In-Reply-To: <5497E8F2.5080800@selasky.org> References: <549541BC.6070505@selasky.org> <20141222.103833.2105768702793613386.okuno.kohji@jp.panasonic.com> <5497E016.7020809@selasky.org> <20141222.183157.253796126986510571.okuno.kohji@jp.panasonic.com> <5497E8F2.5080800@selasky.org> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.8 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 14:49:13 -0000 On Mon, 2014-12-22 at 10:48 +0100, Hans Petter Selasky wrote: > On 12/22/14 10:31, Kohji Okuno wrote: > > In an optimisation, we should reduce the number of LINK_TRB, too. > > I heard from a LSI engineer that, > > Generally xhci controler has the cache of TRB array. But, LINK_TRB > > may make the cache miss. > > Hi, > > One reason for the additional link TRB's is that I think there is > different behaviour among the XHCI implementations how and when they > generate a completion event. Any changes we make in that area needs to > be tested with different XHCI controllers. > > Currently only the umass driver will use transfers greater than 64KBytes > in case of USB 3.0. Else the most common case is transfers below > 64KBytes, except for custom apps. > > I have another idea pending, which is related to performance, but not > the XHCI. I was thinking that the FreeBSD libusb could be extended to > allocate a data buffer in the kernel which then gets mmapped to > userspace, to save copying/copyout of USB transfer data. The problem > about mmap() is that the buffers cannot be freed afterwards, and must > remain in the kernel. > > What do you think? So you're going to be doing DMA directly in and out of buffers mapped into userspace? I think that will fail on ARM and MIPS at least, and maybe others (any platform that does cache maintenance based on virtual addresses will be unable to do the maintenance reliably if the DMA memory is mapped to multiple virtual addresses). The solution for that is bounce buffers, which just gets you right back into copying the data. -- Ian From owner-freebsd-usb@FreeBSD.ORG Tue Dec 23 09:31:10 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C0311886; Tue, 23 Dec 2014 09:31:10 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (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 7E1361BB6; Tue, 23 Dec 2014 09:31:10 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (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 D0D7A1FE022; Tue, 23 Dec 2014 10:31:07 +0100 (CET) Message-ID: <54993683.7010901@selasky.org> Date: Tue, 23 Dec 2014 10:31:47 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Ian Lepore Subject: Re: About XHCI_TD_PAGE_SIZE. References: <549541BC.6070505@selasky.org> <20141222.103833.2105768702793613386.okuno.kohji@jp.panasonic.com> <5497E016.7020809@selasky.org> <20141222.183157.253796126986510571.okuno.kohji@jp.panasonic.com> <5497E8F2.5080800@selasky.org> <1419259745.1018.113.camel@freebsd.org> In-Reply-To: <1419259745.1018.113.camel@freebsd.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 09:31:10 -0000 On 12/22/14 15:49, Ian Lepore wrote: > On Mon, 2014-12-22 at 10:48 +0100, Hans Petter Selasky wrote: >> On 12/22/14 10:31, Kohji Okuno wrote: >>> In an optimisation, we should reduce the number of LINK_TRB, too. >>> I heard from a LSI engineer that, >>> Generally xhci controler has the cache of TRB array. But, LINK_TRB >>> may make the cache miss. >> >> Hi, >> >> One reason for the additional link TRB's is that I think there is >> different behaviour among the XHCI implementations how and when they >> generate a completion event. Any changes we make in that area needs to >> be tested with different XHCI controllers. >> >> Currently only the umass driver will use transfers greater than 64KBytes >> in case of USB 3.0. Else the most common case is transfers below >> 64KBytes, except for custom apps. >> >> I have another idea pending, which is related to performance, but not >> the XHCI. I was thinking that the FreeBSD libusb could be extended to >> allocate a data buffer in the kernel which then gets mmapped to >> userspace, to save copying/copyout of USB transfer data. The problem >> about mmap() is that the buffers cannot be freed afterwards, and must >> remain in the kernel. >> >> What do you think? > > So you're going to be doing DMA directly in and out of buffers mapped > into userspace? I think that will fail on ARM and MIPS at least, and > maybe others (any platform that does cache maintenance based on virtual > addresses will be unable to do the maintenance reliably if the DMA > memory is mapped to multiple virtual addresses). The solution for that > is bounce buffers, which just gets you right back into copying the data. > > -- Ian > > > Right, so there is no way to make coherent memory mappings into userspace? --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Dec 23 16:05:26 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DC246458 for ; Tue, 23 Dec 2014 16:05:26 +0000 (UTC) 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 C40AC64CFB for ; Tue, 23 Dec 2014 16:05:26 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBNG5QF6053742 for ; Tue, 23 Dec 2014 16:05:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 196230] New: USB issue with Raidsonic ICY BOX IB-3640SU3 Date: Tue, 23 Dec 2014 16:05:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: szalai.bandi@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 16:05:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196230 Bug ID: 196230 Summary: USB issue with Raidsonic ICY BOX IB-3640SU3 Product: Base System Version: 10.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: usb Assignee: freebsd-usb@FreeBSD.org Reporter: szalai.bandi@gmail.com Hi Guys, I have a Raidsonic ICY BOX IB-3640SU3 external HDD rack, which is connected to the computer via USB 3.0. In the rack, there are two SATA HDDs, but only the first one recognized. Kernel log output (FreeBSD 10.1): Dec 23 13:34:49 tristania kernel: ugen1.2: at usbus1 Dec 23 13:34:49 tristania kernel: umass0: on usbus1 Dec 23 13:34:54 tristania kernel: umass0: Get Max Lun not supported (USB_ERR_TIMEOUT) Dec 23 13:34:59 tristania kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 Dec 23 13:34:59 tristania kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error Dec 23 13:34:59 tristania kernel: (probe0:umass-sim0:0:0:0): Retrying command Dec 23 13:34:59 tristania kernel: (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 00 Dec 23 13:34:59 tristania kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error Dec 23 13:34:59 tristania kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check Condition Dec 23 13:34:59 tristania kernel: (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code) Dec 23 13:34:59 tristania kernel: (probe0:umass-sim0:0:0:0): Error 22, Unretryable error Dec 23 13:34:59 tristania kernel: da0 at umass-sim0 bus 0 scbus7 target 0 lun 0 Dec 23 13:34:59 tristania kernel: da0: Fixed Direct Access SCSI-6 device Dec 23 13:34:59 tristania kernel: da0: Serial Number Dec 23 13:34:59 tristania kernel: da0: 400.000MB/s transfers Dec 23 13:34:59 tristania kernel: da0: 1907729MB (3907029168 512 byte sectors: 255H 63S/T 243201C) Dec 23 13:34:59 tristania kernel: da0: quirks=0xa The second HDD is not recognized, because "Get Max Lun not supported (USB_ERR_TIMEOUT)" error. However, with FreeBSD 9.1, the external rack worked without any issue: Dec 12 09:23:25 tristania kernel: ugen1.2: at usbus1 Dec 12 09:23:25 tristania kernel: umass0: on usbus1 Dec 12 09:23:25 tristania kernel: (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 0 0 0 0 0 0 0 0 10 0 0 Dec 12 09:23:25 tristania kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error Dec 12 09:23:25 tristania kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check Condition Dec 12 09:23:25 tristania kernel: (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code) Dec 12 09:23:25 tristania kernel: (probe0:umass-sim0:0:0:0): Error 22, Unretryable error Dec 12 09:23:25 tristania kernel: da0 at umass-sim0 bus 0 scbus6 target 0 lun 0 Dec 12 09:23:25 tristania kernel: da0: Fixed Direct Access SCSI-6 device Dec 12 09:23:25 tristania kernel: da0: 400.000MB/s transfers Dec 12 09:23:25 tristania kernel: da0: 1907729MB (3907029168 512 byte sectors: 255H 63S/T 243201C) Dec 12 09:23:25 tristania kernel: da1 at umass-sim0 bus 0 scbus6 target 0 lun 1 Dec 12 09:23:25 tristania kernel: da1: Fixed Direct Access SCSI-6 device Dec 12 09:23:25 tristania kernel: da1: 400.000MB/s transfers Dec 12 09:23:25 tristania kernel: da1: 1907729MB (3907029168 512 byte sectors: 255H 63S/T 243201C) -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Dec 23 16:20:31 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F3D2E907 for ; Tue, 23 Dec 2014 16:20:30 +0000 (UTC) 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 DADC564EC3 for ; Tue, 23 Dec 2014 16:20:30 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBNGKU9B094780 for ; Tue, 23 Dec 2014 16:20:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 180617] [usbdevs] [patch] New quirk (another member of Western Digital My Passport family of devices) Date: Tue, 23 Dec 2014 16:20:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 9.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 16:20:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=180617 --- Comment #5 from Hans Petter Selasky --- Hi, Can you append a complete working patch for the new ID and I'll include it in the MFC. Thank you! --HPS -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Dec 23 18:26:39 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DEDCFE91 for ; Tue, 23 Dec 2014 18:26:39 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1.freebsd.org (Postfix) with ESMTP id CB0486469A for ; Tue, 23 Dec 2014 18:26:39 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 0C228E915E4 for ; Tue, 23 Dec 2014 10:26:33 -0800 (PST) Date: Tue, 23 Dec 2014 11:26:32 -0700 (MST) From: kott To: freebsd-usb@freebsd.org Message-ID: <1419359192795-5975583.post@n5.nabble.com> Subject: usb_pc_cpu_flush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 23 Dec 2014 18:33:59 +0000 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 18:26:40 -0000 Hello - I am seeing this fault when i plugin a external usb device, and was wondering if this indicates DMA/Cache coherency problem ----- _ehci_append_qh: 0xf3dd2300 to 0xf3dc3c00 Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex ehci0 (usb_def_mtx) r = 0 (0xc73ece74) locked @ sys/dev/usb/usb_transfer.c exclusive sleep mutex USB device mutex (USB device mutex) r = 0 (0xc73da850) locked @ /sys/dev/usb/usb_transfer.c Stopped at usb_pc_cpu_flush+0xc: ldr r2, [r0, #0x018] ---------------------------- Thanks kott -- View this message in context: http://freebsd.1045724.n5.nabble.com/usb-pc-cpu-flush-tp5975583.html Sent from the freebsd-usb mailing list archive at Nabble.com. From owner-freebsd-usb@FreeBSD.ORG Tue Dec 23 22:05:04 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D5CDAE53 for ; Tue, 23 Dec 2014 22:05:04 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (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 9AA441832 for ; Tue, 23 Dec 2014 22:05:04 +0000 (UTC) Received: from laptop015.home.selasky.org (unknown [89.11.148.31]) (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 CB7C91FE022; Tue, 23 Dec 2014 23:05:01 +0100 (CET) Message-ID: <5499E734.1070507@selasky.org> Date: Tue, 23 Dec 2014 23:05:40 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: kott , freebsd-usb@freebsd.org Subject: Re: usb_pc_cpu_flush References: <1419359192795-5975583.post@n5.nabble.com> In-Reply-To: <1419359192795-5975583.post@n5.nabble.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 22:05:04 -0000 On 12/23/14 19:26, kott wrote: > Hello - > I am seeing this fault when i plugin a external usb device, and was > wondering if this indicates DMA/Cache coherency problem > ----- > _ehci_append_qh: 0xf3dd2300 to 0xf3dc3c00 > Kernel page fault with the following non-sleepable locks held: > exclusive sleep mutex ehci0 (usb_def_mtx) r = 0 (0xc73ece74) locked @ > sys/dev/usb/usb_transfer.c > exclusive sleep mutex USB device mutex (USB device mutex) r = 0 (0xc73da850) > locked @ /sys/dev/usb/usb_transfer.c > > Stopped at usb_pc_cpu_flush+0xc: ldr r2, [r0, #0x018] > ---------------------------- > > Thanks > kott Hi, The flush is supposed to call some other functions which write the memory cache to RAM. It should not panic like that. Can you get the complete backtrace. I guess that some memory content might have been lost due to missing or wrong cache sync operations. What is the value of "r0" ? --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Dec 24 03:41:52 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8BAEA42C for ; Wed, 24 Dec 2014 03:41:52 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1.freebsd.org (Postfix) with ESMTP id 767566426B for ; Wed, 24 Dec 2014 03:41:52 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 75E65E998AF for ; Tue, 23 Dec 2014 19:41:51 -0800 (PST) Date: Tue, 23 Dec 2014 20:41:51 -0700 (MST) From: kott To: freebsd-usb@freebsd.org Message-ID: <1419392511197-5975691.post@n5.nabble.com> In-Reply-To: <5499E734.1070507@selasky.org> References: <1419359192795-5975583.post@n5.nabble.com> <5499E734.1070507@selasky.org> Subject: Re: usb_pc_cpu_flush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 03:41:52 -0000 the value of "r0" is 0. >>>>>> _ehci_append_qh: 0xf3dd2300 to 0xf3dc3c00 Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex ehci0 (usb_def_mtx) r = 0 (0xc73ece74) locked sys/dev/usb/usb_transfer.c exclusive sleep mutex USB device mutex (USB device mutex) r = 0 (0xc73da850) locked sys/de/usb/usb_transfer.c Fatal kernel mode data abort: 'Translation Fault (S)' trapframe: 0xf3de6be0 FSR=00000005, FAR=00000018, spsr=60000113 r0 =00000000, r1 =60000113, r2 =000000c0, r3 =00fd2302 r4 =f3dd2300, r5 =f3dc3c00, r6 =c12b244c, r7 =c76420c0 r8 =c73ed2a8, r9 =00000000, r10=c7642000, r11=f3de6c3c r12=f3de6c40, ssp=f3de6c30, slr=c105ec48, pc =c1069e34 Stopped at usb_pc_cpu_flush+0xc: ldr r2, [r0, #0x018] >>>>>>> -- View this message in context: http://freebsd.1045724.n5.nabble.com/usb-pc-cpu-flush-tp5975583p5975691.html Sent from the freebsd-usb mailing list archive at Nabble.com. From owner-freebsd-usb@FreeBSD.ORG Wed Dec 24 09:01:44 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 845F3F9 for ; Wed, 24 Dec 2014 09:01:44 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (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 45206181C for ; Wed, 24 Dec 2014 09:01:44 +0000 (UTC) Received: from laptop015.home.selasky.org (31.89-11-148.nextgentel.com [89.11.148.31]) (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 D2A181FE022; Wed, 24 Dec 2014 10:01:41 +0100 (CET) Message-ID: <549A811D.3060204@selasky.org> Date: Wed, 24 Dec 2014 10:02:21 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: kott , freebsd-usb@freebsd.org Subject: Re: usb_pc_cpu_flush References: <1419359192795-5975583.post@n5.nabble.com> <5499E734.1070507@selasky.org> <1419392511197-5975691.post@n5.nabble.com> In-Reply-To: <1419392511197-5975691.post@n5.nabble.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 09:01:44 -0000 On 12/24/14 04:41, kott via freebsd-usb wrote: > the value of "r0" is 0. > Hi, In the function "_ehci_append_qh" do you know if it is the second or first call to "usb_pc_cpu_flush" which fails. The pointer which is passed as an argument to this function resides in the memory which is flushed, so most likely the cache sync operations are not working like expected! What platform is this? Non-freebsd? Did it work before? --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Dec 24 10:27:52 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 436FE6F2 for ; Wed, 24 Dec 2014 10:27:52 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1.freebsd.org (Postfix) with ESMTP id 2CBD866CAE for ; Wed, 24 Dec 2014 10:27:51 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 03AECE9F2EB for ; Wed, 24 Dec 2014 02:27:50 -0800 (PST) Date: Wed, 24 Dec 2014 03:27:50 -0700 (MST) From: kott To: freebsd-usb@freebsd.org Message-ID: <1419416870924-5975752.post@n5.nabble.com> In-Reply-To: <549A811D.3060204@selasky.org> References: <1419359192795-5975583.post@n5.nabble.com> <5499E734.1070507@selasky.org> <1419392511197-5975691.post@n5.nabble.com> <549A811D.3060204@selasky.org> Subject: Re: usb_pc_cpu_flush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 10:27:52 -0000 Thanks platform is freebsd10 , armv7 based. -- View this message in context: http://freebsd.1045724.n5.nabble.com/usb-pc-cpu-flush-tp5975583p5975752.html Sent from the freebsd-usb mailing list archive at Nabble.com. From owner-freebsd-usb@FreeBSD.ORG Wed Dec 24 12:22:21 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C497EBDA for ; Wed, 24 Dec 2014 12:22:21 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1.freebsd.org (Postfix) with ESMTP id ACBF366E81 for ; Wed, 24 Dec 2014 12:22:21 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id E5BE8EA0B75 for ; Wed, 24 Dec 2014 04:22:20 -0800 (PST) Date: Wed, 24 Dec 2014 05:22:20 -0700 (MST) From: kott To: freebsd-usb@freebsd.org Message-ID: <1419423740820-5975763.post@n5.nabble.com> In-Reply-To: <1419416870924-5975752.post@n5.nabble.com> References: <1419359192795-5975583.post@n5.nabble.com> <5499E734.1070507@selasky.org> <1419392511197-5975691.post@n5.nabble.com> <549A811D.3060204@selasky.org> <1419416870924-5975752.post@n5.nabble.com> Subject: Re: usb_pc_cpu_flush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 12:22:21 -0000 This platform is armv7 freebsd10. it does fail in the second usb_pc_cpu_flush -- View this message in context: http://freebsd.1045724.n5.nabble.com/usb-pc-cpu-flush-tp5975583p5975763.html Sent from the freebsd-usb mailing list archive at Nabble.com. From owner-freebsd-usb@FreeBSD.ORG Wed Dec 24 12:52:02 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BF2BC935 for ; Wed, 24 Dec 2014 12:52:02 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (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 7C64D2487 for ; Wed, 24 Dec 2014 12:52:02 +0000 (UTC) Received: from laptop015.home.selasky.org (31.89-11-148.nextgentel.com [89.11.148.31]) (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 ECBCA1FE022; Wed, 24 Dec 2014 13:51:53 +0100 (CET) Message-ID: <549AB711.8070005@selasky.org> Date: Wed, 24 Dec 2014 13:52:33 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: kott , freebsd-usb@freebsd.org Subject: Re: usb_pc_cpu_flush References: <1419359192795-5975583.post@n5.nabble.com> <5499E734.1070507@selasky.org> <1419392511197-5975691.post@n5.nabble.com> <549A811D.3060204@selasky.org> <1419416870924-5975752.post@n5.nabble.com> <1419423740820-5975763.post@n5.nabble.com> In-Reply-To: <1419423740820-5975763.post@n5.nabble.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 12:52:02 -0000 On 12/24/14 13:22, kott via freebsd-usb wrote: > This platform is armv7 freebsd10. it does fail in the second usb_pc_cpu_flush > > Did you try booting a freebsd11 kernel? --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Dec 24 14:35:06 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8D32819D for ; Wed, 24 Dec 2014 14:35:06 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1.freebsd.org (Postfix) with ESMTP id 7499C1017 for ; Wed, 24 Dec 2014 14:35:06 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 14E90EA2C07 for ; Wed, 24 Dec 2014 06:35:05 -0800 (PST) Date: Wed, 24 Dec 2014 07:35:04 -0700 (MST) From: kott To: freebsd-usb@freebsd.org Message-ID: <1419431704871-5975773.post@n5.nabble.com> In-Reply-To: <549AB711.8070005@selasky.org> References: <1419359192795-5975583.post@n5.nabble.com> <5499E734.1070507@selasky.org> <1419392511197-5975691.post@n5.nabble.com> <549A811D.3060204@selasky.org> <1419416870924-5975752.post@n5.nabble.com> <1419423740820-5975763.post@n5.nabble.com> <549AB711.8070005@selasky.org> Subject: Re: usb_pc_cpu_flush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 14:35:06 -0000 did try with freebsd11 also and it fails in the same point at usb_pc_cpu_flush. Is this a known issue ? any suggestions would help -- View this message in context: http://freebsd.1045724.n5.nabble.com/usb-pc-cpu-flush-tp5975583p5975773.html Sent from the freebsd-usb mailing list archive at Nabble.com. From owner-freebsd-usb@FreeBSD.ORG Wed Dec 24 22:41:19 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C109B7D8 for ; Wed, 24 Dec 2014 22:41:19 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (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 7DD0D200A for ; Wed, 24 Dec 2014 22:41:19 +0000 (UTC) Received: from laptop015.home.selasky.org (31.89-11-148.nextgentel.com [89.11.148.31]) (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 5519F1FE022; Wed, 24 Dec 2014 23:41:17 +0100 (CET) Message-ID: <549B4135.6030705@selasky.org> Date: Wed, 24 Dec 2014 23:41:57 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: kott , freebsd-usb@freebsd.org Subject: Re: usb_pc_cpu_flush References: <1419359192795-5975583.post@n5.nabble.com> <5499E734.1070507@selasky.org> <1419392511197-5975691.post@n5.nabble.com> <549A811D.3060204@selasky.org> <1419416870924-5975752.post@n5.nabble.com> <1419423740820-5975763.post@n5.nabble.com> <549AB711.8070005@selasky.org> <1419431704871-5975773.post@n5.nabble.com> In-Reply-To: <1419431704871-5975773.post@n5.nabble.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 22:41:19 -0000 On 12/24/14 15:35, kott via freebsd-usb wrote: > did try with freebsd11 also and it fails in the same point at > usb_pc_cpu_flush. > Is this a known issue ? any suggestions would help > This is not a known issue. Which ARM kernel are you building? --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Dec 25 11:24:58 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 45821DA for ; Thu, 25 Dec 2014 11:24:58 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (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 051FC645EA for ; Thu, 25 Dec 2014 11:24:57 +0000 (UTC) Received: from laptop015.home.selasky.org (31.89-11-148.nextgentel.com [89.11.148.31]) (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 0567C1FE022; Thu, 25 Dec 2014 12:24:55 +0100 (CET) Message-ID: <549BF430.8000207@selasky.org> Date: Thu, 25 Dec 2014 12:25:36 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: kott , freebsd-usb@freebsd.org Subject: Re: usb_pc_cpu_flush References: <1419359192795-5975583.post@n5.nabble.com> <5499E734.1070507@selasky.org> <1419392511197-5975691.post@n5.nabble.com> <549A811D.3060204@selasky.org> <1419416870924-5975752.post@n5.nabble.com> <1419423740820-5975763.post@n5.nabble.com> <549AB711.8070005@selasky.org> <1419431704871-5975773.post@n5.nabble.com> In-Reply-To: <1419431704871-5975773.post@n5.nabble.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2014 11:24:58 -0000 Hi, There might be an option somewhere you can set in the boot enviroment, which will disable the CPU cache ... I guess something is failing in that area. Else we would see the same with regular PCs too. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Dec 26 10:53:40 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 514D9974 for ; Fri, 26 Dec 2014 10:53:40 +0000 (UTC) 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 38C3B66203 for ; Fri, 26 Dec 2014 10:53:40 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBQAreLp022156 for ; Fri, 26 Dec 2014 10:53:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 180617] [usbdevs] [patch] New quirk (another member of Western Digital My Passport family of devices) Date: Fri, 26 Dec 2014 10:53:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 9.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 10:53:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=180617 --- Comment #6 from commit-hook@freebsd.org --- A commit references this bug: Author: hselasky Date: Fri Dec 26 10:53:23 UTC 2014 New revision: 276239 URL: https://svnweb.freebsd.org/changeset/base/276239 Log: Add more quirks. PR: 180617 MFC after: 1 day Changes: head/sys/dev/usb/quirk/usb_quirk.c head/sys/dev/usb/usbdevs -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Fri Dec 26 11:17:43 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 44822F82 for ; Fri, 26 Dec 2014 11:17:43 +0000 (UTC) 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 2BC4D6410E for ; Fri, 26 Dec 2014 11:17:43 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBQBHhbp005882 for ; Fri, 26 Dec 2014 11:17:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 178771] [usbdevs] [patch] Western Digital My Passport HD Date: Fri, 26 Dec 2014 11:17:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 9.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 11:17:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=178771 --- Comment #8 from commit-hook@freebsd.org --- A commit references this bug: Author: hselasky Date: Fri Dec 26 11:17:00 UTC 2014 New revision: 276241 URL: https://svnweb.freebsd.org/changeset/base/276241 Log: MFC r259675, r262128, r262129, r275605, r276239 and r276240: Add more USB quirks. PR: 178771 PR: 180617 PR: 195372 Changes: _U stable/10/ stable/10/sys/dev/usb/quirk/usb_quirk.c stable/10/sys/dev/usb/usbdevs -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Fri Dec 26 11:17:45 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 19256F9C for ; Fri, 26 Dec 2014 11:17:45 +0000 (UTC) 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 F3D7E64116 for ; Fri, 26 Dec 2014 11:17:44 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBQBHiMl005926 for ; Fri, 26 Dec 2014 11:17:44 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 180617] [usbdevs] [patch] New quirk (another member of Western Digital My Passport family of devices) Date: Fri, 26 Dec 2014 11:17:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 9.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 11:17:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=180617 --- Comment #7 from commit-hook@freebsd.org --- A commit references this bug: Author: hselasky Date: Fri Dec 26 11:17:00 UTC 2014 New revision: 276241 URL: https://svnweb.freebsd.org/changeset/base/276241 Log: MFC r259675, r262128, r262129, r275605, r276239 and r276240: Add more USB quirks. PR: 178771 PR: 180617 PR: 195372 Changes: _U stable/10/ stable/10/sys/dev/usb/quirk/usb_quirk.c stable/10/sys/dev/usb/usbdevs -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Fri Dec 26 11:17:47 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B091EFBC for ; Fri, 26 Dec 2014 11:17:47 +0000 (UTC) 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 988D26411F for ; Fri, 26 Dec 2014 11:17:47 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBQBHlxe005948 for ; Fri, 26 Dec 2014 11:17:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 195372] [PATCH] USB quirk for 64GB Lexar Jumpdrive Date: Fri, 26 Dec 2014 11:17:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 11:17:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195372 --- Comment #16 from commit-hook@freebsd.org --- A commit references this bug: Author: hselasky Date: Fri Dec 26 11:17:00 UTC 2014 New revision: 276241 URL: https://svnweb.freebsd.org/changeset/base/276241 Log: MFC r259675, r262128, r262129, r275605, r276239 and r276240: Add more USB quirks. PR: 178771 PR: 180617 PR: 195372 Changes: _U stable/10/ stable/10/sys/dev/usb/quirk/usb_quirk.c stable/10/sys/dev/usb/usbdevs -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Fri Dec 26 11:26:09 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8C18527D for ; Fri, 26 Dec 2014 11:26:09 +0000 (UTC) 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 72CAE642D7 for ; Fri, 26 Dec 2014 11:26:09 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBQBQ9jN014269 for ; Fri, 26 Dec 2014 11:26:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 180617] [usbdevs] [patch] New quirk (another member of Western Digital My Passport family of devices) Date: Fri, 26 Dec 2014 11:26:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 9.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 11:26:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=180617 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|In Progress |Closed -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Fri Dec 26 11:26:50 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9E9942C1 for ; Fri, 26 Dec 2014 11:26:50 +0000 (UTC) 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 85D0564301 for ; Fri, 26 Dec 2014 11:26:50 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBQBQogt014568 for ; Fri, 26 Dec 2014 11:26:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 180617] [usbdevs] [patch] New quirk (another member of Western Digital My Passport family of devices) Date: Fri, 26 Dec 2014 11:26:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 9.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 11:26:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=180617 --- Comment #8 from commit-hook@freebsd.org --- A commit references this bug: Author: hselasky Date: Fri Dec 26 11:25:57 UTC 2014 New revision: 276242 URL: https://svnweb.freebsd.org/changeset/base/276242 Log: MFC r262128, r262129, r275605, r276239 and r276240: Add more USB quirks. PR: 178771 PR: 180617 PR: 195372 Changes: _U stable/9/sys/ _U stable/9/sys/dev/ stable/9/sys/dev/usb/quirk/usb_quirk.c stable/9/sys/dev/usb/usbdevs -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Fri Dec 26 11:26:52 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 510532F1 for ; Fri, 26 Dec 2014 11:26:52 +0000 (UTC) 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 37A5664307 for ; Fri, 26 Dec 2014 11:26:52 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBQBQqsI014603 for ; Fri, 26 Dec 2014 11:26:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 195372] [PATCH] USB quirk for 64GB Lexar Jumpdrive Date: Fri, 26 Dec 2014 11:26:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 11:26:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195372 --- Comment #17 from commit-hook@freebsd.org --- A commit references this bug: Author: hselasky Date: Fri Dec 26 11:25:57 UTC 2014 New revision: 276242 URL: https://svnweb.freebsd.org/changeset/base/276242 Log: MFC r262128, r262129, r275605, r276239 and r276240: Add more USB quirks. PR: 178771 PR: 180617 PR: 195372 Changes: _U stable/9/sys/ _U stable/9/sys/dev/ stable/9/sys/dev/usb/quirk/usb_quirk.c stable/9/sys/dev/usb/usbdevs -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Fri Dec 26 11:26:49 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6D5CF2BE for ; Fri, 26 Dec 2014 11:26:49 +0000 (UTC) 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 54D7B642FF for ; Fri, 26 Dec 2014 11:26:49 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBQBQnio014560 for ; Fri, 26 Dec 2014 11:26:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 178771] [usbdevs] [patch] Western Digital My Passport HD Date: Fri, 26 Dec 2014 11:26:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 9.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 11:26:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=178771 --- Comment #9 from commit-hook@freebsd.org --- A commit references this bug: Author: hselasky Date: Fri Dec 26 11:25:57 UTC 2014 New revision: 276242 URL: https://svnweb.freebsd.org/changeset/base/276242 Log: MFC r262128, r262129, r275605, r276239 and r276240: Add more USB quirks. PR: 178771 PR: 180617 PR: 195372 Changes: _U stable/9/sys/ _U stable/9/sys/dev/ stable/9/sys/dev/usb/quirk/usb_quirk.c stable/9/sys/dev/usb/usbdevs -- You are receiving this mail because: You are the assignee for the bug.