From owner-freebsd-usb@FreeBSD.ORG Sun Feb 22 15:32:40 2015 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 E3DEB2B2 for ; Sun, 22 Feb 2015 15:32:40 +0000 (UTC) Received: from r05.singnet.com.sg (r05.singnet.com.sg [202.40.249.105]) by mx1.freebsd.org (Postfix) with ESMTP id 084CBF45 for ; Sun, 22 Feb 2015 15:32:39 +0000 (UTC) Received: from cp-prod-rg-out-3.fuse.kc2.sg.local (172.63.64.222) by r05.singnet.com.sg (8.6.060.30) id 5405D0C8011918D6 for freebsd-usb@freebsd.org; Sun, 22 Feb 2015 23:16:11 +0800 Received: from zaapth.zeepster.org (116.14.83.188) by cp-prod-rg-out-3.fuse.kc2.sg.local (8.6.122.03) id 54C0CEA8031C2D7A for freebsd-usb@freebsd.org; Sun, 22 Feb 2015 15:16:45 +0000 Received: from zaapedy.zeepster.org ([172.16.38.42]) by zaapth.zeepster.org with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.83 (FreeBSD)) (envelope-from ) id 1YPYGy-000BSt-KC for freebsd-usb@freebsd.org; Sun, 22 Feb 2015 23:16:44 +0800 Message-ID: <54E9F2DE.9060307@singnet.com.sg> Date: Sun, 22 Feb 2015 23:16:46 +0800 From: Tur-Wei Chan User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-usb@freebsd.org Subject: Re: [Bug 196230] New: USB issue with Raidsonic ICY BOX IB-3640SU3 References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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, 22 Feb 2015 15:32:41 -0000 Hi, On 24/12/2014 12:05 AM, bugzilla-noreply@freebsd.org wrote: > 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: 0/0, rev 3.00/28.12, addr 1> 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: class 0/0, rev 3.00/28.12, addr 1> 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) > I have a similar problem to this issue; I too have 2 SATA HDDs mounted on an external USB3 HDD dock (Mediasonic ProBox 4-bay Dock), with the same USB VID/PID: ugen1.2: at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (2mA) In my case, with 10-Stable prior to r278278, I can get both /dev/da0 and /dev/da1 albeit after some delay after plugging in. With r278278 and later, however, I get only the same errror as above (umass0: Get Max Lun not supported (USB_ERR_TIMEOUT)), and only /dev/da0 turns up. I attach 2 logs, one with kernel at r278277 and the 2nd at r278278 with hw.usb.xhci.debug=16, hopefully these can help shed some light on the problem... Regards -T.W.Chan- From owner-freebsd-usb@FreeBSD.ORG Sun Feb 22 16:45:08 2015 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 3E8BD6FB for ; Sun, 22 Feb 2015 16:45:08 +0000 (UTC) Received: from r02.singnet.com.sg (r02.singnet.com.sg [202.40.249.102]) by mx1.freebsd.org (Postfix) with ESMTP id CA852886 for ; Sun, 22 Feb 2015 16:45:07 +0000 (UTC) Received: from cp-prod-rg-out-1.fuse.kc2.sg.local (172.63.64.222) by r02.singnet.com.sg (8.6.060.30) id 540568470128659E for freebsd-usb@freebsd.org; Mon, 23 Feb 2015 00:29:40 +0800 Received: from zaapth.zeepster.org (116.14.83.188) by cp-prod-rg-out-1.fuse.kc2.sg.local (8.6.122.03) id 54CF3F9701B6D797 for freebsd-usb@freebsd.org; Sun, 22 Feb 2015 16:29:44 +0000 Received: from zaapedy.zeepster.org ([172.16.38.42]) by zaapth.zeepster.org with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.83 (FreeBSD)) (envelope-from ) id 1YPZPb-000Bax-Uo for freebsd-usb@freebsd.org; Mon, 23 Feb 2015 00:29:43 +0800 Message-ID: <54EA03F9.8080900@singnet.com.sg> Date: Mon, 23 Feb 2015 00:29:45 +0800 From: Tur-Wei Chan User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-usb@freebsd.org Subject: Re: [Bug 196230] New: USB issue with Raidsonic ICY BOX IB-3640SU3 References: <54E9F2DE.9060307@singnet.com.sg> In-Reply-To: <54E9F2DE.9060307@singnet.com.sg> 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: Sun, 22 Feb 2015 16:45:08 -0000 HI, On 22/2/2015 11:16 PM, Tur-Wei Chan wrote: > Hi, > > On 24/12/2014 12:05 AM, bugzilla-noreply@freebsd.org wrote: >> 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: > 0x0539, class >> 0/0, rev 3.00/28.12, addr 1> 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: > Bridge, >> class 0/0, rev 3.00/28.12, addr 1> 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) >> > > I have a similar problem to this issue; I too have 2 SATA HDDs mounted > on an external USB3 HDD dock (Mediasonic ProBox 4-bay Dock), with the > same USB VID/PID: > ugen1.2: at usbus1, cfg=0 md=HOST > spd=SUPER (5.0Gbps) pwr=ON (2mA) > > In my case, with 10-Stable prior to r278278, I can get both /dev/da0 > and /dev/da1 albeit after some delay after plugging in. With r278278 > and later, however, I get only the same errror as above (umass0: Get > Max Lun not supported (USB_ERR_TIMEOUT)), and only /dev/da0 turns up. > > I attach 2 logs, one with kernel at r278277 and the 2nd at r278278 > with hw.usb.xhci.debug=16, hopefully these can help shed some light on > the problem... > Oops, mail ate my log. Trying with these links: r278277: http://justpaste.it/twchan-fbsd-dmesg-ok r278278: http://justpaste.it/twchan-fbsd-dmesg-nok Regards -T.W.Chan- From owner-freebsd-usb@FreeBSD.ORG Sun Feb 22 21:22:14 2015 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 BB38E80E for ; Sun, 22 Feb 2015 21:22:14 +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 A052A890 for ; Sun, 22 Feb 2015 21:22:14 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1MLMEYV005811 for ; Sun, 22 Feb 2015 21:22:14 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 197933] Change in support of USB 3.0 NEC uPD720200 (with JMS539 USB3 to SATA in a Vantec 4 drive box) Date: Sun, 22 Feb 2015 21:22:14 +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 Only Me X-Bugzilla-Who: greg-org-freebsd@akua.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: Sun, 22 Feb 2015 21:22:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197933 Bug ID: 197933 Summary: Change in support of USB 3.0 NEC uPD720200 (with JMS539 USB3 to SATA in a Vantec 4 drive box) Product: Base System Version: 10.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: usb Assignee: freebsd-usb@FreeBSD.org Reporter: greg-org-freebsd@akua.com After 'make' upgrade from 10.0 to 10.1, no drives were recognized. Swapped cable and rebooted. 1 drive of 3 recognized. All were fine in ZFS on 10.0 Dmesg shows timeout on GET MAX LUN command. Plugged into USB2 port. All drives now present but obviously much slower. Searched change list for 10.1 but don't see any USB related changes. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Sun Feb 22 21:25:14 2015 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 7DB98853 for ; Sun, 22 Feb 2015 21:25:14 +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 488FD8A1 for ; Sun, 22 Feb 2015 21:25:14 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1MLPE63007008 for ; Sun, 22 Feb 2015 21:25:14 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 197933] Change in support of USB 3.0 NEC uPD720200 (with JMS539 USB3 to SATA in a Vantec 4 drive box) Date: Sun, 22 Feb 2015 21:25:14 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: greg-org-freebsd@akua.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: 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: Sun, 22 Feb 2015 21:25:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197933 --- Comment #1 from Greg --- $ dmesg | grep -i usb ehci0: mem 0xcc429000-0xcc4293ff irq 16 at device 26.0 on pci0 usbus0: EHCI version 1.0 usbus0 on ehci0 xhci0: mem 0xca100000-0xca101fff irq 16 at device 0.0 on pci5 usbus1 on xhci0 ehci1: mem 0xcc428000-0xcc4283ff irq 23 at device 29.0 on pci0 usbus2: EHCI version 1.0 usbus2 on ehci1 usbus0: 480Mbps High Speed USB v2.0 usbus1: 5.0Gbps Super Speed USB v3.0 usbus2: 480Mbps High Speed USB v2.0 ugen1.1: <0x1033> at usbus1 uhub0: <0x1033 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1 ugen0.1: at usbus0 uhub1: on usbus0 ugen2.1: at usbus2 uhub2: on usbus2 ugen0.2: at usbus0 uhub3: on usbus0 ugen2.2: at usbus2 uhub4: on usbus2 ugen0.3: at usbus0 ugen0.4: at usbus0 ugen2.3: at usbus2 umass0: on usbus2 $ sudo usbconfig ugen1.1: at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen2.1: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen2.2: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen0.3: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) ugen0.4: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) ugen2.3: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (8mA) -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Sun Feb 22 21:26:09 2015 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 8B46598B for ; Sun, 22 Feb 2015 21: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 702CB8C1 for ; Sun, 22 Feb 2015 21: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 t1MLQ9dF007229 for ; Sun, 22 Feb 2015 21:26:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 197933] Change in support of USB 3.0 NEC uPD720200 (with JMS539 USB3 to SATA in a Vantec 4 drive box) Date: Sun, 22 Feb 2015 21: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: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: greg-org-freebsd@akua.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: 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: Sun, 22 Feb 2015 21:26:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197933 --- Comment #2 from Greg --- $ dmesg | grep ^da da0 at umass-sim0 bus 0 scbus7 target 0 lun 0 da0: Fixed Direct Access SCSI-6 device da0: Serial Number 000000000000 da0: 40.000MB/s transfers da0: 3815447MB (7814037168 512 byte sectors: 255H 63S/T 486401C) da0: quirks=0x2 da1 at umass-sim0 bus 0 scbus7 target 0 lun 1 da1: Fixed Direct Access SCSI-6 device da1: Serial Number 000000000000 da1: 40.000MB/s transfers da1: 3815447MB (7814037168 512 byte sectors: 255H 63S/T 486401C) da1: quirks=0x2 da2 at umass-sim0 bus 0 scbus7 target 0 lun 2 da2: Fixed Direct Access SCSI-6 device da2: Serial Number 000000000000 da2: 40.000MB/s transfers da2: 3815447MB (7814037168 512 byte sectors: 255H 63S/T 486401C) da2: quirks=0x2 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Sun Feb 22 21:26:36 2015 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 733E89BA for ; Sun, 22 Feb 2015 21:26:36 +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 57F4E8C8 for ; Sun, 22 Feb 2015 21:26:36 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1MLQatH007394 for ; Sun, 22 Feb 2015 21:26:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 197933] Change in support of USB 3.0 NEC uPD720200 (with JMS539 USB3 to SATA in a Vantec 4 drive box) Date: Sun, 22 Feb 2015 21:26:36 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: greg-org-freebsd@akua.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: 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: Sun, 22 Feb 2015 21:26:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197933 --- Comment #3 from Greg --- $ uname -a FreeBSD swiss.mlb.akua.com 10.1-STABLE FreeBSD 10.1-STABLE #0 r279138: Sun Feb 22 00:07:35 EST 2015 akua@swiss.mlb.akua.com:/KIN/CACHE/obj/NAP/SRC/10/src/sys/swiss-10-c amd64 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Feb 24 21:47:23 2015 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 67D299D0 for ; Tue, 24 Feb 2015 21:47:23 +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 48FECD0D for ; Tue, 24 Feb 2015 21:47:23 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1OLlNpt042198 for ; Tue, 24 Feb 2015 21:47:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198015] devd(8) overwrites "bus" on ugen event Date: Tue, 24 Feb 2015 21:47:23 +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 Only Me X-Bugzilla-Who: johan@stromnet.se 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, 24 Feb 2015 21:47:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198015 Bug ID: 198015 Summary: devd(8) overwrites "bus" on ugen event Product: Base System Version: 10.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: usb Assignee: freebsd-usb@FreeBSD.org Reporter: johan@stromnet.se Problem: When trying to match a uftdi device arrival, "bus" variable is overwritten. This means I cannot know which /dev/ugenN.N node to work with (which in my case is chown to a specific user). Example: (FreeBSD 10.1, devd in console mode): Sample devd script: attach 10 { device-name "uftdi[0-9]+"; action "chgrp dialer /dev/ugen$bus.$devaddr; chmod 660 /dev/ugen$bus.$devaddr" }; Processing event '+uftdi0 at bus=0 hubaddr=1 port=3 devaddr=2 interface=0 vendor=0x1781 product=0x0c30 devclass=0x00 devsubclass=0x00 sernum="XXXXXX" release=0x0600 mode=host intclass=0xff intsubclass=0xff intprotocol=0xff ttyname=U0 ttyports=1 on uhub1' Pushing table setting device-name=uftdi0 setting bus=0 setting hubaddr=1 setting port=3 setting devaddr=2 setting interface=0 setting vendor=0x1781 setting product=0x0c30 setting devclass=0x00 setting devsubclass=0x00 setting sernum=A6008W8a setting release=0x0600 setting mode=host setting intclass=0xff setting intsubclass=0xff setting intprotocol=0xff setting ttyname=U0 setting ttyports=1 setting bus=uhub1 Processing attach event Testing device-name=uftdi0 against ^ed50$, invert=0 Testing device-name=uftdi0 against ^ubt[0-9]+$, invert=0 Testing device-name=uftdi0 against ^ukbd0$, invert=0 Testing vendor=0x1781 against ^0x0854$, invert=0 Testing vendor=0x1781 against ^0x1645$, invert=0 Testing device-name=uftdi0 against ^uftdi[0-9]+$, invert=0 Testing vendor=0x1781 against ^0x0403$, invert=0 Testing device-name=uftdi0 against ^uftdi[0-9]+$, invert=0 Testing vendor=0x1781 against ^0x1781$, invert=0 Testing product=0x0c30 against ^0x0c30$, invert=0 Executing 'chgrp dialer /dev/ugenuhub1.2; chmod 660 /dev/ugenuhub1.2' chgrp: /dev/ugenuhub1.2: No such file or directory chmod: /dev/ugenuhub1.2: No such file or directory Popping table My suspect: https://github.com/freebsd/freebsd/blob/master/sbin/devd/devd.cc#L821 Is there any other way to reliably get the corresponding ugen device? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Feb 24 21:49:37 2015 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 B31CAA18 for ; Tue, 24 Feb 2015 21:49:37 +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 99B97D20 for ; Tue, 24 Feb 2015 21:49:37 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1OLnb39044179 for ; Tue, 24 Feb 2015 21:49:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198015] devd(8) overwrites "bus" on ugen event Date: Tue, 24 Feb 2015 21:49:37 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: johan@stromnet.se 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_severity 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, 24 Feb 2015 21:49:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198015 johan@stromnet.se changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Affects Only Me |Affects Some People -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Feb 24 21:55:59 2015 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 5925BD31 for ; Tue, 24 Feb 2015 21:55:59 +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 3F37FE31 for ; Tue, 24 Feb 2015 21:55:59 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1OLtxj9054966 for ; Tue, 24 Feb 2015 21:55:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 197933] Change in support of USB 3.0 NEC uPD720200 (with JMS539 USB3 to SATA in a Vantec 4 drive box) Date: Tue, 24 Feb 2015 21:55:59 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: Tue, 24 Feb 2015 21:55:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197933 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hselasky@FreeBSD.org Status|New |Open --- Comment #4 from Hans Petter Selasky --- Hi, Can you upgrade to 10-stable. Also check and/or set hw.usb.xhci.xhci_port_route=-1 in /boot/loader.conf. Does it make any difference? --HPS -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Feb 24 22:13:23 2015 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 18593AC2 for ; Tue, 24 Feb 2015 22:13:23 +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 F2E0A177 for ; Tue, 24 Feb 2015 22:13:22 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1OMDMZL012354 for ; Tue, 24 Feb 2015 22:13:22 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198015] devd(8) overwrites "bus" on ugen event Date: Tue, 24 Feb 2015 22:13:23 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Tue, 24 Feb 2015 22:13:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198015 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress --- Comment #1 from Hans Petter Selasky --- Hi, It is the USB stack which is generating those variables. We can easily rename "bus" to something like "busunit", if that works for you. --HPS -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Feb 24 22:15:30 2015 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 7285AB42 for ; Tue, 24 Feb 2015 22:15: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 58BD31A7 for ; Tue, 24 Feb 2015 22:15: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 t1OMFUjM014926 for ; Tue, 24 Feb 2015 22:15:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198015] devd(8) overwrites "bus" on ugen event Date: Tue, 24 Feb 2015 22:15: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: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: johan@stromnet.se X-Bugzilla-Status: In Progress 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: Tue, 24 Feb 2015 22:15:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198015 --- Comment #2 from johan@stromnet.se --- Thanks for quick reply, that seems like a fully acceptable solution for me. (unless I'm totally out in the woods here on how to get the corresponding /dev/ugen device?) -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Feb 24 22:19:42 2015 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 348DDD2F for ; Tue, 24 Feb 2015 22:19:42 +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 1A7B61F4 for ; Tue, 24 Feb 2015 22:19:42 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1OMJfQg018376 for ; Tue, 24 Feb 2015 22:19:41 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198015] devd(8) overwrites "bus" on ugen event Date: Tue, 24 Feb 2015 22:19:42 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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, 24 Feb 2015 22:19:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198015 --- Comment #3 from Hans Petter Selasky --- Created attachment 153478 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=153478&action=edit Rename devd variable. Try the attached patch and let me know if it works. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Feb 24 22:25:26 2015 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 6275BF8F for ; Tue, 24 Feb 2015 22:25: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 49062307 for ; Tue, 24 Feb 2015 22:25: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 t1OMPQr1028285 for ; Tue, 24 Feb 2015 22:25:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198015] devd(8) overwrites "bus" on ugen event Date: Tue, 24 Feb 2015 22:25:26 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: johan@stromnet.se X-Bugzilla-Status: In Progress 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: Tue, 24 Feb 2015 22:25:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198015 --- Comment #4 from johan@stromnet.se --- Unfortunately I do not have any kernel build (or test) env available, so I'll have quite a hard time to test any kernel patches. Other than that, it looks good (but please note that I don't know the details of the kernel, USB or devd code, so don't take my word for it.. :)). The only problem I can see if any other code expects "bus=", which would break. An alternative (but duplicate) variable name would be another solution. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Feb 24 23:02:15 2015 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 941D8BC6 for ; Tue, 24 Feb 2015 23:02:15 +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 7AB29949 for ; Tue, 24 Feb 2015 23:02:15 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1ON2FKL007407 for ; Tue, 24 Feb 2015 23:02:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198015] devd(8) overwrites "bus" on ugen event Date: Tue, 24 Feb 2015 23:02:14 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ian@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- 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: Tue, 24 Feb 2015 23:02:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198015 Ian Lepore changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ian@FreeBSD.org --- Comment #5 from Ian Lepore --- If you rename bus= you will break existing out-of-tree software that relies on the exact current contents of the pnpinfo delivered via devd.pipe. (We rely on it at $work.) Please consider adding usbus=n but also leaving bus=n for compatibility. Also, I think it might be useful to add a new ugen=n.n entry to pnpinfo. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Feb 24 23:28:35 2015 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 A3F19446; Tue, 24 Feb 2015 23:28:35 +0000 (UTC) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) by mx1.freebsd.org (Postfix) with ESMTP id 8244FBC0; Tue, 24 Feb 2015 23:28:34 +0000 (UTC) Received: from smtp7.ore.mailhop.org (172.31.36.112) by pmta2.delivery1.ore.mailhop.org id htk4im20u501; Tue, 24 Feb 2015 22:38:13 +0000 (envelope-from ) Received: from c-73-34-117-227.hsd1.co.comcast.net ([73.34.117.227] helo=ilsoft.org) by smtp7.ore.mailhop.org with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.82) (envelope-from ) id 1YQO7B-0007ed-QY; Tue, 24 Feb 2015 22:38:05 +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 t1OMc1Ou012147; Tue, 24 Feb 2015 15:38:01 -0700 (MST) (envelope-from ian@freebsd.org) X-Mail-Handler: DuoCircle Outbound SMTP X-Originating-IP: 73.34.117.227 X-Report-Abuse-To: abuse@duocircle.com (see https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information for abuse reporting information) X-MHO-User: U2FsdGVkX1/rc8iYaQq17L9lJNOz3LRT Message-ID: <1424817481.1328.9.camel@freebsd.org> Subject: Re: [Bug 198015] devd(8) overwrites "bus" on ugen event From: Ian Lepore To: bugzilla-noreply@freebsd.org Date: Tue, 24 Feb 2015 15:38:01 -0700 In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.10 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: Tue, 24 Feb 2015 23:28:35 -0000 On Tue, 2015-02-24 at 21:47 +0000, bugzilla-noreply@freebsd.org wrote: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198015 > > Bug ID: 198015 > Summary: devd(8) overwrites "bus" on ugen event > Product: Base System > Version: 10.1-RELEASE > Hardware: Any > OS: Any > Status: New > Severity: Affects Only Me > Priority: --- > Component: usb > Assignee: freebsd-usb@FreeBSD.org > Reporter: johan@stromnet.se > > Problem: > When trying to match a uftdi device arrival, "bus" variable is overwritten. > This means I cannot know which /dev/ugenN.N node to work with (which in my case > is chown to a specific user). > > Example: (FreeBSD 10.1, devd in console mode): > > Sample devd script: > attach 10 { > device-name "uftdi[0-9]+"; > action "chgrp dialer /dev/ugen$bus.$devaddr; chmod 660 > /dev/ugen$bus.$devaddr" > }; > > Processing event '+uftdi0 at bus=0 hubaddr=1 port=3 devaddr=2 interface=0 > vendor=0x1781 product=0x0c30 devclass=0x00 devsubclass=0x00 sernum="XXXXXX" > release=0x0600 mode=host intclass=0xff intsubclass=0xff intprotocol=0xff > ttyname=U0 ttyports=1 on uhub1' > Pushing table > setting device-name=uftdi0 > setting bus=0 > setting hubaddr=1 > setting port=3 > setting devaddr=2 > setting interface=0 > setting vendor=0x1781 > setting product=0x0c30 > setting devclass=0x00 > setting devsubclass=0x00 > setting sernum=A6008W8a > setting release=0x0600 > setting mode=host > setting intclass=0xff > setting intsubclass=0xff > setting intprotocol=0xff > setting ttyname=U0 > setting ttyports=1 > setting bus=uhub1 > Processing attach event > Testing device-name=uftdi0 against ^ed50$, invert=0 > Testing device-name=uftdi0 against ^ubt[0-9]+$, invert=0 > Testing device-name=uftdi0 against ^ukbd0$, invert=0 > Testing vendor=0x1781 against ^0x0854$, invert=0 > Testing vendor=0x1781 against ^0x1645$, invert=0 > Testing device-name=uftdi0 against ^uftdi[0-9]+$, invert=0 > Testing vendor=0x1781 against ^0x0403$, invert=0 > Testing device-name=uftdi0 against ^uftdi[0-9]+$, invert=0 > Testing vendor=0x1781 against ^0x1781$, invert=0 > Testing product=0x0c30 against ^0x0c30$, invert=0 > Executing 'chgrp dialer /dev/ugenuhub1.2; chmod 660 /dev/ugenuhub1.2' > chgrp: /dev/ugenuhub1.2: No such file or directory > chmod: /dev/ugenuhub1.2: No such file or directory > Popping table > > > My suspect: > https://github.com/freebsd/freebsd/blob/master/sbin/devd/devd.cc#L821 > > > > Is there any other way to reliably get the corresponding ugen device? > This is pretty yucky to fix. My first thought was that the pnpinfo should contain usbus= rather than bus=, but I checked, and making that change will break our software at $work (and thus presumably other 3rd party software that directly reads devd.pipe and relies on the current format of usb pnpinfo too). Another possibility would be to add usbus= to pnpinfo and also leave bus= there for compatibility with out-of-tree software. Yet another possibility would be to add a ugen=n.n to pnpinfo. I especially like this idea. -- Ian From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 07:11:58 2015 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 1E0F516A for ; Wed, 25 Feb 2015 07:11:58 +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 03D01638 for ; Wed, 25 Feb 2015 07:11:58 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1P7Bvp6073361 for ; Wed, 25 Feb 2015 07:11:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198015] devd(8) overwrites "bus" on ugen event Date: Wed, 25 Feb 2015 07:11:58 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: johan@stromnet.se X-Bugzilla-Status: In Progress 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: Wed, 25 Feb 2015 07:11:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198015 --- Comment #6 from johan@stromnet.se --- +1 for ugen=n.n entry, avoids any unambiguity of which device we're actully dealing with -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 07:55:08 2015 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 1BC4225A for ; Wed, 25 Feb 2015 07:55:08 +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 027E9B36 for ; Wed, 25 Feb 2015 07:55:08 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1P7t7Bf022127 for ; Wed, 25 Feb 2015 07:55:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198015] devd(8) overwrites "bus" on ugen event Date: Wed, 25 Feb 2015 07:55:06 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: In Progress 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: Wed, 25 Feb 2015 07:55:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198015 --- Comment #7 from Hans Petter Selasky --- (In reply to Ian Lepore from comment #5) Right. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 07:55:25 2015 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 3C975326 for ; Wed, 25 Feb 2015 07:55:25 +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 234C5B59 for ; Wed, 25 Feb 2015 07:55:25 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1P7tPbb022351 for ; Wed, 25 Feb 2015 07:55:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198015] devd(8) overwrites "bus" on ugen event Date: Wed, 25 Feb 2015 07:55:25 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: In Progress 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: Wed, 25 Feb 2015 07:55:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198015 --- Comment #8 from Hans Petter Selasky --- (In reply to johan from comment #6) Ok, sounds better. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 08:20:44 2015 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 778E38D9 for ; Wed, 25 Feb 2015 08:20:44 +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 5E3CED97 for ; Wed, 25 Feb 2015 08:20: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 t1P8KipM085646 for ; Wed, 25 Feb 2015 08:20:44 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198015] devd(8) overwrites "bus" on ugen event Date: Wed, 25 Feb 2015 08:20: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: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: blocked 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: Wed, 25 Feb 2015 08:20:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198015 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |198026 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 08:35:48 2015 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 13826E5B for ; Wed, 25 Feb 2015 08:35:48 +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 EE0B0F56 for ; Wed, 25 Feb 2015 08:35: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 t1P8Zlgq004717 for ; Wed, 25 Feb 2015 08:35:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198015] devd(8) overwrites "bus" on ugen event Date: Wed, 25 Feb 2015 08:35:48 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress 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: Wed, 25 Feb 2015 08:35:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198015 --- Comment #9 from commit-hook@freebsd.org --- A commit references this bug: Author: hselasky Date: Wed Feb 25 08:35:01 UTC 2015 New revision: 279270 URL: https://svnweb.freebsd.org/changeset/base/279270 Log: Add ugen keyword to USB pnpinfo. Remove extra space from existing pnpinfo. PR: 198015 PR: 198019 PR: 198026 MFC after: 1 week Changes: head/sys/dev/usb/usb_hub.c -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 08:42:43 2015 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 0E1FD1EF for ; Wed, 25 Feb 2015 08:42: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 E74EBEB for ; Wed, 25 Feb 2015 08:42:42 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1P8gge8015079 for ; Wed, 25 Feb 2015 08:42:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 197933] Change in support of USB 3.0 NEC uPD720200 (with JMS539 USB3 to SATA in a Vantec 4 drive box) Date: Wed, 25 Feb 2015 08:42:42 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Wed, 25 Feb 2015 08:42:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197933 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Progress --- Comment #5 from Hans Petter Selasky --- Can you also try this patch: https://svnweb.freebsd.org/changeset/base/279233 Thank you. --HPS -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 09:32:25 2015 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 A389B41D for ; Wed, 25 Feb 2015 09:32:25 +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 89B32891 for ; Wed, 25 Feb 2015 09:32:25 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1P9WP1F043119 for ; Wed, 25 Feb 2015 09:32:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198015] devd(8) overwrites "bus" on ugen event Date: Wed, 25 Feb 2015 09:32:25 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: hselasky@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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: Wed, 25 Feb 2015 09:32:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198015 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-usb@FreeBSD.org |hselasky@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 12:49:33 2015 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 83DF015B for ; Wed, 25 Feb 2015 12:49:33 +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 698A4174 for ; Wed, 25 Feb 2015 12:49:33 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1PCnXvP061507 for ; Wed, 25 Feb 2015 12:49:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 197933] Change in support of USB 3.0 NEC uPD720200 (with JMS539 USB3 to SATA in a Vantec 4 drive box) Date: Wed, 25 Feb 2015 12:49:33 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: greg-org-freebsd@akua.com X-Bugzilla-Status: In Progress 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: Wed, 25 Feb 2015 12:49:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197933 --- Comment #6 from Greg --- Will do these things later today. Did you mean to ask I if I can downgrade to 10.0 stable? From 10.1S -> 10.0S? Since the latter is where I just upgraded from, I presume that would take me back to full xhci functionality on this chipset. Thanks Greg -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 14:03:07 2015 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 4ECBB4E4 for ; Wed, 25 Feb 2015 14:03:07 +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 34CE0C1B for ; Wed, 25 Feb 2015 14:03:07 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1PE37hI004495 for ; Wed, 25 Feb 2015 14:03:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 197933] Change in support of USB 3.0 NEC uPD720200 (with JMS539 USB3 to SATA in a Vantec 4 drive box) Date: Wed, 25 Feb 2015 14:03:07 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: In Progress 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: Wed, 25 Feb 2015 14:03:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197933 --- Comment #7 from Hans Petter Selasky --- There is only one 10-stable. 10.0 release and 10.1 release is not what I mean. I want you to try "10-stable" with and without https://svnweb.freebsd.org/changeset/base/279233 10-stable code is here: https://svnweb.freebsd.org/base/stable/10/ --HPS -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Wed Feb 25 14:07:41 2015 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 0BE5871D for ; Wed, 25 Feb 2015 14:07:41 +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 E65CBC5C for ; Wed, 25 Feb 2015 14:07: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 t1PE7eE1006725 for ; Wed, 25 Feb 2015 14:07:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 197933] Change in support of USB 3.0 NEC uPD720200 (with JMS539 USB3 to SATA in a Vantec 4 drive box) Date: Wed, 25 Feb 2015 14:07:40 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also 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: Wed, 25 Feb 2015 14:07:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197933 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=1884 | |03 -- You are receiving this mail because: You are the assignee for the bug.