Randomly remounting Flash Drive.

What works, and doesn't, for you. Be specific, and please include Puppy version.
Post Reply
Message
Author
TheNH813
Posts: 62
Joined: Wed 13 Nov 2013, 19:27

Randomly remounting Flash Drive.

#1 Post by TheNH813 »

MY flash drive randomly unmounts and remounts with a diffrerent drive letter. It annoys me very much, and if it were not for WGET --continue I would lose a lot of work/time. WTF it just did it a s I type, but when running FSCK to see if it was corrupted hopefully it didnt just kill my files LOL.I dont know whats wrong with it :( it never does that on Windows, but it dows on other versions of Puppy Linux but not other Distros. Maybe my USB hub I got a few months ago has something to do with it, but again it works fine on Windows. I do constantly read/write to it (HUGE Minecraft and Minetest maps, occasionally run LAN server) maybe it causes some sort of MFT damage because the HUB lags sending data? I cannot see why because it is rated 200 Million+ write cycles and has auto sector relocation/redirection built into it. I donmt remember the exact model chips used but I know they are Transcend JetFlash2 NAND flash array. ITs a 2 chips array kindof like RAID but propitery, has no OS requirements for its features and appears as a a normal drive. Anyone know? It never used to do this, maybe the contacts need cleaning?

EDIT: Forgot to mention, Puppy Linux crashes shortly after unless I am quick to remount it as /mnt/home because its the boot disk. ITs capacity is 32GB with redundancy and 64GB with striped storage mode (depending on if a jumper is installed or not while formatting). I did make this flash storage device, and I know its not the drive's firmware because I already debugged that. It used to work perfectly, it still does on windows and other Linuxes. The hub is a Linksys 4 port ultra high speed USB 2.0 hub.

Ibidem
Posts: 549
Joined: Wed 26 May 2010, 03:31
Location: State of Jefferson

Re: Randomly remounting Flash Drive.

#2 Post by Ibidem »

TheNH813 wrote:MY flash drive randomly unmounts and remounts with a diffrerent drive letter. It annoys me very much, and if it were not for WGET --continue I would lose a lot of work/time. WTF it just did it a s I type, but when running FSCK to see if it was corrupted hopefully it didnt just kill my files LOL.I dont know whats wrong with it :( it never does that on Windows, but it dows on other versions of Puppy Linux and other Linuxes. Maybe my usb hub has something to do with it, but again it works fine on Windows. Does constantly read/writing to it (HUGE Minecraft and Minetest maps, occasionally run LAN server) to it cause soem sort of MFT damage? I cannot see why because it is rated 200 Million+ write cycles and has auto sector relocation/redirection built into it. I donmt remember the exact model but I know the actual chip is a JetFlash2 NAND flash array (2 chips, kindof like RAID but propitery, has no OS requirements for its features and appears as a a normal drive) made by Transcend MEdia. Anyone know? It never used to do this, maybe the contacts need cleaning?
I'm not sure what you mean about "unmounts and remounts with a different drive letter", since on Linux we have "mount points" instead of drive letters.
And if you had it remount with a different mountpoint, you would need to change directories afterwards...

First thing to do is make sure everything is clean, and check that the USB hub is plugged in properly/has fully charged batteries.

Second thing would be to save the kernel messages immediately after it flakes out:

Code: Select all

dmesg | tail -n 100 > usb-err.log
Post usb-err.log and I may be able to figure it out.

TheNH813
Posts: 62
Joined: Wed 13 Nov 2013, 19:27

Problem with checking it.

#3 Post by TheNH813 »

I tried to, but Puppy Linux crashed before I could. Like I said it IS the boot drive and I dont have any SFS files loaded into RAM so it kernel panics about 10 seconds after the drive glitches. When I say it remounts with a different letter I mean the icon on the desktop will be sdc1 and it remounts as sdd1 for no reason. Sometimes it quickly remounts as sde1 nad sdf1 again before crashing but not usually. It would be no problem if Puppy Linux released /DEV/SDX# after unmounting as it would remount with the same letter. Basically it does the same thing as if you boot a hard install of ubuntu off a USB hdd and quickly unplug and plug it back in. It mounts with a different letter and the kernel loses access to the OS drive so it freaks out and crashes. Not the normal blinking caps lock and num lock, all lights on my KB blink (function lock, caps lock, num lock, scroll lock) its very strange. Maybe I should redownload the iso and extracta a new copy of the kernel, initrd and main SFS. I have no idea otherwise.I stress tested the hub by streaming video @20MBits on each port on Windows and it never lost connection to any of the four screens I had connected via usb.


I booted off a different usb and tried getting the kernel messages so it would only be a regulat drive dismounting. here is what it said.
Also it wasnt in the last 100 lines becaus I have debug set to high so that part was already past 100 lines ago.
$dmesg | tail -n 100 > usb-err.log
Here is a full simplified version of it, it seems to simply reconnect with no error as if a pulled it out and plugged it back in.

Code: Select all

# dmesg | tail -n 300
[    0.748237] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    0.748270] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    0.823101]  sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
[    0.823634] sd 2:0:0:0: [sda] Attached SCSI disk
[    0.823674] Freeing unused kernel memory: 464k freed
[    0.863250] FDC 0 is a National Semiconductor PC87306
[    0.893389] usb 1-2: new high-speed USB device number 2 using ehci-pci
[    0.895884] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.905182] aufs 3.10-20130722
[    0.909084] fuse init (API version 7.22)
[    1.013052] psmouse serio1: alps: Unknown ALPS touchpad: E7=10 00 64, EC=10 00 64
[    1.017452] usb 1-2: New USB device found, idVendor=0409, idProduct=0058
[    1.017460] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.017464] usb 1-2: Product: USB2.0 Hub Controller
[    1.017468] usb 1-2: Manufacturer: NEC Corporation
[    1.017733] hub 1-2:1.0: USB hub found
[    1.017821] hub 1-2:1.0: 4 ports detected
[    1.176686] tsc: Refined TSC clocksource calibration: 2394.155 MHz
[    1.176696] Switching to clocksource tsc
[    1.500015] usb 3-1: new full-speed USB device number 2 using uhci_hcd
[    1.675561] usb 3-1: New USB device found, idVendor=043d, idProduct=00bb
[    1.675567] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.675572] usb 3-1: Product:  2300 Series
[    1.675576] usb 3-1: Manufacturer: Lexmark
[    1.675579] usb 3-1: SerialNumber: 19M018521000C3T
[    1.690629] hid-generic 0003:043D:00BB.0001: hiddev0: USB HID v1.00 Device [Lexmark  2300 Series] on usb-0000:00:1d.1-1/input2
[    1.817242] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input1
[    1.890056] usb 1-2.4: new high-speed USB device number 4 using ehci-pci
[    2.078394] usb 1-2.4: New USB device found, idVendor=090c, idProduct=1000
[    2.078400] usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.078404] usb 1-2.4: Product: USB DISK
[    2.078408] usb 1-2.4: Manufacturer: SMI Corporation
[    2.078411] usb 1-2.4: SerialNumber: AA00000000006482
[    2.078687] usb-storage 1-2.4:1.0: USB Mass Storage device detected
[    2.078745] scsi4 : usb-storage 1-2.4:1.0
[    3.204005] scsi 4:0:0:0: Direct-Access     SMI      USB DISK         1100 PQ: 0 ANSI: 0 CCS
[    3.204842] sd 4:0:0:0: [sdb] 7826688 512-byte logical blocks: (4.00 GB/3.73 GiB)
[    3.205587] sd 4:0:0:0: [sdb] Write Protect is off
[    3.205592] sd 4:0:0:0: [sdb] Mode Sense: 43 00 00 00
[    3.206336] sd 4:0:0:0: [sdb] No Caching mode page present
[    3.206341] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[    3.209960] sd 4:0:0:0: [sdb] No Caching mode page present
[    3.209965] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[    3.211361]  sdb: sdb1
[    3.213835] sd 4:0:0:0: [sdb] No Caching mode page present
[    3.213841] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[    3.214458] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[    4.466512] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    4.797208] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   13.519566] EXT4-fs (loop1): ext4_orphan_cleanup: deleting unreferenced inode 18538
[   13.519605] EXT4-fs (loop1): ext4_orphan_cleanup: deleting unreferenced inode 18537
[   13.519617] EXT4-fs (loop1): ext4_orphan_cleanup: deleting unreferenced inode 18534
[   13.519628] EXT4-fs (loop1): 3 orphan inodes deleted
[   13.519631] EXT4-fs (loop1): recovery complete
[   15.155480] EXT4-fs (loop1): mounted filesystem with ordered data mode. Opts: (null)
[   23.625379] aufs test_add:294:mount[781]: uid/gid/perm /pup_ro1 0/0/0755, 0/0/01777
[   23.625390] aufs test_add:294:mount[781]: uid/gid/perm /pup_ro2 0/0/0755, 0/0/01777
[   49.243885] udev[6086]: starting version 167
[   49.783833] input: Sleep Button as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input2
[   49.783846] ACPI: Sleep Button [SLPB]
[   49.783989] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[   49.783995] ACPI: Power Button [PWRF]
[   50.254899] parport_pc 00:08: reported by Plug and Play ACPI
[   50.254954] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
[   51.010279] Linux agpgart interface v0.103
[   51.012943] agpgart-intel 0000:00:00.0: Intel 865 Chipset
[   51.056008] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xe0000000
[   51.150521] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[   51.302565] parport0: Printer, HEWLETT-PACKARD DESKJET 660C
[   51.961452] i801_smbus 0000:00:1f.3: SMBus using PCI Interrupt
[   52.163570] [drm] Initialized drm 1.1.0 20060810
[   52.238285] wmi: Mapper loaded
[   52.443857] input: PC Speaker as /devices/platform/pcspkr/input/input4
[   52.514145] 8139too: 8139too Fast Ethernet driver 0.9.28
[   52.515505] 8139too 0000:02:02.0 eth0: RealTek RTL8139 at 0xf85aac00, 00:40:f4:48:3e:3f, IRQ 17
[   52.800715] nouveau  [  DEVICE][0000:01:00.0] BOOT0  : 0x018100a3
[   52.800723] nouveau  [  DEVICE][0000:01:00.0] Chipset: NV18 (NV18)
[   52.800727] nouveau  [  DEVICE][0000:01:00.0] Family : NV10
[   52.802406] nouveau  [   VBIOS][0000:01:00.0] checking PRAMIN for image...
[   52.854141] nouveau  [   VBIOS][0000:01:00.0] ... appears to be valid
[   52.854146] nouveau  [   VBIOS][0000:01:00.0] using image from PRAMIN
[   52.854151] nouveau  [   VBIOS][0000:01:00.0] BMP version 5.26
[   52.854370] nouveau  [   VBIOS][0000:01:00.0] version 04.18.20.21.00
[   52.902231] nouveau W[  PTIMER][0000:01:00.0] unknown input clock freq
[   52.902244] nouveau  [     PFB][0000:01:00.0] RAM type: DDR1
[   52.902248] nouveau  [     PFB][0000:01:00.0] RAM size: 64 MiB
[   52.902252] nouveau  [     PFB][0000:01:00.0]    ZCOMP: 0 tags
[   52.921762] agpgart-intel 0000:00:00.0: AGP 3.0 bridge
[   52.921781] agpgart: modprobe tried to set rate=x12. Setting to AGP3 x8 mode.
[   52.921791] agpgart-intel 0000:00:00.0: putting AGP V3 device into 8x mode
[   52.921830] nouveau 0000:01:00.0: putting AGP V3 device into 8x mode
[   52.933195] [TTM] Zone  kernel: Available graphics memory: 447092 kiB
[   52.933202] [TTM] Zone highmem: Available graphics memory: 776406 kiB
[   52.933205] [TTM] Initializing pool allocator
[   52.933426] nouveau  [     DRM] VRAM: 63 MiB
[   52.933432] nouveau  [     DRM] GART: 256 MiB
[   52.933438] nouveau  [     DRM] BMP version 5.38
[   52.933443] nouveau  [     DRM] DCB version 2.2
[   52.933448] nouveau  [     DRM] DCB outp 00: 01000300 00009c40
[   52.933453] nouveau  [     DRM] DCB outp 01: 02010310 00009c40
[   52.933457] nouveau  [     DRM] DCB outp 02: 01010312 00000000
[   52.933460] nouveau  [     DRM] DCB outp 03: 02020321 00000003
[   52.933621] nouveau  [     DRM] Loading NV17 power sequencing microcode
[   52.934174] nouveau  [     DRM] Saving VGA fonts
[   53.053534] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[   53.053541] [drm] No driver support for vblank timestamp query.
[   53.053623] nouveau  [     DRM] 0xDCF0: Parsing digital output script table
[   53.110347] snd_intel8x0 0000:00:1f.5: setting latency timer to 64
[   53.259067] nouveau  [     DRM] 0 available performance level(s)
[   53.259076] nouveau  [     DRM] c: core 274MHz memory 405MHz
[   53.260854] nouveau  [     DRM] MM: using M2MF for buffer copies
[   53.260871] nouveau  [     DRM] Setting dpms mode 3 on TV encoder (output 3)
[   53.322210] usblp 3-1:1.1: usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x043D pid 0x00BB
[   53.322767] usbcore: registered new interface driver usblp
[   53.373696] nouveau  [     DRM] allocated 640x480 fb: 0x9000, bo f6384200
[   53.373890] fbcon: nouveaufb (fb0) is primary device
[   53.470037] Console: switching to colour frame buffer device 80x30
[   53.471671] nouveau 0000:01:00.0: fb0: nouveaufb frame buffer device
[   53.471676] nouveau 0000:01:00.0: registered panic notifier
[   53.471682] [drm] Initialized nouveau 1.1.1 20120801 for 0000:01:00.0 on minor 0
[   53.566679] intel8x0_measure_ac97_clock: measured 50934 usecs (2280 samples)
[   53.566685] intel8x0: clocking to 51471
[   53.782801] Adding 3859452k swap on /dev/sda6.  Priority:-1 extents:1 across:3859452k 
[   54.433630] 8139too 0000:02:02.0 eth0: link down
[   56.268300] ip_tables: (C) 2000-2006 Netfilter Core Team
[   56.278421] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[   67.175871] 8139too 0000:02:02.0 eth0: link down
[   67.256392] 8139too 0000:02:02.0 eth0: link down
[  113.253075] aufs test_add:294:busybox[13899]: uid/gid/perm /initrd/pup_ro4 0/0/0755, 0/0/01777
[  133.567738] aufs test_add:294:busybox[16317]: uid/gid/perm /initrd/pup_ro5 0/0/0755, 0/0/01777
[  319.033399] seamonkey[24390]: segfault at 4 ip b308f369 sp bfdccd80 error 4 in nouveau_vieux_dri.so[b3078000+352000]
[  324.128516] aufs may_rename_srcdir:488:URL Classifier[24531]: renaming dir who has child(ren) on multiple branches, is not supported
[  415.683433] usb 1-2.1: new high-speed USB device number 5 using ehci-pci
[  415.784663] usb 1-2.1: New USB device found, idVendor=13b1, idProduct=000a
[  415.784669] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  415.784674] usb 1-2.1: Product: Wireless-G USB Network Adapter
[  415.784678] usb 1-2.1: Manufacturer: Cisco-Linksys
[  415.957822] cfg80211: Calling CRDA to update world regulatory domain
[  416.066757] usb 1-2.1: reset high-speed USB device number 5 using ehci-pci
[  416.163856] usb 1-2.1: Loading firmware file isl3887usb
[  416.163912] usbcore: registered new interface driver p54usb
[  416.171849] ieee80211 phy0: p54 detected a LM87 firmware
[  416.171857] p54: rx_mtu reduced from 3240 to 2384
[  416.171862] ieee80211 phy0: FW rev 2.13.24.0 - Softmac protocol 5.9
[  416.171868] ieee80211 phy0: cryptographic accelerator WEP:YES, TKIP:YES, CCMP:YES
[  417.166834] ieee80211 phy0: hwaddr 00:12:17:93:5e:a2, MAC:isl3887 RF:Frisbee
[  417.197561] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[  417.197984] usb 1-2.1: is registered as 'phy0'
[  442.354092] wlan0: authenticate with ec:1a:59:6b:5c:92
[  442.354158] wlan0: send auth to ec:1a:59:6b:5c:92 (try 1/3)
[  442.362152] wlan0: authenticated
[  442.363633] wlan0: associate with ec:1a:59:6b:5c:92 (try 1/3)
[  442.366158] wlan0: RX AssocResp from ec:1a:59:6b:5c:92 (capab=0x411 status=0 aid=2)
[  442.366479] wlan0: associated
[  472.548770] seamonkey[29720]: segfault at 4 ip b30aa369 sp bf89adb0 error 4 in nouveau_vieux_dri.so[b3093000+352000]
[ 2447.986546] usb 1-2.2: new high-speed USB device number 6 using ehci-pci
[ 2448.084901] usb 1-2.2: New USB device found, idVendor=8564, idProduct=1000
[ 2448.084909] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2448.084914] usb 1-2.2: Product: Mass Storage Device
[ 2448.084918] usb 1-2.2: Manufacturer: JetFlash
[ 2448.084922] usb 1-2.2: SerialNumber: 64Y1CSVXXPXG5W20
[ 2448.086132] usb-storage 1-2.2:1.0: USB Mass Storage device detected
[ 2448.087498] scsi5 : usb-storage 1-2.2:1.0
[ 2449.713927] scsi 5:0:0:0: Direct-Access     JetFlash Transcend 32GB   1100 PQ: 0 ANSI: 4
[ 2449.715902] sd 5:0:0:0: [sdc] 63393792 512-byte logical blocks: (32.4 GB/30.2 GiB)
[ 2449.716681] sd 5:0:0:0: [sdc] Write Protect is off
[ 2449.716689] sd 5:0:0:0: [sdc] Mode Sense: 43 00 00 00
[ 2449.717409] sd 5:0:0:0: [sdc] No Caching mode page present
[ 2449.717416] sd 5:0:0:0: [sdc] Assuming drive cache: write through
[ 2449.722840] sd 5:0:0:0: [sdc] No Caching mode page present
[ 2449.722848] sd 5:0:0:0: [sdc] Assuming drive cache: write through
[ 2449.724313]  sdc:
[ 2449.727158] sd 5:0:0:0: [sdc] No Caching mode page present
[ 2449.727166] sd 5:0:0:0: [sdc] Assuming drive cache: write through
[ 2449.727775] sd 5:0:0:0: [sdc] Attached SCSI removable disk
[ 2457.138149] FAT-fs (sdc): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 2481.061776] usb 1-2.2: USB disconnect, device number 6
[ 6819.582686] ISO 9660 Extensions: Microsoft Joliet Level 3
[ 6819.585587] ISO 9660 Extensions: RRIP_1991A
[ 8069.065979] usb 1-2.2: new high-speed USB device number 7 using ehci-pci
[ 8069.167714] usb 1-2.2: New USB device found, idVendor=8564, idProduct=1000
[ 8069.167723] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 8069.167728] usb 1-2.2: Product: Mass Storage Device
[ 8069.167732] usb 1-2.2: Manufacturer: JetFlash
[ 8069.167736] usb 1-2.2: SerialNumber: 64Y1CSVXXPXG5W20
[ 8069.168937] usb-storage 1-2.2:1.0: USB Mass Storage device detected
[ 8069.182583] scsi6 : usb-storage 1-2.2:1.0
[ 8070.810219] scsi 6:0:0:0: Direct-Access     JetFlash Transcend 32GB   1100 PQ: 0 ANSI: 4
[ 8070.812200] sd 6:0:0:0: [sdd] 63393792 512-byte logical blocks: (32.4 GB/30.2 GiB)
[ 8070.812956] sd 6:0:0:0: [sdd] Write Protect is off
[ 8070.812964] sd 6:0:0:0: [sdd] Mode Sense: 43 00 00 00
[ 8070.813702] sd 6:0:0:0: [sdd] No Caching mode page present
[ 8070.813709] sd 6:0:0:0: [sdd] Assuming drive cache: write through
[ 8070.818832] sd 6:0:0:0: [sdd] No Caching mode page present
[ 8070.818842] sd 6:0:0:0: [sdd] Assuming drive cache: write through
[ 8070.820226]  sdd:
[ 8070.823079] sd 6:0:0:0: [sdd] No Caching mode page present
[ 8070.823087] sd 6:0:0:0: [sdd] Assuming drive cache: write through
[ 8070.823698] sd 6:0:0:0: [sdd] Attached SCSI removable disk
[ 8079.705569] FAT-fs (sdd): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 8108.305429] usb 1-2.2: USB disconnect, device number 7
[ 8108.309542] sd 6:0:0:0: [sdd] Unhandled error code
[ 8108.309550] sd 6:0:0:0: [sdd]  
[ 8108.309553] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[ 8108.309557] sd 6:0:0:0: [sdd] CDB: 
[ 8108.309560] Write(10): 2a 00 02 7b 76 da 00 00 f0 00
[ 8108.309572] end_request: I/O error, dev sdd, sector 41645786
[ 8108.311367] sd 6:0:0:0: [sdd] Unhandled error code
[ 8108.311374] sd 6:0:0:0: [sdd]  
[ 8108.311377] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[ 8108.311381] sd 6:0:0:0: [sdd] CDB: 
[ 8108.311384] Write(10): 2a 00 02 7b 77 ca 00 00 f0 00
[ 8108.311395] end_request: I/O error, dev sdd, sector 41646026
[ 8108.582220] FAT-fs (sdd): bread failed in fat_clusters_flush
[ 8108.584566] FAT-fs (sdd): FAT read failed (blocknr 2595)
[ 8108.584796] FAT-fs (sdd): FAT read failed (blocknr 2592)
[ 8108.600450] FAT-fs (sdd): unable to read inode block for updating (i_pos 124990)
[ 8112.066056] usb 1-2.2: new high-speed USB device number 8 using ehci-pci
[ 8112.164281] usb 1-2.2: New USB device found, idVendor=8564, idProduct=1000
[ 8112.164289] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 8112.164294] usb 1-2.2: Product: Mass Storage Device
[ 8112.164298] usb 1-2.2: Manufacturer: JetFlash
[ 8112.164302] usb 1-2.2: SerialNumber: 64Y1CSVXXPXG5W20
[ 8112.165431] usb-storage 1-2.2:1.0: USB Mass Storage device detected
[ 8112.166848] scsi7 : usb-storage 1-2.2:1.0
[ 8113.804175] scsi 7:0:0:0: Direct-Access     JetFlash Transcend 32GB   1100 PQ: 0 ANSI: 4
[ 8113.806284] sd 7:0:0:0: [sde] 63393792 512-byte logical blocks: (32.4 GB/30.2 GiB)
[ 8113.807035] sd 7:0:0:0: [sde] Write Protect is off
[ 8113.807043] sd 7:0:0:0: [sde] Mode Sense: 43 00 00 00
[ 8113.807778] sd 7:0:0:0: [sde] No Caching mode page present
[ 8113.807785] sd 7:0:0:0: [sde] Assuming drive cache: write through
[ 8113.813167] sd 7:0:0:0: [sde] No Caching mode page present
[ 8113.813177] sd 7:0:0:0: [sde] Assuming drive cache: write through
[ 8113.814564]  sde:
[ 8113.817661] sd 7:0:0:0: [sde] No Caching mode page present
[ 8113.817670] sd 7:0:0:0: [sde] Assuming drive cache: write through
[ 8113.818270] sd 7:0:0:0: [sde] Attached SCSI removable disk
[ 8174.832329] usb 1-2.2: USB disconnect, device number 8
[ 8176.822634] usb 1-2.2: new high-speed USB device number 9 using ehci-pci
[ 8176.921111] usb 1-2.2: New USB device found, idVendor=8564, idProduct=1000
[ 8176.921121] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 8176.921126] usb 1-2.2: Product: Mass Storage Device
[ 8176.921130] usb 1-2.2: Manufacturer: JetFlash
[ 8176.921134] usb 1-2.2: SerialNumber: 64Y1CSVXXPXG5W20
[ 8176.922369] usb-storage 1-2.2:1.0: USB Mass Storage device detected
[ 8176.926971] scsi8 : usb-storage 1-2.2:1.0
[ 8178.564505] scsi 8:0:0:0: Direct-Access     JetFlash Transcend 32GB   1100 PQ: 0 ANSI: 4
[ 8178.566602] sd 8:0:0:0: [sde] 63393792 512-byte logical blocks: (32.4 GB/30.2 GiB)
[ 8178.567359] sd 8:0:0:0: [sde] Write Protect is off
[ 8178.567368] sd 8:0:0:0: [sde] Mode Sense: 43 00 00 00
[ 8178.568108] sd 8:0:0:0: [sde] No Caching mode page present
[ 8178.568115] sd 8:0:0:0: [sde] Assuming drive cache: write through
[ 8178.573362] sd 8:0:0:0: [sde] No Caching mode page present
[ 8178.573371] sd 8:0:0:0: [sde] Assuming drive cache: write through
[ 8178.576404]  sde:
[ 8178.579388] sd 8:0:0:0: [sde] No Caching mode page present
[ 8178.579395] sd 8:0:0:0: [sde] Assuming drive cache: write through
[ 8178.580111] sd 8:0:0:0: [sde] Attached SCSI removable disk
[ 8181.487427] usb 1-2.2: USB disconnect, device number 9
[ 8183.222694] usb 1-2.2: new high-speed USB device number 10 using ehci-pci
[ 8183.321039] usb 1-2.2: New USB device found, idVendor=8564, idProduct=1000
[ 8183.321047] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 8183.321052] usb 1-2.2: Product: Mass Storage Device
[ 8183.321056] usb 1-2.2: Manufacturer: JetFlash
[ 8183.321060] usb 1-2.2: SerialNumber: 64Y1CSVXXPXG5W20
[ 8183.322182] usb-storage 1-2.2:1.0: USB Mass Storage device detected
[ 8183.323641] scsi9 : usb-storage 1-2.2:1.0
[ 8184.961066] scsi 9:0:0:0: Direct-Access     JetFlash Transcend 32GB   1100 PQ: 0 ANSI: 4
[ 8184.963162] sd 9:0:0:0: [sde] 63393792 512-byte logical blocks: (32.4 GB/30.2 GiB)
[ 8184.963923] sd 9:0:0:0: [sde] Write Protect is off
[ 8184.963931] sd 9:0:0:0: [sde] Mode Sense: 43 00 00 00
[ 8184.964663] sd 9:0:0:0: [sde] No Caching mode page present
[ 8184.964670] sd 9:0:0:0: [sde] Assuming drive cache: write through
[ 8184.969925] sd 9:0:0:0: [sde] No Caching mode page present
[ 8184.969934] sd 9:0:0:0: [sde] Assuming drive cache: write through
[ 8184.971317]  sde:
[ 8184.974295] sd 9:0:0:0: [sde] No Caching mode page present
[ 8184.974304] sd 9:0:0:0: [sde] Assuming drive cache: write through
[ 8184.974914] sd 9:0:0:0: [sde] Attached SCSI removable disk
[ 8190.701683] usb 1-2.2: USB disconnect, device number 10
[ 8192.949318] usb 1-2.2: new high-speed USB device number 11 using ehci-pci
[ 8193.047667] usb 1-2.2: New USB device found, idVendor=8564, idProduct=1000
[ 8193.047675] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 8193.047680] usb 1-2.2: Product: Mass Storage Device
[ 8193.047684] usb 1-2.2: Manufacturer: JetFlash
[ 8193.047688] usb 1-2.2: SerialNumber: 64Y1CSVXXPXG5W20
[ 8193.048933] usb-storage 1-2.2:1.0: USB Mass Storage device detected
[ 8193.050369] scsi10 : usb-storage 1-2.2:1.0
[ 8194.687813] scsi 10:0:0:0: Direct-Access     JetFlash Transcend 32GB   1100 PQ: 0 ANSI: 4
[ 8194.689789] sd 10:0:0:0: [sde] 63393792 512-byte logical blocks: (32.4 GB/30.2 GiB)
[ 8194.690548] sd 10:0:0:0: [sde] Write Protect is off
[ 8194.690555] sd 10:0:0:0: [sde] Mode Sense: 43 00 00 00
[ 8194.691294] sd 10:0:0:0: [sde] No Caching mode page present
[ 8194.691301] sd 10:0:0:0: [sde] Assuming drive cache: write through
[ 8194.696666] sd 10:0:0:0: [sde] No Caching mode page present
[ 8194.696676] sd 10:0:0:0: [sde] Assuming drive cache: write through
[ 8194.698204]  sde:
[ 8194.700921] sd 10:0:0:0: [sde] No Caching mode page present
[ 8194.700930] sd 10:0:0:0: [sde] Assuming drive cache: write through
[ 8194.701544] sd 10:0:0:0: [sde] Attached SCSI removable disk
[ 8194.701544] sd 10:0:0:0: [sde] Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 8194.701544] sd 10:0:0:0: [sde] Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 8194.701544] sd 10:0:0:0: [sde] Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 8194.701544] sd 10:0:0:0: [sde] Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

TheNH813
Posts: 62
Joined: Wed 13 Nov 2013, 19:27

#4 Post by TheNH813 »

SDB1 is the boot drive and SDC is what the troublesome drive started as
Ignore the message about SDB1 being incorrectly unmounted, I pulled it from a Windows PC that did not have quick removal enabled last time. I didnt know that untill windows said unabled to read $MFT. That is not the drive in question and has no problems, even though I will FSCK it to make sure it dosent have problems in the future.


EDIT: Happened agasin, this thime the error is clearly shown.

Code: Select all

[14454.719140] FAT-fs (sde): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[14593.266293] usb 1-2.2: USB disconnect, device number 11
[14593.268755] sd 10:0:0:0: [sde] Unhandled error code
[14593.268763] sd 10:0:0:0: [sde]  
[14593.268766] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[14593.268771] sd 10:0:0:0: [sde] CDB: 
[14593.268774] Write(10): 2a 00 02 80 b4 8a 00 00 f0 00
[14593.268786] end_request: I/O error, dev sde, sector 41989258
[14593.269729] sd 10:0:0:0: [sde] Unhandled error code
[14593.269735] sd 10:0:0:0: [sde]  
[14593.269738] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[14593.269741] sd 10:0:0:0: [sde] CDB: 
[14593.269743] Write(10): 2a 00 02 80 b5 7a 00 00 f0 00
[14593.269754] end_request: I/O error, dev sde, sector 41989498
[14593.299929] FAT-fs (sde): FAT read failed (blocknr 2596)
[14593.299957] FAT-fs (sde): FAT read failed (blocknr 2593)
[14593.548765] usb 1-2.2: new high-speed USB device number 12 using ehci-pci
[14593.647854] usb 1-2.2: New USB device found, idVendor=8564, idProduct=1000
[14593.647862] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[14593.647867] usb 1-2.2: Product: Mass Storage Device
[14593.647871] usb 1-2.2: Manufacturer: JetFlash
[14593.647875] usb 1-2.2: SerialNumber: 64Y1CSVXXPXG5W20
[14593.649344] usb-storage 1-2.2:1.0: USB Mass Storage device detected
[14593.650924] scsi11 : usb-storage 1-2.2:1.0
[14595.301130] scsi 11:0:0:0: Direct-Access     JetFlash Transcend 32GB   1100 PQ: 0 ANSI: 4
[14595.303217] sd 11:0:0:0: [sdf] 63393792 512-byte logical blocks: (32.4 GB/30.2 GiB)
[14595.304001] sd 11:0:0:0: [sdf] Write Protect is off
[14595.304011] sd 11:0:0:0: [sdf] Mode Sense: 43 00 00 00
[14595.304734] sd 11:0:0:0: [sdf] No Caching mode page present
[14595.304742] sd 11:0:0:0: [sdf] Assuming drive cache: write through
[14595.309364] sd 11:0:0:0: [sdf] No Caching mode page present
[14595.309373] sd 11:0:0:0: [sdf] Assuming drive cache: write through
[14595.310745]  sdf:
[14595.313880] sd 11:0:0:0: [sdf] No Caching mode page present
[14595.313888] sd 11:0:0:0: [sdf] Assuming drive cache: write through
[14595.314472] sd 11:0:0:0: [sdf] Attached SCSI removable disk
[14601.660195] FAT-fs (sdf): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
It appears to be some kind of unhandled hardware exception/error.


I can reproduce this error as many times as I want by writing a huge stream of data to the drive. After typing $cat /dev/urandom > /mnt/sde/random.data it fails ithin seconds. Maybe the flash menory really is going bad or the controller chip on the drive is. I will repeat this to see if I get consistant results.

Code: Select all

[14623.371936] FAT-fs (sde): bread failed in fat_clusters_flush
[14623.371954] FAT-fs (sde): unable to read inode block for updating (i_pos 124393)
[14923.099418] usb 1-2.2: USB disconnect, device number 12
[14923.105252] sd 11:0:0:0: [sdf] Unhandled error code
[14923.105260] sd 11:0:0:0: [sdf]  
[14923.105264] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[14923.105268] sd 11:0:0:0: [sdf] CDB: 
[14923.105270] Write(10): 2a 00 02 81 45 aa 00 00 f0 00
[14923.105283] end_request: I/O error, dev sdf, sector 42026410
[14923.107584] sd 11:0:0:0: [sdf] Unhandled error code
[14923.107592] sd 11:0:0:0: [sdf]  
[14923.107595] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[14923.107599] sd 11:0:0:0: [sdf] CDB: 
[14923.107602] Write(10): 2a 00 02 81 46 9a 00 00 f0 00
[14923.107614] end_request: I/O error, dev sdf, sector 42026650
[14923.168813] FAT-fs (sdf): FAT read failed (blocknr 2599)
[14923.168841] FAT-fs (sdf): FAT read failed (blocknr 2593)
[14923.382015] usb 1-2.2: new high-speed USB device number 13 using ehci-pci
[14923.480355] usb 1-2.2: New USB device found, idVendor=8564, idProduct=1000
[14923.480363] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[14923.480368] usb 1-2.2: Product: Mass Storage Device
[14923.480372] usb 1-2.2: Manufacturer: JetFlash
[14923.480376] usb 1-2.2: SerialNumber: 64Y1CSVXXPXG5W20
[14923.481571] usb-storage 1-2.2:1.0: USB Mass Storage device detected
[14923.483048] scsi12 : usb-storage 1-2.2:1.0
[14925.134999] scsi 12:0:0:0: Direct-Access     JetFlash Transcend 32GB   1100 PQ: 0 ANSI: 4
[14925.137350] sd 12:0:0:0: [sdg] 63393792 512-byte logical blocks: (32.4 GB/30.2 GiB)
[14925.138108] sd 12:0:0:0: [sdg] Write Protect is off
[14925.138117] sd 12:0:0:0: [sdg] Mode Sense: 43 00 00 00
[14925.138853] sd 12:0:0:0: [sdg] No Caching mode page present
[14925.138859] sd 12:0:0:0: [sdg] Assuming drive cache: write through
[14925.143783] sd 12:0:0:0: [sdg] No Caching mode page present
[14925.143792] sd 12:0:0:0: [sdg] Assuming drive cache: write through
[14925.146378]  sdg:
[14925.149478] sd 12:0:0:0: [sdg] No Caching mode page present
[14925.149487] sd 12:0:0:0: [sdg] Assuming drive cache: write through
[14925.150106] sd 12:0:0:0: [sdg] Attached SCSI removable disk

Code: Select all

[14990.192729] usb 1-2.2: USB disconnect, device number 13
[14990.194967] sd 12:0:0:0: [sdg] Unhandled error code
[14990.194977] sd 12:0:0:0: [sdg]  
[14990.194980] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[14990.194984] sd 12:0:0:0: [sdg] CDB: 
[14990.194987] Write(10): 2a 00 02 82 01 1a 00 00 f0 00
[14990.194999] end_request: I/O error, dev sdg, sector 42074394
[14990.195679] sd 12:0:0:0: [sdg] Unhandled error code
[14990.195684] sd 12:0:0:0: [sdg]  
[14990.195687] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[14990.195691] sd 12:0:0:0: [sdg] CDB: 
[14990.195693] Write(10): 2a 00 02 82 02 0a 00 00 f0 00
[14990.195703] end_request: I/O error, dev sdg, sector 42074634
[14990.199775] FAT-fs (sdg): unable to read inode block for updating (i_pos 124393)
[14990.249503] FAT-fs (sdg): FAT read failed (blocknr 2600)
[14990.249534] FAT-fs (sdg): FAT read failed (blocknr 2598)
[14990.478694] usb 1-2.2: new high-speed USB device number 14 using ehci-pci
[14990.577040] usb 1-2.2: New USB device found, idVendor=8564, idProduct=1000
[14990.577048] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[14990.577053] usb 1-2.2: Product: Mass Storage Device
[14990.577057] usb 1-2.2: Manufacturer: JetFlash
[14990.577061] usb 1-2.2: SerialNumber: 64Y1CSVXXPXG5W20
[14990.578248] usb-storage 1-2.2:1.0: USB Mass Storage device detected
[14990.579944] scsi13 : usb-storage 1-2.2:1.0
[14992.241056] scsi 13:0:0:0: Direct-Access     JetFlash Transcend 32GB   1100 PQ: 0 ANSI: 4
[14992.246961] sd 13:0:0:0: [sdh] 63393792 512-byte logical blocks: (32.4 GB/30.2 GiB)
[14992.259924] sd 13:0:0:0: [sdh] Write Protect is off
[14992.259933] sd 13:0:0:0: [sdh] Mode Sense: 43 00 00 00
[14992.265439] sd 13:0:0:0: [sdh] No Caching mode page present
[14992.265445] sd 13:0:0:0: [sdh] Assuming drive cache: write through
[14992.279662] sd 13:0:0:0: [sdh] No Caching mode page present
[14992.279671] sd 13:0:0:0: [sdh] Assuming drive cache: write through
[14992.281069]  sdh:
[14992.284487] sd 13:0:0:0: [sdh] No Caching mode page present
[14992.284495] sd 13:0:0:0: [sdh] Assuming drive cache: write through
[14992.285802] sd 13:0:0:0: [sdh] Attached SCSI removable disk
[15020.318556] FAT-fs (sdg): bread failed in fat_clusters_flush
[15020.318578] FAT-fs (sdg): unable to read inode block for updating (i_pos 124393)
[15022.321716] FAT-fs (sdg): FAT read failed (blocknr 2598)
[15022.340947] FAT-fs (sdg): FAT read failed (blocknr 2600)

