LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 09-13-2006, 10:19 AM   #1
SamuelHenderson
LQ Newbie
 
Registered: Sep 2006
Posts: 17

Rep: Reputation: 0
Unhappy Strange USB flash drive behavior


Firstly, I apologize in advance if this particular topic has been dealt with before on these forums. I tried searching for my problem and it came up with 600 results, and yet none seem to be applicable to my circumstances.

I recently switched to Fedora Core 5 because one of our teachers prefers it over Ubuntu. That wasn't really a problem. The installation was very smooth.

After getting to my desktop, I plugged in my USB flash drive (SanDisk Cruzer Micro 2.0GB). Lo and behold, nothing happened. I read this thread . I got to the part where it was talking about viewing the messages the kernel is spitting out every 3 seconds. When I plugged the Flash Drive in I got this as output
Code:
Sep 13 11:08:27 localhost kernel: usb 2-6: new high speed USB device using ehci_hcd and address 16
Sep 13 11:08:27 localhost kernel: usb 2-6: configuration #1 chosen from 1 choice
Sep 13 11:08:27 localhost kernel: scsi5 : SCSI emulation for USB Mass Storage devices
Sep 13 11:08:32 localhost kernel:   Vendor: SanDisk   Model: U3 Cruzer Micro   Rev: 2.16
Sep 13 11:08:32 localhost kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Sep 13 11:08:32 localhost kernel: SCSI device sda: 4001425 512-byte hdwr sectors (2049 MB)
Sep 13 11:08:32 localhost kernel: sda: Write Protect is off
Sep 13 11:08:32 localhost kernel: sda: assuming drive cache: write through
Sep 13 11:08:32 localhost kernel: SCSI device sda: 4001425 512-byte hdwr sectors (2049 MB)
Sep 13 11:08:32 localhost kernel: sda: Write Protect is off
Sep 13 11:08:32 localhost kernel: sda: assuming drive cache: write through
Sep 13 11:08:32 localhost kernel:  sda: sda1
Sep 13 11:08:32 localhost kernel: sd 5:0:0:0: Attached scsi removable disk sda
Sep 13 11:08:32 localhost kernel: sd 5:0:0:0: Attached scsi generic sg0 type 0
Sep 13 11:08:32 localhost kernel:   Vendor: SanDisk   Model: U3 Cruzer Micro   Rev: 2.16
Sep 13 11:08:32 localhost kernel:   Type:   CD-ROM                             ANSI SCSI revision: 02
Sep 13 11:08:32 localhost kernel: sr0: scsi3-mmc drive: 8x/40x writer xa/form2 cdda tray
Sep 13 11:08:32 localhost kernel: sr 5:0:0:1: Attached scsi generic sg1 type 5
Sep 13 11:08:32 localhost kernel: cdrom: This disc doesn't have any tracks I recognize!
At first I also had a new CDROM icon on my desktop and a USB SanDisk Cruzer Micro icon in my "Places->Computer". When I opened the USB SanDisk all my files were there on the jump drive. I then went and unmounted both the Jump Drive and the phantom CDROM drive thingy to see what would happen.

Now when I plug the drive back in, nothing happens. I can cd to /mnt and run "mount usbstick" and the drive is mounted to /mnt/usbstick from there I can read all my files on the drive.

What I would like to know is how do I change the type from CD-ROM to whatever it is supposed to be when I plug the jump drive in?

also, I noticed that whenever type something the kernel outputs this
Code:
Sep 13 11:15:01 localhost kernel: atkbd.c: Unknown key pressed (translated set 2, code 0xd9 on isa0060/serio0).
Sep 13 11:15:01 localhost kernel: atkbd.c: Use 'setkeycodes e059 <keycode>' to make it known.
It made the whole following along part rather troublesome.

Last edited by SamuelHenderson; 09-13-2006 at 10:21 AM.
 
Old 09-15-2006, 03:39 PM   #2
svarmido
Member
 
Registered: Apr 2006
Posts: 78

Rep: Reputation: 15
Maybe...

Take a look at your fstab file, "/etc/fstab", to see how your drive(s) are defined. Can you write to and copy from your USB flash drive? Take a look at "dmesg" for additional hints.

svarmido
 
Old 09-15-2006, 04:37 PM   #3
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
I keep on saying to several people. I recommend do not list any USB or IEEE-1394 (aka Firewire or i.Link) in /etc/fstab because in many cases one USB/IEEE-1394 drive may be listed as /dev/sda and /dev/sdb. This happens if you did not give enough time for devfsd or udev to respond to the disconnect command. Try using udev, hotplug scripts, or dbus to handle the mounting for a device that you use over and over again.

I suggest not using U3 USB devices in any OS because they create problems even though it is designed only for Windows XP. Security is the highest problem for these devices. U3 disks includes two partitions. One is a CD-ROM like partition and other is a regular partition.

U3 site - http://www.u3.com/
About and problems of an U3 dsk - http://en.wikipedia.org/wiki/U3
 
Old 09-17-2006, 11:03 PM   #4
SamuelHenderson
LQ Newbie
 
Registered: Sep 2006
Posts: 17

Original Poster
Rep: Reputation: 0
I believe the problem is the U3 portion of the drive. My friend has a non-u3 device and it seems to work fine. I'm not using my linux drive right now but I will update once I get back to school.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a usb thumb drive or flash drive as a swap partition. stevenjoseph Linux - Hardware 8 01-16-2012 12:09 PM
strange behavior from a USB HD bayonetblaha Linux - Hardware 4 02-10-2006 03:30 PM
A strange USB flash problem Firebar Linux - Hardware 3 11-09-2005 03:54 AM
Strange usb flash card reader behaviour georgekm Linux - General 2 03-29-2005 06:18 PM
Strange USB flash drive issue ValidiusMaximus Linux - Software 2 01-05-2005 03:30 PM


All times are GMT -5. The time now is 03:08 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration