Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OFbvn-0002NO-Qz for mharc-grub-devel@gnu.org; Fri, 21 May 2010 19:47:07 -0400 Received: from [140.186.70.92] (port=50212 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFbvl-0002LZ-4t for grub-devel@gnu.org; Fri, 21 May 2010 19:47:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFbvj-00005s-0I for grub-devel@gnu.org; Fri, 21 May 2010 19:47:04 -0400 Received: from smtp-out4.iol.cz ([194.228.2.92]:48987) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFbvi-00005R-NX for grub-devel@gnu.org; Fri, 21 May 2010 19:47:02 -0400 Received: from antivir6.iol.cz (unknown [192.168.30.215]) by smtp-out4.iol.cz (Postfix) with ESMTP id 8B568CE49E9 for ; Fri, 21 May 2010 23:46:59 +0000 (UTC) Received: from localhost (antivir6.iol.cz [127.0.0.1]) by antivir6.iol.cz (Postfix) with ESMTP id 78C0C720057 for ; Sat, 22 May 2010 01:46:59 +0200 (CEST) X-Virus-Scanned: amavisd-new at iol.cz Received: from antivir6.iol.cz ([127.0.0.1]) by localhost (antivir6.iol.cz [127.0.0.1]) (amavisd-new, port 10224) with LMTP id 8rLVyNTZEAMD for ; Sat, 22 May 2010 01:46:59 +0200 (CEST) Received: from port4.iol.cz (unknown [192.168.30.94]) by antivir6.iol.cz (Postfix) with ESMTP id 4FB2A720055 for ; Sat, 22 May 2010 01:46:59 +0200 (CEST) X-SBRS: None X-SBRS-none: None X-RECVLIST: MTA-OUT-IOL X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqkCACK49ktVRnXk/2dsb2JhbAAHhBPZeIJ2AYIbBA Received: from 228.117.broadband3.iol.cz (HELO [192.168.6.160]) ([85.70.117.228]) by port4.iol.cz with ESMTP; 22 May 2010 01:46:59 +0200 From: =?UTF-8?Q?Ale=C5=A1?= Nesrsta To: The development of GNU GRUB In-Reply-To: <1271794445.4221.93.camel@pracovna> References: <1268605383.2839.26.camel@homenes1> <4BB657BB.60801@gmail.com> <1270669741.2732.129.camel@homenes1> <4BBCED68.3080900@gmail.com> <1270762038.2730.37.camel@homenes1> <4BC892C3.3090507@gmail.com> <1271794445.4221.93.camel@pracovna> Content-Type: text/plain Date: Sat, 22 May 2010 01:46:57 +0200 Message-Id: <1274485618.18038.56.camel@pracovna> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: [Patch] [bug #26237] multiple problems with usb devices X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2010 23:47:06 -0000 Hi Vladimir, I have some news - I made extensive testing and researching and I discovered some things related to OHCI and generally to USB MS or USB itself. I tried to fix them and it looks like I was probably successful in some cases: - multiple LUNs related bug (meaning of value from device & coding into CBW) - bulk transport toggling related bug - on devices with endpoints with the same "low" nuber (e.g. 01 & 81) - bug related to devices with max. packet size for control pipe 0 lower than 64 - problem with one kind of OHCI BIOS legacy support maybe solved - another bug - some devices hangs because of Bulk-only Mass Storage Reset used during opening when it is not expected by device - my OHCI done-head loop should not hang anymore - timeout was added - "ls" should not hang anymore on USB MS device with not ready unit - timeout was added in SCSI open unit ready loop - experimentally added support for another subclasses of USB MS devices (as all are SCSI based - it possibly should work, at least it is working with one my device with subclass SFF-8070i - but I don't have another devices to test) In fact, all my USB MS devices are working now with grub2 with exception of one camera which have not Bulk-Only but CBI protocol. What I was not solved till now: - Some devices are not working on UHCI - If I connect some device and load uhci module, I cannot connect another device without rebooting. On OHCI it is possible without rebooting in this sequence: rmmod usbms rmmod ohci (unplug old device and plug new one) insmod ohci insmod usbms - It looks like my OHCI is not properly reporting STALL state of pipe - it is probably reason why done-head loop hanged if some problem happened in communication. I want to prepare patch and send it here but I cannot get actual bzr code. I would want have it at least because grub_memalign problem is not solved in last grub version wich I have (1.98) and I have to solve it by some workarounds (maybe it is also reason why UHCI does not work properly on my computer, I did not any workaround in its code yet). I cannot get actual bzr code because of this error: $ bzr get http://bzr.savannah.gnu.org/r/grub bzr: ERROR: Not a branch: "http://bzr.savannah.gnu.org/r/grub/.bzr/branch/". I tried to found some advice in man bzr and forums but I was not successful. It looks like problem is that there is really not existing folder ".../r/.bzr/branch" (I found "branch-lock" and "repository" only) - should I use some another address or some option ? Do You have some experiences with such problem ? Could You put me in right direction...? (I tried to download CVS source code - it works - but it looks outdated. I also tried register ssh public code and made access via ssh to sftp://starous@bzr.savannah.gnu.org/srv/bzr/grub - but I cannot login, there is ssh debug message that it is not possible to find authentication method...) Best regards Ales