ts-7000
[Top] [All Lists]

[ts-7000] Re: FAT USB memory stick

To:
Subject: [ts-7000] Re: FAT USB memory stick
From: "marcolamonato" <>
Date: Thu, 05 Jul 2007 06:22:14 -0000
Thnaks for your report, but I'd like to have it working with the 
standard 2.4 kernel and a common usb memory stick.

I really don't know why it has 4 partitions, it's probably due to the 
issue it's having in recognizing the usb.

Marco





--- In  Triffid Hunter <> 
wrote:
>
> 
> 
> On Wed, 4 Jul 2007, marcolamonato wrote:
> 
> > Kevin,
> >
> > Thanks, for your help and for telling me the link, but I've not 
yet
> > get through it.
> >
> > I have the standard ts-11 on my TS-7250, no custom script or
> > something different from the shipped setup.
> >
> > The modules seem to be all ready to go, whit no issue, I use
> > loadUSBModules.sh to start them in their proper order (as I read 
that
> > sometimes the order might affect their behaviour)
> >
> > I tried with a working usb stick, while in windows it doen't have 
any
> > kind of problems, also in Ubuntu6 it does the job flawlessly.
> >
> > When I attach it to the board, the TS sees it, but it's not able 
to
> > mount it due to a failure in reading the filesystem from what I
> > understand. I have another usb memory (this one is from TS and has
> > Debian in it) with ext2 filesystem and it works fine.
> >
> > I really think there is something wrong with the filesystem 
format of
> > my stick and it changes from FAT format to FAT32 format as you can
> > see below...
> >
> > Here some code a captured:
> [snip]
> > /dev/scsi/host0/bus0/target0/lun0: p1 p2 p3 p4
> 
> why does your usb stick have 4 partitions?
> 
> > $ mount -t vfat /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/usb
> > mount: Mounting /dev/scsi/host0/bus0/target0/lun0/part1 
on /mnt/usb
> > failed: Invalid argument
> 
> maybe you don't have the required charsets? Also, I've found that a 
few 
> usb keys do all sorts of strange things in linux even when most 
work just 
> fine
> 
> > I/O error: dev 08:01, sector 0
> > FAT: unable to read boot sector
> 
> that's not good.. looks like your usb drivers aren't working 
properly or 
> something
> 
> > Thanks,
> > Marco
> 
> the 2.6.21 kernel and userspace I made for my ts-7250 has zero 
problems 
> mounting my usb key:-
> 
> ts7250 ~ $ uname -a
> Linux ts7250 2.6.21-gentoo-ts7250 #5 PREEMPT Mon Jul 2 17:22:27 EST 
2007 
> armv4tl unknown
> <plug in key>
> ts7250 ~ $ dmesg | tail -n40
> Freeing init memory: 92K
> hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0002
> ep93xx-ohci ep93xx-ohci: GetStatus roothub.portstatus [0] = 
0x00010101 CSC 
> PPS CCS
> hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
> hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
> ep93xx-ohci ep93xx-ohci: GetStatus roothub.portstatus [0] = 
0x00100103 
> PRSC PPS PES CCS
> usb 1-1: new full speed USB device using ep93xx-ohci and address 2
> ep93xx-ohci ep93xx-ohci: GetStatus roothub.portstatus [0] = 
0x00100103 
> PRSC PPS PES CCS
> usb 1-1: default language 0x0409
> usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=3
> usb 1-1: Product: USB DISK
> usb 1-1: Manufacturer: SMI Corporation
> usb 1-1: SerialNumber: AA04012706087
> usb 1-1: uevent
> usb 1-1: usb_probe_device
> usb 1-1: configuration #1 chosen from 1 choice
> usb 1-1: adding 1-1:1.0 (config #1, interface 0)
> usb 1-1:1.0: uevent
> usb-storage 1-1:1.0: usb_probe_interface
> usb-storage 1-1:1.0: usb_probe_interface - got id
> scsi0 : SCSI emulation for USB Mass Storage devices
> usb-storage: device found at 2
> usb-storage: waiting for device to settle before scanning
> /root/armroot-eabi/usr/src/linux-2.6.21-
gentoo/drivers/usb/core/inode.c: 
> creating file '002'
> hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0002
> scsi 0:0:0:0: Direct-Access     USB      Flash Disk       3000 PQ: 
0 ANSI: 
> 0 CCS
> SCSI device sda: 252928 512-byte hdwr sectors (129 MB)
> ep93xx-ohci ep93xx-ohci: urb c05c82c0 path 1 ep1in 92120000 cc 9 --
> 
> status -121
> sda: Write Protect is off
> sda: Mode Sense: 43 00 80 00
> sda: assuming drive cache: write through
> SCSI device sda: 252928 512-byte hdwr sectors (129 MB)
> ep93xx-ohci ep93xx-ohci: urb c05c82c0 path 1 ep1in 92120000 cc 9 --
> 
> status -121
> sda: Write Protect is off
> sda: Mode Sense: 43 00 80 00
> sda: assuming drive cache: write through
>   sda: sda1
> sd 0:0:0:0: Attached scsi removable disk sda
> usb-storage: device scan complete
> 
> ts7250 ~ $ mkdir /mnt/usbkey
> ts7250 ~ $ mount -t vfat /dev/sda1 /mnt/usbkey
> ts7250 ~ $ mount
> ...
> /dev/sda1 on /mnt/usbkey type vfat 
> (rw,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)
> ts7250 ~ $ ls -l /mnt/usbkey
> <files on the disk list fine>
> ts7250 ~ $ umount /mnt/usbkey
> ts7250 ~ $ eject /dev/sda
> <light on key goes out>
> <I remove key>
> ts7250 ~ $ dmesg | tail -n15
> sd 0:0:0:0: Attached scsi removable disk sda
> usb-storage: device scan complete
> hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0002
> ep93xx-ohci ep93xx-ohci: GetStatus roothub.portstatus [0] = 
0x00030100 
> PESC CSC PPS
> hub 1-0:1.0: port 1, status 0100, change 0003, 12 Mb/s
> usb 1-1: USB disconnect, address 2
> usb 1-1: unregistering device
> usb 1-1: usb_disable_device nuking all URBs
> usb 1-1: unregistering interface 1-1:1.0
>   usbdev1.2_ep81: ep_device_release called for usbdev1.2_ep81
>   usbdev1.2_ep02: ep_device_release called for usbdev1.2_ep02
> usb 1-1:1.0: uevent
>   usbdev1.2_ep00: ep_device_release called for usbdev1.2_ep00
> usb 1-1: uevent
> hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
> ts7250 ~ $ ls /dev/sda*
> ls: /dev/sda*: No such file or directory
> ts7250 ~ $
> 
> there's something to be said for handmade kernels after all :)
>




 
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