Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[système] Freeze après halt (non résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
LoganX02
n00b
n00b


Joined: 06 Jan 2004
Posts: 32

PostPosted: Fri Oct 08, 2004 6:27 am    Post subject: [système] Freeze après halt (non résolu) Reply with quote

Bonjour,
J'ai un petit problème, lorsqu'en root je lance la commande halt ou poweroff le problème freeze sur quelque chose comme:
Code:

remounting remaining filesystem...

Qu'est ce que cela signifie? Et comment puis-je m'en dépatouiller?
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Fri Oct 08, 2004 8:03 am    Post subject: Re: [système] Freeze après halt (non résolu) Reply with quote

LoganX02 wrote:
Bonjour,
J'ai un petit problème, lorsqu'en root je lance la commande halt ou poweroff le problème freeze sur quelque chose comme:
Code:

remounting remaining filesystem...

Qu'est ce que cela signifie? Et comment puis-je m'en dépatouiller?

Je connais, j'ai la même chose, il y a des bugs ouverts sous bugzilla:
ici et , c'est un problème de fuser apparement ou d'ordre de démontage, c'est en cours de résolution.

tu peux contribuer en apportant des infos sur ton système: avec quels kernels, tes systèmes de fichiers etc
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
LoganX02
n00b
n00b


Joined: 06 Jan 2004
Posts: 32

PostPosted: Fri Oct 08, 2004 10:53 am    Post subject: Reply with quote

mais alors comment peut-on faire pour éteindre l'ordi de manière tout à fait sûre?
Il me semble que les disques durs ont arrêté de tourner, (de toute façon ils ont été démontés...) donc on doit pouvoir l'éteindre en appuyant quelques secondes sur l'interrupteur :roll: ou bien je me trompe :cry:
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Fri Oct 08, 2004 10:57 am    Post subject: Reply with quote

LoganX02 wrote:
mais alors comment peut-on faire pour éteindre l'ordi de manière tout à fait sûre?
Il me semble que les disques durs ont arrêté de tourner, (de toute façon ils ont été démontés...) donc on doit pouvoir l'éteindre en appuyant quelques secondes sur l'interrupteur :roll: ou bien je me trompe :cry:

si tu appuies sur return, tu obtiens un prompt de shell, tu peux faire un dmesg pour voir qu'il a mis que tes disques sont arrêtés.
mais le truc c'est que tu vas te rendre compte au prochain boot, que ta partition root a été:
NOT CLEANLY unmounted. ce qui est pas top et en pplus tu es obligé d'appuyer pendant 10 sec sur le bouton, pas top non plus.
en fait le fuser -k il kille le script qui doit faire le remount et le power down, ce qui est un peu con, il faut bien avouer
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
Osboots
n00b
n00b


Joined: 14 May 2004
Posts: 36
Location: /Europe/France/Orleans

PostPosted: Fri Oct 08, 2004 1:46 pm    Post subject: Reply with quote

Salut,
J'ai eu le même problème avec un disque dur scsi avec le support de la carte compilé en module.
Avec hotplug, pas de problème pour le boot mais au moment du shutdown, tout ce figeait après le stop de hotplug et le remounting remaining filesystem...
J'ai juste changer mon kernel pour mettre le support en "dur" et non em module et maintenant ca marche !

@+
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Fri Oct 08, 2004 2:34 pm    Post subject: Reply with quote

Osboots wrote:
Salut,
J'ai eu le même problème avec un disque dur scsi avec le support de la carte compilé en module.
Avec hotplug, pas de problème pour le boot mais au moment du shutdown, tout ce figeait après le stop de hotplug et le remounting remaining filesystem...
J'ai juste changer mon kernel pour mettre le support en "dur" et non em module et maintenant ca marche !

@+

c'est pas con l'idée du hotplug qui fout la merde mais qui est arrêté trop tôt, seulement j'ai tout ou presque en dur et toujours le problème, mais si je fous hotplug en boot, ça passera pê.

[edit] bin non :cry:
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
yoyo
Bodhisattva
Bodhisattva


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

PostPosted: Fri Oct 08, 2004 3:13 pm    Post subject: Reply with quote

Pour ceux qui auraient des problèmes avec hotplug lors d'un shutdown, regardez du côté de coldplug ( :wink: ) : http://linux-hotplug.sourceforge.net/
Extrait du Changelog :
Quote:
20 Sep 2004; Greg Kroah-Hartman <gregkh@gentoo.org> +metadata.xml,
+files/coldplug.rc, +coldplug-20040920.ebuild:
New package, coldplug. Split out from hotplug to hold the
init script that tries to load modules for devices that are
already present in the system at boot time.

It can cause problems and lockups, so use at your own risk.

I've disabled the ability to unload stuff at shutdown as that
just caused too many problems, lockups, and oopses.
No other
distro enables this feature, and now I realize why :)

Perso, je ne l'ai pas testé (n'ayant plus de problèmes de cet ordre).

Enjoy !
_________________
La connaissance s'accroît quand on la partage.
JCB
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Fri Oct 08, 2004 3:17 pm    Post subject: Reply with quote

yoyo wrote:
Pour ceux qui auraient des problèmes avec hotplug lors d'un shutdown, regardez du côté de coldplug ( :wink: ) : http://linux-hotplug.sourceforge.net/
!

merci yoyo, je vais regarder dès que je pourrais rebooter (allez ouge toi emerge -u world :wink: )

[edit] en fait ayant regardé leur site on dirait que normalement avec le /sys on a plus de problèmes de coldplug:

Quote:
ColdPlugging

Hotplugging happens after the kernel OS is running, but there's a closely related problem: what happens before the OS is fully bootstrapped (with all system services available)? By analogy, that problem is called "coldplugging". The simple way to handle this is to make devices connected before hotplugging look like they came along a bit later.

To handle coldplugging, you should get updates to pciutils and especially usbutils. See http://usb.cs.tum.edu/download/usbutils, for the latest version of usbutils, including "usbmodules" and RPMs, and ftp://ftp.yggdrasil.com/pub/dist/device_control/pcimodules has the pcimodules patch (against pciutils).

This can change in Linux 2.6 based systems since the new sysfs filesystem makes more of the device hardware information easily available to shell script based admin tools. That is, the information that pcimodules or usbmodules accessed is now fully exposed through /sys/devices/... files. New work on bootstrapping to the filesystem root are also making it practical to use hotplugging to load drivers needed during bootstrap. Combined, those two changes will make it practical to use hotplugged devices when booting (or installing), and can also make it easier to ensure that all devices present at boot time get properly set up.

_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Fri Oct 08, 2004 3:45 pm    Post subject: Reply with quote

bon en fait non, je viens de voir que les versions de hotplug en ~arch sont splitées entre hot/coldplug donc un jour ou l'autre il faudra y passer :D
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Sat Oct 09, 2004 10:24 am    Post subject: Reply with quote

bon, après essai de hotplug et coldplug en ~x86 c'est pas mieux :(

ce qui est bizarre c'est que ça me fait ça que depuis les noyaux 2.6.7, (ou pê 2.6.6) avant c'était bien :P
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Wed Oct 13, 2004 2:49 pm    Post subject: Reply with quote

Bon, problème résolu pour l'instant mais méthode crade et je comprends pas encore pourquoi:
il faut commenter la ligne
Code:
halt -w &>/dev/null
dans le /etc/init.d/halt.sh
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
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
Page 1 of 1

 
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