LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-27-2005, 04:39 PM   #1
drben
Member
 
Registered: May 2003
Location: Israel
Distribution: Ubuntu 5.10
Posts: 32

Rep: Reputation: 15
Unhappy SCSI Error with memory stick


I would appreciate an interpretation of a SCSI error message I get when plugging in my USB flash drive. A long post to show you what I've tried from reading these fora.

cinnamon:/ # uname -a
Linux cinnamon 2.6.8-24.16-default #1 Thu Jun 2 12:09:57 UTC 2005 i686 athlon i386 GNU/Linux

cinnamon:/ # lsmod | grep usb
Quote:
usb_storage 62528 0
usbserial 26856 0
usbcore 106724 6 usb_storage,usbserial,ehci_hcd,ohci_hcd
scsi_mod 111052 6 usb_storage,sg,st,sr_mod,libata,sd_mod
cinnamon:/ # cat /etc/fstab
Quote:
/dev/sda7 / reiserfs acl,user_xattr 1 1
/dev/sda8 /data1 auto noauto,user 0 0
/dev/sda9 /home reiserfs acl,user_xattr 1 2
/dev/sda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sda5 /windows/D vfat users,gid=users,umask=0002,iocharset=utf8 0 0
/dev/sda6 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/cdrecorder /media/cdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/cdrom /media/cdrom subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0
/dev/sdb1 /media/diskonkey vfat noauto,user,rw,exec,sync 00
When I plug in the flash drive, SUSE detects and mounts it at:
/media/usb-00000000000407:0:0:0p1

I can also mount by typing
mount /dev/sdb1

fdisk -l shows
Quote:
cinnamon:/media # fdisk -l

Disk /dev/sda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sda2 2551 10010 59922450 f W95 Ext'd (LBA)
/dev/sda5 2551 5100 20482843+ b W95 FAT32
/dev/sda6 5101 5229 1036161 82 Linux swap / Solaris
/dev/sda7 5230 6535 10490413+ 83 Linux
/dev/sda8 6536 7841 10490413+ 83 Linux
/dev/sda9 7842 10009 17414428+ 83 Linux

Disk /dev/sdb: 126 MB, 126615552 bytes
16 heads, 32 sectors/track, 483 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 482 123376 6 FAT16
However, I cannot open files on the flash drive, and it eventually freezes the file browser.
Here is some of the output from /var/log/messages (duplicate lines much edited out!):

Quote:

Jul 19 21:45:00 cinnamon kernel: usb 1-3: new high speed USB device using address 4
Jul 19 21:45:00 cinnamon kernel: usb 1-3: Product: USB Mass Storage Device
Jul 19 21:45:00 cinnamon kernel: usb 1-3: Manufacturer: USBest Technology
Jul 19 21:45:00 cinnamon kernel: usb 1-3: SerialNumber: 00000000000407
Jul 19 21:45:06 cinnamon kernel: Initializing USB Mass Storage driver...
Jul 19 21:45:06 cinnamon kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Jul 19 21:45:06 cinnamon kernel: Vendor: Generic Model: USB Flash Disk Rev: 0.00
Jul 19 21:45:06 cinnamon kernel: Type: Direct-Access ANSI SCSI revision: 02
Jul 19 21:45:06 cinnamon kernel: SCSI device sdb: 247296 512-byte hdwr sectors (127 MB)
Jul 19 21:45:06 cinnamon kernel: sdb: Write Protect is off
Jul 19 21:45:06 cinnamon kernel: sdb: Mode Sense: 00 00 00 00
Jul 19 21:45:06 cinnamon kernel: sdb: assuming drive cache: write through
Jul 19 21:45:06 cinnamon kernel: SCSI error: host 2 id 0 lun 0 return code = 8000002
Jul 19 21:45:06 cinnamon kernel: Sense class 7, sense error 0, extended sense 0
Jul 19 21:45:06 cinnamon kernel: sdb: sdb1
Jul 19 21:45:06 cinnamon kernel: Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 0
Jul 19 21:45:06 cinnamon kernel: Attached scsi generic sg1 at scsi2, channel 0, id 0, lun 0, type 0
Jul 19 21:45:06 cinnamon kernel: USB Mass Storage device found at 4
Jul 19 21:45:06 cinnamon kernel: usbcore: registered new driver usb-storage
Jul 19 21:45:06 cinnamon kernel: USB Mass Storage support registered.
Jul 19 21:45:15 cinnamon /etc/dev.d/block/50-hwscan.dev[7576]: new block device /block/sdb
Jul 19 21:45:15 cinnamon /etc/dev.d/block/51-subfs.dev[7587]: mount block device /block/sdb
Jul 19 21:45:15 cinnamon /etc/dev.d/block/50-hwscan.dev[7575]: new block device /block/sdb/sdb1
Jul 19 21:45:15 cinnamon /etc/dev.d/block/51-subfs.dev[7608]: mount block device /block/sdb/sdb1
Jul 19 21:45:15 cinnamon kernel: SCSI error: host 2 id 0 lun 0 return code = 8000002
Jul 19 21:45:15 cinnamon kernel: Sense class 7, sense error 0, extended sense 0
Jul 19 21:45:15 cinnamon kernel: SCSI error: host 2 id 0 lun 0 return code = 8000002
Jul 19 21:45:18 cinnamon kernel: SCSI error: host 2 id 0 lun 0 return code = 8000002
Jul 19 21:45:18 cinnamon kernel: Sense class 7, sense error 0, extended sense 0
Jul 19 21:45:20 cinnamon /etc/dev.d/block/51-subfs.dev[7608]: mount disk/by-path/usb-00000000000407:0:0:0p1
Jul 19 21:45:23 cinnamon kernel: SCSI error: host 2 id 0 lun 0 return code = 8000002
Jul 19 21:45:23 cinnamon kernel: Sense class 7, sense error 0, extended sense 0
Jul 19 21:45:30 cinnamon kernel: SCSI error: host 2 id 0 lun 0 return code = 8000002
Jul 19 21:46:20 cinnamon kernel: FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
JJul 19 22:46:33 cinnamon kernel: Buffer I/O error on device sdb1, logical block 2366
Jul 19 22:46:33 cinnamon kernel: Buffer I/O error on device sdb1, logical block 2367
Jul 19 22:46:33 cinnamon kernel: Buffer I/O error on device sdb1, logical block 2368
Jul 19 22:46:33 cinnamon kernel: Buffer I/O error on device sdb1, logical block 2369
Jul 19 21:46:54 cinnamon kernel: SCSI error : <2 0 0 0> return code = 0x70000
Jul 19 21:46:54 cinnamon kernel: end_request: I/O error, dev sdb, sector 8648
Jul 19 21:46:54 cinnamon kernel: Buffer I/O error on device sdb1, logical block 8616
Jul 19 21:47:00 cinnamon kernel: SCSI error : <2 0 0 0> return code = 0x70000
Jul 19 21:47:00 cinnamon kernel: end_request: I/O error, dev sdb, sector 8649
Jul 19 21:47:00 cinnamon kernel: Buffer I/O error on device sdb1, logical block 8617
Jul 19 21:47:06 cinnamon kernel: SCSI error : <2 0 0 0> return code = 0x70000
Jul 19 21:47:06 cinnamon kernel: end_request: I/O error, dev sdb, sector 8650
Jul 19 21:47:06 cinnamon kernel: Buffer I/O error on device sdb1, logical block 8618

