View previous topic :: View next topic |
Author |
Message |
yoyo Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1382399841473c166bf2c72.jpg)
Joined: 04 Mar 2003 Posts: 4273 Location: Lyon - France
|
Posted: Tue Feb 22, 2005 3:12 pm Post subject: |
|
|
Le "lsmod" me paraît vraiment tout bizarre.
La colonne "Used by" vide, ça me rappelle vaguement un problème similaire rencontré ici.
Enfin, chez moi, j'ai par exemple :
Code: | Module Size Used by
parport 30920 2 parport_pc,lp |
Tout ça pour dire qu'amha, le problème vient plutôt de la config kernel ou des modules qui n'ont pas été réinstallés pour le nouveau kernel (avec le "modules_unload").
En fait, il me semble vaguement comprendre que tu as le même noyau (au pif un gentoo-2.6.10-r6) avec différentes options de compils. Le problème, c'est que tu n'as qu'un "/lib/modules" correspondant. Du coup, les modules compilés avec le "modules_unload=no" ne sont pas compatibles avec le noyau compilé avec "modules_unload=yes".
Tu as bien fait "make menuconfig" puis sélection du "modules_unload", sauvegarde du fichier de config et "make clean && make && make modules_install" ??? _________________ La connaissance s'accroît quand on la partage.
JCB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
TGL Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
Joined: 02 Jun 2002 Posts: 1978 Location: Rennes, France
|
Posted: Tue Feb 22, 2005 3:17 pm Post subject: |
|
|
Ah ouais, elle est super bien l'hypothèse de yoyo, à confirmer/infirmer de toute urgence ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lbr Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 05 Apr 2004 Posts: 503 Location: Paris
|
Posted: Tue Feb 22, 2005 3:27 pm Post subject: |
|
|
yoyo wrote: |
Tu as bien fait "make menuconfig" puis sélection du "modules_unload", sauvegarde du fichier de config et "make clean && make && make modules_install" ??? |
Tout comme ca sauf make clean .... (je ne fais que make && make modules_install)
Je compile de ce pas avec un clean .... suite dans quelques instants ... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
yoyo Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1382399841473c166bf2c72.jpg)
Joined: 04 Mar 2003 Posts: 4273 Location: Lyon - France
|
Posted: Tue Feb 22, 2005 3:32 pm Post subject: |
|
|
lbr wrote: | Tout comme ca sauf make clean .... (je ne fais que make && make modules_install) | Dans le même ordre d'idée, tu montes bien "/boot" (si besoin) avant d'y copier ton nouveau noyau ? Tu ré-exécutes bien "lilo" (toujours si besoin) avec "/boot" monté et ton nouveau noyau dessus ? _________________ La connaissance s'accroît quand on la partage.
JCB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lbr Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 05 Apr 2004 Posts: 503 Location: Paris
|
Posted: Tue Feb 22, 2005 3:58 pm Post subject: |
|
|
voui je fais tout bien : Code: |
make menuconfig
selection des options ad-hoc
exit /save .config
make clean && make && make modules_install
mount /boot
cp arch/i386/boot/bzImage /boot/kernel-2.6.10-r6-custom2
cp System.map /boot/System.map-2.6.10-r6-custom2
cp .config /boot/config-2.6.10-r6-custom2
|
ensuite dans grub ...
grub.conf wrote: |
default 0
timeout 10
title=Gentoo linux 2.6.10-r6 custom2
root (hd0,0)
kernel /boot/kernel-2.6.10-r6-custom2 root=/dev/sda3
title=Gentoo linux 2.6.10-r6 custom1
root (hd0,0)
kernel /boot/kernel-2.6.10-r6-custom1 root=/dev/sda3
title=Gentoo linux 2.6.9-r13 custom
root (hd0,0)
kernel /boot/kernel-2.6.9-gentoo-r13 root=/dev/sda3
title=Gentoo linux 2.6.9-r6 custom
root (hd0,0)
kernel /boot/kernel-2.6.9-gentoo-custom root=/dev/sda3
|
ensuite reboot ...
et dans la séquence de boot ca reste désespérement coincé à Code: | coldplugging pci devices | qui arrive avant Code: | coldplugging pnp devices |
' Pourtant, j'y croyais à l'histoire de yoyo ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
yoyo Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1382399841473c166bf2c72.jpg)
Joined: 04 Mar 2003 Posts: 4273 Location: Lyon - France
|
Posted: Tue Feb 22, 2005 4:17 pm Post subject: |
|
|
Vraiment bizarre tout ça. En plus, j'arrive pas à remettre la main sur le thread où il y avait eu ce problème.
Une autre idée comme ça, tu n'aurais pas des modules externes au noyau (comme nvidia) ?? Si c'est le cas, il faut également les recompiler (valable pour les modules pcmcia, alsa , enfin tout module intallé avec "emerge paquet" quoi).
Mais bon, ça ne me paraît pas être la solution ...
EDIT : après quelques recherches, j'ai trouvé ça : "Turning off CONFIG_PREEMPT seemed to help me."
Essaie en désactivant le preempt dans ton noyau avec "modules_unload". _________________ La connaissance s'accroît quand on la partage.
JCB
Last edited by yoyo on Tue Feb 22, 2005 4:31 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
TTK Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/68340322240bee9bd1933d.png)
Joined: 02 Mar 2004 Posts: 523
|
Posted: Tue Feb 22, 2005 4:24 pm Post subject: |
|
|
Salut
Pour t'aider à dépister le pb, tu peux rajouter dans le script de coldplug, vers le début, un lsmod redirigé vers un fichier log. Du coup tu verras s'il te manque un module necessaire à tes périph PCI ...
On dirait en effet qu'un module indispensable a été unloadé.
Ensuite il faudra soit que tu compiles ce module en dur, soit que tu le configures bien pour qu'il se reload automagiquement.
HTH |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
blasserre Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/2197240445d8c83fc02fc.jpg)
Joined: 10 Feb 2004 Posts: 1362 Location: Lille, Vlaanderen
|
Posted: Tue Feb 22, 2005 8:45 pm Post subject: |
|
|
TGL wrote: |
- ensuite, un essai avec tout ce qui est SATA et USB en dur (les uhci/ohci/ahci, etc.). Là de deux choses l'une :
* si ça plante encore, c'est probablement que mon hypothèse était complètement bidon, parceque quand même, il restera pas grand chose de critique...
* si ça plante plus, faudrait raffiner un peu, genre remettre l'USB en module mais garder le SATA en dur, etc. |
Question idiote : t'as tenté le truc de TGL ?
Il me semble que lors de mon passage à nptl / udev ce weekend j'ai eu un freeze avec coldplug
que j'ai résolu en passant les modules SATA en dur
je t'avouerai que j'ai fait tout ça de manière un peu automatique (j'me suis pas mal amusé avec les modules SATA ce we) et je ne me souviens plus trop de mon prob... mais ton post m'a fait tilter, je me souviens même m'être dit : "pourquoi t'installe cette saloperie de coldplug qui sert à rien"
enfin maintenant ça marche...
j'ai plus qu'à trouver une utilité a coldplug ![Laughing :lol:](images/smiles/icon_lol.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lbr Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 05 Apr 2004 Posts: 503 Location: Paris
|
Posted: Wed Feb 23, 2005 10:54 am Post subject: |
|
|
bon : j'ai mis plein de chose en dur !
diff sans_unload avecunload donne :
Code: | < # Mon Feb 14 16:55:36 2005
---
> # Wed Feb 23 11:20:13 2005
22c22
< CONFIG_LOCALVERSION=""
---
> CONFIG_LOCALVERSION="lbr"
26c26,27
< # CONFIG_BSD_PROCESS_ACCT is not set
---
> CONFIG_BSD_PROCESS_ACCT=y
> CONFIG_BSD_PROCESS_ACCT_V3=y
33c34,35
< # CONFIG_IKCONFIG is not set
---
> CONFIG_IKCONFIG=y
> CONFIG_IKCONFIG_PROC=y
51c53,54
< # CONFIG_MODULE_UNLOAD is not set
---
> CONFIG_MODULE_UNLOAD=y
> CONFIG_MODULE_FORCE_UNLOAD=y
55a59
> CONFIG_STOP_MACHINE=y
262,264c266,269
< # CONFIG_ISAPNP is not set
< # CONFIG_PNPBIOS is not set
< # CONFIG_PNPACPI is not set
---
> CONFIG_ISAPNP=y
> CONFIG_PNPBIOS=y
> CONFIG_PNPBIOS_PROC_FS=y
> CONFIG_PNPACPI=y
403c408
< CONFIG_BLK_DEV_SR=m
---
> CONFIG_BLK_DEV_SR=y
1199a1205
> # CONFIG_SND_AD1816A is not set
1203a1210
> # CONFIG_SND_ES968 is not set
1217a1225,1226
> # CONFIG_SND_ALS100 is not set
> # CONFIG_SND_AZT2320 is not set
1218a1228
> # CONFIG_SND_DT019X is not set
1297,1299c1307,1309
< CONFIG_USB_OHCI_HCD=m
< CONFIG_USB_UHCI_HCD=m
< CONFIG_USB_SL811_HCD=m
---
> CONFIG_USB_OHCI_HCD=y
> CONFIG_USB_UHCI_HCD=y
> # CONFIG_USB_SL811_HCD is not set
1316c1326
< CONFIG_USB_STORAGE=m
---
> CONFIG_USB_STORAGE=y
1340c1350
< CONFIG_USB_EGALAX=m
---
> # CONFIG_USB_EGALAX is not set
1381c1391,1413
< # CONFIG_USB_SERIAL is not set
---
> CONFIG_USB_SERIAL=m
> # CONFIG_USB_SERIAL_GENERIC is not set
> # CONFIG_USB_SERIAL_BELKIN is not set
> # CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
> # CONFIG_USB_SERIAL_CYPRESS_M8 is not set
> # CONFIG_USB_SERIAL_EMPEG is not set
> # CONFIG_USB_SERIAL_FTDI_SIO is not set
> # CONFIG_USB_SERIAL_VISOR is not set
> CONFIG_USB_SERIAL_IPAQ=m
> CONFIG_USB_SERIAL_IR=m
> # CONFIG_USB_SERIAL_EDGEPORT is not set
> # CONFIG_USB_SERIAL_EDGEPORT_TI is not set
> # CONFIG_USB_SERIAL_IPW is not set
> # CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
> # CONFIG_USB_SERIAL_KEYSPAN is not set
> # CONFIG_USB_SERIAL_KLSI is not set
> # CONFIG_USB_SERIAL_KOBIL_SCT is not set
> # CONFIG_USB_SERIAL_MCT_U232 is not set
> # CONFIG_USB_SERIAL_PL2303 is not set
> # CONFIG_USB_SERIAL_SAFE is not set
> # CONFIG_USB_SERIAL_CYBERJACK is not set
> # CONFIG_USB_SERIAL_XIRCOM is not set
> # CONFIG_USB_SERIAL_OMNINET is not set
1395c1427
< CONFIG_USB_PHIDGETKIT=m
---
> # CONFIG_USB_PHIDGETKIT is not set
1406c1438,1453
< # CONFIG_USB_GADGET is not set
---
> CONFIG_USB_GADGET=m
> # CONFIG_USB_GADGET_DEBUG_FILES is not set
> CONFIG_USB_GADGET_NET2280=y
> CONFIG_USB_NET2280=m
> # CONFIG_USB_GADGET_PXA2XX is not set
> # CONFIG_USB_GADGET_GOKU is not set
> # CONFIG_USB_GADGET_SA1100 is not set
> # CONFIG_USB_GADGET_LH7A40X is not set
> # CONFIG_USB_GADGET_DUMMY_HCD is not set
> # CONFIG_USB_GADGET_OMAP is not set
> CONFIG_USB_GADGET_DUALSPEED=y
> # CONFIG_USB_ZERO is not set
> # CONFIG_USB_ETH is not set
> # CONFIG_USB_GADGETFS is not set
> # CONFIG_USB_FILE_STORAGE is not set
> # CONFIG_USB_G_SERIAL is not set
1423,1428c1470,1471
< CONFIG_EXT3_FS=y
< CONFIG_EXT3_FS_XATTR=y
< # CONFIG_EXT3_FS_POSIX_ACL is not set
< # CONFIG_EXT3_FS_SECURITY is not set
< CONFIG_JBD=y
< # CONFIG_JBD_DEBUG is not set
---
> # CONFIG_EXT3_FS is not set
> # CONFIG_JBD is not set
|
Je pense que sieur Yoyo avait tout bon : le fait d'avoir ajouté > CONFIG_LOCALVERSION="lbr" m'a créé une branche /lib/modules/2.6.10-r6lbr et, de facto, ca a nettoyé !
La seule différence est d'avoir mis en dur l'USB ... et
> CONFIG_ISAPNP=y
> CONFIG_PNPBIOS=y
> CONFIG_PNPBIOS_PROC_FS=y
> CONFIG_PNPACPI=y
403c408
< CONFIG_BLK_DEV_SR=m
---
> CONFIG_BLK_DEV_SR=y
ca vous inspire ?
De plus, je me retrouve bien avec un lsmod plus verbeux :
Code: | lbr boot # lsmod
Module Size Used by
lp 11020 0
parport_pc 26308 1
parport 34120 2 lp,parport_pc
natsemi 26592 0
bcm5700 139180 0
ahci 9604 0
nvidia 3467484 12
|
Je mets tout de même "résolu" même si je ne sais pas trop pourquoi ca marche ... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gil galad Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 26 Mar 2004 Posts: 94 Location: Switzerland
|
Posted: Thu Mar 03, 2005 9:37 pm Post subject: |
|
|
Chez moi, je viens d'installer vmware et j'ai du aussi mettre rmmod dans mon kernel.
Avant de mettre rmmod, lsmod me donnait un "Used by" vide
Et après, le lsmod était effectivement plus verbeux comme dans l'exemple de yoyo ou de lbr.
Donc, apparament, c'est rmmod le responsable des infos avec lsmod..
Sinon, vmware fonctionne parfaitement une fois rmmod dans le kernel |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|