LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   cannot mount my usb memory stick (https://www.linuxquestions.org/questions/slackware-14/cannot-mount-my-usb-memory-stick-481294/)

jbcolmena 09-07-2006 10:37 AM

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!

raska 09-07-2006 10:42 AM

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 :p

jbcolmena 09-07-2006 10:58 AM

Yes, I installed the modules that were on the same directory as the kernell 2.6.x.

raska 09-07-2006 04:19 PM

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

jbcolmena 09-07-2006 08:10 PM

Thanks a lot!

That solved the problem.

Now I can get back, and enjoy my box.


All times are GMT -5. The time now is 04:58 AM.