Page 3 of 10

Posted: 30 Jul 2011, 15:36
by ohmysql
Hello,

Sure, I'm happy to try as many times as you like. And thank you for the instructions.

So my first try, I plugged it in, waited about 10 seconds, and then did "safely remove hardware". But when I did this command from the 1.1.8 folder:

sudo ./usb_modeswitch -v 1307 -p 1169 -L -I

I get:

Code: Select all

Looking for default devices ...
 No devices in default mode found. Nothing to do. Bye.
I plugged it in again. This time instead of "safely remove hardware" I just unmounted. Then I ran the same command and I get:

Code: Select all

sudo ./usb_modeswitch -v 1307 -p 1169 -L -I

Looking for default devices ...
 Found devices in default mode, class or configuration (1)
Accessing device 009 on bus 001 ...
Getting the current device configuration ...
 OK, got current device configuration (1)
Using endpoints 0x01 (out) and 0x82 (in)

USB description data (for identification)
-------------------------
Manufacturer: Cisco Systems, Inc.
     Product: Cisco AM10 AM10
  Serial No.: 000000000000D9
-------------------------
Looking for active driver ...
 OK, driver found ("usb-storage")
 OK, driver "usb-storage" detached
Sending Cisco message sequence
Setting up communication with interface 0 ...
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
 OK, message successfully sent
Trying to send message 2 to endpoint 0x01 ...
 OK, message successfully sent
Reading the response to write package 1 ...
 OK, response successfully read (13 bytes).
Trying to send message 3 to endpoint 0x01 ...
 OK, message successfully sent
Trying to send message 4 to endpoint 0x01 ...
 OK, message successfully sent
Reading the response to write package 2 ...
 OK, response successfully read (13 bytes).
-> Run lsusb to note any changes. Bye.

Code: Select all

lsusb

Bus 001 Device 009: ID 1307:1169 Transcend Information, Inc. TS2GJF210 JetFlash 210 2GB
Bus 001 Device 008: ID 1307:0169 Transcend Information, Inc. 

Code: Select all

dmesg

[  852.030410] usb 1-4.1: USB disconnect, address 7
[ 1581.087462] usb 1-4: USB disconnect, address 6
[ 1612.160089] usb 1-4: new high speed USB device using ehci_hcd and address 8
[ 1612.311058] hub 1-4:1.0: USB hub found
[ 1612.311116] hub 1-4:1.0: 3 ports detected
[ 1612.590256] usb 1-4.1: new high speed USB device using ehci_hcd and address 9
[ 1612.701409] scsi6 : usb-storage 1-4.1:1.0
[ 1613.702435] scsi 6:0:0:0: Direct-Access              Cisco AM10       0.00 PQ: 0 ANSI: 2
[ 1613.703665] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 1613.705064] sd 6:0:0:0: [sdb] 253952 512-byte logical blocks: (130 MB/124 MiB)
[ 1613.705942] sd 6:0:0:0: [sdb] Write Protect is off
[ 1613.705952] sd 6:0:0:0: [sdb] Mode Sense: 00 00 00 00
[ 1613.705958] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 1613.711311] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 1613.841435]  sdb: sdb1
[ 1613.844540] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 1613.844550] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[ 1614.573805] FAT: Filesystem error (dev sdb1)
[ 1614.573812]     invalid access to FAT (entry 0x00c00000)
[ 1614.573820] FAT: Filesystem has been set read-only
[ 1614.573829] FAT: Filesystem error (dev sdb1)
[ 1614.573832]     invalid access to FAT (entry 0x00c00000)
[ 1614.573840] FAT: Filesystem error (dev sdb1)
[ 1614.573843]     invalid access to FAT (entry 0x00c00000)
[ 1614.573849] FAT: Filesystem error (dev sdb1)
[ 1614.573852]     invalid access to FAT (entry 0x00c00000)
[ 1614.573858] FAT: Filesystem error (dev sdb1)
[ 1614.573861]     invalid access to FAT (entry 0x00c00000)
[ 1614.573867] FAT: Filesystem error (dev sdb1)
[ 1614.573870]     invalid access to FAT (entry 0x00c00000)
[ 1614.573875] FAT: Filesystem error (dev sdb1)
[ 1614.573878]     invalid access to FAT (entry 0x00c00000)
[ 1614.573884] FAT: Filesystem error (dev sdb1)
[ 1614.573887]     invalid access to FAT (entry 0x00c00000)
[ 1614.573895] attempt to access beyond end of device
[ 1614.573902] sdb1: rw=0, want=12586911, limit=253920
[ 1614.573909] Buffer I/O error on device sdb1, logical block 12586910
[ 1614.573918] FAT: Filesystem error (dev sdb1)
[ 1614.573921]     invalid access to FAT (entry 0x00c00000)
[ 1614.573929] FAT: Filesystem error (dev sdb1)
[ 1614.573932]     invalid access to FAT (entry 0x00c00000)
[ 1614.573938] FAT: Filesystem error (dev sdb1)
[ 1614.573941]     invalid access to FAT (entry 0x00c00000)
[ 1614.573947] FAT: Filesystem error (dev sdb1)
[ 1614.573950]     invalid access to FAT (entry 0x00c00000)
[ 1614.573956] FAT: Filesystem error (dev sdb1)
[ 1614.573959]     invalid access to FAT (entry 0x00c00000)
[ 1614.573966] FAT: Filesystem error (dev sdb1)
[ 1614.573969]     invalid access to FAT (entry 0x00c00000)
[ 1614.573975] FAT: Filesystem error (dev sdb1)
[ 1614.573978]     invalid access to FAT (entry 0x00c00000)
[ 1614.573984] FAT: Filesystem error (dev sdb1)
[ 1614.573987]     invalid access to FAT (entry 0x00c00000)
[ 1614.573993] FAT: Filesystem error (dev sdb1)
[ 1614.573996]     invalid access to FAT (entry 0x00c00000)
[ 1614.574003] FAT: Filesystem error (dev sdb1)
[ 1614.574006]     invalid access to FAT (entry 0x00c00000)
[ 1614.574014] FAT: Filesystem error (dev sdb1)
[ 1614.574017]     invalid access to FAT (entry 0x00c00000)
[ 1614.574023] FAT: Filesystem error (dev sdb1)
[ 1614.574026]     invalid access to FAT (entry 0x00c00000)
[ 1614.574032] FAT: Filesystem error (dev sdb1)
[ 1614.574035]     invalid access to FAT (entry 0x00c00000)
[ 1614.574040] FAT: Filesystem error (dev sdb1)
[ 1614.574043]     invalid access to FAT (entry 0x00c00000)
[ 1614.574049] FAT: Filesystem error (dev sdb1)
[ 1614.574052]     invalid access to FAT (entry 0x00c00000)
[ 1614.574058] FAT: Filesystem error (dev sdb1)
[ 1614.574061]     invalid access to FAT (entry 0x00c00000)
[ 1614.574067] FAT: Filesystem error (dev sdb1)
[ 1614.574070]     invalid access to FAT (entry 0x00c00000)
[ 1614.574075] FAT: Filesystem error (dev sdb1)
[ 1614.574078]     invalid access to FAT (entry 0x00c00000)
[ 1614.574085] FAT: Filesystem error (dev sdb1)
[ 1614.574088]     invalid access to FAT (entry 0x00c00000)
[ 1614.574097] FAT: Filesystem error (dev sdb1)
[ 1614.574100]     invalid access to FAT (entry 0x00c00000)
[ 1614.574106] FAT: Filesystem error (dev sdb1)
[ 1614.574109]     invalid access to FAT (entry 0x00c00000)
[ 1614.574115] FAT: Filesystem error (dev sdb1)
[ 1614.574118]     invalid access to FAT (entry 0x00c00000)
[ 1614.574123] FAT: Filesystem error (dev sdb1)
[ 1614.574126]     invalid access to FAT (entry 0x00c00000)
[ 1614.574133] FAT: Filesystem error (dev sdb1)
[ 1614.574136]     invalid access to FAT (entry 0x00c00000)
[ 1614.574142] FAT: Filesystem error (dev sdb1)
[ 1614.574146]     invalid access to FAT (entry 0x00c00000)
[ 1614.574151] FAT: Filesystem error (dev sdb1)
[ 1614.574154]     invalid access to FAT (entry 0x00c00000)
[ 1614.574160] FAT: Filesystem error (dev sdb1)
[ 1614.574163]     invalid access to FAT (entry 0x00c00000)
[ 1614.574171] FAT: Filesystem error (dev sdb1)
[ 1614.574174]     invalid access to FAT (entry 0x00c00000)
[ 1614.574180] FAT: Filesystem error (dev sdb1)
[ 1614.574183]     invalid access to FAT (entry 0x00c00000)
[ 1614.574188] FAT: Filesystem error (dev sdb1)
[ 1614.574191]     invalid access to FAT (entry 0x00c00000)
[ 1614.574197] FAT: Filesystem error (dev sdb1)
[ 1614.574200]     invalid access to FAT (entry 0x00c00000)
[ 1614.574206] FAT: Filesystem error (dev sdb1)
[ 1614.574209]     invalid access to FAT (entry 0x00c00000)
[ 1614.574214] FAT: Filesystem error (dev sdb1)
[ 1614.574217]     invalid access to FAT (entry 0x00c00000)
[ 1614.574223] FAT: Filesystem error (dev sdb1)
[ 1614.574226]     invalid access to FAT (entry 0x00c00000)
[ 1614.574232] attempt to access beyond end of device
[ 1614.574237] sdb1: rw=0, want=12586911, limit=253920
[ 1614.574242] Buffer I/O error on device sdb1, logical block 12586910
[ 1614.575449] FAT: Filesystem error (dev sdb1)
[ 1614.575455]     invalid access to FAT (entry 0x37303531)
[ 1614.575466] FAT: Filesystem error (dev sdb1)
[ 1614.575469]     invalid access to FAT (entry 0x37303531)
[ 1614.575476] FAT: Filesystem error (dev sdb1)
[ 1614.575480]     invalid access to FAT (entry 0x37303531)
[ 1614.575486] FAT: Filesystem error (dev sdb1)
[ 1614.575489]     invalid access to FAT (entry 0x37303531)
[ 1614.575495] FAT: Filesystem error (dev sdb1)
[ 1614.575498]     invalid access to FAT (entry 0x37303531)
[ 1614.575504] FAT: Filesystem error (dev sdb1)
[ 1614.575507]     invalid access to FAT (entry 0x37303531)
[ 1614.575513] FAT: Filesystem error (dev sdb1)
[ 1614.575516]     invalid access to FAT (entry 0x37303531)
[ 1614.575522] FAT: Filesystem error (dev sdb1)
[ 1614.575525]     invalid access to FAT (entry 0x37303531)
[ 1614.575533] attempt to access beyond end of device
[ 1614.575539] sdb1: rw=0, want=925910224, limit=253920
[ 1614.575546] Buffer I/O error on device sdb1, logical block 925910223
[ 1614.575554] FAT: Filesystem error (dev sdb1)
[ 1614.575557]     invalid access to FAT (entry 0x37303531)
[ 1614.575566] FAT: Filesystem error (dev sdb1)
[ 1614.575569]     invalid access to FAT (entry 0x37303531)
[ 1614.575575] FAT: Filesystem error (dev sdb1)
[ 1614.575578]     invalid access to FAT (entry 0x37303531)
[ 1614.575584] FAT: Filesystem error (dev sdb1)
[ 1614.575587]     invalid access to FAT (entry 0x37303531)
[ 1614.575593] FAT: Filesystem error (dev sdb1)
[ 1614.575596]     invalid access to FAT (entry 0x37303531)
[ 1614.575602] FAT: Filesystem error (dev sdb1)
[ 1614.575605]     invalid access to FAT (entry 0x37303531)
[ 1614.575611] FAT: Filesystem error (dev sdb1)
[ 1614.575614]     invalid access to FAT (entry 0x37303531)
[ 1614.575620] FAT: Filesystem error (dev sdb1)
[ 1614.575623]     invalid access to FAT (entry 0x37303531)
[ 1614.575629] FAT: Filesystem error (dev sdb1)
[ 1614.575632]     invalid access to FAT (entry 0x37303531)
[ 1614.575639] FAT: Filesystem error (dev sdb1)
[ 1614.575642]     invalid access to FAT (entry 0x37303531)
[ 1614.575655] FAT: Filesystem error (dev sdb1)
[ 1614.575658]     invalid access to FAT (entry 0x37303531)
[ 1614.575664] FAT: Filesystem error (dev sdb1)
[ 1614.575667]     invalid access to FAT (entry 0x37303531)
[ 1614.575673] FAT: Filesystem error (dev sdb1)
[ 1614.575676]     invalid access to FAT (entry 0x37303531)
[ 1614.575682] FAT: Filesystem error (dev sdb1)
[ 1614.575685]     invalid access to FAT (entry 0x37303531)
[ 1614.575691] FAT: Filesystem error (dev sdb1)
[ 1614.575694]     invalid access to FAT (entry 0x37303531)
[ 1614.575700] FAT: Filesystem error (dev sdb1)
[ 1614.575703]     invalid access to FAT (entry 0x37303531)
[ 1614.575709] FAT: Filesystem error (dev sdb1)
[ 1614.575712]     invalid access to FAT (entry 0x37303531)
[ 1614.575718] FAT: Filesystem error (dev sdb1)
[ 1614.575721]     invalid access to FAT (entry 0x37303531)
[ 1614.575727] FAT: Filesystem error (dev sdb1)
[ 1614.575730]     invalid access to FAT (entry 0x37303531)
[ 1614.575738] FAT: Filesystem error (dev sdb1)
[ 1614.575741]     invalid access to FAT (entry 0x37303531)
[ 1614.575747] FAT: Filesystem error (dev sdb1)
[ 1614.575751]     invalid access to FAT (entry 0x37303531)
[ 1614.575756] FAT: Filesystem error (dev sdb1)
[ 1614.575759]     invalid access to FAT (entry 0x37303531)
[ 1614.575765] FAT: Filesystem error (dev sdb1)
[ 1614.575768]     invalid access to FAT (entry 0x37303531)
[ 1614.575774] FAT: Filesystem error (dev sdb1)
[ 1614.575777]     invalid access to FAT (entry 0x37303531)
[ 1614.575783] FAT: Filesystem error (dev sdb1)
[ 1614.575786]     invalid access to FAT (entry 0x37303531)
[ 1614.575792] FAT: Filesystem error (dev sdb1)
[ 1614.575795]     invalid access to FAT (entry 0x37303531)
[ 1614.575800] FAT: Filesystem error (dev sdb1)
[ 1614.575803]     invalid access to FAT (entry 0x37303531)
[ 1614.575811] FAT: Filesystem error (dev sdb1)
[ 1614.575814]     invalid access to FAT (entry 0x37303531)
[ 1614.575820] FAT: Filesystem error (dev sdb1)
[ 1614.575823]     invalid access to FAT (entry 0x37303531)
[ 1614.575829] FAT: Filesystem error (dev sdb1)
[ 1614.575832]     invalid access to FAT (entry 0x37303531)
[ 1614.575837] FAT: Filesystem error (dev sdb1)
[ 1614.575840]     invalid access to FAT (entry 0x37303531)
[ 1614.575846] FAT: Filesystem error (dev sdb1)
[ 1614.575849]     invalid access to FAT (entry 0x37303531)
[ 1614.575855] FAT: Filesystem error (dev sdb1)
[ 1614.575858]     invalid access to FAT (entry 0x37303531)
[ 1614.575863] FAT: Filesystem error (dev sdb1)
[ 1614.575866]     invalid access to FAT (entry 0x37303531)
[ 1614.575872] attempt to access beyond end of device
[ 1614.575878] sdb1: rw=0, want=925910224, limit=253920
[ 1614.575882] Buffer I/O error on device sdb1, logical block 925910223
[ 1630.276144] FAT: Filesystem error (dev sdb1)
[ 1630.276152]     invalid access to FAT (entry 0x00c00000)
[ 1630.276161] FAT: Filesystem error (dev sdb1)
[ 1630.276165]     invalid access to FAT (entry 0x00c00000)
[ 1630.276173] FAT: Filesystem error (dev sdb1)
[ 1630.276176]     invalid access to FAT (entry 0x00c00000)
[ 1630.276182] FAT: Filesystem error (dev sdb1)
[ 1630.276185]     invalid access to FAT (entry 0x00c00000)
[ 1630.276191] FAT: Filesystem error (dev sdb1)
[ 1630.276194]     invalid access to FAT (entry 0x00c00000)
[ 1630.276199] FAT: Filesystem error (dev sdb1)
[ 1630.276202]     invalid access to FAT (entry 0x00c00000)
[ 1630.276208] FAT: Filesystem error (dev sdb1)
[ 1630.276211]     invalid access to FAT (entry 0x00c00000)
[ 1630.276219] attempt to access beyond end of device
[ 1630.276227] sdb1: rw=0, want=12586911, limit=253920
[ 1630.276234] Buffer I/O error on device sdb1, logical block 12586910
[ 1630.277247] FAT: Filesystem error (dev sdb1)
[ 1630.277253]     invalid access to FAT (entry 0x37303531)
[ 1630.277260] FAT: Filesystem error (dev sdb1)
[ 1630.277264]     invalid access to FAT (entry 0x37303531)
[ 1630.277270] FAT: Filesystem error (dev sdb1)
[ 1630.277273]     invalid access to FAT (entry 0x37303531)
[ 1630.277279] FAT: Filesystem error (dev sdb1)
[ 1630.277282]     invalid access to FAT (entry 0x37303531)
[ 1630.277288] FAT: Filesystem error (dev sdb1)
[ 1630.277291]     invalid access to FAT (entry 0x37303531)
[ 1630.277296] FAT: Filesystem error (dev sdb1)
[ 1630.277299]     invalid access to FAT (entry 0x37303531)
[ 1630.277305] FAT: Filesystem error (dev sdb1)
[ 1630.277308]     invalid access to FAT (entry 0x37303531)
[ 1630.277315] attempt to access beyond end of device
[ 1630.277321] sdb1: rw=0, want=925910224, limit=253920
[ 1630.277327] Buffer I/O error on device sdb1, logical block 925910223
So now I'm going to try again leaving out the -I variable (capital i):

I plug it in. Wait five seconds, unmount by pressing the eject button. Wait another five seconds.

Code: Select all

sudo ./usb_modeswitch -v 1307 -p 1169 -L

Looking for default devices ...
 Found devices in default mode, class or configuration (1)
Accessing device 013 on bus 001 ...
Getting the current device configuration ...
 OK, got current device configuration (1)
Using endpoints 0x01 (out) and 0x82 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
 OK, driver found ("usb-storage")
 OK, driver "usb-storage" detached

SCSI inquiry data (for identification)
-------------------------
  Vendor String:         
   Model String: Cisco AM10      
Revision String: 0.00
-------------------------

USB description data (for identification)
-------------------------
Manufacturer: Cisco Systems, Inc.
     Product: Cisco AM10 AM10
  Serial No.: 000000000000D9
-------------------------
Looking for active driver ...
 No driver found. Either detached before or never attached
Sending Cisco message sequence
Setting up communication with interface 0 ...
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
 OK, message successfully sent
Trying to send message 2 to endpoint 0x01 ...
 OK, message successfully sent
Reading the response to write package 1 ...
 Response reading got error -110, can probably be ignored
 Device is gone, skipping any further commands
-> Run lsusb to note any changes. Bye.

Code: Select all

Bus 001 Device 013: ID 1307:1169 Transcend Information, Inc. TS2GJF210 JetFlash 210 2GB
Bus 001 Device 012: ID 1307:0169 Transcend Information, Inc. 
and

Code: Select all

[ 2993.421485] Buffer I/O error on device sdb1, logical block 925910223
[ 3151.857071] exe (3102): /proc/3102/oom_adj is deprecated, please use /proc/3102/oom_score_adj instead.
[ 3383.573413] usb 1-4: USB disconnect, address 10
[ 3383.573421] usb 1-4.1: USB disconnect, address 11
[ 3394.030056] usb 1-4: new high speed USB device using ehci_hcd and address 12
[ 3394.182194] hub 1-4:1.0: USB hub found
[ 3394.182339] hub 1-4:1.0: 3 ports detected
[ 3394.460225] usb 1-4.1: new high speed USB device using ehci_hcd and address 13
[ 3394.571492] scsi8 : usb-storage 1-4.1:1.0
[ 3395.572408] scsi 8:0:0:0: Direct-Access              Cisco AM10       0.00 PQ: 0 ANSI: 2
[ 3395.573717] sd 8:0:0:0: Attached scsi generic sg2 type 0
[ 3395.575047] sd 8:0:0:0: [sdb] 253952 512-byte logical blocks: (130 MB/124 MiB)
[ 3395.575894] sd 8:0:0:0: [sdb] Write Protect is off
[ 3395.575904] sd 8:0:0:0: [sdb] Mode Sense: 00 00 00 00
[ 3395.575911] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[ 3395.579774] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[ 3395.709782]  sdb: sdb1
[ 3395.712892] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[ 3395.712903] sd 8:0:0:0: [sdb] Attached SCSI removable disk
[ 3396.585770] FAT: Filesystem error (dev sdb1)
[ 3396.585778]     invalid access to FAT (entry 0x00c00000)
[ 3396.585786] FAT: Filesystem has been set read-only
[ 3396.585801] FAT: Filesystem error (dev sdb1)
[ 3396.585804]     invalid access to FAT (entry 0x00c00000)
[ 3396.585812] FAT: Filesystem error (dev sdb1)
[ 3396.585815]     invalid access to FAT (entry 0x00c00000)
[ 3396.585821] FAT: Filesystem error (dev sdb1)
[ 3396.585824]     invalid access to FAT (entry 0x00c00000)
[ 3396.585830] FAT: Filesystem error (dev sdb1)
[ 3396.585833]     invalid access to FAT (entry 0x00c00000)
[ 3396.585840] FAT: Filesystem error (dev sdb1)
[ 3396.585843]     invalid access to FAT (entry 0x00c00000)
[ 3396.585849] FAT: Filesystem error (dev sdb1)
[ 3396.585852]     invalid access to FAT (entry 0x00c00000)
[ 3396.585857] FAT: Filesystem error (dev sdb1)
[ 3396.585860]     invalid access to FAT (entry 0x00c00000)
[ 3396.585868] attempt to access beyond end of device
[ 3396.585875] sdb1: rw=0, want=12586911, limit=253920
[ 3396.585883] Buffer I/O error on device sdb1, logical block 12586910
[ 3396.585891] FAT: Filesystem error (dev sdb1)
[ 3396.585894]     invalid access to FAT (entry 0x00c00000)
[ 3396.585902] FAT: Filesystem error (dev sdb1)
[ 3396.585905]     invalid access to FAT (entry 0x00c00000)
[ 3396.585911] FAT: Filesystem error (dev sdb1)
[ 3396.585914]     invalid access to FAT (entry 0x00c00000)
[ 3396.585920] FAT: Filesystem error (dev sdb1)
[ 3396.585923]     invalid access to FAT (entry 0x00c00000)
[ 3396.585929] FAT: Filesystem error (dev sdb1)
[ 3396.585932]     invalid access to FAT (entry 0x00c00000)
[ 3396.585938] FAT: Filesystem error (dev sdb1)
[ 3396.585941]     invalid access to FAT (entry 0x00c00000)
[ 3396.585947] FAT: Filesystem error (dev sdb1)
[ 3396.585950]     invalid access to FAT (entry 0x00c00000)
[ 3396.585956] FAT: Filesystem error (dev sdb1)
[ 3396.585959]     invalid access to FAT (entry 0x00c00000)
[ 3396.585964] FAT: Filesystem error (dev sdb1)
[ 3396.585967]     invalid access to FAT (entry 0x00c00000)
[ 3396.585975] FAT: Filesystem error (dev sdb1)
[ 3396.585978]     invalid access to FAT (entry 0x00c00000)
[ 3396.585985] FAT: Filesystem error (dev sdb1)
[ 3396.585988]     invalid access to FAT (entry 0x00c00000)
[ 3396.585994] FAT: Filesystem error (dev sdb1)
[ 3396.585997]     invalid access to FAT (entry 0x00c00000)
[ 3396.586003] FAT: Filesystem error (dev sdb1)
[ 3396.586006]     invalid access to FAT (entry 0x00c00000)
[ 3396.586012] FAT: Filesystem error (dev sdb1)
[ 3396.586015]     invalid access to FAT (entry 0x00c00000)
[ 3396.586021] FAT: Filesystem error (dev sdb1)
[ 3396.586024]     invalid access to FAT (entry 0x00c00000)
[ 3396.586030] FAT: Filesystem error (dev sdb1)
[ 3396.586033]     invalid access to FAT (entry 0x00c00000)
[ 3396.586038] FAT: Filesystem error (dev sdb1)
[ 3396.586042]     invalid access to FAT (entry 0x00c00000)
[ 3396.586048] FAT: Filesystem error (dev sdb1)
[ 3396.586051]     invalid access to FAT (entry 0x00c00000)
[ 3396.586058] FAT: Filesystem error (dev sdb1)
[ 3396.586061]     invalid access to FAT (entry 0x00c00000)
[ 3396.586070] FAT: Filesystem error (dev sdb1)
[ 3396.586074]     invalid access to FAT (entry 0x00c00000)
[ 3396.586080] FAT: Filesystem error (dev sdb1)
[ 3396.586083]     invalid access to FAT (entry 0x00c00000)
[ 3396.586089] FAT: Filesystem error (dev sdb1)
[ 3396.586092]     invalid access to FAT (entry 0x00c00000)
[ 3396.586098] FAT: Filesystem error (dev sdb1)
[ 3396.586101]     invalid access to FAT (entry 0x00c00000)
[ 3396.586107] FAT: Filesystem error (dev sdb1)
[ 3396.586110]     invalid access to FAT (entry 0x00c00000)
[ 3396.586117] FAT: Filesystem error (dev sdb1)
[ 3396.586120]     invalid access to FAT (entry 0x00c00000)
[ 3396.586126] FAT: Filesystem error (dev sdb1)
[ 3396.586129]     invalid access to FAT (entry 0x00c00000)
[ 3396.586135] FAT: Filesystem error (dev sdb1)
[ 3396.586138]     invalid access to FAT (entry 0x00c00000)
[ 3396.586145] FAT: Filesystem error (dev sdb1)
[ 3396.586148]     invalid access to FAT (entry 0x00c00000)
[ 3396.586154] FAT: Filesystem error (dev sdb1)
[ 3396.586157]     invalid access to FAT (entry 0x00c00000)
[ 3396.586163] FAT: Filesystem error (dev sdb1)
[ 3396.586166]     invalid access to FAT (entry 0x00c00000)
[ 3396.586172] FAT: Filesystem error (dev sdb1)
[ 3396.586175]     invalid access to FAT (entry 0x00c00000)
[ 3396.586180] FAT: Filesystem error (dev sdb1)
[ 3396.586183]     invalid access to FAT (entry 0x00c00000)
[ 3396.586189] FAT: Filesystem error (dev sdb1)
[ 3396.586192]     invalid access to FAT (entry 0x00c00000)
[ 3396.586198] FAT: Filesystem error (dev sdb1)
[ 3396.586201]     invalid access to FAT (entry 0x00c00000)
[ 3396.586207] attempt to access beyond end of device
[ 3396.586212] sdb1: rw=0, want=12586911, limit=253920
[ 3396.586217] Buffer I/O error on device sdb1, logical block 12586910
[ 3396.587224] FAT: Filesystem error (dev sdb1)
[ 3396.587229]     invalid access to FAT (entry 0x37303531)
[ 3396.587239] FAT: Filesystem error (dev sdb1)
[ 3396.587242]     invalid access to FAT (entry 0x37303531)
[ 3396.587249] FAT: Filesystem error (dev sdb1)
[ 3396.587252]     invalid access to FAT (entry 0x37303531)
[ 3396.587258] FAT: Filesystem error (dev sdb1)
[ 3396.587261]     invalid access to FAT (entry 0x37303531)
[ 3396.587267] FAT: Filesystem error (dev sdb1)
[ 3396.587270]     invalid access to FAT (entry 0x37303531)
[ 3396.587276] FAT: Filesystem error (dev sdb1)
[ 3396.587279]     invalid access to FAT (entry 0x37303531)
[ 3396.587285] FAT: Filesystem error (dev sdb1)
[ 3396.587288]     invalid access to FAT (entry 0x37303531)
[ 3396.587294] FAT: Filesystem error (dev sdb1)
[ 3396.587297]     invalid access to FAT (entry 0x37303531)
[ 3396.587305] attempt to access beyond end of device
[ 3396.587311] sdb1: rw=0, want=925910224, limit=253920
[ 3396.587316] Buffer I/O error on device sdb1, logical block 925910223
[ 3396.587323] FAT: Filesystem error (dev sdb1)
[ 3396.587326]     invalid access to FAT (entry 0x37303531)
[ 3396.587337] FAT: Filesystem error (dev sdb1)
[ 3396.587340]     invalid access to FAT (entry 0x37303531)
[ 3396.587347] FAT: Filesystem error (dev sdb1)
[ 3396.587350]     invalid access to FAT (entry 0x37303531)
[ 3396.587356] FAT: Filesystem error (dev sdb1)
[ 3396.587359]     invalid access to FAT (entry 0x37303531)
[ 3396.587364] FAT: Filesystem error (dev sdb1)
[ 3396.587368]     invalid access to FAT (entry 0x37303531)
[ 3396.587374] FAT: Filesystem error (dev sdb1)
[ 3396.587377]     invalid access to FAT (entry 0x37303531)
[ 3396.587387] FAT: Filesystem error (dev sdb1)
[ 3396.587390]     invalid access to FAT (entry 0x37303531)
[ 3396.587396] FAT: Filesystem error (dev sdb1)
[ 3396.587399]     invalid access to FAT (entry 0x37303531)
[ 3396.587405] FAT: Filesystem error (dev sdb1)
[ 3396.587408]     invalid access to FAT (entry 0x37303531)
[ 3396.587415] FAT: Filesystem error (dev sdb1)
[ 3396.587418]     invalid access to FAT (entry 0x37303531)
[ 3396.587426] FAT: Filesystem error (dev sdb1)
[ 3396.587429]     invalid access to FAT (entry 0x37303531)
[ 3396.587435] FAT: Filesystem error (dev sdb1)
[ 3396.587438]     invalid access to FAT (entry 0x37303531)
[ 3396.587444] FAT: Filesystem error (dev sdb1)
[ 3396.587447]     invalid access to FAT (entry 0x37303531)
[ 3396.587453] FAT: Filesystem error (dev sdb1)
[ 3396.587456]     invalid access to FAT (entry 0x37303531)
[ 3396.587462] FAT: Filesystem error (dev sdb1)
[ 3396.587465]     invalid access to FAT (entry 0x37303531)
[ 3396.587471] FAT: Filesystem error (dev sdb1)
[ 3396.587474]     invalid access to FAT (entry 0x37303531)
[ 3396.587480] FAT: Filesystem error (dev sdb1)
[ 3396.587483]     invalid access to FAT (entry 0x37303531)
[ 3396.587489] FAT: Filesystem error (dev sdb1)
[ 3396.587492]     invalid access to FAT (entry 0x37303531)
[ 3396.587499] FAT: Filesystem error (dev sdb1)
[ 3396.587502]     invalid access to FAT (entry 0x37303531)
[ 3396.587509] FAT: Filesystem error (dev sdb1)
[ 3396.587512]     invalid access to FAT (entry 0x37303531)
[ 3396.587518] FAT: Filesystem error (dev sdb1)
[ 3396.587521]     invalid access to FAT (entry 0x37303531)
[ 3396.587527] FAT: Filesystem error (dev sdb1)
[ 3396.587530]     invalid access to FAT (entry 0x37303531)
[ 3396.587536] FAT: Filesystem error (dev sdb1)
[ 3396.587539]     invalid access to FAT (entry 0x37303531)
[ 3396.587545] FAT: Filesystem error (dev sdb1)
[ 3396.587548]     invalid access to FAT (entry 0x37303531)
[ 3396.587554] FAT: Filesystem error (dev sdb1)
[ 3396.587557]     invalid access to FAT (entry 0x37303531)
[ 3396.587563] FAT: Filesystem error (dev sdb1)
[ 3396.587566]     invalid access to FAT (entry 0x37303531)
[ 3396.587572] FAT: Filesystem error (dev sdb1)
[ 3396.587575]     invalid access to FAT (entry 0x37303531)
[ 3396.587582] FAT: Filesystem error (dev sdb1)
[ 3396.587585]     invalid access to FAT (entry 0x37303531)
[ 3396.587591] FAT: Filesystem error (dev sdb1)
[ 3396.587594]     invalid access to FAT (entry 0x37303531)
[ 3396.587600] FAT: Filesystem error (dev sdb1)
[ 3396.587603]     invalid access to FAT (entry 0x37303531)
[ 3396.587609] FAT: Filesystem error (dev sdb1)
[ 3396.587612]     invalid access to FAT (entry 0x37303531)
[ 3396.587618] FAT: Filesystem error (dev sdb1)
[ 3396.587621]     invalid access to FAT (entry 0x37303531)
[ 3396.587626] FAT: Filesystem error (dev sdb1)
[ 3396.587629]     invalid access to FAT (entry 0x37303531)
[ 3396.587635] FAT: Filesystem error (dev sdb1)
[ 3396.587638]     invalid access to FAT (entry 0x37303531)
[ 3396.587644] attempt to access beyond end of device
[ 3396.587649] sdb1: rw=0, want=925910224, limit=253920
[ 3396.587654] Buffer I/O error on device sdb1, logical block 925910223
[ 3485.675708] usb 1-4.1: usbfs: process 3234 (usb_modeswitch) did not claim interface 0 before use
Interesting message at the end, the second time. I hope this helps.