Code: Select all

[15020.318556] FAT-fs (sdg): bread failed in fat_clusters_flush
[15020.318578] FAT-fs (sdg): unable to read inode block for updating (i_pos 124393)
[15022.321716] FAT-fs (sdg): FAT read failed (blocknr 2598)
[15022.340947] FAT-fs (sdg): FAT read failed (blocknr 2600)
[15052.398546] FAT-fs (sdg): unable to read inode block for updating (i_pos 124393)
[15052.398556] FAT-fs (sdg): bread failed in fat_clusters_flush
[15216.474122] usb 1-2.2: USB disconnect, device number 14
[15219.745338] usb 1-2.2: new high-speed USB device number 15 using ehci-pci
[15219.843686] usb 1-2.2: New USB device found, idVendor=8564, idProduct=1000
[15219.843694] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[15219.843699] usb 1-2.2: Product: Mass Storage Device
[15219.843703] usb 1-2.2: Manufacturer: JetFlash
[15219.843707] usb 1-2.2: SerialNumber: 64Y1CSVXXPXG5W20
[15219.844942] usb-storage 1-2.2:1.0: USB Mass Storage device detected
[15219.846392] scsi14 : usb-storage 1-2.2:1.0
[15221.506084] scsi 14:0:0:0: Direct-Access     JetFlash Transcend 32GB   1100 PQ: 0 ANSI: 4
[15221.508046] sd 14:0:0:0: [sdh] 63393792 512-byte logical blocks: (32.4 GB/30.2 GiB)
[15221.508807] sd 14:0:0:0: [sdh] Write Protect is off
[15221.508814] sd 14:0:0:0: [sdh] Mode Sense: 43 00 00 00
[15221.509564] sd 14:0:0:0: [sdh] No Caching mode page present
[15221.509572] sd 14:0:0:0: [sdh] Assuming drive cache: write through
[15221.516674] sd 14:0:0:0: [sdh] No Caching mode page present
[15221.516682] sd 14:0:0:0: [sdh] Assuming drive cache: write through
[15221.518225]  sdh:
[15221.521184] sd 14:0:0:0: [sdh] No Caching mode page present
[15221.521192] sd 14:0:0:0: [sdh] Assuming drive cache: write through
[15221.521790] sd 14:0:0:0: [sdh] Attached SCSI removable disk
[15228.204236] FAT-fs (sdh): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[15241.256118] usb 1-2.2: USB disconnect, device number 15
[15241.258353] sd 14:0:0:0: [sdh] Unhandled error code
[15241.258363] sd 14:0:0:0: [sdh]  
[15241.258366] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[15241.258370] sd 14:0:0:0: [sdh] CDB: 
[15241.258373] Write(10): 2a 00 02 82 32 ca 00 00 f0 00
[15241.258385] end_request: I/O error, dev sdh, sector 42087114
[15241.261756] sd 14:0:0:0: [sdh] Unhandled error code
[15241.261765] sd 14:0:0:0: [sdh]  
[15241.261769] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[15241.261773] sd 14:0:0:0: [sdh] CDB: 
[15241.261776] Write(10): 2a 00 02 82 33 ba 00 00 f0 00
[15241.261788] end_request: I/O error, dev sdh, sector 42087354
[15241.263842] FAT-fs (sdh): unable to read inode block for updating (i_pos 124393)
[15241.323887] FAT-fs (sdh): FAT read failed (blocknr 2601)
[15241.323915] FAT-fs (sdh): FAT read failed (blocknr 2598)
[15241.515335] usb 1-2.2: new high-speed USB device number 16 using ehci-pci
[15241.613680] usb 1-2.2: New USB device found, idVendor=8564, idProduct=1000
[15241.613688] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[15241.613693] usb 1-2.2: Product: Mass Storage Device
[15241.613698] usb 1-2.2: Manufacturer: JetFlash
[15241.613702] usb 1-2.2: SerialNumber: 64Y1CSVXXPXG5W20
[15241.614883] usb-storage 1-2.2:1.0: USB Mass Storage device detected
[15241.616344] scsi15 : usb-storage 1-2.2:1.0
[15243.263948] scsi 15:0:0:0: Direct-Access     JetFlash Transcend 32GB   1100 PQ: 0 ANSI: 4
[15243.266052] sd 15:0:0:0: [sdi] 63393792 512-byte logical blocks: (32.4 GB/30.2 GiB)
[15243.266807] sd 15:0:0:0: [sdi] Write Protect is off
[15243.266816] sd 15:0:0:0: [sdi] Mode Sense: 43 00 00 00
[15243.267557] sd 15:0:0:0: [sdi] No Caching mode page present
[15243.267564] sd 15:0:0:0: [sdi] Assuming drive cache: write through
[15243.273103] sd 15:0:0:0: [sdi] No Caching mode page present
[15243.273111] sd 15:0:0:0: [sdi] Assuming drive cache: write through
[15243.274784]  sdi:
[15243.277809] sd 15:0:0:0: [sdi] No Caching mode page present
[15243.277818] sd 15:0:0:0: [sdi] Assuming drive cache: write through
[15243.278426] sd 15:0:0:0: [sdi] Attached SCSI removable disk
# 

