LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 11-22-2004, 08:31 AM   #1
rakamaka
LQ Newbie
 
Registered: Apr 2004
Posts: 15

Rep: Reputation: 0
usb stick works only if attached at boot


I have sandisk usb stick.
I am using mepis kernel 2.6.7
my usbstick mounts only when i attach it 'before' booting. afterwards
i cannot mount with #mount command also. If I detach and reattach, it says medium not found
fstab entry is alright.
how do I insert usb-storage module in kernel and at startup.
here is my lsmod
-----------------------------------------
Module Size Used by
md5 7680 1
ipv6 241248 6
snd_mixer_oss 18688 0
lp 13096 0
ipt_state 5760 57
ipt_REJECT 9216 4
ipt_limit 6144 6
ipt_LOG 9728 6
ip_conntrack_ftp 75028 0
ip_conntrack 33028 2 ipt_state,ip_conntrack_ftp
iptable_filter 6272 1
ip_tables 19712 5 ipt_state,ipt_REJECT,ipt_limit,ipt_LOG,iptable_filter
eepro100 30220 0
pciehp 89228 0
shpchp 92044 0
pci_hotplug 32188 2 pciehp,shpchp
8250_pnp 12032 0
pcspkr 7372 0
evdev 11008 0
tsdev 9344 0
snd_intel8x0 33324 0
snd_ac97_codec 62468 1 snd_intel8x0
snd_pcm 84000 1 snd_intel8x0
snd_timer 24836 1 snd_pcm
snd_page_alloc 12552 2 snd_intel8x0,snd_pcm
gameport 7680 1 snd_intel8x0
snd_mpu401_uart 9984 1 snd_intel8x0
snd_rawmidi 23488 1 snd_mpu401_uart
snd_seq_device 10248 1 snd_rawmidi
snd 47588 8 snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_devi ce
via_agp 10624 0
sworks_agp 10784 0
sis_agp 9732 0
nvidia_agp 9628 0
intel_mch_agp 11664 0
intel_agp 19612 1
efficeon_agp 10016 0
ati_agp 10252 0
amd64_agp 12360 0
amd_k7_agp 9612 0
ali_agp 9088 0
autofs 18048 1
af_packet 21000 0
agpgart 29868 11 via_agp,sworks_agp,sis_agp,nvidia_agp,intel_mch_agp,intel_agp,efficeon_agp,ati_agp,amd64_agp,amd_k7_ agp,ali_agp
i810_audio 33684 0
soundcore 11232 2 snd,i810_audio
ac97_codec 19212 1 i810_audio
e100 33536 0
mii 7936 2 eepro100,e100
mtdcore 9828 0
chipreg 6784 0
parport_pc 37568 1
parport 36936 2 lp,parport_pc
8250 34480 1 8250_pnp
serial_core 22528 1 8250
usblp 14464 0
ohci_hcd 22276 0
uhci_hcd 31760 0
ds 17284 0
yenta_socket 20480 0
pcmcia_core 56772 2 ds,yenta_socket
thermal 14352 0
processor 19776 1 thermal
fan 7052 0
button 8984 0
battery 11916 0
ac 7564 0
rtc 14920 0
sbp2 24712 0
ohci1394 33796 0
ieee1394 302008 2 sbp2,ohci1394
usbcore 95840 5 usblp,ohci_hcd,uhci_hcd
ide_scsi 17156 0
ext3 110440 0
jbd 69284 1 ext3
reiserfs 234096 1
------------------------------------------------------------
 
Old 11-22-2004, 08:58 AM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
you'll have to add the module to some config file...I'm not sure how mepis does this, but if you can't figure anything else out, a quick help would be to add the modprobe line to your /etc/rc.local file.

if you use udev, become root and change the usb-stick's device file's permissions so that other can read it too. after a reboot the permissions ought to be saved I think....with fstab you need to set the device in your /etc/fstab so others can mount it too (I use udev nowadays).

EDIT: seems to me that you have quite a bunch of modules...do you really need all those? if I were you, I'd recompile my kernel and leave the sutff I don't need out of there..might speed something up in a good case

Last edited by b0uncer; 11-22-2004 at 09:00 AM.
 
Old 11-22-2004, 10:32 AM   #3
rakamaka
LQ Newbie
 
Registered: Apr 2004
Posts: 15

Original Poster
Rep: Reputation: 0
how to remove modules

thanks B0uncer
i did su to change permissions of /mnt/usbpen but it doesnot allow. do i have to login as root?
also how to remove modules. just edit mofules file or use any other command. What are most necessary modules to work for printer, dialupmodem, scanner, soundcard and ethernet.
thanks
 
  


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 stick boot image resize problem beady Linux - Hardware 2 07-27-2005 03:36 PM
Debian with 2.6.8 kernel won't boot with IOGear USB KVM attached HaganeRei Linux - Hardware 1 04-24-2005 08:10 AM
Making Linux boot from USB Stick a4r0 Linux - Newbie 2 09-13-2004 08:08 PM
linux locks up when usb mouse attached during startup. works fine when disconnected BGuy891653 Linux - Hardware 0 02-07-2004 10:42 PM
USB Stick boot KrYpToN Linux - Hardware 5 10-08-2003 09:32 AM


All times are GMT -5. The time now is 09:45 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