Posted: 30 Jul 2011, 16:40
by Josh
The last error can be ignored.

The problem is that FAT reply. Maybe your mileage varies and the write address has to be adjusted.

I'm afraid we need a sniffing log from Windows. Can you provide one? The how-to is discussed in this thread.


Posted: 30 Jul 2011, 16:52
by ohmysql
Josh wrote:The last error can be ignored.

The problem is that FAT reply. Maybe your mileage varies and the write address has to be adjusted.

I'm afraid we need a sniffing log from Windows. Can you provide one? The how-to is discussed in this thread.
I won't be able to provide a Windows log from this machine because I don't have Windows on it, I don't have the installation disks etc. I could get a Windows XP log from a different machine in my apartment. Would that help?

Posted: 30 Jul 2011, 21:19
by Josh
The machine does not matter as long as the stick (and the driver on it) is the same.

Posted: 31 Jul 2011, 23:11
by ohmysql
Ok - I'm going to do my best to get XP to recognize the wireless device. That said, I think those dangerous commands we issued earlier may have corrupted the information that was on the dongle. Now, neither XP nor Ubuntu can read any of the files on there. So I'm going to need to get this device working on XP. It might take me a while. Sad. I may call and ask for a replacement or return the product.

OMS

Posted: 31 Jul 2011, 23:56
by Josh
I'm sorry to hear that you ran into problems because of the experiments. We should probably have done the sniffing beforehand ...

