Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.