Jul 19 21:47:12 cinnamon kernel: SCSI error : <2 0 0 0> return code = 0x70000
Jul 19 21:47:12 cinnamon kernel: end_request: I/O error, dev sdb, sector 8651
Jul 19 21:47:12 cinnamon kernel: Buffer I/O error on device sdb1, logical block 8619
Jul 19 21:47:19 cinnamon kernel: SCSI error : <2 0 0 0> return code = 0x70000
Jul 19 21:47:19 cinnamon kernel: end_request: I/O error, dev sdb, sector 8652
Jul 19 21:47:19 cinnamon kernel: Buffer I/O error on device sdb1, logical block 8620
Jul 19 21:47:25 cinnamon kernel: SCSI error : <2 0 0 0> return code = 0x70000
Jul 19 21:47:25 cinnamon kernel: end_request: I/O error, dev sdb, sector 8653
Jul 19 21:47:25 cinnamon kernel: Buffer I/O error on device sdb1, logical block 8621
Jul 19 22:17:06 cinnamon kernel: SCSI error: host 3 id 0 lun 0 return code = 8000002
Jul 19 22:17:06 cinnamon kernel: Sense class 7, sense error 0, extended sense 0
Jul 19 22:17:07 cinnamon kernel: SCSI error: host 3 id 0 lun 0 return code = 8000002
Jul 19 22:17:07 cinnamon kernel: Sense class 7, sense error 0, extended sense 0
Jul 19 22:46:33 cinnamon last message repeated 2 times
Jul 19 22:46:33 cinnamon kernel: Buffer I/O error on device sdb1, logical block 2356
Jul 19 22:46:33 cinnamon kernel: Buffer I/O error on device sdb1, logical block 2357
I'm starting to suspect that there may be a physical problem with the device...
Any advice or guidance would be much appreciated.
 
Old 07-27-2005, 04:42 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Those messages do very much look like indications of a possible physical problems (at least, they would with 'real' scsi devices.) Have you tried it on another computer to check the device itself?

On another note... mmm... cinnamon... making me hungry. Time to go home from work anyway.
 
Old 07-27-2005, 04:56 PM   #3
drben
Member
 
Registered: May 2003
Location: Israel
Distribution: Ubuntu 5.10
Posts: 32

Original Poster
Rep: Reputation: 15
it works fine under windoze...

so far!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing memory in USB stick, flash memory, removable hd etc bamboo_spider Linux - Newbie 3 06-14-2006 05:39 PM
I/O error when copying large file from Memory Stick airman99 Linux - General 3 08-22-2005 09:26 AM
memory stick returns error no medium found newusermike Linux - Newbie 1 08-04-2005 11:02 AM
memory stick rosslaird Debian 5 07-23-2004 08:01 PM
memory stick / CF memory card reader X-dazed Linux - Newbie 1 01-21-2003 12:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration