LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 12-09-2012, 11:52 PM   #1
lkraemer
Member
 
Registered: Aug 2008
Posts: 111

Rep: Reputation: 10
Sandisk U3 2G USB Flash Drive doesn't mount!


I use a Sandisk Cruzer U3 (2GB) USB Flash Drive to keep backup files of my Quicken and Moneydance software.
Slackware 14 doesn't detect or mount this USB Flash Drive.

I've Purged the U3 Software from the USB Flash Drive, and used Gparted to create the MSDOS Partition, formatted the Partition as fat32 with Gparted, and it always works on any other Linux Distro I try.

Slackware refuses to detect the Sandisk USB Drive. blkid, mount, and Gparted do not detect the USB Flash Drive in Slackware.

Why doesn't Slackware 14 (32 Bit) detect the USB Flash Drive?

Thanks.

Larry.

Last edited by lkraemer; 12-10-2012 at 08:02 AM.
 
Old 12-10-2012, 12:07 AM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad W520
Posts: 4,679

Rep: Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240
I would check which kernel modules it needs, comparing lsmod's output before / after having plugged it in on another Linux distribution and then check that these kernel modules be available on Slackware 14. If no, report it there, else modprobe it and see what you come up with.

Last edited by Didier Spaier; 12-10-2012 at 09:35 AM. Reason: minof fix (repeated 'it')
 
Old 12-10-2012, 07:27 AM   #3
cfdisk
Member
 
Registered: May 2011
Location: Philadelphia, PA
Distribution: Slackware 13.37
Posts: 89

Rep: Reputation: 16
Let us see the output:

cat /etc/fstab


.
 
Old 12-10-2012, 07:32 AM   #4
lkraemer
Member
 
Registered: Aug 2008
Posts: 111

Original Poster
Rep: Reputation: 10
Didier Spaier,
I booted my Linux Mint (Debian Edition) 201204 and ran lsmod on the Sandisk Cruzer U3 (2G) USB Drive.

The additional Modules that were in lsmod were:
Quote:
usb_storage 35245 0
uas 13175 0
modprobe -l should have shown a list of all modules available for the kernel, but the manpage shows that the -l option
was removed. So I just used mc to go down the directories at /lib/modules/'uname -r'
Code:
  
# cd /lib/modules/3.2.29-smp
# mc
I located these modules (*.ko) at: /lib/modules/3.2.29-smp/kernel/drivers/usb/storage

Code:
# modprobe usb_storage
# modprobe uas
got my Sandisk U3 (2G) USB Flash Drive auto mounting, and I was able to access it.

Should these modules be reported (somehow) so they are loaded by the system, or is this a normal situation?

It's the first time I've run across a USB Flash Drive that wasn't automounted, on any Distro I've used, and that has been a bunch.....


THANKS! GREAT TIP!

Larry

Last edited by lkraemer; 12-10-2012 at 08:03 AM.
 
Old 12-10-2012, 07:39 AM   #5
lkraemer
Member
 
Registered: Aug 2008
Posts: 111

Original Poster
Rep: Reputation: 10
cfdisk,
Here is the listing of:
Code:
cat /etc/fstab
after I modprobed the missing modules.

Code:
root@slackware:~# cat /etc/fstab
/dev/sda3        swap             swap        defaults         0   0
/dev/sda1        /                ext3        defaults         1   1
/dev/sda2        /home            ext3        defaults         1   2
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro,comment=x-gvfs-show 0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0
root@slackware:~#
Thanks.

Larry
 
Old 12-10-2012, 09:02 AM   #6
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad W520
Posts: 4,679

Rep: Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240
For the automount to work your user should be member of the plugdev group.

Still, uas and usb-storage kernel modules should be automatically loaded when you plug in the device (this is the case here).

Please check that /etc/rc.d/rc.udev be executable. But my guess is it is, otherwise you would encounter other problems, like your mouse and possibly your keyboard not working.

Last edited by Didier Spaier; 12-10-2012 at 09:38 AM. Reason: Last sentence added.
 
Old 12-10-2012, 09:59 AM   #7
cfdisk
Member
 
Registered: May 2011
Location: Philadelphia, PA
Distribution: Slackware 13.37
Posts: 89

Rep: Reputation: 16
I only edited /etc/fstab and it was just enough.

In my particular case I created an USB mount point by adding
"/dev/sdb1 /mnt/memstick auto noauto,owner,users 0 0"
 
Old 12-10-2012, 10:26 AM   #8
lkraemer
Member
 
Registered: Aug 2008
Posts: 111

Original Poster
Rep: Reputation: 10
Didier Spaier,
I had previously set up my groups as:
Code:
users lp wheel floppy dialout audio video cdrom plugdev power netdev scanner vboxusers
and it is executable:
Quote:
bash-4.2$ ls -alt /etc/rc.d/rc.udev
-rwxr-xr-x 1 root root 5882 Jul 24 17:58 /etc/rc.d/rc.udev
Thanks.

Larry

Last edited by lkraemer; 12-10-2012 at 10:28 AM.
 
  


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
USB doesn't mount at all, including flash drive, camera, etc., plus I'm a total n00b keeganspeck Ubuntu 16 02-27-2007 09:28 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 1 12-24-2005 05:25 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 03:15 AM
Slackware 10.1 and SanDisk USB Flash Drive bleedingturnips Linux - Hardware 2 09-14-2005 12:20 PM
Failure to detect SanDisk Cruzer 256 USB Flash Drive on RH 8.0 sudz1979 Linux - Hardware 3 02-25-2004 02:10 PM


All times are GMT -5. The time now is 09:27 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration