Re: Mass storage gadget: Unhandled error code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 3 Feb 2009, Silesh C V wrote:

> Hi all ,
> 
> I am trying to use an OMAP3430 (MUSB controller )based board as a
>  USB mass storage device.I am using  kernel 2.6.28 on the gadget side.
> Enumeration happens fine , the mass storage driver gets loaded and
> udev creates  the  /dev entry for the disk.But the disk(which is an MMC
> card plugged into the  board)

I guess you mean that the backing storage is an MMC card.

> does not get mounted and after some time
> the gadget gets reset.A manual mount hangs.I have tested this  with hosts
> running Linux 2.6.23, 2.6.26 , 2.6.29-rc3 and Windows.Please  see some
> debug messages from host/gadget below.I have attached an usbmon o/p also.

The logs indicate that your MMC card isn't working right.  Attempts to 
read sector 3967984 don't succeed, even though the kernel thinks the 
card has 3967992 sectors.  You can test this yourself from the 
command line on the gadget; just do:

	dd if=/dev/mmc... of=/dev/null count=1 skip=3967984

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux