On Fri, 20 Jan 2006, Bahadir Balban wrote:

> Hi,
> 
> I am testing a new hc driver. My intention is to mount a usb flash
> disk. The problem is that the device is recognised properly by the
> message:
> 
> usb 1-1.3: Product: DiskOnKey
> usb 1-1.3: Manufacturer: M-Sys
> usb 1-1.3: SerialNumber: 020DC31535004726
> scsi0 : SCSI emulation for USB Mass Storage devices
> ...
> Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
> Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
> 
> I can do fdisk /dev/sda to query partitions, create new ones etc. But
> I can't mount the disk. If I do:
> 
> mount -t ext3 /dev/sda1 /mnt/usbdisk.
> 
> The error message is:
> 
> / # mount -t ext3 /dev/sda1 /mnt/usbdisk/
> SCSI device sda: 239872 512-byte hdwr sectors (123 MB)
> sda: assuming Write Enabled
> sda: assuming drive cache: write through
> SCSI device sda: 239872 512-byte hdwr sectors (123 MB)
> sda: assuming Write Enabled
> sda: assuming drive cache: write through
>  sda: unknown partition table
> mount: /dev/sda1 is not a valid block device
> 
> My question is, what failing scsi comands or usb requests should I
> look for on the bus, to find out where the "unknown partition table"
> problem comes from?

What makes you think there are any failing commands?  Probably the 
commands succeed and the data is no good.  See where the log says "unknown 
partition table"?

What do you get from "dd if=/dev/sda count=1 | hexdump -C"?

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
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to