Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SMP] Error Boot - VFS (Resolu)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
onvice
n00b
n00b


Joined: 20 May 2005
Posts: 58

PostPosted: Wed Jun 22, 2005 1:37 pm    Post subject: Reply with quote

Merci pour ton aide Yoyo

Bon retour au point de départ : détection d'un seul processeur !! :cry:

j'ai repris la doc UDEV et en effet j'avais mis dans
File systems --->
Pseudo Filesystems --->
[*] /dev file system support (OBSOLETE)
[* ] Automatically mount at boot

Automatically mount at boot ne devait pas etre sélectionné a priori :oops:
Donc maintenant ça démarre sans probleme (c'est ce que j'avais au tout début) sauf que j'ai bien mis le support SMP dans le menuconfig et il ne voit qu'un seul processeur :?:

quand je fais un # uname -a j'obtiens
Linux viceserveur 2.6.11-gentoo-r9 #5 Wed Jun 22 14:55:30 CEST 2005 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux

alors qu'avant j'avais
Linux viceserveur 2.6.11-gentoo-r3 #1 SMP Sat May 21 01:56:06 CEST 2005 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux

et quand je faisait un TOP puis 1 je voyais bien mes deux processeurs travaillés !!

Je retente un menuconfig :roll: voir si vraiment je n'ai rien oublié ....... :roll:
Back to top
View user's profile Send private message
yoyo
Bodhisattva
Bodhisattva


Joined: 04 Mar 2003
Posts: 4273
Location: Lyon - France

PostPosted: Wed Jun 22, 2005 1:47 pm    Post subject: Reply with quote

Fais voir un "dmesg|grep -i smp"

EDIT : un "dmesg|grep -i sched" aussi
_________________
La connaissance s'accroît quand on la partage.
JCB
Back to top
View user's profile Send private message
onvice
n00b
n00b


Joined: 20 May 2005
Posts: 58

PostPosted: Wed Jun 22, 2005 3:02 pm    Post subject: Reply with quote

J'ai vérifié et à priori rien oublié :cry: ......
J'ai même enlevé
[*] SMT (Hyperthreading) scheduler support
pensant que HT bloqué la détection du Smp (mais non c'est toujours pas ça!!)


yoyo wrote:
Fais voir un "dmesg|grep -i smp"


usbcore: version magic '2.6.11-gentoo-r9 SMP preempt PENTIUMIII gcc-3.3' should
be '2.6.11-gentoo-r9 PENTIUMIII gcc-3.3'
ehci_hcd: version magic '2.6.11-gentoo-r9 SMP preempt PENTIUMIII gcc-3.3' should
be '2.6.11-gentoo-r9 PENTIUMIII gcc-3.3'
usbhid: version magic '2.6.11-gentoo-r9 SMP preempt PENTIUMIII gcc-3.3' should b
e '2.6.11-gentoo-r9 PENTIUMIII gcc-3.3'
usb_storage: version magic '2.6.11-gentoo-r9 SMP preempt PENTIUMIII gcc-3.3' sho
uld be '2.6.11-gentoo-r9 PENTIUMIII gcc-3.3'
uhci_hcd: version magic '2.6.11-gentoo-r9 SMP preempt PENTIUMIII gcc-3.3' should
be '2.6.11-gentoo-r9 PENTIUMIII gcc-3.3'
ohci_hcd: version magic '2.6.11-gentoo-r9 SMP preempt PENTIUMIII gcc-3.3' should
be '2.6.11-gentoo-r9 PENTIUMIII gcc-3.3'
usbhid: version magic '2.6.11-gentoo-r9 SMP preempt PENTIUMIII gcc-3.3' should b
e '2.6.11-gentoo-r9 PENTIUMIII gcc-3.3'
ieee1394: version magic '2.6.11-gentoo-r9 SMP preempt PENTIUMIII gcc-3.3' should
be '2.6.11-gentoo-r9 PENTIUMIII gcc-3.3'
ohci1394: version magic '2.6.11-gentoo-r9 SMP preempt PENTIUMIII gcc-3.3' should
be '2.6.11-gentoo-r9 PENTIUMIII gcc-3.3'
sbp2: version magic '2.6.11-gentoo-r9 SMP preempt PENTIUMIII gcc-3.3' should be
'2.6.11-gentoo-r9 PENTIUMIII gcc-3.3'
dm_mod: version magic '2.6.11-gentoo-r9 SMP preempt PENTIUMIII gcc-3.3' should b
e '2.6.11-gentoo-r9 PENTIUMIII gcc-3.3'
sata_sil: version magic '2.6.11-gentoo-r9 SMP preempt PENTIUMIII gcc-3.3' should
be '2.6.11-gentoo-r9 PENTIUMIII gcc-3.3'
sata_via: version magic '2.6.11-gentoo-r9 SMP preempt PENTIUMIII gcc-3.3' should
be '2.6.11-gentoo-r9 PENTIUMIII gcc-3.3'
ips: version magic '2.6.11-gentoo-r9 SMP preempt PENTIUMIII gcc-3.3' should be '
2.6.11-gentoo-r9 PENTIUMIII gcc-3.3'

yoyo wrote:
EDIT : un "dmesg|grep -i sched"

on obtient:

io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered


Bon là je sèche :?:

Sous la version 2.6.11-gentoo-r3, j'avais essayé la commande dmesg|grep -i smp
et j'ai obtenu
# dmesg|grep -i smp
#Linux version 2.6.11-gentoo-r3 (root@livecd) (gcc version 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)) #1 SMP Sat May 21 01:56:06 CEST 2005
found SMP MP-table at 000f6e80
Using ACPI (MADT) for SMP configuration information

Mis a part gcc (dont je ne sais pas bien ce que c'est) je ne voispas ?? est ce qu'on peut trouver Gcc dans le menuconfig ??
yoyo wrote:

(tu vas finir par connaître la commande par coeur maintenant :wink: )

pas suffisamment encore pour savoir quel est la chose a rajouter :?:
Merci pour votre patience et votre aide
Back to top
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Wed Jun 22, 2005 5:57 pm    Post subject: Reply with quote

onvice wrote:
J'ai même enlevé
[*] SMT (Hyperthreading) scheduler support

De toute façon tu en as pas besoin, tu as des Pentium III, et l'hyperthreading c'est pour les P4.
onvice wrote:
usbcore: version magic '2.6.11-gentoo-r9 SMP preempt PENTIUMIII gcc-3.3' should
be '2.6.11-gentoo-r9 PENTIUMIII gcc-3.3'

Les modules sont versionnés (marqués avec la version du kernel pour laquelle ils ont été compilés). Tu as des modules compilés pour un kernel 2.6.11-gentoo-r9 SMP, mais le kernel actif est un 2.6.11-gentoo-r9 sans SMP. Donc ça confirme ce que dit uname : le kernel qui tourne a pas le support SMP.
onvice wrote:
Mis a part gcc (dont je ne sais pas bien ce que c'est) je ne voispas ?? est ce qu'on peut trouver Gcc dans le menuconfig ??

C'est la version de gcc utilisée pour compiler le kernel. Ca change rien au SMP, et ça se change pas dans menuconfig.

Une chose est claire: le kernel n'a visiblement pas le support SMP (mais tu as compilé dans le passé un kernel qui l'avait, cf les modules). Vérifie que tu as bien tout ça :
Code:
melanie ~ # grep -E "SMP|NR_CPUS" /usr/src/linux/.config
CONFIG_SMP=y
CONFIG_NR_CPUS=2
melanie ~ # grep -E "SMP|NR_CPUS" /boot/config-2.6.11-gentoo-r9
CONFIG_SMP=y
CONFIG_NR_CPUS=2
melanie ~ # zgrep -E "SMP|NR_CPUS" /proc/config.gz
CONFIG_SMP=y
CONFIG_NR_CPUS=2
melanie ~ # grep SMP /usr/src/linux/arch/i386/boot/bzImage
Binary file /usr/src/linux/arch/i386/boot/bzImage matches
melanie ~ # grep SMP /boot/kernel-2.6.11-gentoo-r9
Binary file /boot/kernel-2.6.11-gentoo-r9 matches
Back to top
View user's profile Send private message
onvice
n00b
n00b


Joined: 20 May 2005
Posts: 58

PostPosted: Thu Jun 23, 2005 12:21 am    Post subject: Reply with quote

:) Bonsoir tout le monde

Windan, je vais t'énumérer les résultats des commandes que tu m'as indiqué; cela sera plus simple.!!
(merci pour ton aide, car la gentoo est la seule distrib que j'ai vraiment pu apprécié et utilisé aisément (à mon niveau :oops: ) et jusqu'à présent sur un pc portable. Tout le travail "en amont" est formidable et je voulais vous en remercier par l'intermédiaire de ce forum. Que la force soit avec vous......:wink: )

#grep -E "SMP|NR_CPUS" /usr/src/linux/.config
# CONFIG_X86_BIGSMP is not set
CONFIG_SMP=y
CONFIG_NR_CPUS=2
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_SMP=y

#grep -E "SMP|NR_CPUS" /boot/config-2.6.11-gentoo-r9
#grep: /boot/config-2.6.11-gentoo-r9: No such file or directory

#zgrep -E "SMP|NR_CPUS" /proc/config.gz
#CONFIG_BROKEN_ON_SMP=y
# CONFIG_X86_BIGSMP is not set
# CONFIG_SMP is not set
CONFIG_X86_FIND_SMP_CONFIG=y

#grep SMP /usr/src/linux/arch/i386/boot/bzImage
#Binary file /usr/src/linux/arch/i386/boot/bzImage matches

#grep SMP /boot/kernel-2.6.11-gentoo-r9
#grep: /boot/kernel-2.6.11-gentoo-r9: No such file or directory

J'espère que cela va vous aider .......
Auparavant ne sachant pas trop quoi faire j'ai réinstallé Gcc en faisant un emerge -v gcc
Bon je sais, je fais n'importe quoi :oops: mais je crois que gcc est passé de la version 3.3 à la 3.3.5 ?? à voir :idea: Petite question à ce propos histoire de voir si ça se tient, maintenant si je fais un emerge --sync je risque de rencontrer des problemes suite à la mise à jour de Gcc? Je sais c'est digne d'un autre poste mais juste Oui ou Non me suffirait car je doute le jour ou je le ferais......

J'espère que je vais résoudre ce problème de mise à jour ??

p.s : est-ce possible une incompatibilité matériel ?? Existe t-il une base de problèmes non-résolus référencés sur ce type de configuration (2xP3 -800MHz + CM asus P2B-D + 1Go sdram + geforce2 MX400 + carte Scsi Symbios Logic avec 1 disk Compaq de 20Go scsi):?:
8O Merci
Back to top
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Thu Jun 23, 2005 12:59 am    Post subject: Reply with quote

Code:
# grep -E "SMP|NR_CPUS" /usr/src/linux/.config
CONFIG_SMP=y
CONFIG_NR_CPUS=2
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_SMP=y

Ta conf kernel est ok :)
Code:
# zgrep -E "SMP|NR_CPUS" /proc/config.gz
# CONFIG_SMP is not set

Mais le kernel qui est réellement installé n'a pas le support SMP :(
Code:
#grep SMP /usr/src/linux/arch/i386/boot/bzImage
Binary file /usr/src/linux/arch/i386/boot/bzImage matches

Ce kernel là est ok je pense (en supposant qu'il corresponde à son .config). Tu as du oublier de le copier dans /boot (ou oublié de monter /boot). Donc fais ça et retente, et normalement ça devrait marcher:
Code:
# mount /boot
# cp /usr/src/linux/arch/i386/boot/bzImage /boot/kernel-2.6.11-gentoo-r9
# cp .config /boot/config-2.6.11-gentoo-r9
# umount /boot

onvice wrote:

Bon je sais, je fais n'importe quoi :oops: mais je crois que gcc est passé de la version 3.3 à la 3.3.5 ?? à voir :idea: Petite question à ce propos histoire de voir si ça se tient, maintenant si je fais un emerge --sync je risque de rencontrer des problemes suite à la mise à jour de Gcc? Je sais c'est digne d'un autre poste mais juste Oui ou Non me suffirait car je doute le jour ou je le ferais......

Non, pas de pb normalement.
onvice wrote:
p.s : est-ce possible une incompatibilité matériel ??

Pas dans ton cas je pense.
Back to top
View user's profile Send private message
onvice
n00b
n00b


Joined: 20 May 2005
Posts: 58

PostPosted: Thu Jun 23, 2005 1:10 pm    Post subject: Reply with quote

:lol: Bien vu Widan c'était bien un problème de copie dans /boot !!! :wink:

J'ai pas tout compris à la mise à jour donc je vais relire tout ça. J'ai pris note de toutes ces manipulations pour les futurs mis a jour.

En tout cas vous avez trop bien gérer mon problème...... Merci beaucoup :!: :!: :!: :!:


:D :D
Back to top
View user's profile Send private message
boozo
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3193

PostPosted: Thu Jun 23, 2005 4:32 pm    Post subject: Reply with quote

onvice wrote:
c'était bien un problème de copie dans /boot !!!


... :cry: !!!
_________________
" Un psychotique, c'est quelqu'un qui croit dur comme fer que 2 et 2 font 5, et qui en est pleinement satisfait.
Un névrosé, c'est quelqu'un qui sait pertinemment que 2 et 2 font 4, et ça le rend malade ! "
Back to top
View user's profile Send private message
yoyo
Bodhisattva
Bodhisattva


Joined: 04 Mar 2003
Posts: 4273
Location: Lyon - France

PostPosted: Thu Jun 23, 2005 4:39 pm    Post subject: Reply with quote

Je m'en doutai un peu (beaucoup) ... :P
_________________
La connaissance s'accroît quand on la partage.
JCB
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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