Hi,

I think if you can do some test to verify that where is fails
will help us to understand the problem.

Before you mount the file system, can you verify the block
device is usable?

You can do that by "dd if=/dev/sda of=/tmp/drivedump count=1024"

See you can read the content from the raw device or not.

If that success. Try "cat /proc/partitions".
See kernel can find the partition or not.

Then "dd if=/dev/sda1 of=/tmp/driver1 " to verify
the partition you want to mount is readable.

Is that any chance the linux kernel thing the CHS is different
from the one in windows so linux can't mount it right? Just
a guess.

Cheers

Chris

On Thu, Oct 31, 2002 at 08:35:45AM -0800, Gabor Toth wrote:
> Dear USB Users,
> 
> I need help from someone who has successfully used
> the "Travel Drive" USB Flash Memory Drive from DTK
> under Linux. According to the "manual" 
> it should work with Linux 2.4.X, 
> it contains a Sonix USB Flash memory controllet,
> it has 128Mbyte of NAND Flash memory.
> 
> I read a lot of web pages and failed to find relevant
> information before finally writing to this list.
> Generic success stories with other USB Flash memories
> did not help. I actually tried another USB Flash
> memory
> (Easydisk) and it worked right away. So the problem
> seems to be specific to this (class of) hardware.
> In essence everything works except for the mount
> command:
> 
> mount -t vfat /dev/sda1 /mnt/usb
> mount: wrong fs type, bad option, bad superblock on
> /dev/sda1, or too many mounted file systems
> 
> Meanwhile in /var/log/messages the following lines
> appear:
> 
> Oct 31 17:24:51 hermes kernel: Attached scsi removable
> disk sda at scsi1, channel 0, id 0, lun 0
> Oct 31 17:24:52 hermes kernel: SCSI device sda: 256000
> 512-byte hdwr sectors (131 MB)
> Oct 31 17:24:52 hermes kernel: sda: Write Protect is
> off
> Oct 31 17:24:52 hermes kernel:  sda: sda1 sda2 sda3
> sda4
> Oct 31 17:24:53 hermes kernel: FAT: bogus logical
> sector size 54341
> Oct 31 17:24:53 hermes kernel: VFS: Can't find a valid
> FAT filesystem on dev 08:01.
> Oct 31 17:25:32 hermes kernel: FAT: bogus logical
> sector size 65535
> Oct 31 17:25:32 hermes kernel: VFS: Can't find a valid
> FAT filesystem on dev 08:02.
> Oct 31 17:25:39 hermes kernel: FAT: bogus logical
> sector size 54341
> ...
> 
> Does anyone managed to solve a similar problem?
> 
> More details:
> 
> Under Windows 2000 the device works perfectly.
> Under Linux Redhat 7.3 (or even 8.0) it is 
> recognized, eg. /var/log/messages contains
> the following (after it is plugged in):
> 
> Oct 31 16:48:16 hermes /etc/hotplug/usb.agent: Setup  
>    usb-storage for USB product 14c2/1020/100
> Oct 31 16:48:16 hermes kernel: Initializing USB Mass  
>    Storage driver...
> Oct 31 16:48:16 hermes kernel: usb.c: registered new  
>    driver usb-storage
> Oct 31 16:48:16 hermes kernel: scsi1 : SCSI emulation 
>    for USB Mass Storage devices
> Oct 31 16:48:16 hermes kernel:   Vendor: DTK          
>    Model: Travel Drive      Rev:    ?
> Oct 31 16:48:16 hermes kernel:   Type:   Direct-Access
>                      ANSI SCSI revision: 02
> Oct 31 16:48:16 hermes kernel: USB Mass Storage
> support    registered.
> 
> I also have reasonably looking values in 
> /proc/bus/usb/devices:
> 
> 
> T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2
> Spd=12  MxCh= 0
> D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64
> #Cfgs=  1
> P:  Vendor=14c2 ProdID=1020 Rev= 1.00
> S:  Product=USB Mass Storage Device
> S:  SerialNumber=100000000000
> C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50
> Driver=usb-storage
> E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
> 
> The only thing that does not work is mounting the
> device.
> 
> Any help would be greatly appreciated,
> 
> Gabor
> 
> 
> __________________________________________________
> Do you Yahoo!?
> HotJobs - Search new jobs daily now
> http://hotjobs.yahoo.com/
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: Influence the future 
> of Java(TM) technology. Join the Java Community 
> Process(SM) (JCP(SM)) program now. 
> http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
> _______________________________________________
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-users




-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to