From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OJtnS-00053I-RE for mharc-grub-devel@gnu.org; Wed, 02 Jun 2010 15:40:14 -0400 Received: from [140.186.70.92] (port=33336 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJtnL-0004xc-SE for grub-devel@gnu.org; Wed, 02 Jun 2010 15:40:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJtnG-0003rh-Gy for grub-devel@gnu.org; Wed, 02 Jun 2010 15:40:07 -0400 Received: from smtp-out4.iol.cz ([194.228.2.92]:54524) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJtnG-0003pJ-2x for grub-devel@gnu.org; Wed, 02 Jun 2010 15:40:02 -0400 Received: from antivir6.iol.cz (unknown [192.168.30.215]) by smtp-out4.iol.cz (Postfix) with ESMTP id 90B81CE4EF5 for ; Wed, 2 Jun 2010 19:39:58 +0000 (UTC) Received: from localhost (antivir6.iol.cz [127.0.0.1]) by antivir6.iol.cz (Postfix) with ESMTP id 7663B720057 for ; Wed, 2 Jun 2010 21:39:58 +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 CW4-4HSu0q26 for ; Wed, 2 Jun 2010 21:39:58 +0200 (CEST) Received: from port3.iol.cz (unknown [192.168.30.93]) by antivir6.iol.cz (Postfix) with ESMTP id 449DA720055 for ; Wed, 2 Jun 2010 21:39:58 +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: Au4BALtPBkxVRnXk/2dsb2JhbAAHgxKBAcswkRSBJoMCbgQ Received: from 228.117.broadband3.iol.cz (HELO [192.168.6.160]) ([85.70.117.228]) by port3.iol.cz with ESMTP; 02 Jun 2010 21:39:57 +0200 From: =?UTF-8?Q?Ale=C5=A1?= Nesrsta To: The development of GNU GRUB In-Reply-To: <4C05C9AB.4010209@gmail.com> 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> <1274485618.18038.56.camel@pracovna> <4BF86523.4090509@gmail.com> <1274610426.5231.67.camel@pracovna> <4BF93F58.3080307@gmail.com> <1274634978.6742.13.camel@pracovna> <4BF9839A.2030704@gmail.com> <1274813892.18826.36.camel@pracovna> <1275238274.6704.21.camel@pracovna> <4C02E60A.3060407@gmail.com> <4C03AA29.2020807@gmail.com> <1275342853.4170.133.camel@pracovna> <4C0451C4.90409@gmail.com> <1275426853.4968.64.camel@pracovna> <4C05A579.7080106@gmail.com> <4C05C9AB.4010209@gmail.com> Content-Type: text/plain; charset=UTF-8 Date: Wed, 02 Jun 2010 21:39:56 +0200 Message-Id: <1275507597.4401.71.camel@pracovna> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: [RFT] 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: Wed, 02 Jun 2010 19:40:13 -0000 Hi Vladimir, Vladimir '=CF=86-coder/phcoder' Serbinenko wrote: > There were few special cases. (Hopefully) fixed and ccomitted into "usb= ". You are successful, great work, all devices are working (with some known exceptions on UHCI - see below in point 2.). But better will be if somebody else also tests more devices on both controllers. Some additional informations: 1. I found multi-LUN relatedproblem: I have one multi-LUN device - card reader - and I tried plug into it more than one card. In this case "ls" command reports bad number of filesystems (and also bad type of listed partition filesystem) on another than first LUN. It looks like that (not true copy of console): (usb0a) (usb0,msdos1) (usb0b,msdos1) It is bad because LUN usb0b has four partitions with ext2 filesystem. When I try for example "ls (usb0b,4)/", grub returns for the first try "error: unknown filesystem.", for second try grub does normal file list. (the same for another partitions, i.e. (usb0b,1), (usb0b,2), (usb0b,3)) The same configuration works fine under Linux and Windows. Oh, I find probably the mistake right now - there is missing my older small patch in usbms.c - there is fast "hand made" "patch", I have no more time, sorry: usbms.c, line 240: - cbw.lun =3D scsi->lun << GRUB_SCSI_LUN_SHIFT; + cbw.lun =3D scsi->lun; /* In USB MS CBW are LUN bits on another place than in SCSI CDB, both should be set correctly. */ 2. I found some other devices to test, now I have 13 USB MS bulk-only devices, each is from another manufacturer and there are approx. five different kinds of devices - flash disk, hard disk, card reader, camera, mobile phone. What is known but maybe interesting, three devices are not working at all on UHCI - but are working on OHCI (and under Linux / Windows they are also working) - as we discussed previously, it can be some problem with power or EHCI influence because it looks like device is not properly powered. UHCI-problematic devices are: Transcend SDHC card reader and two flash disks - EMTEC "lollipop" and PRETEC Bullet-Proof. One curiosity - cheap EMTEC "lollipop" USB flash disk has USB ID 0000:0000... (but it works on OHCI). 3. In Linux USB mass storage source is interesting link about problems with USB mass storage devices: http://www.one-eyed-alien.net/~mdharm/linux-usb (and inside http://www2.one-eyed-alien.net/~mdharm/linux-usb/target_offenses.txt ) In Linux source You can find also one interesting information - from some Intel chipset version there are new bits in UHCI hub port registers related to overcurrent (bits 10 & 11). But we currently don't care about overcurrent at all. 4. One really stupid question related to your older e-mail: What does mean "For this you can add a new field in "o"." ? It is something related to Bazaar branch ? Or to something in source code configuration etc. ? (I am totally unexperienced with bazaar and similar tools, the same with autogen and similar..., sorry.) That's all for now, there will be probably silent from me for some days... Best regards Ales