All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Aleš Nesrsta" <starous@volny.cz>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: [RFT] Re: [Patch] [bug #26237] multiple problems with usb devices
Date: Wed, 02 Jun 2010 21:39:56 +0200	[thread overview]
Message-ID: <1275507597.4401.71.camel@pracovna> (raw)
In-Reply-To: <4C05C9AB.4010209@gmail.com>

Hi Vladimir,


Vladimir 'φ-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 = scsi->lun << GRUB_SCSI_LUN_SHIFT;
+   cbw.lun = 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





  reply	other threads:[~2010-06-02 19:40 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-14 22:23 [Patch] [bug #26237] multiple problems with usb devices Aleš Nesrsta
2010-04-02 20:46 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-07 19:49   ` Aleš Nesrsta
2010-04-07 20:39     ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-08 21:27       ` Aleš Nesrsta
2010-04-16 16:39         ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-20 20:14           ` Aleš Nesrsta
2010-04-24 19:50             ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-28  8:20               ` Aleš Nesrsta
2010-05-09 13:50                 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-21 23:46             ` Aleš Nesrsta
2010-05-22  1:20               ` Grégoire Sutre
2010-05-22  9:35               ` Colin Watson
2010-05-22 23:13               ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-23 10:27                 ` Aleš Nesrsta
2010-05-23 14:41                   ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-23 17:42                     ` Aleš Nesrsta
2010-05-23 18:40                       ` Thomas Schmitt
2010-05-23 17:51                     ` [Patch] [bug #26237] " Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-23 14:44                   ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-23 17:16                     ` Aleš Nesrsta
2010-05-23 19:35                       ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-23 20:41                         ` seth.goldberg
2010-05-25 18:58                         ` Aleš Nesrsta
2010-05-30 16:51                           ` Aleš Nesrsta
2010-05-30 22:26                             ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-31  4:16                               ` Seth Goldberg
2010-05-31 12:23                               ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-31 21:54                                 ` Aleš Nesrsta
2010-06-01  0:18                                   ` [RFT] " Vladimir 'φ-coder/phcoder' Serbinenko
2010-06-01 21:14                                     ` Aleš Nesrsta
2010-06-02  0:27                                       ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-06-02  3:02                                         ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-06-02 19:39                                           ` Aleš Nesrsta [this message]
2010-06-02 20:14                                             ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-06-03 11:47                                               ` Aleš Nesrsta
2010-06-12 17:05                                               ` [RFT] Re: [Patch] [bug #26237] multiple problems with usb devices - faster OHCI Aleš Nesrsta
2010-06-12 18:59                                                 ` Aleš Nesrsta
2010-06-13 17:47                                               ` [RFT] Re: [Patch] [bug #26237] multiple problems with usb devices Aleš Nesrsta
2010-06-21 20:24                                                 ` Aleš Nesrsta
2010-06-25 18:10                                                   ` Vladimir 'φ-coder/phcoder' Serbinenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1275507597.4401.71.camel@pracovna \
    --to=starous@volny.cz \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.