Page 1 sur 1

[modules] Impossible à décharger depuis maj (résolu)

Publié : ven. 10 juin 2011, 22:50
par la_poigne
Bonjour à tous,

depuis la mise à jour pour blacklister les modules j'ai un problème pour ma carte wifi atheros sur mon pc portable.
Afin qu'elle fonctionne je doit faire un madwifi-unload ce qui me décharge des modules.
Mais voila impossible de décharger le module ath_pci

Code : Tout sélectionner

# madwifi-unload
Unloadind "ath_pci"
ERROR: Module ath_pci is in use by [permanent]
ERROR : Cannot unload module "ath_pci"

# rmmod ath_pci
ERROR: Module ath_pci is in use by [permanent]
J'ai essayé de le blacklister avec /etc/modprobe.d/modprobe.conf mais il est quand même chargé au démarrage.
Je suis un peut perdu et ne sais pas trop comment le décharger

Un petit lsmod:

Code : Tout sélectionner

Module                  Size  Used by
fuse                   58669  2 
ipv6                  249260  14 
snd_intel8x0m           9583  0 
snd_intel8x0           22404  2 
snd_ac97_codec         90029  2 snd_intel8x0m,snd_intel8x0
sg                     21022  0 
joydev                  7535  0 
sdhci_pci              10898  1 
sdhci                  15197  1 sdhci_pci
mmc_core               60838  1 sdhci
tifm_7xx1               6181  1 
ac97_bus                 850  1 snd_ac97_codec
tifm_core               3833  1 tifm_7xx1
serio_raw               3430  0 
i2c_i801                7039  0 
i2c_core               16665  1 i2c_i801
psmouse                55927  0 
snd_pcm                60311  3 snd_intel8x0m,snd_intel8x0,snd_ac97_codec
iTCO_wdt               10333  0 
iTCO_vendor_support     1553  1 iTCO_wdt
pcspkr                  1415  0 
snd_timer              15542  1 snd_pcm
snd                    43527  9 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               5018  1 snd
snd_page_alloc          5909  3 snd_intel8x0m,snd_intel8x0,snd_pcm
evdev                   7310  5 
ext3                  112262  1 
jbd                    40441  1 ext3
mbcache                 4321  1 ext3
ath_pci               207481  1 [permanent]
uhci_hcd               19344  0 
wlan                  192730  1 ath_pci,[permanent]
ehci_hcd               34847  0 
firewire_ohci          25683  0 
ath_hal               374753  1 ath_pci,[permanent]
yenta_socket           18846  0 
usbcore               119004  3 uhci_hcd,ehci_hcd
pcmcia_rsrc             8816  1 yenta_socket
firewire_core          43390  1 firewire_ohci
pcmcia_core            10154  2 yenta_socket,pcmcia_rsrc
sky2                   41159  0 
crc_itu_t               1077  1 firewire_core
intel_agp               8664  0 
intel_gtt              11417  2 intel_agp
sr_mod                 12956  0 
agpgart                22160  2 intel_agp,intel_gtt
cdrom                  31341  1 sr_mod
sd_mod                 25515  3 
ata_piix               18569  2 
ahci                   18093  0 
libahci                16581  1 ahci
ata_generic             2463  0 
pata_acpi               2396  0 
libata                154349  5 ata_piix,ahci,libahci,ata_generic,pata_acpi
scsi_mod              110670  4 sg,sr_mod,sd_mod,libata

Re: [modules] Impossible à décharger depuis maj

Publié : ven. 10 juin 2011, 23:18
par Drexya
Essaye de mettre une ligne comme :

Code : Tout sélectionner

install 'module' /bin/false
dans le fichier modprobe.conf, c'est censé empêcher qu'un autre module charge celui que tu as mis sur liste noire.

https://wiki.archlinux.org/index.php/Ke ... probe.d.2F

Re: [modules] Impossible à décharger depuis maj

Publié : sam. 11 juin 2011, 11:17
par la_poigne
C'est bon j'ai trouvé, en fait c'était tout con, il fallait juste reconstruire l'initramfs après l'avoir blacklisté
https://wiki.archlinux.org/index.php/Bl ... acklisting
Remember to rebuild initramfs once you have blacklisted the modules.
:rtfm: