[clug] Pipped at the post? - was A "mount" defeat

Daniel Pittman daniel at rimspace.net
Mon Oct 25 20:58:33 MDT 2010


Felix Karpfen <felix.karpfen at gmail.com> writes:
> On Fri, 22 Oct 2010 09:48:14 +1100, Alex Satrapa wrote:
>> On 22/10/2010, at 07:56 , Felix Karpfen wrote:
>>
>>> I would be grateful for pointers to what I need to look for - just to
>>> spare me from purchasing more duds.
>>
>> Logitech make a nice neat little four-port USB 2.0 powered hub[1]. It's
>> delivering enough current to charge my iPhone, not quite enough to
>> charge the iPad (but then the iPad wants 10W, and is shipped with a
>> custom charger which can deliver the above-standard current).
>
> I took the advice and achieved next to nothing.
>
> The score is that my daughter's "upteen-thousand dollars Mac" has no
> problems in finding and reading the content of my ($2.00) SD-Card reader.
> My computer - even with the help of the usb-hub - cannot find it.  The red
> light on the plugged-in SD-Card reader is on, but there is no trace of it
> under the /media directory.  And I do not know where else to look.
>
> The second output of dmesg (attached) remained unchanged when I ran the
> "mount" command.  However, my computer was not able to read the contents of
> the "memory stick" until it received the "mount" command.
>
> Buying a new computer seems a drastic remedy?

It is. :)  A better "drastic remedy" might be installing a fresh, clean
Ubuntu, Fedora, or other current OS, which should sort that out thoroughly for
you, given that...

[...]

> [  620.572348] usb 3-5.1: new high speed USB device using ehci_hcd and 
> address 5
> [  620.998794] usb 3-5.1: configuration #1 chosen from 1 choice
> [  620.999738] usb 3-5.1: New USB device found, idVendor=090c, 
> idProduct=1000
> [  620.999747] usb 3-5.1: New USB device strings: Mfr=1, Product=2, 
> SerialNumber=3
> [  620.999750] usb 3-5.1: Product: USB DISK
> [  620.999753] usb 3-5.1: Manufacturer: SMI Corporation
> [  620.999755] usb 3-5.1: SerialNumber: AA04012700035643

...wait, we just saw the device!

> [  621.137519] Initializing USB Mass Storage driver...
> [  621.139678] scsi0 : SCSI emulation for USB Mass Storage devices
> [  621.139892] usbcore: registered new interface driver usb-storage
> [  621.139900] USB Mass Storage support registered.
> [  621.139929] usb-storage: device found at 5
> [  621.139932] usb-storage: waiting for device to settle before scanning
> [  626.136261] usb-storage: device scan complete
> [  626.137352] scsi 0:0:0:0: Direct-Access     SMI      USB DISK         
> 1100 PQ: 0 ANSI: 0 CCS
> [  626.205356] **Driver 'sd' needs updating - please use bus_type 
> methods**
> [  626.208870] sd 0:0:0:0: [sda] 1957888 512-byte hardware sectors (1002 
> MB)
> [  626.209731] sd 0:0:0:0: [sda] Write Protect is off
> [  626.209739] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
> [  626.209742] sd 0:0:0:0: [sda] Assuming drive cache: write through
> [  626.212864] sd 0:0:0:0: [sda] 1957888 512-byte hardware sectors (1002 
> MB)
> [  626.213708] sd 0:0:0:0: [sda] Write Protect is off
> [  626.213716] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
> [  626.213719] sd 0:0:0:0: [sda] Assuming drive cache: write through
> [  626.213728]  sda: sda1
> [  626.214893] sd 0:0:0:0: [sda] Attached SCSI removable disk

...daw, and there it is, just waiting for someone to talk to it.  It even has
partitions and all.  So, whatever is going wrong isn't the USB layer at this
point in time: that worked, and the disk was there.

Do you see the bit where it identifies the device as 'sda'?  That will let you
identify where the device is connected in future, which is not assured to be
at the same location.

(As an aside, the lsscsi tool is another, easier way to get at that
 information, if it is packaged for your system.)

Once that is there you might try this:

    sudo file -s /dev/sda1  # substitute the right device name

Do that when the card is plugged in, and we will see what the filesystem is,
and if access to the device itself is possible. :)

        Daniel
-- 
✣ Daniel Pittman            ✉ daniel at rimspace.net            ☎ +61 401 155 707
               ♽ made with 100 percent post-consumer electrons


More information about the linux mailing list