ts-7000
[Top] [All Lists]

[ts-7000] USB sticks w/FAT32 mounting re-hash

To:
Subject: [ts-7000] USB sticks w/FAT32 mounting re-hash
From: "safetran_tom" <>
Date: Fri, 16 Nov 2007 01:45:53 -0000
Unable to get OTS (off the shelf) sticks to mount (Auto or 
otherwise).  Seems I get inconsistant results even with the same 
device!
I have searched thru the post using 'USB mount' & 'USB' and have 
gotten hints but without success.

Basically, the device partiton info is not being recognized as it 
should.  The device is handled fine in windows XP.

The board is a TS-7300 with a Debian distro. More info follows:

Did modprobe for vfat, usb-storage, & usbserial
Then dmesg shows

Linux version 2.4.26-ts11  (gcc version 3.3.4) #35 
Thu Jul 6 15:44:29 MST 2006
CPU: Arm920Tid(wb) revision 0
Machine: ep9301
...(lines deleted)
Kernel command line: root=/dev/ram0 init=/linuxrc console=null 
loops=499712
Relocating machine vectors to 0xffff0000
Console: colour dummy device 80x30
99.94 BogoMIPS
Memory: 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 
8MB = 128MB total
Memory: 121852KB available (1098K code, 327K data, 64K init)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: Testing write buffer: pass
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch 
devfs: boot_options: 0x1
ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA
ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA
ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA
pty: 1024 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ 
enabled
Real Time Clock Driver v1.10f
ep93xx_eth() version: ep93xx_eth.c: V1.0 09/04/2003 Cirrus Logic
RAMDISK driver initialized: 16 RAM disks of 12288K size 1024 
blocksize
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.97 (double precision)
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 1024 blocks [1 disk] into ram disk... done.
Freeing initrd memory: 4096K
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Freeing init memory: 64K
Warning: unable to open an initial console.
sdcard0: Technologic Systems SD card controller, address 0x13000000
sdcard0: card size 978944 sectors
Partition check:
 sdcard0a: p1 p2 p3
Detected 640x480 video core
Console: switching to colour frame buffer device 80x30
fb0: TS-7300 frame buffer device
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xe0020000, IRQ 56
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <>
hid-core.c: USB HID support drivers
TS-UART/7300 detected a TS-7300 board
registering c038ed60,c038ee60
ttyT8S0 at MMIO 0x72000000 (irq = 40) is a TSUART
...(lines deleted)
ttyT9S7 at MMIO 0x7200001c (irq = 40) is a TSUART
sdcard1: Technologic Systems SD card controller, address 0x72000020
sdcard1: no card found
eth1: Open Ethernet Core Version 1.0
zd1211 - http://zd1211.ath.cx/ - r83
Based on www.zydas.com.tw driver version 2.5.0.0
usb.c: registered new driver zd1211
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.

(Inserted thumb drive)

hub.c: new USB device not_pci-3, assigned address 2
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: USB007    Model: mini-USBTX        Rev: 100 
  Type:   Direct-Access                      ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 128928 512-byte hdwr sectors (66 MB)
sda: Write Protect is off
 /dev/scsi/host0/bus0/target0/lun0: unknown partition table
FAT: bogus logical sector size 65535
VFS: Can't find a valid FAT filesystem on dev 08:00.

:lun0# dmesg | tail

USB Mass Storage support registered.
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
hub.c: new USB device not_pci-3, assigned address 2
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: USB007    Model: mini-USBTX        Rev: 100 
  Type:   Direct-Access                      ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2

:root# lsmod

Module                  Size  Used by    Not tainted
usbserial              18824   0  (unused)
usb-storage            55910   0  (unused)
scsi_mod               53820   1  [usb-storage]
vfat                   10152   0  (unused)
fat                    29620   0  [vfat]
af_packet               9456   0 
zd                    264068   0  (unused)
open_eth                4448   0  (unused)
tsuart-73               1380   0  (unused)
tsuart0                 9128   0  [tsuart-73]
keybdev                 1772   0  (unused)
hid                    13520   0  (unused)
input                   3320   0  [keybdev hid]
usb-ohci-ep93xx          632   0  (unused)
usb-ohci               15360   0  [usb-ohci-ep93xx]
usbcore                55728   1  [usbserial usb-storage zd hid usb-
ohci]
pcipool                 1888   1  [usb-ohci-ep93xx usb-ohci]
ts7300fb                3944  63 
fbcon-cfb16             3528   0  [ts7300fb]
fbgen                   2944   0  [ts7300fb]
sdcard0                12248   1 

:root# ls -l /dev/sda

lr-xr-xr-x  1 root root 33 Nov 15 21:55 /dev/sda -> 
scsi/host0/bus0/target0/lun0/disc

:root# cd /dev/scsi/host0/bus0/target0/lun0
:lun0# ls -al

total 0
drwxr-xr-x  1 root root    0 Dec 31  1969 ./
drwxr-xr-x  1 root root    0 Dec 31  1969 ../
brw-rw----  1 root disk 8, 0 Dec 31  1969 disc

:lun0# dosfsck -r /dev/sda

dosfsck 2.11, 12 Mar 2005, FAT32, LFN
Currently, only 1 or 2 FATs are supported, not 109.

:lun0# mount -t vfat /dev/sda /mnt/my_usb

mount: wrong fs type, bad option, bad superblock on /dev/sda,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

:lun0# dmesg | tail

  Vendor: USB007    Model: mini-USBTX        Rev: 100 
  Type:   Direct-Access                      ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 128928 512-byte hdwr sectors (66 MB)
sda: Write Protect is off
 /dev/scsi/host0/bus0/target0/lun0: unknown partition table
FAT: bogus logical sector size 12336
VFS: Can't find a valid FAT filesystem on dev 08:00.

:lun0#  

Any help will be immensely appreciated!



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU