LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 09-07-2006, 10:37 AM   #1
jbcolmena
Member
 
Registered: Feb 2004
Location: Italy
Distribution: Ubuntu
Posts: 40

Rep: Reputation: 15
cannot mount my usb memory stick


Hi everyone!

About a week ago I installed Slackware 10.2 (full install). After some trouble -was not able to mount my cdrom and hotplug would cause trouble at booting- I got everything working -almost-. To do this, I installed the 2.6.x kernell that comes in the second cd. note: my linux box is about 5km away, and I don´t remember with exactitud some things. Sorry. I followed the instructions giving in the cd, and basically did this: pkginstall the kernell and kernell modules, change lilo.conf pointing now to my new kernell. Since I´m using ext2 filesystem, I understood that that was all. It so apears, because everything went smooth, but for this: I cannot mount my usb pendrive. When I try "mount /dev/sda1 /mnt/hd" I get a message that says something like "/dev/sda1 is not a valid block device"

So I´ve doing some reading and searching, and have found some sugestions to people who has had the same problem. I give the answers to this sugestions:

dmesg: when I plug -or unplug- the pendrive, dmesg does not says anything. As if nothing had happend.

fdisk -l: when the pendrive is in, it does not appears on the list.

modprobe: I went trough the rc.modules file (a file located in /etc/rc.d) and check out modules for usb massive storage (again, sorry if the name if not exact. Next time I will write everything down before writing the post) and it works, or so the system says when booting. But for things like usb-hid and similar modules, I get a message like: module does not exists.

I know the usb ports are connected. When I put the memory sticks in, the light flasesh. Neverthless, it´s as if the usb didn´t exist at all!

Don´t know what to do, and I´ve been reading all the HOWTO´s I was able to find and looking all over internet, but to no avail.

BTW: when I say : "mount /dev/sda1 /mnt/hd", I mean I´ve tried /sda2, /sda3... /sdb1... /sdf3.... yes, sound crazy, but I´m runing out of ideas!

Any help would be appreciated. Thanks!
 
Old 09-07-2006, 10:42 AM   #2
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 30
Quote:
Originally Posted by jbcolmena
...I installed the 2.6.x kernell that comes in the second cd. ...
But for things like usb-hid and similar modules, I get a message like: module does not exists.
Hi there, welcome to Slackware!
I'm wondering if you installed the modules for the 2.6.x kernel as well.
Those are also found in the second cd.

Post any thoughts that you have
 
Old 09-07-2006, 10:58 AM   #3
jbcolmena
Member
 
Registered: Feb 2004
Location: Italy
Distribution: Ubuntu
Posts: 40

Original Poster
Rep: Reputation: 15
Yes, I installed the modules that were on the same directory as the kernell 2.6.x.
 
Old 09-07-2006, 04:19 PM   #4
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 30
check lsmod and review if there is USB support loaded, my lsmod output looks like this:
Code:
> lsmod
Module                  Size  Used by
nls_iso8859_1           4096  0
nls_cp437               5760  0
vfat                    9600  0
fat                    40348  1 vfat
usb_storage            30340  0
e100                   28548  0
mii                     4480  1 e100
vmnet                  24620  9
vmmon                 170668  0
snd_pcm_oss            34208  0
snd_mixer_oss          14464  2 snd_pcm_oss
nfsd                   84328  8
exportfs                4480  1 nfsd
lockd                  50440  2 nfsd
nfs_acl                 2944  1 nfsd
sunrpc                122428  3 nfsd,lockd,nfs_acl
ohci_hcd               16900  0
parport_pc             22724  0
parport                29512  1 parport_pc
8250_pnp                8576  0
8250                   19636  1 8250_pnp
serial_core            15616  1 8250
psmouse                32520  0
rtc                    10036  0
usbhid                 27780  0
snd_hda_intel          14100  7
snd_hda_codec         126512  1 snd_hda_intel
snd_pcm                67332  4 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              18180  2 snd_pcm
snd                    41188  16 snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
soundcore               7264  2 snd
snd_page_alloc          7304  2 snd_hda_intel,snd_pcm
uhci_hcd               18572  0
ehci_hcd               26504  0
usbcore               100864  6 usb_storage,ohci_hcd,usbhid,uhci_hcd,ehci_hcd
i2c_i801                7436  0
nvidia               4545236  12
i2c_core               15616  2 i2c_i801,nvidia
ohci1394               27696  0
ieee1394              279384  1 ohci1394
If you don't seem to have loaded any of those modules that I marked, modprobe one of these USB modules:
  • ohci-hcd -- for non Intel or VIA based systems
  • uhci-hcd -- for Intel or VIA systems
and check what happens on lsmod and dmesg

Last edited by raska; 09-07-2006 at 04:20 PM.
 
Old 09-07-2006, 08:10 PM   #5
jbcolmena
Member
 
Registered: Feb 2004
Location: Italy
Distribution: Ubuntu
Posts: 40

Original Poster
Rep: Reputation: 15
Thanks a lot!

That solved the problem.

Now I can get back, and enjoy my box.
 
  


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
mount, Usb memory stick amer_58 Linux - Newbie 2 03-25-2005 05:44 AM
Fr: linuxcookie..How to mount USB Memory Stick!:-) lj2bz Debian 3 01-27-2005 01:27 PM
usb memory stick mount nadroj Linux - Hardware 10 01-13-2005 10:41 PM
mount point for USB memory stick gmontry Linux - Hardware 1 11-01-2004 12:58 AM
How do I mount a USB flash memory stick? brian Linux - Newbie 3 02-07-2004 02:49 PM


All times are GMT -5. The time now is 09:40 AM.

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
Open Source Consulting | Domain Registration