The XP driver can be downloaded at Cisco's web site:
http://homesupport.cisco.com/en-us/wireless/valet/AM10

Pity they don't offer a firmware to re-flash ...


Posted: 01 Aug 2011, 08:09
by Josh
It should be possible to run a file system check/repair on the install storage, probably even on Linux (fsck.vfat).

Posted: 01 Aug 2011, 19:00
by ohmysql
Josh wrote:I'm sorry to hear that you ran into problems because of the experiments. We should probably have done the sniffing beforehand ...

The XP driver can be downloaded at Cisco's web site:
http://homesupport.cisco.com/en-us/wireless/valet/AM10

Pity they don't offer a firmware to re-flash ...
Ah, with help from Cisco support, I got the dongle working. And USB sniffed it.

I started the sniffing before all the installation programs began. I apologize that I sniffed both 0169 and 1169 but maybe the 0169 device contains some secret command that could help us.

Anyway, here it is. I hope I'm not broadcasting stuff I shouldn't be all over the internet!

I'm going to PM you the code for my log, because I think I (stupidly) started browsing and transferring passwords through it.

Posted: 01 Aug 2011, 20:21
by Josh
Glad to hear the file system error was fixable. What did you have to do?

Got the log all right. Some questions:

- was the driver installed? There is a lot of storage back and forth ...
- did you install a filter on the WiFi device too (13b1:0031) ? Can't find it popping up ...

