You are not logged in.

#1 2006-12-28 22:03:49

Corvin
Member
From: Poland, Gdansk
Registered: 2006-02-12
Posts: 68

disabling modules

Hi I've got a current of arch Voodoo, everything is running ok but I've noticed problem. I can't stop to load some modules, I've PRISM 2,5 based WIFI card and I want to load it's wlan-ng drivers but lsmod command gives me following output:

[root@Dragon etc]# lsmod | grep orinoco
orinoco_cs             14084  0
orinoco                38548  1 orinoco_cs
hermes                  6656  2 orinoco_cs,orinoco
pcmcia                 31020  2 orinoco_cs,hostap_cs
pcmcia_core            33560  5 orinoco_cs,hostap_cs,pcmcia,yenta_socket,rsrc_nonstatic
[root@Dragon etc]# 

   

I've tried to disable orinoco module to load but with complete failure, I tried to add this module to rc.conf module blacklist, but without any effect.

Thanks for any help,

Offline

#2 2006-12-28 22:13:46

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: disabling modules

can you post your rc.conf?

Also, try adding "MODULES=(.... !orinoco_cs ...)" to see if that changes anything

Offline

#3 2006-12-28 22:28:13

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: disabling modules

Our wlan-ng package only provides the USB drivers - pcmcia and pci are covered by orinoco and/or hostap, provided by the kernel packages.

Offline

#4 2006-12-28 22:29:08

Corvin
Member
From: Poland, Gdansk
Registered: 2006-02-12
Posts: 68

Re: disabling modules

here you are, I've tried it what you described, it also didn't help

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

#
# Localization
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: fount in /usr/share/kbd/consolefonts (only needed for non-us)
# CONSOLEMAP: found in /usr/share/kbd/unimaps
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE=pl_PL
HARDWARECLOCK="localtime"
TIMEZONE=Europe/Warsaw
KEYMAP=pl
CONSOLEFONT=lat2-16.psfu.gz
CONSOLEMAP=8859-2
USECOLOR="yes"

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

#
# Networking
#
HOSTNAME="Dragon"

#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#wpa_supplicant
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by hwdetect
MOD_BLACKLIST=(appletalk ipx acpi-cpufreq p4-clockmod atiixp hpt366 serverworks orinoco orinoco_cs hermes)
#
# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to disable it
#
MODULES=(!hw-random !usbserial !ide-scsi  b44 evdev intel-agp i915 drm speedstep-centrino cpufreq_powersave cpufreq_userspace freq_table)

#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   (prefix an interface in INTERFACES with a ! to disable it)
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
#eth1="eth1 192.168.1.4 netmask 255.255.255.0 broadcast 192.168.1.255"
wlan="wlan 192.168.1.4 netmask 255.255.255.0 broadcast 192.168.1.255"
#eth0="dhcp"
INTERFACES=(lo wlan)

#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   (prefix a route in ROUTES with a ! to disable it)
#
gateway="default gw 192.168.1.1 wlan"
#gateway="default gw 192.168.1.1 eth1"
ROUTES=(gateway)

#
# Daemons to start at boot-up (in this order)
#   (prefix a daemon with a ! to disable it)
#
DAEMONS=(syslog-ng !hotplug !pcmcia network netfs crond sshd xinetd bluetooth cpudyn acpid alsa samba cups)

#
# -----------------------------------------------------------------------
# GENSPLASH
# -----------------------------------------------------------------------
#
# VERBOSEONFAIL: drop to verbose splash on rc fail events.
# Please note - splash ALWAYS drops to verbose if fs check fails
#
VERBOSEONFAIL="yes"

# End of file

Offline

#5 2007-01-06 08:30:31

Corvin
Member
From: Poland, Gdansk
Registered: 2006-02-12
Posts: 68

Re: disabling modules

right, but something is still wrong with disabling modules, I wish that developers check it, please smile, my friend has alo problem with disabling sound card module

Offline

#6 2007-01-07 14:30:36

islamguide.com
Member
Registered: 2006-12-08
Posts: 98

Re: disabling modules

i second this... i have similar troubles disabling modules.


Thanks in advance!

Offline

#7 2007-01-10 23:54:47

mauz
Member
From: Medellín, Antioquia, COLOMBIA.
Registered: 2005-02-19
Posts: 31
Website

Re: disabling modules

So do i

Offline

#8 2007-02-17 11:56:28

mole
Member
Registered: 2007-02-17
Posts: 21

Re: disabling modules

I had the same problem with orinoco_cs. I found out the module was inserted due to an udev rule in /etc/udev/rules.d/60-pcmcia.rules

# modprobe $env{MODALIAS} loads all possibly appropriate modules
ACTION=="add", SUBSYSTEM=="pcmcia", ENV{MODALIAS}=="?*", \
                RUN+="/sbin/modprobe $env{MODALIAS}"

To suppress autoloading of appropriate modules and only load the desired module I created a file /etc/udev/rules.d/10-local.rules

ACTION=="add", SUBSYSTEM=="pcmcia", RUN+="/sbin/modprobe [modulename]", OPTIONS="last_rule"

The option "last_rule" makes udev ignore any other rules concerning the pcmcia subsystem.

Offline

Board footer

Powered by FluxBB