LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-10-2004, 10:35 AM   #1
penkala
LQ Newbie
 
Registered: Apr 2004
Location: Poland
Distribution: Mandrake 10 Community
Posts: 6

Rep: Reputation: 0
Question Flash Drive Problem


I got a flash 256 MB drive and I was trying to mount it to my new installed Mandrake 10 with kernel 2.6.3. It didn't wokr The system sees it as unknown device and I can't use it at all.

After typing 'tail -f /var/log/messages' in my console following informations appeared:

# kernel: usb 4-4: new high speed USB device using address 3
# kernel: scsi1 : SCSI emulation for USB Mass Storage devices
# kernel: Vendor: Generic Model: USB Flash Disk Rev: 2.00
# kernel: Type: Direct-Access ANSI SCSI revision: 02
# kernel: sda: Unit Not Ready, sense:
# kernel: Current : sense key Unit Attention
# kernel: Additional sense: Not ready to ready change, medium may have changed
# kernel: sda : READ CAPACITY failed.
# kernel: sda : status=1, message=00, host=0, driver=08
# kernel: Current sd: sense key Unit Attention
# kernel: Additional sense: Not ready to ready change, medium may have changed
# kernel: sda: assuming Write Enabled
# kernel: sda: assuming drive cache: write through
# modprobe: FATAL: Module scsimon not found.
# scsi.agent[7112]: Timeout on find type for device /sys//devices/pci0000:00/0000:00:1d.7/usb4/4-4/4-4:1.0/host1/1:0:0:0

Where could be the problem? Can you help, please?
 
Old 05-10-2004, 12:29 PM   #2
darkRoom
Member
 
Registered: Mar 2004
Location: Valencia, espaņa
Distribution: Slack, Gentoo, Custom
Posts: 162

Rep: Reputation: 30
Hi
What error message are you getting when you try to mount it, and did you make a new line in fstab for it ?
 
Old 05-11-2004, 10:17 AM   #3
penkala
LQ Newbie
 
Registered: Apr 2004
Location: Poland
Distribution: Mandrake 10 Community
Posts: 6

Original Poster
Rep: Reputation: 0
My fstab file looks:

/dev/hda6 / ext3 noatime 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-2,codepage=852,noauto,ro,exec 0 0
/dev/hda1 /mnt/windows ntfs umask=0,nls=iso8859-2,ro 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0
/dev/scsi/host0/bus0/target0/lun0/part1 /mnt/removable auto umask=0,user,iocharset=iso8859-2,kudzu,codepage=852,noauto,exec 0 0

I'm sure there's something missing there in make my flash drive working but I don't know what
 
Old 05-11-2004, 01:04 PM   #4
darkRoom
Member
 
Registered: Mar 2004
Location: Valencia, espaņa
Distribution: Slack, Gentoo, Custom
Posts: 162

Rep: Reputation: 30
Hi
You have to bear in mind that fstab is a file which requires configuration, generally it is only self configuring at installation time. Try the following steps and if you have problems post back the output of 'lsmod' and relevant parts of 'dmesg'

First of all do a 'lsmod' to check you have the usb-storage module. If you don't have it (im pretty sure you do) load it with 'insmod usb-storage.'

Now insert the memory stick and check the output of dmesg to see where the kernel has allocated a call to the device. In my case this is /dev/sda1.

Finally create a mount directory (I use /mnt/usb) and add a line to fstab. You might prefer to specify your file type and not use defaults . . .

Code:
/dev/sda1    /mnt/usb      auto    defaults  0 0
Try to mount using 'mount /mnt/usb'
 
Old 05-11-2004, 04:13 PM   #5
penkala
LQ Newbie
 
Registered: Apr 2004
Location: Poland
Distribution: Mandrake 10 Community
Posts: 6

Original Poster
Rep: Reputation: 0
The output on my 'lsmod' you may see on the web page http://e-penkala.net/usb.htm
... but I can't recognize any usb-storage module
 
Old 05-11-2004, 06:11 PM   #6
darkRoom
Member
 
Registered: Mar 2004
Location: Valencia, espaņa
Distribution: Slack, Gentoo, Custom
Posts: 162

Rep: Reputation: 30
Quote:
If you don't have it (im pretty sure you do) load it with 'insmod usb-storage.'
 
Old 05-12-2004, 01:29 PM   #7
penkala
LQ Newbie
 
Registered: Apr 2004
Location: Poland
Distribution: Mandrake 10 Community
Posts: 6

Original Poster
Rep: Reputation: 0
Unhappy

I can't load it!

[root@home maro]# insmod usb-storage
insmod: can't read 'usb-storage': No such file or directory
[root@home maro]#

 
  


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
Problem with USB flash drive dmsynck Debian 4 11-23-2005 02:43 PM
USB flash drive mount problem servnov Linux - General 4 10-10-2005 09:08 PM
Problem disconnecting USB flash drive Mordechai Linux - Hardware 8 09-06-2005 12:09 PM
USB flash drive mounting problem guillaume31 Linux - Hardware 4 05-23-2005 12:47 PM
USB flash drive problem Kensai Mandriva 6 02-23-2004 03:05 PM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration