From owner-freebsd-usb@FreeBSD.ORG Mon Mar 16 05:10:04 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 98739A15 for ; Mon, 16 Mar 2015 05:10:04 +0000 (UTC) Received: from masa.qt7.net (masa.qt7.net [104.140.67.88]) by mx1.freebsd.org (Postfix) with ESMTP id 5772386 for ; Mon, 16 Mar 2015 05:10:04 +0000 (UTC) To: freebsd-usb@freebsd.org Subject: wish to introduce our fleece blankets and bathrobes factory Message-ID: <1e29921b3a0e086869bf69232397308a@canon.com> Date: Mon, 16 Mar 2015 06:06:17 +0100 From: "James" Reply-To: wanshancon@tom.com MIME-Version: 1.0 X-Mailer-LID: 26 X-Mailer-RecptId: 20219503 X-Mailer-SID: 118 X-Mailer-Sent-By: 1 Content-Type: text/plain; format=flowed; charset="UTF-8" Content-Transfer-Encoding: 8bit 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, 16 Mar 2015 05:10:04 -0000 We wish to introduce our fleece blankets and bathrobes factory Our factory based in China has been engaged in the manufacture and sales of fleece products for many years. Over the past years, we have got much professional experience in this industry. We produce below: polar fleece blankets micro coral fleece blankets picnic blankets cushions/cushion covers baby blankets embroidered blankets bathrobes voile curtains sauna quits fleece clothing washmachine covers Our products have been exported to North Amercia, Europe, Japan and so on. We are looking forward to start business with you soon. Best regards: James Contact: rightmm@tom.com From owner-freebsd-usb@FreeBSD.ORG Mon Mar 16 07:17:24 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 9B73E4D4; Mon, 16 Mar 2015 07:17:24 +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 5AAD5E14; Mon, 16 Mar 2015 07:17:23 +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 B47831FE023; Mon, 16 Mar 2015 08:17:20 +0100 (CET) Message-ID: <550683AF.1010007@selasky.org> Date: Mon, 16 Mar 2015 08:18:07 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Gokul Krishna , freebsd-hackers@freebsd.org, freebsd-usb@freebsd.org Subject: Re: GSoC 2015: USB-Front end driver References: <54FB120C.7080707@selasky.org> <54FB132E.9070901@selasky.org> In-Reply-To: <54FB132E.9070901@selasky.org> 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: Mon, 16 Mar 2015 07:17:24 -0000 Hi Gokul, Ping: Can you respond to this e-mail or are you one of those spam bots? --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Mar 16 16:31: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 A9A407E0; Mon, 16 Mar 2015 16:31:23 +0000 (UTC) Received: from mail-la0-x236.google.com (mail-la0-x236.google.com [IPv6:2a00:1450:4010:c03::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 28AECD90; Mon, 16 Mar 2015 16:31:23 +0000 (UTC) Received: by lamx15 with SMTP id x15so44800660lam.3; Mon, 16 Mar 2015 09:31:21 -0700 (PDT) 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=3WdBgLT/bLkGVPxlkyzcAWEik6dl5kaTE/j97iuVd9k=; b=DF0zJQNwrACsovj1XWMqq1W4aJNLTERNM8kXDEebgsvtRO1MabD9KnPz96dEC/t3Vn Mny+j65noA7oXSF/4rTws7ATMdPoCq/nnhX8dinIZitBA81VLPmFZZEbGWPgQ13ghLZ7 W6wGeuGjGq+77zGyJbOgKOllyxYPmna0D/KpHaF1rigIkPLnPzawsbw5pGItv6JUKlpi 42iWIUFNkZGAPngIJ3vvd+TLfX6cIVlL2ANs96SXWEHmYw3GdKotqxfNiLKuL5sSJVUJ 0AfpildTW7dZ6cs7qVSAAzwNw6Xwo1QtLSINoLcKHAvHzskKyyMEoVbr9GWd1jmAQo6/ HHeg== MIME-Version: 1.0 X-Received: by 10.152.120.202 with SMTP id le10mr41817900lab.115.1426523481189; Mon, 16 Mar 2015 09:31:21 -0700 (PDT) Received: by 10.112.157.136 with HTTP; Mon, 16 Mar 2015 09:31:21 -0700 (PDT) In-Reply-To: <550683AF.1010007@selasky.org> References: <54FB120C.7080707@selasky.org> <54FB132E.9070901@selasky.org> <550683AF.1010007@selasky.org> Date: Mon, 16 Mar 2015 16:31:21 +0000 Message-ID: Subject: Re: GSoC 2015: USB-Front end driver From: Gokul Krishna To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-hackers@freebsd.org, 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, 16 Mar 2015 16:31:23 -0000 Hi Sorry for late reply, Since i was busy last week for 1 of my course exam and lab assignments . Now Iam free . Yes shall we schedule some time to discuss about the USB front end driver. Let me share some of my understandings i had , when i did a Linux kernel and Device drivers course which includes USB device driver . I did this course under a famous corporate trainer Raghu Bharadwaj in Veda Institute of technology, Hyderabad India. I did some coding and testing with character and block device drivers. Before my masters studies I worked for couple of design and maintenance of Embedded linux device drivers such as MCP23s17 and DSC11531 DAC chips and testing the Embedded software for Data distribution unit and further i worked on implementing Remote UI for sound bar EVM with 2 core Omap SoC . I understood the basics of USB Stack for any USB device , 6 device classes for USB driver and its data transfer types and 4 descriptor structures described in USB specification and further the Lifecycle of URB request blocks which is an important concern for coding and implementation of USB device drivers In my opinion USB is more of implementing Library functions and frame level application data transfer . An USB driver data transfer can also be Char/Block/Network drivers with some registration layer, file operations structure changes. Kindly mention your convenient time on coming wednesday or thursday and Im in Sweden so I need to check corresponding CET time on these days to fix timing . My skype id is gokulnath.gokulnath1 Kindly reply me thanks and regards Gokul On Mon, Mar 16, 2015 at 7:18 AM, Hans Petter Selasky wrote: > Hi Gokul, > > Ping: Can you respond to this e-mail or are you one of those spam bots? > > --HPS > From owner-freebsd-usb@FreeBSD.ORG Mon Mar 16 16:44:54 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 C0F7DA59; Mon, 16 Mar 2015 16:44:54 +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 7E747EE1; Mon, 16 Mar 2015 16:44:54 +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 CD81C1FE023; Mon, 16 Mar 2015 17:44:50 +0100 (CET) Message-ID: <550708B0.8010601@selasky.org> Date: Mon, 16 Mar 2015 17:45:36 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Gokul Krishna Subject: Re: GSoC 2015: USB-Front end driver References: <54FB120C.7080707@selasky.org> <54FB132E.9070901@selasky.org> <550683AF.1010007@selasky.org> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, 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, 16 Mar 2015 16:44:54 -0000 On 03/16/15 17:31, Gokul Krishna wrote: > Hi ... Sounds good. > > Kindly mention your convenient time on coming wednesday or thursday and Im > in Sweden so I need to check corresponding CET time on these days to fix > timing . > My skype id is gokulnath.gokulnath1 I'm located in Norway, so that might be a good chance to meet :-) --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Mar 17 02:10:21 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 DAA93AE6 for ; Tue, 17 Mar 2015 02:10:20 +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 BD6DAA6C for ; Tue, 17 Mar 2015 02:10:20 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2H2AKKB052810 for ; Tue, 17 Mar 2015 02:10:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198647] MX-ES USB Drive by Mach Xtreme ILLEGAL REQUEST asc:21, 0 (Logical block address out of range) Date: Tue, 17 Mar 2015 02:10:20 +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: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cmbaker82@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, 17 Mar 2015 02:10:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198647 Bug ID: 198647 Summary: MX-ES USB Drive by Mach Xtreme ILLEGAL REQUEST asc:21,0 (Logical block address out of range) Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: usb Assignee: freebsd-usb@FreeBSD.org Reporter: cmbaker82@gmail.com I am trying to install FreeBSD 9.3, also tried 10.1 and 11.0, to an mx-ex 8gb flash drive. Here is a link to the specifications: http://mx-technology.com/h5/en/flash2.php?sid=38 It is a usb3 device, but plugged into usb2 ports. If I go to the shell and unplug the device then plug it back in here are the errors I get (partial, some scroll off screen): [CODE](da0:umass-sim0:0:0:0): Error 22, Unretryable error (da0:umass-sim0:0:0:0): Read(10). CDB: 28 00 00 ee 4f ff 00 00 01 00 (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI status Check Condition (da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) [/CODE] and then it repeats the same error, I think I saw some flash by that said Write() instead of Read(10) during one of my attempts. I have tried reinitializing the disk using windows disk manager which seemed to work fine. Drive behaves as expected in my windows machines and linux CentOS. This has happened both on a Dell R610 and a HP touchsmart tx2 laptop. The dell R610 works with FreeBSD except for this memory stick. If I drop to shell during installation I can get the following information: [CODE]camcontrol inquiry da1: pass3: Removable Direct Access SCSI-6 device pass3: Serial Number 000000000000000133 pass3: 40.000MB/s transfers dmesg | grep ^da1 da1: at umass-sim1 bus 1 scbus 4 target 0 lun 0 da1: Removable Direct Access SCSI-6 device da1: Serial Number 000000000000000133 da1: 40.000MB/s transfers da1: 7626MB (15618048 512 byte secotrs: 255H 63S/T 972C) da1: quirks=0x2 [/CODE] Seems similar, but different to bug 194062 If from shell before trying to install I do a [CMD]sysctl kern.cam.da.1.minimum_cmd_size=16[/CMD] then I am able to get farther showing the "please review the disk setup" screen, and instead of giving read errors it gives the following error after hitting commit: [CODE]write(16). cdb: 8a 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 cam status: ccb request completed with an error error 5, retries exhausted[/CODE] -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Mar 17 02:14:28 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 07088B49 for ; Tue, 17 Mar 2015 02:14:28 +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 E091AB62 for ; Tue, 17 Mar 2015 02:14:27 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2H2ERUb037264 for ; Tue, 17 Mar 2015 02:14:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198647] MX-ES USB Drive by Mach Xtreme ILLEGAL REQUEST asc:21, 0 (Logical block address out of range) Date: Tue, 17 Mar 2015 02:14:28 +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: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cmbaker82@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: 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, 17 Mar 2015 02:14:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198647 --- Comment #1 from Chris Baker --- Initially I had posted to the forums: https://forums.freebsd.org/threads/mx-es-usb-drive-by-mach-xtreme-error-22.50845/ -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Mar 17 07:54: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 64728C7E for ; Tue, 17 Mar 2015 07:54: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 49B4E9D for ; Tue, 17 Mar 2015 07:54: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 t2H7s7bo051919 for ; Tue, 17 Mar 2015 07:54:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198647] MX-ES USB Drive by Mach Xtreme ILLEGAL REQUEST asc:21, 0 (Logical block address out of range) Date: Tue, 17 Mar 2015 07:54:08 +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: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hselasky@FreeBSD.org 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: 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, 17 Mar 2015 07:54:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198647 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hselasky@FreeBSD.org --- Comment #2 from Hans Petter Selasky --- Hi, The following series of digits indicate the location of the disk access "00 ee 4f ff". Assuming the block size is 512 bytes, this is location 0xee4fff*512 = 7.9964e+09 which is below 8GB. Can you extract information about how many 512-byte blocks the disk has under Linux and what the block size is? --HPS -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Mar 17 15:22:52 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 03A3F893 for ; Tue, 17 Mar 2015 15:22: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 DD3AACE4 for ; Tue, 17 Mar 2015 15:22:51 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2HFMpdP054233 for ; Tue, 17 Mar 2015 15:22:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198647] MX-ES USB Drive by Mach Xtreme ILLEGAL REQUEST asc:21, 0 (Logical block address out of range) Date: Tue, 17 Mar 2015 15:22: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: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cmbaker82@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: 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, 17 Mar 2015 15:22:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198647 --- Comment #3 from Chris Baker --- on linux "fdisk -l" lists the following: Disk /dev/sdb: 7988 MB, 7988051968 bytes, 15601664 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes "cat /sys/class/block/sda/size" also reports block size of 15601664 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Mar 17 15:50: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 4AC35C0 for ; Tue, 17 Mar 2015 15:50: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 30990A0 for ; Tue, 17 Mar 2015 15:50: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 t2HFoxWs079549 for ; Tue, 17 Mar 2015 15:50:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198647] MX-ES USB Drive by Mach Xtreme ILLEGAL REQUEST asc:21, 0 (Logical block address out of range) Date: Tue, 17 Mar 2015 15:50: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: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hselasky@FreeBSD.org 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: Tue, 17 Mar 2015 15:50:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198647 --- Comment #4 from Hans Petter Selasky --- Hi, dec2hex(15601664) = EE1000 The LBA=0xee4fff is then invalid. Did you check that the partition table and MBR is valid? Maybe you can dump them: gpart show /dev/daX --HPS -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Mar 17 16:37:05 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 2BAAFA98 for ; Tue, 17 Mar 2015 16:37:05 +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 111BD795 for ; Tue, 17 Mar 2015 16:37:05 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2HGb4KC059021 for ; Tue, 17 Mar 2015 16:37:04 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198647] MX-ES USB Drive by Mach Xtreme ILLEGAL REQUEST asc:21, 0 (Logical block address out of range) Date: Tue, 17 Mar 2015 16:37:05 +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: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cmbaker82@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: 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, 17 Mar 2015 16:37:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198647 --- Comment #5 from Chris Baker --- from within linux parted -l shows Model: MX MXUB3SES-8GB (scsi) Disk /dev/sdb: 7988MB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 1049kB 525MB 524MB primary xfs boot 2 525MB 7988MB 7463MB primary lvm from FreeBSD installation shell gpart show gives the following 63 15617985 da0 MBR (7.4G) 63 1985 - free - (993K) 2048 1024000 1 linux-data [active] (500M) 1026048 14575616 2 linux-lvm (7.0G) 15601664 16384 - free - (8.0M) -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Mar 17 17:20:21 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 2406D264 for ; Tue, 17 Mar 2015 17:20:21 +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 099CEC54 for ; Tue, 17 Mar 2015 17:20:21 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2HHKK2R035304 for ; Tue, 17 Mar 2015 17:20:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198647] MX-ES USB Drive by Mach Xtreme ILLEGAL REQUEST asc:21, 0 (Logical block address out of range) Date: Tue, 17 Mar 2015 17:20:21 +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: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cmbaker82@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: 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, 17 Mar 2015 17:20:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198647 --- Comment #6 from Chris Baker --- The results from gpart seems strange, the last section of free space seems to start after the end of the disk if I am interpreting the results right. If i plug the drive into windows and use R-Studio it lists the following partition info: Disk Start: 0 Size: 15601664 Secorts 1st Partition: Name: Partition2 Paritition Number: 0 Type: Unknown (0x8e) Offset: 1026048 Sectors Size: 14575616 Sectors 2nd Partition: Name: g: Type: Ext2FS/XIAFS Partition Number: 1 Offset: 2048 Sectors Size: 1024000 Sectors -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Mar 17 17:34:56 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 E4268683 for ; Tue, 17 Mar 2015 17:34:56 +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 C9701E58 for ; Tue, 17 Mar 2015 17:34:56 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2HHYuWq051373 for ; Tue, 17 Mar 2015 17:34:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198647] MX-ES USB Drive by Mach Xtreme ILLEGAL REQUEST asc:21, 0 (Logical block address out of range) Date: Tue, 17 Mar 2015 17:34:57 +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: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cmbaker82@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: 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, 17 Mar 2015 17:34:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198647 --- Comment #7 from Chris Baker --- gpart seems to be showing more sectors then it actually has, the first line from gpart: 63 15617985 lists the sector size right? gpart list shows the last sector as 15618047 and first sector as 63 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Wed Mar 18 07:15:31 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 5F2DF781 for ; Wed, 18 Mar 2015 07:15:31 +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 44AB9791 for ; Wed, 18 Mar 2015 07:15:31 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2I7FVeD023211 for ; Wed, 18 Mar 2015 07:15:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198647] MX-ES USB Drive by Mach Xtreme ILLEGAL REQUEST asc:21, 0 (Logical block address out of range) Date: Wed, 18 Mar 2015 07: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: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hselasky@FreeBSD.org 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: Wed, 18 Mar 2015 07:15:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198647 --- Comment #8 from Hans Petter Selasky --- Hi, The MBR given size is invalid: dec2hex(15617985) = EE4FC1 which is above EE1000. That's most likely why the disk is not working. Try correcting that first. --HPS -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Wed Mar 18 07:27: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 55D7C96D for ; Wed, 18 Mar 2015 07:27: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 3B2708BC for ; Wed, 18 Mar 2015 07:27: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 t2I7REc8034800 for ; Wed, 18 Mar 2015 07:27:14 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 198647] MX-ES USB Drive by Mach Xtreme ILLEGAL REQUEST asc:21, 0 (Logical block address out of range) Date: Wed, 18 Mar 2015 07:27:15 +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: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: New 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, 18 Mar 2015 07:27:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198647 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 Mar 18 08:17:38 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 E9109270; Wed, 18 Mar 2015 08:17:38 +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 A5595E7A; Wed, 18 Mar 2015 08:17:38 +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 B8DBF1FE023; Wed, 18 Mar 2015 09:17:36 +0100 (CET) Message-ID: <550934CE.9030607@selasky.org> Date: Wed, 18 Mar 2015 09:18:22 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Gokul Krishna Subject: Re: GSoC 2015: USB-Front end driver References: <54FB120C.7080707@selasky.org> <54FB132E.9070901@selasky.org> <550683AF.1010007@selasky.org> <550708B0.8010601@selasky.org> In-Reply-To: <550708B0.8010601@selasky.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, 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: Wed, 18 Mar 2015 08:17:39 -0000 Hi, When you are ready you should register your proposal at: http://www.google-melange.com/gsoc/homepage/google/gsoc2015 You might want to send me a copy for review before doing that. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Mar 18 10:19: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 8888FF86; Wed, 18 Mar 2015 10:19:26 +0000 (UTC) Received: from mail-lb0-x22f.google.com (mail-lb0-x22f.google.com [IPv6:2a00:1450:4010:c04::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 05EC2F23; Wed, 18 Mar 2015 10:19:26 +0000 (UTC) Received: by lbblx11 with SMTP id lx11so3821729lbb.3; Wed, 18 Mar 2015 03:19:23 -0700 (PDT) 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=Z004UYGTgPARc4oKxSddnPFEDzLP2y/59lO6gSEN+ZE=; b=bT8s5szzv32WiuRHYl2sbIRoeEG/Ukr2hMziRGBDcCU2PxtTL4D4Q5QgD1rRS8j8ud PdHMy3sxUqjRONt1dERBWZSlHUuXB87eOk652bRVrFmGdcvXiudeWUfS4uQMKhdNcCGP q7TkGiYBUxhFvewphB4FPckaLElsAH1xY4MUN7KHux+fLZmMXisej5Fdah12K+dzwC1Z N3XVrzJgSxk8sWe1RLqcZckQj4IWTexP7ikU+Y6l1Q7E/J3EavAKYhIaC62viJKvQasS AM/5/4VPPBLHcVLTdwS5Xv3dwor17LIcVfsG/zDNeXsTrZOTgEobHXLKlEZ/TNYl4r9m IGOg== MIME-Version: 1.0 X-Received: by 10.152.10.209 with SMTP id k17mr33914075lab.50.1426673963420; Wed, 18 Mar 2015 03:19:23 -0700 (PDT) Received: by 10.112.157.136 with HTTP; Wed, 18 Mar 2015 03:19:23 -0700 (PDT) In-Reply-To: <550934CE.9030607@selasky.org> References: <54FB120C.7080707@selasky.org> <54FB132E.9070901@selasky.org> <550683AF.1010007@selasky.org> <550708B0.8010601@selasky.org> <550934CE.9030607@selasky.org> Date: Wed, 18 Mar 2015 10:19:23 +0000 Message-ID: Subject: Re: GSoC 2015: USB-Front end driver From: Gokul Krishna To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-hackers@freebsd.org, 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: Wed, 18 Mar 2015 10:19:26 -0000 Hi Sure I will do that. I watched the video on USB stack on freeBSD and I could able understand those USB data transfer management constructs and other things explained . I also checked the vusb-analyser which is a Virtual USB Bus-analyser and understood certain debugging things that it gives information of data including device address from device descriptor and amount of data transfer from interface and endpoint (In and Out buffers) descriptors data structures . The aim of the project is to convert XEN USB device model( made with Linux requirement ) into something compatible with FreeBSD USB Stack. I also try to see things on para-virtualised XEN USB . I found the appropriate front-end driver source tree in slide number 7 in the below pdf link. http://www-archive.xenproject.org/files/xensummit_oracle09/PVUSB.pdf (please give your suggestions and comments and will i have access to see this code) I think i need to go through this particular source code to find my precise task So I will have more clarity in planning the list of milestone tasks for mid-term deliverables toll gate and final deliverables toll gates which i need to get reviewed from you before applying the proposal. I also need to discuss these things in skype thanks and regards Gokul On Wed, Mar 18, 2015 at 8:18 AM, Hans Petter Selasky wrote: > Hi, > > When you are ready you should register your proposal at: > > http://www.google-melange.com/gsoc/homepage/google/gsoc2015 > > You might want to send me a copy for review before doing that. > > --HPS > From owner-freebsd-usb@FreeBSD.ORG Wed Mar 18 10:24:01 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 4FAF11A6; Wed, 18 Mar 2015 10:24:01 +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 099FFFFC; Wed, 18 Mar 2015 10:24:00 +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 A33A11FE023; Wed, 18 Mar 2015 11:23:58 +0100 (CET) Message-ID: <5509526C.8050000@selasky.org> Date: Wed, 18 Mar 2015 11:24:44 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Gokul Krishna Subject: Re: GSoC 2015: USB-Front end driver References: <54FB120C.7080707@selasky.org> <54FB132E.9070901@selasky.org> <550683AF.1010007@selasky.org> <550708B0.8010601@selasky.org> <550934CE.9030607@selasky.org> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, 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: Wed, 18 Mar 2015 10:24:01 -0000 Hi, On 03/18/15 11:19, Gokul Krishna wrote: > Hi > Sure I will do that. > I watched the video on USB stack on freeBSD and I could able understand > those USB data transfer management constructs and other things explained . > I also checked the vusb-analyser which is a Virtual USB Bus-analyser and > understood certain debugging things that it gives information of data > including device address from device descriptor and amount of data transfer > from interface and endpoint (In and Out buffers) descriptors data > structures . Another idea might be to implement a USB backend for Wireshark. It also can understand USB transactions! > > The aim of the project is to convert XEN USB device model( made with Linux > requirement ) into something compatible with FreeBSD USB Stack. Right! > > I also try to see things on para-virtualised XEN USB . I found the > appropriate front-end driver source tree in slide number 7 in the below pdf > link. > http://www-archive.xenproject.org/files/xensummit_oracle09/PVUSB.pdf > (please give your suggestions and comments and will i have access to see > this code) > I think i need to go through this particular source code to find my precise > task > > So I will have more clarity in planning the list of milestone tasks for > mid-term deliverables toll gate and final deliverables toll gates which i > need to get reviewed from you before applying the proposal. When you have something ready, just contact me off-list and I'll give it a review. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Mar 19 08:10:53 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 664744CD for ; Thu, 19 Mar 2015 08:10:53 +0000 (UTC) Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E9C4789F for ; Thu, 19 Mar 2015 08:10:52 +0000 (UTC) Received: by wgdm6 with SMTP id m6so55405654wgd.2 for ; Thu, 19 Mar 2015 01:10:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:user-agent:mime-version :content-type; bh=wjtTKrMMmXWK8PikIb7zsWyQ0W2TNvbVeHagMG7xgcA=; b=bVZfvAVG+4jaAIE67LixETAw7uhMq14sstwAU3nkrd7mAJ2MwAnPDP8BrU6SVczhfk G8trp6MDRfUQ+VsI98geUcBxiA15DWGAZk6163L4m1d8K3TV5pIolQgpod52I6PkkQ0M 8BvUnPJ4A2pvpQeh0dwRiOQj+qw50dUq4oc8bSrxzL77VTNm8ifQDgDDQO9D16PMINMa U3R1fLHx13YTaApaiEjB0h9D0+7Xtv7/qBRuIDnUcqtJdYylcSay5d2R2Mu5o2Ti3vz8 ecjc0jgv1CJjCIfifVZijSagY0xVYyes1luFgH+ewgEIM/5IoI7l7YqykOPr+84CxsyS UlAQ== X-Received: by 10.180.96.136 with SMTP id ds8mr13697347wib.47.1426752651300; Thu, 19 Mar 2015 01:10:51 -0700 (PDT) Received: from therion.localdomain (d51A4B2AE.access.telenet.be. [81.164.178.174]) by mx.google.com with ESMTPSA id ga8sm1396893wib.11.2015.03.19.01.10.50 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Mar 2015 01:10:50 -0700 (PDT) Date: Thu, 19 Mar 2015 09:10:35 +0100 (CET) From: Miltiadis Margaronis X-X-Sender: miltux@therion.localdomain To: miguelmclara@gmail.com Subject: Re: Support for RTL8153 (USB 3.0 Ethernet) Message-ID: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII 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: Thu, 19 Mar 2015 08:10:53 -0000 Hi, In my case it worked as a normal Ethernet CDC device using the second configuration. If you still happen to have this device around, you can try usbconfig -d ugenX.Y set_config 1 After entering this, I got a normal ueX device which worked for the short time I used it. Please cc me, I am not subscribed. HTH, -- Miltos From owner-freebsd-usb@FreeBSD.ORG Thu Mar 19 18:01:55 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 F0359EA4 for ; Thu, 19 Mar 2015 18:01:54 +0000 (UTC) Received: from mail-we0-x232.google.com (mail-we0-x232.google.com [IPv6:2a00:1450:400c:c03::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 598EFBD4 for ; Thu, 19 Mar 2015 18:01:54 +0000 (UTC) Received: by webcq43 with SMTP id cq43so63862286web.2 for ; Thu, 19 Mar 2015 11:01:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:user-agent:mime-version:message-id :in-reply-to:references:content-type:content-transfer-encoding; bh=0Eqey4sJSTF5M+HGvXQIKVE5Nm7hHSrejGJhW5aH8f4=; b=JraXI1t8Jdgz0tn1ATICmM5N4kj9R7k9SLh4Ze04N302yXbxLJkuYLYUDs/6MmtUP3 HDxyUJZixTAvXiV/zzATf5IUAIK+Nqi+V8yuVCal1FSiLUHOSvqI07l9iy3U8GElIAmW PkKA9bfJwJY72BzZ2HB5+9tb9Wqh/nU9cvRihg2yVctOLsddU1TAxyX9OwGxAgpfDs6U kYLXnZhY1mM9tuAjDPRWaUeUP6XDgnb+Gjfhg34QqcbnQI0OPDvCD3PpRhfunrSaYszl IVnTNsZq0ofUqV15o/vbjEVazineUD4Zz/QzzLqcLKKqe9ByyrXK9FzwupisCvtl/Kvy 45bw== X-Received: by 10.194.47.201 with SMTP id f9mr151444762wjn.17.1426788112769; Thu, 19 Mar 2015 11:01:52 -0700 (PDT) Received: from localhost (155.40.114.89.rev.vodafone.pt. [89.114.40.155]) by mx.google.com with ESMTPSA id l4sm3440275wiw.6.2015.03.19.11.01.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Mar 2015 11:01:51 -0700 (PDT) From: Miguel Clara To: Miltiadis Margaronis Subject: Re: Support for RTL8153 (USB 3.0 Ethernet) Date: Thu, 19 Mar 2015 18:02:13 +0000 User-Agent: Trojita/0.5-git; Qt/5.4.1; xcb; AnyBSD4.4FreeBSD; MIME-Version: 1.0 Message-ID: In-Reply-To: References: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable 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: Thu, 19 Mar 2015 18:01:55 -0000 On quinta-feira, 19 de Mar=C3=A7o de 2015 08:10:35 WET, Miltiadis Margaronis=20= wrote: > Hi, > > In my case it worked as a normal Ethernet CDC device using the=20 > second configuration. If you still happen to have this device=20 > around, you can try > > usbconfig -d ugenX.Y set_config 1 > > After entering this, I got a normal ueX device which worked for=20 > the short time I used it. > > Please cc me, I am not subscribed. > > HTH, This is cool, I have "dodocool" around which I wasn't use much more than=20 for a usb SWITCH, but I have an Acer Laptop with wireless only, and I=20 didn't know I could use ue driver for this (I never really tried but its=20 sure nice to know). The only issue I find is that it seems to topspeed a bit higher then=20 100Mbps Client connecting to yoda, TCP port 5001 TCP window size: 32.5 KByte (default) ------------------------------------------------------------ [ 3] local 1.1.1.1 port 24383 connected with 1.1.1.2 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 143 MBytes 120 Mbits/sec ------------------------------------------------------------ Client connecting to yoda, TCP port 5001 TCP window size: 1.00 MByte (WARNING: requested 1.00 MByte) ------------------------------------------------------------ [ 3] local 1.1.1.1 port 24424 connected with 1.1.1.2 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 135 MBytes 114 Mbits/sec I'm assuming this is just because ue is not ready to handle more then that,=20= but it would be nice if it could go close to the 1Gbits. Not something I would consider priority though as this devices are probably=20= only used as a alternative to main cards, and its far better than what I=20 got with USB Wireless cards do the the fact that there's no 11n support on=20= those,, so I'm happy with this. Many thanks for sharing the 'usbconfig -d ugenX.Y set_config 1' trick. --=20 ----------------------------------------------- Miguel Clara IT - Sys Admin & Developer From owner-freebsd-usb@FreeBSD.ORG Thu Mar 19 18:06:05 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 4B687313 for ; Thu, 19 Mar 2015 18:06:05 +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 093A5C63 for ; Thu, 19 Mar 2015 18:06:04 +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 8CB9A1FE023; Thu, 19 Mar 2015 19:05:56 +0100 (CET) Message-ID: <550B1032.4000008@selasky.org> Date: Thu, 19 Mar 2015 19:06:42 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Miguel Clara , Miltiadis Margaronis Subject: Re: Support for RTL8153 (USB 3.0 Ethernet) References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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: Thu, 19 Mar 2015 18:06:05 -0000 On 03/19/15 19:02, Miguel Clara wrote: > On quinta-feira, 19 de Março de 2015 08:10:35 WET, Miltiadis Margaronis > wrote: >> Hi, >> >> In my case it worked as a normal Ethernet CDC device using the second >> configuration. If you still happen to have this device around, you can >> try >> >> usbconfig -d ugenX.Y set_config 1 >> >> After entering this, I got a normal ueX device which worked for the >> short time I used it. >> >> Please cc me, I am not subscribed. >> >> HTH, > > This is cool, I have "dodocool" around which I wasn't use much more than > for a usb SWITCH, but I have an Acer Laptop with wireless only, and I > didn't know I could use ue driver for this (I never really tried but its > sure nice to know). > > The only issue I find is that it seems to topspeed a bit higher then > 100Mbps > > Client connecting to yoda, TCP port 5001 > TCP window size: 32.5 KByte (default) > ------------------------------------------------------------ > [ 3] local 1.1.1.1 port 24383 connected with 1.1.1.2 port 5001 > [ ID] Interval Transfer Bandwidth > [ 3] 0.0-10.0 sec 143 MBytes 120 Mbits/sec > > ------------------------------------------------------------ > Client connecting to yoda, TCP port 5001 > TCP window size: 1.00 MByte (WARNING: requested 1.00 MByte) > ------------------------------------------------------------ > [ 3] local 1.1.1.1 port 24424 connected with 1.1.1.2 port 5001 > [ ID] Interval Transfer Bandwidth > [ 3] 0.0-10.0 sec 135 MBytes 114 Mbits/sec > > > I'm assuming this is just because ue is not ready to handle more then > that, but it would be nice if it could go close to the 1Gbits. > > Not something I would consider priority though as this devices are > probably only used as a alternative to main cards, and its far better > than what I got with USB Wireless cards do the the fact that there's no > 11n support on those,, so I'm happy with this. > > Many thanks for sharing the 'usbconfig -d ugenX.Y set_config 1' trick. > Hi, The "ue" driver is located in sys/dev/usb/net/if_cdce.c and should possibly be tuned for super-speed to send and buffer more frames at a time. Also I think we need to implement lro in the RX patch. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Mar 20 17:04:17 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 02566437; Fri, 20 Mar 2015 17:04:17 +0000 (UTC) Received: from mail-lb0-x22d.google.com (mail-lb0-x22d.google.com [IPv6:2a00:1450:4010:c04::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 80B5F999; Fri, 20 Mar 2015 17:04:16 +0000 (UTC) Received: by lbbrr9 with SMTP id rr9so15379815lbb.0; Fri, 20 Mar 2015 10:04:14 -0700 (PDT) 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=YrYFxk+4QjWIgxzMYwIu7NTeh6qyV6LHAYKou6ygW5I=; b=j8h1KDN9WblNEinhYnVleroNfQWmW4g5YZnxLoGZhbx4x1qvfXqeT04EQqk4OVtrFk WqPvgALupo24HIEzKXmU5yRTCqQGKISla+OPMOc6BQwejV49Bs1GjZpJVF8RRnB9sQvm tCBrBLw+my2rXoWDx2C+v1bMh2xf8nIAVu2suibkD/8XC3cwS6PrqD6za62yQktBtdmY 1gmSBBwtvPxWRwD9V9ttEtDxkXjcElTat47EgwRPqd5lbkIaDDHFa2Q+WkthhS4yU8Y3 G3dgn7kjotzg1DVglxaAaE4PYu3bJfOgCwFfi/zoVPsDpwaveWL4xl0ccb6LG1k/6dou zNtw== MIME-Version: 1.0 X-Received: by 10.152.120.202 with SMTP id le10mr59371712lab.115.1426871054402; Fri, 20 Mar 2015 10:04:14 -0700 (PDT) Received: by 10.112.157.136 with HTTP; Fri, 20 Mar 2015 10:04:14 -0700 (PDT) In-Reply-To: <5509526C.8050000@selasky.org> References: <54FB120C.7080707@selasky.org> <54FB132E.9070901@selasky.org> <550683AF.1010007@selasky.org> <550708B0.8010601@selasky.org> <550934CE.9030607@selasky.org> <5509526C.8050000@selasky.org> Date: Fri, 20 Mar 2015 17:04:14 +0000 Message-ID: Subject: Re: GSoC 2015: USB-Front end driver From: Gokul Krishna To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-hackers@freebsd.org, 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: Fri, 20 Mar 2015 17:04:17 -0000 Hi I found these links usefull to understand some major API constructs for freebsd http://www.selasky.org/hans_petter/usb4bsd/index_Obj8_00.html with the vusb_analyser and enabling the usb_debug locks in usb_debug.c from this link of freebsd usb source tree http://svnweb.freebsd.org/base/head/sys/dev/usb/ and by testing with keyboard which is low speed interrupt transfer endpoint will i be able to see frames data transfer and debug lock messages , so i cud understand the source code functions related to USB stack (major API functions which i watched in your FreeBSD USB stack and in link i mentioned above) which i need to implement in Xen frontend code. Kindly i want to discuss these in skype . Could you please mention your convenient availability time. thanks and regards gokul On Wed, Mar 18, 2015 at 10:24 AM, Hans Petter Selasky wrote: > Hi, > > On 03/18/15 11:19, Gokul Krishna wrote: > >> Hi >> Sure I will do that. >> I watched the video on USB stack on freeBSD and I could able understand >> those USB data transfer management constructs and other things explained . >> I also checked the vusb-analyser which is a Virtual USB Bus-analyser and >> understood certain debugging things that it gives information of data >> including device address from device descriptor and amount of data >> transfer >> from interface and endpoint (In and Out buffers) descriptors data >> structures . >> > > Another idea might be to implement a USB backend for Wireshark. It also > can understand USB transactions! > > >> The aim of the project is to convert XEN USB device model( made with Linux >> requirement ) into something compatible with FreeBSD USB Stack. >> > > Right! > > >> I also try to see things on para-virtualised XEN USB . I found the >> appropriate front-end driver source tree in slide number 7 in the below >> pdf >> link. >> http://www-archive.xenproject.org/files/xensummit_oracle09/PVUSB.pdf >> (please give your suggestions and comments and will i have access to see >> this code) >> I think i need to go through this particular source code to find my >> precise >> task >> >> So I will have more clarity in planning the list of milestone tasks for >> mid-term deliverables toll gate and final deliverables toll gates which i >> need to get reviewed from you before applying the proposal. >> > > When you have something ready, just contact me off-list and I'll give it a > review. > > --HPS > >