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 09-19-2005, 05:22 AM   #1
syvy
Member
 
Registered: Sep 2005
Location: Germany
Distribution: slackware64
Posts: 110

Rep: Reputation: 16
mounting usb-stick with kernel 2.6.13


After upgrading to 10.2 I wasn't able to mount my usb-stick anymore.
I'm using udev and mount it with KwikDisk which works perfectly on slack 10.1 with generic kernel 2.6.11. This is my fstab entry:

"/dev/uba1 /mnt/usb auto defaults,rw,noauto,user 0 0".

On slack 10.2 there is no /dev/uba1 anymore when the stick is plugged in and I'm asked to specify the filesystem. After checking udev settings and trying everything to figure out what the problem is I restored the 10.1 image and upgraded the kernel and modules only (2.6.13). The problem still occoured. So I recompiled the new kernel with the .config of 2.6.11, no success.

I think I need a good idea now.
 
Old 09-19-2005, 05:27 AM   #2
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
In the 2.6.13 kernel the low performace usb driver has been disabled, so either recompile enabling it or if you examine the output of dmesg you'll probably find the usb device has been given a device simlilar to sda rather than uba
 
Old 09-19-2005, 09:03 AM   #3
dkpw
Member
 
Registered: Sep 2003
Location: Scotland
Distribution: LinuxMint16 & Ubuntu 12.0.4 LTS
Posts: 218

Rep: Reputation: 30
Here's my methodology for getting my USB stick to mount in 10.2 with the 2.6.13 kernel from testing.

1. Create a new folder in /mnt mine is called gizmo.

2. Edit /etc/fstab to include:
/dev/sda1 /mnt/gizmo vfat noauto,user 0 0

3. Edit /etc/rc.d/modules to unrem the following line:
# USB Mass Storage support:
/sbin/modprobe usb-storage

4. As I use KDE I create a new link to the device and point it at /dev/sda1.

There may be more elegant ways but at least this works.

Regards,

dkpw


EDIT:
After a fresh install on one of my Slackware boxes using the 2.6.13 kernel from testing, I've found that this time step 3 is unnecessary.

Last edited by dkpw; 11-01-2005 at 04:31 PM.
 
Old 09-19-2005, 12:32 PM   #4
syvy
Member
 
Registered: Sep 2005
Location: Germany
Distribution: slackware64
Posts: 110

Original Poster
Rep: Reputation: 16
Thank You!

The good idea was dmesg. Now it works.
All I had to do was changing "uba1" to "sda1" in fstab.
Kernel recompiling was not necessary.
 
  


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
Mounting a usb stick oookiezooo Linux - Newbie 15 04-13-2005 01:09 PM
mounting a USB stick.. kurrupt Linux - Hardware 2 01-01-2005 02:13 AM
Suse 9.1 USB stick Mounting problems 777 Linux - Newbie 3 11-03-2004 01:04 AM
mounting usb a stick sethgeekx86 Slackware 1 05-19-2004 07:19 PM
Mounting a USB Stick in Redhat unoturbo Linux - Newbie 9 04-14-2004 06:33 PM


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