ts-7000
[Top] [All Lists]

[ts-7000] Re: Using different USB sticks w/o reboot TS7200

To:
Subject: [ts-7000] Re: Using different USB sticks w/o reboot TS7200
From: "dokapra" <>
Date: Sat, 13 Sep 2008 08:36:37 -0000
--- In  "jatson" <> wrote:
>
> Hi,
> I've sort of inherited an embedded project using the the TS7200. The
> usb stuff was already set up previously.
>   Here's what modules are being loaded:
>        insmod usbcore
>        insmod pcipool
>        insmod usb-ohci
>        insmod usb-ohci-ep93xx
>        insmod scsi_mod
>        insmod sd_mod
>        insmod  
> 
>  Anyway, my question concerns memory sticks. I can plug a stick into
> the USB, and it is recognized. I can then mount it, write to it etc.
> And unmount it.
>   But, if I plug in a different stick, the system seems to recognize
> it, but I cannot mount it. In order to see that stick, the whole
> system must be rebooted.
> 
> Is there a way to enable seeing the different stick without going
> through a reboot?
> 
> Here's the system messages:
> 
> ts7200:/bin# hub.c: new USB device not_pci-3, assigned address 2
> scsi0 : SCSI emulation for USB Mass Storage devices
>   Vendor: 2.0       Model: Flash Disk        Rev: 5.00
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
> SCSI device sda: 1026048 512-byte hdwr sectors (525 MB)
> sda: Write Protect is off
>  /dev/scsi/host0/bus0/target0/lun0: p1
> 
> ts7200:/bin# mount -t vfat /dev/scsi/host0/bus0/target0/lun0/part1
> /mnt/uba1
> 
> ts7200:/bin# ls /mnt/uba1
> 0803x            g2MISC              g2_code             g2setup.cfg
> ...
> 
>    I then unmount it, unplug it, and plug in a different stick:
> 
> ts7200:/bin# hub.c: new USB device not_pci-3, assigned address 3
> scsi1 : SCSI emulation for USB Mass Storage devices
>   Vendor:           Model: USB Flash Memory  Rev: PMAP
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0
> SCSI device sdb: 3921920 512-byte hdwr sectors (2008 MB)
> sdb: Write Protect is off
>  /dev/scsi/host1/bus0/target0/lun0: p1
> 
> ts7200:/bin# mount -t vfat /dev/scsi/host0/bus0/target0/lun0/part1
> /mnt/uba1
> sda: Unit Not Ready, sense:
> Info fld=0xa00 (nonstd), Current 00:00: sns = 70  2
> Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
> sda : READ CAPACITY failed.
> sda : status = 1, message = 00, host = 0, driver = 08
> Info fld=0xa00 (nonstd), Current sd00:00: sns = 70  2
> Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
> sda : block size assumed to be 512 bytes, disk size 1GB.
> sda: test WP failed, assume Write Enabled
>  /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
>  I/O error: dev 08:00, sector 0
>  unable to read partition table
> mount: /dev/scsi/host0/bus0/target0/lun0/part1 is not a valid block
device
> 
>   I see that the 2nd stick is recognized as scsi1, instead of scsi0
> like the 1st one. But the size seems to be correctly recognized. Note
> that size doesn't matter here, I've been able to successfully mount
> the 2G stick and write it, etc. (as long as I do it first!)
> 
>   Maybe this all basic stuff, if so, I apologize. I tried searching
> the posts but couldn't find anything specific to this problem.
> 
> Thanks,
> John
>
This works for me:
rmmod usb-storage
insmod usb-storage



------------------------------------

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