The inclusion of the hub was a new achievement. I had asked the previous poster/logger to sniff on all three devices so I had assumed the hub just doesn't show up in the log. Turns out it was not included.

So, new possibilities are opening up!

Note that we don't really need any traffic from the WiFi device. Once it appears you can stop logging ("Pause Log"). In the previous log everything was there at around 5000 ms (5 seconds).

The purpose of including the WiFi device is to get the correct sequence of device events. We want to check out the commands preceding that point of appearance.

You know you have to "install" the filters with the device unplugged, right? Check the box "List Devices Not Present" and pick the three devices out of the long list. Then clear the log ("Delete Log") and resume/start logging. Only then plug the stick in.

That way you'll get a clean start of the log. Wait for max. 10 seconds and stop/pause.

One more thing: if you zip or gzip the resulting log file, it will be a lot smaller ...


Posted: 01 Aug 2011, 21:34
by ohmysql
Hi Josh,

Great, thanks for getting back to me. I'll keep putting logs in that same folder. (And I'll try to zip them - but I suspect a lot of the log came from the internet activity.)

We had corrupted all the software and drivers that were on the USB storage. I was able to find the driver online. But like a dunce I had missed the Cisco program that installs the drivers and switches the dongle from being a storage device to being a wireless adapter. So once support directed me to where to download that program, it was done.

