You are not logged in.

#1 2004-07-13 22:23:10

_will
Member
Registered: 2004-07-08
Posts: 123

usb storage

i hope i didn't over look this somewhere else
i can't get to usb storage (read the wiki and some of the search results here)

# uname -a
Linux ThePoops 2.6.7 #1 SMP Fri Jun 18 11:53:44 PDT 2004 i686 unknown unknown GNU/Linux
# modprobe usb_storage
# modprobe sd_mod
FATAL: Module sd_mod not found.
# lsmod | grep usb
usb_storage            97936  0
# mount /dev/sda1 /mnt/usb
mount: special device /dev/sda1 does not exist
# ls /dev | grep sda
[nothing]

$tail -f /var/log/kernel
Jul 13 18:09:33 ThePoops kernel: Initializing USB Mass Storage driver...
Jul 13 18:09:33 ThePoops kernel: usbcore: registered new driver usb-storage
Jul 13 18:09:33 ThePoops kernel: USB Mass Storage support registered.

[unplug usb stick, plug back in, repeat -- nothing]

$tail -f /var/log/messages
Jul 13 16:58:30 ThePoops rpc.mountd: authenticated mount request from 192.168.1.104:825 for /home/will/files (/home/will/files)
Jul 13 17:12:24 ThePoops modprobe: FATAL: Failed to open config file /etc/modprobe.devfs: No such file or directory
Jul 13 17:49:08 ThePoops last message repeated 37 times
Jul 13 17:50:35 ThePoops last message repeated 6 times
Jul 13 17:55:32 ThePoops last message repeated 2 times
Jul 13 18:10:16 ThePoops last message repeated 3 times
Jul 13 18:11:19 ThePoops last message repeated 3 times
Jul 13 18:15:21 ThePoops last message repeated 6 times
Jul 13 18:20:52 ThePoops last message repeated 3 times

what am i doing wrong?
thanks in advance
-will

Offline

#2 2004-07-14 03:30:12

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: usb storage

first off you need to upgrade your module-init-tools package that will get rid of your /etc/modprobe.devfs error. i don't know if it will fix the modprobe error you got while trying to load sd_mod


AKA uknowme

I am not your friend

Offline

#3 2004-07-14 04:56:16

_will
Member
Registered: 2004-07-08
Posts: 123

Re: usb storage

thanks for the reply
. . . but still no luck

# pacman -S module-init-tools
:: module-init-tools-3.0-1: is up to date.  Upgrade anyway? [Y/n]
Targets: module-init-tools-3.0-1

Proceed with upgrade? [Y/n] y

checking package integrity... done.
loading package data... done.
checking for file conflicts... done.
upgrading module-init-tools...
warning: extracting /etc/modules.conf as /etc/modules.conf.pacnew
warning: extracting /etc/modprobe.conf as /etc/modprobe.conf.pacnew
done.

still:
# tail -f /var/log/messages
...
Jul 14 00:28:23 ThePoops modprobe: FATAL: Failed to open config file /etc/modprobe.devfs: No such file or directory


[anything i should/ should have done to modprobe.conf?]

# diff /etc/modprobe.conf /etc/modprobe.conf.pacnew
4,9d3
< alias eth0 8139too
< # --- BEGIN: Generated by ALSACONF, do not edit. ---
< # --- ALSACONF verion 1.0.5 ---
< alias snd-card-0 snd-emu10k1
< alias sound-slot-0 snd-emu10k1
< # --- END: Generated by ALSACONF, do not edit. ---
11d4
< alias /dev/nvidia*   nvidia

a pen flash stick thing lights up and it worked in mandrake ... about 6 months ago
a camara (that pretends its a storage device) works in XP

i'm stumped..... like that means anything

again thanks in advance

EDIT: modprobe sd_mod still no good as well

Offline

#4 2004-07-14 05:01:49

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,176
Website

Re: usb storage

I assume you are running kernel 2.6.x.
If not built in kernel, run:
# modprobe uhci_hcd (or ohci_hcd)

Offline

#5 2004-07-14 05:06:41

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: usb storage

sarah@flightypuffin:~> pacman -Q module-init-tools
module-init-tools 3.0-2

that is the latest version i have installed. you probably need to :

pacman -Sy module-init-tools

AKA uknowme

I am not your friend

Offline

#6 2004-07-14 06:40:47

_will
Member
Registered: 2004-07-08
Posts: 123

Re: usb storage

wow  thanks for the fast responses, and sorry to be an even greater pest --- i hope someone else can benifit from this thread

both ^ worked, but the computer doesn't want to

# modprobe ohci_hcd
kernel says:
Jul 14 02:07:13 ThePoops kernel: ohci_hcd: block sizes: ed 64 td 64

lsmod says, among other thigns:
ohci_hcd               20484  0
usb_storage            97936  0

# pacman -Sy module-init-tools
does its stuff -- all good

messeges say:
Jul 14 02:07:39 ThePoops modprobe: FATAL: Failed to open config file /etc/modprobe.devfs: No such file or directory

** i donno what i was doing at 2:07:39, i can't get it to give this message again, i unloaded the two modules - reloaded them, tried to mount, removed and put back in the usb stick and camara... no error**

# mount /dev/sda0 /mnt/usb
mount: special device /dev/sda1 does not exist
# ls /dev | grep sda
[nothing]
sd_mod is still fatal (shouldn't work anyways?)

can i create "config file /etc/modprobe.devfs" -should i have?
am i ?pointing to the right device (/dev/sda1)  -- nothings happened to /dev/discs

i think its now sorry in advance  :oops:
- will

Offline

#7 2004-07-14 07:01:18

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: usb storage

well the newest module-init-tools was supposed to have created an empty /etc/modprobe.devfs. Perhaps you have to logout or reboot for it to take hold? i don't really know.

as for the usb storage errors .... i am completely unsure but i think you may need scsi emulation mudules loaded for it to work completely and possibly effect some changes to your fstab.

i think it has been covered someplace on this forum before so you could do a search (if you have already i apologize). the arch wiki may have docs for you to refer to as well.


AKA uknowme

I am not your friend

Offline

#8 2004-07-14 07:32:58

_will
Member
Registered: 2004-07-08
Posts: 123

Re: usb storage

rc.conf

MODULES=(!usbserial !ide-scsi nvidia snd-emu10k1 snd-pcm-oss ohci_hcd usb_storage)

sorry for wasting everyones time, i guess all i need to do was take out the ! before  ide-scsi

for anyone looking at this later, other relevent threads that i missed the first time:
http://bbs.archlinux.org/viewtopic.php?t=2820
http://bbs.archlinux.org/viewtopic.php?t=2843

thanks for bearing with me
-will

Offline

#9 2004-07-14 17:49:21

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: usb storage

You compiled your own kernel, didn't you?  And you didn't include SCSI disk support?


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

Board footer

Powered by FluxBB