View previous topic :: View next topic |
Author |
Message |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Mon Jun 27, 2005 3:35 pm Post subject: [KERNEL] problemes au passage 2.6.12 (resolu) |
|
|
J'essaie de passer du kernel 2.6.11 (gentoo-sources) au 2.6.12 et j'ai des problèmes bizarres.
1- MPD: j'utilise mpd comme service (rc-update add mpd default) et quand je boote sur le kernel 2.6.12 il lui faut quelques minutes pour démarrer.
2- gedit: si je lance gedit en ligne de commande, il lui faut un temps fou !
Code: | time gedit
real 6m27.489s
user 0m0.545s
sys 0m0.038s
|
MPD et gedit sont pour l'instant les 2 seuls problèmes qui sont apparus. Et bien sûr, je n'ai aucune erreur dans les logs.
A priori je connais mon matos (vive lspci) tout le reste est réactif (thundirbird, firefox, pas de problèmes) et quand je rebascule sur un 2.6.11 il n'y a plus aucun problème ...
Je peux faire un diff entre les deux fichiers de config, mais c'est le boxon et je sais pas si ca a vraiment du sens.
Voilà , je sais pas trop ou chercher. Y'en a ici qui sont passés en 2.6.12 ?
EDIT: Code: | time /etc/init.d/mpd start
* Starting Music Player Daemon ... [ ok ]
real 3m9.264s
user 0m0.224s
sys 0m0.057s |
Last edited by marvin rouge on Thu Jul 07, 2005 8:07 pm; edited 1 time in total |
|
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: Mon Jun 27, 2005 3:44 pm Post subject: |
|
|
Comment as-tu fais la config de ton 2.6.12 ??
Avec oldconfig ? _________________ La connaissance s'accroît quand on la partage.
JCB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Mon Jun 27, 2005 3:46 pm Post subject: |
|
|
2 manières
-oldconfig à partir de la config du 2.6.11
-from scratch, avec lspci
Dans les 2 cas, mêmes problèmes (avec mpd et gedit). Je cherches quels autres programmes me posent problèmes, mais je n'en trouve pas. Difficile de voir un point commun entre gedit et mpd. |
|
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: Mon Jun 27, 2005 3:58 pm Post subject: |
|
|
marvin rouge wrote: | Difficile de voir un point commun entre gedit et mpd. | Clair ...
Peut-être une locale manquante dans le noyau ...
Et si tu lances gedit via le menu, c'est plus rapide ? _________________ La connaissance s'accroît quand on la partage.
JCB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Mon Jun 27, 2005 4:06 pm Post subject: |
|
|
yoyo wrote: | marvin rouge wrote: | Difficile de voir un point commun entre gedit et mpd. | Clair ...
Peut-être une locale manquante dans le noyau ... |
Code: | grep -i nls .config
CONFIG_UDF_NLS=y
# CONFIG_SMB_NLS_DEFAULT is not set
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="utf8"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=y
<...>
CONFIG_NLS_ISO8859_15=y
<...>
CONFIG_NLS_UTF8=y | je suis en full utf8, donc ca devrait aller. Ceci dit, j'ai pas mis le ISO8859_1, je vais le rajouter et tester.
yoyo wrote: | Et si tu lances gedit via le menu, c'est plus rapide ? | Nope. C'est pareil. J'ai testé d'autres aplis, gtk et gtk2 (xmms, gimp, bluefish ...) tout fonctionne correctement. Par contre, j'ai l'impression que quanta a du mal, aussi. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Mon Jun 27, 2005 5:08 pm Post subject: |
|
|
marvin rouge wrote: | Ceci dit, j'ai pas mis le ISO8859_1, je vais le rajouter et tester. | Ca ne change rien ... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kopp Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/134104650145d8aeb7e9db3.gif)
Joined: 09 Apr 2004 Posts: 2885 Location: Grenoble, France
|
Posted: Mon Jun 27, 2005 5:28 pm Post subject: |
|
|
faut croire que ce 2.6.12 n'embete pas que moi... moi ma carte son n'est plus reconnue :s |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Kangourou Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 12 Mar 2005 Posts: 146
|
Posted: Mon Jun 27, 2005 10:24 pm Post subject: |
|
|
Tiens moi c'est ion3 et emacs qui mette bien 3 minutes aussi a se lancé ! C'est plutôt embetant, car une fois ion3 démarré la premiere chose que je fais c'est lancé emacs J'ai un 2.6.12-cj1, j'ai cru que c'etais parce que je m'etais foiré avec la config de software suspend 2. D'un coté ça me rassure, je vais mettre un 2.6.11 et attendre la nouvelle version en ésperant que ça sera réglé... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Tue Jun 28, 2005 7:07 am Post subject: |
|
|
rhaa, pas cool tout ca.
Bon, j'essaie avec des patchsets (ck, cko, morph ... ?), pour voir si ca change qq chose. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
guilc Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/190892864153fcc64a2a920.jpg)
Joined: 15 Nov 2003 Posts: 3326 Location: Paris - France
|
Posted: Tue Jun 28, 2005 7:15 am Post subject: |
|
|
Effectivement, j'ai le même problème avec ion3 sur un 2.6.12 a la vanille
Aucun problème pour emacs par contre
sans doute des accès a un device de /dev modifié, maintenant, faut trouver quoi ![Wink ;)](images/smiles/icon_wink.gif) _________________ Merci de respecter les règles du forum.
Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Tue Jun 28, 2005 7:52 am Post subject: |
|
|
bon, une compile du 2.6.12-ck2-r1 plus tard, ca ne change rien: Code: | time gedit
real 6m23.506s
user 0m0.856s
sys 0m0.082s |
guilc: euh, t'as une idée plus précise en parlant d'un device de /dev pour identifier le problème ?
Sinon je confirme pour quanta, c'est très long à lancer ... (genre 6min comme gedit) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
guilc Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/190892864153fcc64a2a920.jpg)
Joined: 15 Nov 2003 Posts: 3326 Location: Paris - France
|
Posted: Tue Jun 28, 2005 8:00 am Post subject: |
|
|
Alors pour ion3, c'est un problème d'UTF8 :
Avec UTF-8 (LC_ALL=fr_FR.UTF- :
Code: | writev(4, [{"1\0\6\0\1\0\20\0", 8}, {"*-KSC5601.1987-0", 16}], 2) = 24
read(4, 0xbfbbe6c0, 32) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [4], NULL, NULL, NULL) = 1 (in [4])
read(4, "\1)\330\0\0\0\0\0\0\0\0\0\4\0\0\0\370\276H\10\20\0\0\0"..., 32) = 32
writev(4, [{"1\0\7\0\1\0\22\0", 8}, {"*-*-KSC5601.1987-0", 18}, {"\0\0", 2}], 3) = 28
read(4, 0xbfbbe6c0, 32) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [4], NULL, NULL, NULL) = 1 (in [4])
read(4, "\1)\331\0\0\0\0\0\0\0\0\0\4\0\0\0\370\276H\10\22\0\0\0"..., 32) = 32
writev(4, [{"1\0\7\0\1\0\24\0", 8}, {"*-*-*-KSC5601.1987-0", 20}], 2) = 28
read(4, 0xbfbbe6c0, 32) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [4], NULL, NULL, NULL) = 1 (in [4])
read(4, "\1)\332\0\0\0\0\0\0\0\0\0\4\0\0\0\370\276H\10\24\0\0\0"..., 32) = 32
writev(4, [{"1\0\10\0\1\0\26\0", 8}, {"*-*-*-*-KSC5601.1987-0", 22}, {"\0\0", 2}], 3) = 32
read(4, 0xbfbbe6c0, 32) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [4], NULL, NULL, NULL) = 1 (in [4])
read(4, "\1)\333\0\0\0\0\0\0\0\0\0\4\0\0\0\370\276H\10\26\0\0\0"..., 32) = 32
writev(4, [{"1\0\10\0\1\0\30\0", 8}, {"*-*-*-*-*-KSC5601.1987-0", 24}], 2) = 32
read(4, 0xbfbbe6c0, 32) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [4], NULL, NULL, NULL) = 1 (in [4])
read(4, "\1)\334\0\0\0\0\0\0\0\0\0\4\0\0\0\370\276H\10\30\0\0\0"..., 32) = 32
writev(4, [{"1\0\t\0\1\0\32\0", 8}, {"*-*-*-*-*-*-KSC5601.1987-0", 26}, {"\0\0", 2}], 3) = 36
read(4, 0xbfbbe6c0, 32) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [4], NULL, NULL, NULL) = 1 (in [4])
read(4, "\1)\335\0\0\0\0\0\0\0\0\0\4\0\0\0\370\276H\10\32\0\0\0"..., 32) = 32
writev(4, [{"1\0\t\0\1\0\34\0", 8}, {"*-*-*-*-*-*-*-KSC5601.1987-0", 28}], 2) = 36
read(4, 0xbfbbe6c0, 32) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [4], NULL, NULL, NULL) = 1 (in [4])
read(4, "\1)\336\0\0\0\0\0\0\0\0\0\4\0\0\0\370\276H\10\34\0\0\0"..., 32) = 32
writev(4, [{"1\0\n\0\1\0\36\0", 8}, {"*-*-*-*-*-*-*-*-KSC5601.1987-0", 30}, {"\0\0", 2}], 3) = 40
read(4, 0xbfbbe6c0, 32) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [4], NULL, NULL, NULL) = 1 (in [4])
read(4, "\1)\337\0\0\0\0\0\0\0\0\0\4\0\0\0\370\276H\10\36\0\0\0"..., 32) = 32
writev(4, [{"1\0\n\0\1\0 \0", 8}, {"*-*-*-*-*-*-*-*-*-KSC5601.1987-0", 32}], 2) = 40
read(4, 0xbfbbe6c0, 32) = -1 EAGAIN (Resource temporarily unavailable) |
Sur toutes les fontes possibles
Et en changeant la locale (LC_ALL=fr_FR@euro) :
Code: | $ LC_ALL=fr_FR@euro DISPLAY=:1 ion3
ion3: Encoding in LC_CTYPE (fr_FR@euro) and encoding reported by nl_langinfo(CODESET) (ISO-8859-15) do not match.
ion3: Reverting locale settings to "C".
/usr/libexec/ion3/bin/ion-statusd: statusd_mail.lua:73: assertion failed!
ion3: Caught signal 2. Dying.
ion3: Not saving state: running under session manager. |
Hop, la ça marche, lancement instantanné
Donc le coup du device dans /dev ne tient pas
Bon, maintenant, aller savoir pourquoi ça marchait avant et plus maintenant, alors que c'était aussi en UTF-8 avant... mystère _________________ Merci de respecter les règles du forum.
Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Tue Jun 28, 2005 8:06 am Post subject: |
|
|
Question de noob: t'as trouvé ou et comment ces logs ?
Parce que j'ai rien dans /var/log/messages ni dans /var/lox/Xorg.0.log et quand je lance gedit à partir d'un terminal il n'affiche rien. Il attend, juste. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
guilc Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/190892864153fcc64a2a920.jpg)
Joined: 15 Nov 2003 Posts: 3326 Location: Paris - France
|
Posted: Tue Jun 28, 2005 8:10 am Post subject: |
|
|
marvin rouge wrote: | Question de noob: t'as trouvé ou et comment ces logs ?
Parce que j'ai rien dans /var/log/messages ni dans /var/lox/Xorg.0.log et quand je lance gedit à partir d'un terminal il n'affiche rien. Il attend, juste. |
Avec strace :
te donnera sans doute un log similaire, je pense que c'est le même problème _________________ Merci de respecter les règles du forum.
Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Tue Jun 28, 2005 8:29 am Post subject: |
|
|
bon, un essai avec mpd. strace est très "verbeux" (je ne connaissais pas ...) et du coup je comprends rien à sa sortie. strace /etc/init.d/mpd start wrote: | <...>
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, 0x7fffff8bb6c4, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn(0xffffffffffffffff) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x4334c0, [], SA_RESTORER, 0x2aaaaacf2bc0}, = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2aaaaaeebec0) = 31224
rt_sigprocmask(SIG_SETMASK, [], NULL, = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], = 0
rt_sigaction(SIGINT, {0x4334c0, [], SA_RESTORER, 0x2aaaaacf2bc0}, {SIG_DFL}, = 0
wait4(-1, * Starting Music Player Daemon ... <-- la ca bloque pendant un bon moment
[ ok ]
[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 31224
rt_sigprocmask(SIG_SETMASK, [], NULL, = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, 0x7fffff8bccc4, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn(0xffffffffffffffff) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x4334c0, [], SA_RESTORER, 0x2aaaaacf2bc0}, = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], = 0
read(255, "\n\n# vim:ts=4\n", 8192) = 13
rt_sigprocmask(SIG_BLOCK, NULL, [], = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], = 0
read(255, "", 8192) = 0
exit_group(0) = ? | Je vois pas de reference à l'utf8. Je suis en train de faire la même chose avec gedit, pour voir.
EDIT: gedit est bloqué là: Code: | open("/etc/rpc", O_RDONLY) = 17
fcntl(17, F_GETFD) = 0
fcntl(17, F_SETFD, FD_CLOEXEC) = 0
fstat(17, {st_mode=S_IFREG|0644, st_size=1615, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaab08aa000
read(17, "#ident\t\"@(#)rpc\t1.11\t95/07/14 SM"..., 4096) = 1615
close(17) = 0
munmap(0x2aaab08aa000, 4096) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 17
bind(17, {sa_family=AF_INET, sin_port=htons(928), sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EACCES (Permission denied)
connect(17, {sa_family=AF_INET, sin_port=htons(111), sin_addr=inet_addr("127.0.0.1")}, 16 |
et après: Code: | connect(17, {sa_family=AF_INET, sin_port=htons(111), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 ETIMEDOUT (Connection timed out)
futex(0x2aaaaf5ac5e0, FUTEX_WAKE, 2147483647) = 0
close(17) = 0
open("/etc/rpc", O_RDONLY) = 17
fcntl(17, F_GETFD) = 0
fcntl(17, F_SETFD, FD_CLOEXEC) = 0
fstat(17, {st_mode=S_IFREG|0644, st_size=1615, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaab08aa000
read(17, "#ident\t\"@(#)rpc\t1.11\t95/07/14 SM"..., 4096) = 1615
close(17) = 0
munmap(0x2aaab08aa000, 4096) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 17
bind(17, {sa_family=AF_INET, sin_port=htons(928), sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EACCES (Permission denied)
connect(17, {sa_family=AF_INET, sin_port=htons(111), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 ETIMEDOUT (Connection timed out)
close(17) = 0 |
pfff, j'y comprends rien.
EDIT bis: pour ceux qui sont bilingue en strace, le fichier complet de strace -o strace.gedit gedit est ici (blocage à la ligne 1502) |
|
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 Jun 28, 2005 12:05 pm Post subject: |
|
|
question con : iptable est désactivé ?
parce que Code: | bind(17, {sa_family=AF_INET, sin_port=htons(928), sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EACCES (Permission denied) | c'est comme si ton appli essayait de se connecter sur 0.0.0.0:928 ...
C'est surement un post inutile ... mais s'il y a une chance de trouver une piste de ce coté, autant la saisir
A+ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Tue Jun 28, 2005 1:21 pm Post subject: |
|
|
lbr wrote: | question con : iptable est désactivé ?
parce que Code: | bind(17, {sa_family=AF_INET, sin_port=htons(928), sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EACCES (Permission denied) | c'est comme si ton appli essayait de se connecter sur 0.0.0.0:928 ...
C'est surement un post inutile ... mais s'il y a une chance de trouver une piste de ce coté, autant la saisir
A+ | ah bah ouais ! si j'arrete iptables, j'ai des temps de chargement corrects pour gedit et mpd. Ca se précise ... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Thu Jul 07, 2005 7:46 am Post subject: |
|
|
Bon, je reviens avec mon problème:
- Je fais un emerge du gentoo-sources-2.6.12-r4
- Je prends le .config du gentoo-sources-2.6.11 (celui sur lequel je tourne habituellement)
- Je fais mon lien (linux -> linux-2.6.12-gentoo-r4) et je fais make oldconfig
- Je réponds non à toutes les nouveautés, histoire de pas trop rajouter d'inconnues
- Compilation, installation sur /boot, modification grub.conf, reboot
Pareil Code: | time /etc/init.d/mpd start
* Starting Music Player Daemon ... [ ok ]
real 3m9.381s
user 0m0.199s
sys 0m0.072s
time gedit
real 6m24.116s
user 0m0.853s
sys 0m0.081s |
C'est complètement fou, le script iptables n'a pas changé. J'ai fais les diff entre les .config des kernels. Vu qu'il y a des nouveaux features dans le 2.6.12, et que j'ai répondu non partout, je commence par filtrer les réponses y pour chaque .config et je fais la différence dessus. Voilà ce que ca me sort: Quote: | grep y 2.6.11 >> 2.6.11.y
grep y 2.6.12 >> 2.6.12.y
diff 2.6.11.y 2.6.12.y
10,11d9
< CONFIG_HPET_TIMER=y
< CONFIG_HPET_EMULATE_RTC=y
25a24,26
> CONFIG_PRINTK=y
> CONFIG_BUG=y
> CONFIG_BASE_FULL=y
44a46,47
> CONFIG_HPET_TIMER=y
> CONFIG_HPET_EMULATE_RTC=y
49a53
> CONFIG_ISA_DMA_API=y
66a71
> CONFIG_CPU_FREQ_TABLE=y
72d76
< CONFIG_CPU_FREQ_TABLE=y
142,145d145
< CONFIG_SOUND_GAMEPORT=y
< CONFIG_SERIO=y
< CONFIG_SERIO_I8042=y
< CONFIG_SERIO_LIBPS2=y
149a150,152
> CONFIG_SERIO=y
> CONFIG_SERIO_I8042=y
> CONFIG_SERIO_LIBPS2=y
160a164,167
> CONFIG_FB_CFB_FILLRECT=y
> CONFIG_FB_CFB_COPYAREA=y
> CONFIG_FB_CFB_IMAGEBLIT=y
> CONFIG_FB_SOFT_CURSOR=y
175,176d181
< CONFIG_SND_HWDEP=y
< CONFIG_SND_RAWMIDI=y
180d184
< CONFIG_SND_BIT32_EMUL=y
182,183d185
< CONFIG_USB=y
< CONFIG_USB_DEVICEFS=y
185a188,189
> CONFIG_USB=y
> CONFIG_USB_DEVICEFS=y |
J'ai mis en gras les seuls véritables changements, le reste c'est juste du changement de place.
Et si je stoppe les scripts iptables, tout se charge correctement. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
LostControl l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/58145939140477f69386e9.jpg)
Joined: 02 Mar 2004 Posts: 885 Location: La Glane, Suisse
|
Posted: Thu Jul 07, 2005 8:23 am Post subject: |
|
|
Tu peux faire un :
histoire de voir quelles règles sont appliquées. Tu as bien autorisé tout le traffic sur lo ?
Personnellement, j'ai pas de problème sur mon laptop avec le 2.6.12-cj2. Par contre, sur mon serveur, je suis aussi passé au 2.6.12 et là, apcupsd (daemon pour la gestion de l'onduleur) fait monter le load du système à 1.00. C'est à cause d'une modification dans le comportement de l'USB introduite dans le 2.6.12.
A+ _________________ http://www.jaqpot.net
http://www.fail2ban.org |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Thu Jul 07, 2005 8:44 am Post subject: |
|
|
Oui , le traffic est autorisé sur lo, et ca marche avec un 2.6.11 et les mêmes règles iptables, c'est ca que je comprends pas.
J'ai vérifié la charge quand je lance les applis qui prennent du temps, et ben y'a rien, nada. Pas d'occupation du proc. (je viens de trouver une autre appli qui fonctionne mal : evidence)
Et voilà le iptables -L -v -n (j'ai trois interfaces, eth0 est sur le net. je mets en gras lo): Quote: | Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
82 17442 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 state INVALID
936K 104M ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
1425 274K ACCEPT all -- eth1 * 0.0.0.0/0 0.0.0.0/0
1425 274K ACCEPT all -- eth2 * 0.0.0.0/0 0.0.0.0/0
741K 974M icmp_allowed all -- eth0 * 0.0.0.0/0 0.0.0.0/0
741K 974M check-flags all -- eth0 * 0.0.0.0/0 0.0.0.0/0
741K 974M allow-ssh-traffic-in all -- eth0 * 0.0.0.0/0 0.0.0.0/0
741K 974M allow-www-traffic-in all -- eth0 * 0.0.0.0/0 0.0.0.0/0
741K 974M allowed-connection all -- eth0 * 0.0.0.0/0 0.0.0.0/0
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 DROP all -- eth2 * 0.0.0.0/0 192.168.2.0/24
0 0 DROP all -- eth1 * 0.0.0.0/0 192.168.1.0/24
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 state INVALID
0 0 ACCEPT all -- * lo 0.0.0.0/0 0.0.0.0/0
0 0 icmp_allowed all -- eth1 * 192.168.1.0/24 0.0.0.0/0
0 0 icmp_allowed all -- eth2 * 192.168.2.0/24 0.0.0.0/0
0 0 icmp_allowed all -- eth0 * 0.0.0.0/0 192.168.1.0/24
0 0 icmp_allowed all -- eth0 * 0.0.0.0/0 192.168.2.0/24
0 0 allow-ssh-traffic-out all -- eth1 * 192.168.1.0/24 0.0.0.0/0
0 0 allow-dns-traffic-out all -- eth1 * 192.168.1.0/24 0.0.0.0/0
0 0 allow-www-traffic-out all -- eth1 * 192.168.1.0/24 0.0.0.0/0
0 0 allow-ftp-traffic-out all -- eth1 * 192.168.1.0/24 0.0.0.0/0
0 0 im-out all -- eth1 * 192.168.1.0/24 0.0.0.0/0
0 0 allow-ssh-traffic-out all -- eth2 * 192.168.2.0/24 0.0.0.0/0
0 0 allow-dns-traffic-out all -- eth2 * 192.168.2.0/24 0.0.0.0/0
0 0 allow-www-traffic-out all -- eth2 * 192.168.2.0/24 0.0.0.0/0
0 0 allow-ftp-traffic-out all -- eth2 * 192.168.2.0/24 0.0.0.0/0
0 0 im-out all -- eth2 * 192.168.2.0/24 0.0.0.0/0
0 0 allowed-connection all -- * * 0.0.0.0/0 0.0.0.0/0
Chain OUTPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
65 3368 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 state INVALID
936K 104M ACCEPT all -- * lo 0.0.0.0/0 0.0.0.0/0
1425 274K ACCEPT all -- * eth1 0.0.0.0/0 0.0.0.0/0
1425 274K ACCEPT all -- * eth2 0.0.0.0/0 0.0.0.0/0
447K 36M icmp_allowed all -- * eth0 0.0.0.0/0 0.0.0.0/0
447K 36M check-flags all -- * eth0 0.0.0.0/0 0.0.0.0/0
447K 36M allow-ssh-traffic-out all -- * eth0 0.0.0.0/0 0.0.0.0/0
447K 36M allow-dns-traffic-out all -- * eth0 0.0.0.0/0 0.0.0.0/0
442K 36M allow-www-traffic-out all -- * eth0 0.0.0.0/0 0.0.0.0/0
99419 6901K allow-ftp-traffic-out all -- * eth0 0.0.0.0/0 0.0.0.0/0
4 240 im-out all -- * eth0 0.0.0.0/0 0.0.0.0/0
0 0 allowed-connection all -- * eth0 0.0.0.0/0 0.0.0.0/0
Chain allow-dns-traffic-out (3 references)
pkts bytes target prot opt in out source destination
5195 332K ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:53
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:53
Chain allow-ftp-traffic-out (3 references)
pkts bytes target prot opt in out source destination
2330 134K ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:21 state NEW,ESTABLISHED
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:20 state ESTABLISHED
97085 6767K ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:65535 dpts:1024:65535 state RELATED,ESTABLISHED
Chain allow-ssh-traffic-in (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp -- eth0 * 0.0.0.0/0 0.0.0.0/0 state NEW limit: avg 1/sec burst 5 tcp dpt:22022 flags:0x3F/0x04
0 0 ACCEPT tcp -- eth0 * 0.0.0.0/0 0.0.0.0/0 state NEW limit: avg 1/sec burst 5 tcp dpt:22022 flags:0x3F/0x01
0 0 ACCEPT tcp -- eth0 * 0.0.0.0/0 0.0.0.0/0 state NEW limit: avg 1/sec burst 5 tcp dpt:22022 flags:0x3F/0x02
Chain allow-ssh-traffic-out (3 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22022
Chain allow-www-traffic-in (1 references)
pkts bytes target prot opt in out source destination
35 1680 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:6881
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:6881
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:4661
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:4664
Chain allow-www-traffic-out (3 references)
pkts bytes target prot opt in out source destination
300K 25M ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8080
8478 1140K ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
5930 352K ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:110
8571 672K ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:995
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:25
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:465
18466 1529K ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:873
714 375K ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:587
858 122K ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:2401
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:6667
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:6881
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:6881
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:6969
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:3389
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:4664
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:4661
Chain allowed-connection (3 references)
pkts bytes target prot opt in out source destination
718K 972M ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
291 20873 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 3/hour burst 5 LOG flags 0 level 4 prefix `Bad packet from eth0:'
23462 1556K DROP all -- * * 0.0.0.0/0 0.0.0.0/0
Chain check-flags (2 references)
pkts bytes target prot opt in out source destination
0 0 LOG tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x3F/0x29 limit: avg 5/min burst 5 LOG flags 0 level 1 prefix `NMAP-XMAS:'
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x3F/0x29
0 0 LOG tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x3F/0x3F limit: avg 5/min burst 5 LOG flags 0 level 1 prefix `XMAS:'
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x3F/0x3F
0 0 LOG tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x3F/0x37 limit: avg 5/min burst 5 LOG flags 0 level 1 prefix `XMAS-PSH:'
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x3F/0x37
0 0 LOG tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x3F/0x00 limit: avg 5/min burst 5 LOG flags 0 level 1 prefix `NULL_SCAN:'
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x3F/0x00
0 0 LOG tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x06 limit: avg 5/min burst 5 LOG flags 0 level 5 prefix `SYN/RST:'
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x06
0 0 LOG tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x03/0x03 limit: avg 5/min burst 5 LOG flags 0 level 5 prefix `SYN/FIN:'
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x03/0x03
Chain icmp_allowed (6 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW icmp type 11
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW icmp type 3
76 11214 LOG icmp -- * * 0.0.0.0/0 0.0.0.0/0 LOG flags 0 level 4 prefix `Bad ICMP traffic:'
76 11214 DROP icmp -- * * 0.0.0.0/0 0.0.0.0/0
Chain im-out (3 references)
pkts bytes target prot opt in out source destination
2 120 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:5222
2 120 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:1863 |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
LostControl l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/58145939140477f69386e9.jpg)
Joined: 02 Mar 2004 Posts: 885 Location: La Glane, Suisse
|
Posted: Thu Jul 07, 2005 9:16 am Post subject: |
|
|
Ouais bizarre tout ça...
J'ai trouvé ça sur les newsgroups. On dirait que tu n'es pas le seul à avoir des problèmes... Maintenant à savoir si c'est la même chose ??? _________________ http://www.jaqpot.net
http://www.fail2ban.org |
|
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: Thu Jul 07, 2005 9:21 am Post subject: |
|
|
j'ai eu (j'ai toujours) ce problème avec emacs, si le resolv.conf n'est pas bon
l'appli met deux minutes à se lancer....
ce sont les pointes réseau dans gkrellm lors du lancement qui m'ont mis sur la piste
on dirait que quelque chose tente une résolution de noms mais quoi
mais je n'ai pas fait d'investigations particulières...
en mettant mon DNS LAN dans le resolv.conf, tout rentre dans l'ordre _________________ benj
technicien professionnel, ascendant winner |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Thu Jul 07, 2005 10:04 am Post subject: |
|
|
LostControl wrote: | Ouais bizarre tout ça...
J'ai trouvé ça sur les newsgroups. On dirait que tu n'es pas le seul à avoir des problèmes... Maintenant à savoir si c'est la même chose ??? |
Merci pour la recherche j'étais passé à coté.
mmm. ca s'applique au bridges (brX), et c'est bien technique, je comprends pas tout (voire pas grand chose). Il y en a juste un qui mentionne un problème avec le loopback, mais rien d'autre.
D'apres le changelog des gentoo-sources, j'arrive pas à voir si le patch proposé est inclus. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Thu Jul 07, 2005 10:05 am Post subject: |
|
|
blasserre wrote: | j'ai eu (j'ai toujours) ce problème avec emacs, si le resolv.conf n'est pas bon
l'appli met deux minutes à se lancer....
ce sont les pointes réseau dans gkrellm lors du lancement qui m'ont mis sur la piste
on dirait que quelque chose tente une résolution de noms mais quoi
mais je n'ai pas fait d'investigations particulières...
en mettant mon DNS LAN dans le resolv.conf, tout rentre dans l'ordre |
T'as mis quoi dans ton resolv.conf ? ton adresse locale (127.0.0.1, ou 192.168.x.x ... ?) |
|
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: Thu Jul 07, 2005 4:40 pm Post subject: |
|
|
alors :
je n'arrive plus à reproduire la chose sur le serveur :/
par contre sur le portable j'avais en DNS mon modem routeur
temps d'ouverture d'emacs : 6mn
j'ai ajouté à mon resolv.conf le DNS de mon FAI
temps d'ouverture d'emacs : 1 sec
un petit tcpdump me confirme une requete DNS à l'ouverture d'emacs
ouverture qui ne se produit (me semble-t'il) qu'une fois la réponse ou le timeout arrivé...
j'investigue pour voir qui cherche et qui est cherché
....
mouarf j'y capte rien
edit :
il cherche mon hostname sur le réseau, en l'ajoutant dans le /etc/hosts ça fuse...
à tester si ce n'est déjà fait _________________ benj
technicien professionnel, ascendant winner |
|
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
|
|