On Fri, 20 Jan 2006, Bahadir Balban wrote:

> Hi,
> 
> % dd if=/dev/sda count=1 | hexdump
> 
> gives all zeroes. If I increase count, occasionally some data shows up
> which isn't meaningful ascii, but mostly zero.

If you really do get all zeros then the partition sector is empty.  Hence 
there are no partitions.

>  The same flashdisk
> mounts fine on a known-to-work platform, and shows the same output for
> the above command.

Does the known-to-work platform use Linux?  What does it show for
"fdisk -l /dev/sda"?

> Also below is what I get from usb-storage when I type the above
> command on the platform that fails mounting.

It shows no errors; everything is normal.

> Do you have a suggestion for what to check? Since the drive mounts
> fine on a host controller that works, I guess it's not the partition
> table I need to inspect?

Good grief, what makes you think the host controller isn't working?  If 
that were true you wouldn't be able to use the device at all.  You 
certainly wouldn't be able to run "dd" on it.

Yes, it is the partition table you need to inspect.

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to