The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Hardware > Filesystems, Disks and Memory
.
google unix.com



Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, EIDE topics here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Problem with flash player balumankala SuSE 11 07-29-2008 01:58 AM
problem in creating flash archive girish.batra SUN Solaris 6 07-16-2008 10:35 AM
Comparing Linux USB flash disk distros iBot UNIX and Linux RSS News 0 05-22-2008 04:40 AM
Problem installing Solaris on a V890 using flash BG_JrAdmin SUN Solaris 4 11-15-2006 10:13 AM
Mozilla & Macromedia Flash Player Plugin Problem Awadhesh HP-UX 1 10-18-2005 07:42 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-19-2009
marcintom's Avatar
marcintom marcintom is offline
Registered User
  
 

Join Date: Dec 2007
Location: POLAND
Posts: 15
Question Flash disk problem

Hi,
I have USB flash drive.
I have formated this one on windows
( fdisk /dev/sdb showed me that this is WIN95 FAT32 )
ok

When I tried to copy some data from /media/cdrecord I get IO error.
and dvice automaticly unmount.
And kernel Oops is called:
Code:
CPU:    0
EIP:    0060:[<c0553041>]    Not tainted VLI
EFLAGS: 00010202   (2.6.21-1.3194.fc7 #1)
EIP is at make_class_name+0x27/0x7a
eax: 00000000   ebx: ffffffff   ecx: ffffffff   edx: 0000000b
esi: f8913368   edi: 00000000   ebp: 00000000   esp: f7c53e5c
ds: 007b   es: 007b   fs: 00d8  gs: 0000  ss: 0068
Process khubd (pid: 164, ti=f7c53000 task=f7c6c230 task.ti=f7c53000)
Stack: d9cd5e0c d9cd5e04 f8921040 f8920fc0 d9cd5e0c c055318d 00000000 d9cd5e04 
       e2e59400 00000246 e2e59000 c0553217 d9cd5c00 f89091a8 d9cd5c00 e2e59400 
       f8906e5e e2e59430 e2e59400 f890239b e2e596fc ed10f618 f8cd2b60 f8cc6769 
Call Trace:
 [<c055318d>] class_device_del+0x9d/0x11f
 [<c0553217>] class_device_unregister+0x8/0x10
 [<f89091a8>] __scsi_remove_device+0x1d/0x60 [scsi_mod]
 [<f8906e5e>] scsi_forget_host+0x2d/0x4a [scsi_mod]
 [<f890239b>] scsi_remove_host+0x65/0xd6 [scsi_mod]
 [<f8cc6769>] storage_disconnect+0xe/0x16 [usb_storage]
 [<c0569da2>] usb_unbind_interface+0x44/0x85
 [<c05527f7>] __device_release_driver+0x6e/0x8b
 [<c0552c49>] device_release_driver+0x32/0x48
 [<c055223f>] bus_remove_device+0x6a/0x7a
 [<c05509b7>] device_del+0x14c/0x1ad
 [<c05679f8>] usb_disable_device+0x5c/0xbb
 [<c05648d1>] usb_disconnect+0x97/0x123
 [<c0565595>] hub_thread+0x37b/0xa6e
 [<c0436e71>] autoremove_wake_function+0x0/0x35
 [<c056521a>] hub_thread+0x0/0xa6e
 [<c0436da8>] kthread+0xb0/0xd8
 [<c0436cf8>] kthread+0x0/0xd8
 [<c0405b3f>] kernel_thread_helper+0x7/0x10
 =======================

And I tried put off and agin put into usb slot this flash drive
and after this I get in dmesg:

Code:
sd 7:0:0:0: Attached scsi removable disk sdc
sd 7:0:0:0: Attached scsi generic sg2 type 0
sdc : READ CAPACITY failed.
sdc : status=0, message=00, host=1, driver=00 
sdc : sense not available. 
sdc: Write Protect is off
sdc: Mode Sense: 00 00 00 00
sdc: assuming drive cache: write through
sdc : READ CAPACITY failed.
sdc : status=0, message=00, host=1, driver=00 
sdc : sense not available. 
sdc: Write Protect is off
sdc: Mode Sense: 00 00 00 00
sdc: assuming drive cache: write through
sdc : READ CAPACITY failed.
sdc : status=0, message=00, host=1, driver=00 
sdc : sense not available. 
sdc: Write Protect is off
sdc: Mode Sense: 00 00 00 00
sdc: assuming drive cache: write through
sdc : READ CAPACITY failed.
sdc : status=0, message=00, host=1, driver=00 
sdc : sense not available. 
sdc: Write Protect is off
sdc: Mode Sense: 00 00 00 00
sdc: assuming drive cache: write through
scsi 6:0:0:0: rejecting I/O to dead device
scsi 6:0:0:0: rejecting I/O to dead device
FAT: Directory bread(block 15632) failed
scsi 6:0:0:0: rejecting I/O to dead device
FAT: Directory bread(block 15633) failed
scsi 6:0:0:0: rejecting I/O to dead device
FAT: Directory bread(block 15634) failed
scsi 6:0:0:0: rejecting I/O to dead device
(....)
Is anybody who know what it's going on with my flash ?
  #2 (permalink)  
Old 09-21-2009
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,929
A kernel oops is very bad. That shouldn't happen under normal circumstances, or even under most abnormal circumstances really. Have you rebooted your system since then? It might need one to resume normal operation, a kernel oops can shut down things you need to do this, if not lock your system up completely.

What is your system, anyway?
  #3 (permalink)  
Old 09-28-2009
marcintom's Avatar
marcintom marcintom is offline
Registered User
  
 

Join Date: Dec 2007
Location: POLAND
Posts: 15
I suppose I mean this look like this flash memory is broken. I tried restart the system many times. When I turn on other flash disk evrything is ok.

My system is
Linux localhost.localdomain 2.6.21-1.3194.fc7 #1 SMP Wed May 23 22:35:01 EDT 2007 i686 i686 i386 GNU/Linux

I know that oops is not very good situation but maybe there is some solution or way to fix my flash. I tried
fsck.vfat
and this not work.
I tried to reformat this flash disk but still no effect.

Maybe somebody know a way or tools to "debug" flash memory and to fix it.
  #4 (permalink)  
Old 10-06-2009
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,929
I can only guess, but from the stack trace it looks like the device is removing itself when being written to, or the kernel thinks it is.
  #5 (permalink)  
Old 10-12-2009
marcintom's Avatar
marcintom marcintom is offline
Registered User
  
 

Join Date: Dec 2007
Location: POLAND
Posts: 15
I bought new flash memory. I think that this is the one of the best solution in this situation but if anybody know what can I do to bring up my old flash please tell me.
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:38 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0