I'm not sure what all the storage commands are - maybe the Cisco program was installing something. I didn't do much. I wonder if that's internet activity. But I guess you would know.

And that sniff log was basically me turning on the sniffing for both devices I saw, then the moment I saw 13b1 appear, I installed a sniffer on that device. But probably it was a bit after. Now I can uninstall everything and start from scratch. It should work.

And ok, this time I'll unplug, watch all three devices (I bet that 0169 device contains some useful secrets), and pause after 10 seconds or something appears.

I'll PM you once it's up.
Josh wrote:Glad to hear the file system error was fixable. What did you have to do?

Got the log all right. Some questions:

- was the driver installed? There is a lot of storage back and forth ...
- did you install a filter on the WiFi device too (13b1:0031) ? Can't find it popping up ...

The inclusion of the hub was a new achievement. I had asked the previous poster/logger to sniff on all three devices so I had assumed the hub just doesn't show up in the log. Turns out it was not included.

So, new possibilities are opening up!

Note that we don't really need any traffic from the WiFi device. Once it appears you can stop logging ("Pause Log"). In the previous log everything was there at around 5000 ms (5 seconds).

The purpose of including the WiFi device is to get the correct sequence of device events. We want to check out the commands preceding that point of appearance.

You know you have to "install" the filters with the device unplugged, right? Check the box "List Devices Not Present" and pick the three devices out of the long list. Then clear the log ("Delete Log") and resume/start logging. Only then plug the stick in.

That way you'll get a clean start of the log. Wait for max. 10 seconds and stop/pause.

One more thing: if you zip or gzip the resulting log file, it will be a lot smaller ...

Posted: 01 Aug 2011, 23:24
by Josh
Hmm, there is no WiFi device popping up in the "short version". Can you check again, maybe by unchecking "List Devices Not Present" and when you plug, hitting "Refresh" to see if any new devices appear?

This is so strange ...

However, in the long log there are in fact some suspicious exchanges with the hub device. We can test these without danger - but only tomorrow, got to sleep a bit first.


Posted: 02 Aug 2011, 01:37
by ohmysql
Josh wrote:Hmm, there is no WiFi device popping up in the "short version". Can you check again, maybe by unchecking "List Devices Not Present" and when you plug, hitting "Refresh" to see if any new devices appear?

This is so strange ...

However, in the long log there are in fact some suspicious exchanges with the hub device. We can test these without danger - but only tomorrow, got to sleep a bit first.
Hi Josh,

To bid you good morning, I've posted a new short version. I'll be curious what you think. I checked "List Devices Not Present" and it turns out there were a few versions of the driver for which tracking hadn't been installed? I dunno, I'll be curious if you find anything in this latest version.

But normally I watch the device connection with "List Devices Not Present" unchecked. And at first only the storage hub is there and then poof, the wireless device appears. So I know a new device is appearing on the system (and both 0169 and 1169 seem to stick around the whole time as well).

Ok, I'm ready to test whenever you like. Sweet dreams of getting this Cisco device cracked! I spent way too much time with their customer service today.

OMS

PS How can I tell if the right wireless device appears? Do I just search the log for 13b1:0031? (Obviously that didn't work).

Posted: 02 Aug 2011, 21:03
by Josh
OMS wrote:How can I tell if the right wireless device appears?
There is a device discovery phase for each new device (if sniffing filter installed). Search for

Code: Select all

Interface[0]: Class
in the logs which transports you right into these phases. Class 8 is storage, class 9 is hub and class "ff" (255, vendor-specific) is the WiFi device.

Now for a quick first try. There are some commands going to the hub but I don't have any experience about what's "normal" there, never having sniffed on a hub before. At least there is no "write" process involved ...

usb_modeswitch -I -v 1307 -p 0169 -M "04" -m 0x81 -r 0x81 -u -1

This command is logged twice or more, so if nothing is happening try it with repetition:

usb_modeswitch -I -v 1307 -p 0169 -M "04" -2 "04" -3 "04" -m 0x81 -r 0x81 -u -1

I just tested with a hub here and I had to provide the endpoints. I'm not overly optimistic that something will happen - but you never know.


Posted: 02 Aug 2011, 21:24
by Josh
Having just sniffed on my hub, I must say that all of the traffic in your logs seems to be "legal", so the previously posted command is probably not even worth to be tested.

I'm back at square one now, but probably a bit more determined. There are still those commands containing "0a fd" which are undocumented. The sequence as posted above is found in all logs, same order, just ahead of the hub becoming active again.

I will add all of them to the special function I created. This is something that was not tried before. Please stand by ...


Posted: 02 Aug 2011, 21:51
by Josh
O-kay, here we go.

Get the program source with the same link as before and use it in the source folder, you know the drill. The target this time is the storage device again.

# usb_modeswitch -v 1307 -p 1169 -L -I -u -1