Yep, every time,, now I have a predictable error, I will see what you think of the kernel messages, because I cant make anything of them other than a unhandled error that the driver is unable to recover from. HAs something to do with being unable to flush the cache to disk.

I can write data from urandom to any other drive, even ones plugged into the hub without a error, clearly the Flash drive is to blame, and Windows must handle the error better than Linux for some reason. Funny Windows is able to recover from a error better than Linux, thats a first LOL.

TheNH813
Posts: 62
Joined: Wed 13 Nov 2013, 19:27

Trying my "Fix"

#5 Post by TheNH813 »

Im gonna try fixing it my way, the way I fixed a different drive.
echo /dev/zero > /dev/sdc it to the end of the drive, and create a new partition table, than format it with a Windows setup (long format). That fixed the last drive I had go glitchy two years ago, why wont it work for this. I backed everything up, here goes nothing! (cant hurt anything if its already broke LOL)

Also I got a signature, It makes me LOL every time I read it.

TheNH813
Posts: 62
Joined: Wed 13 Nov 2013, 19:27

#6 Post by TheNH813 »

Didnt completely fix it, it marked half of the blocks bad when formatting :O Now it works, but everything gets fragmented because its trying to avoid the bad blocks LOL. I just getting a new drive, I could build myself a 1TB one now for $128 with how cheap 32GB flash NANDs are these days. Im just gonna build a new flash drive or buy a premade one.

Post Reply