Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
env-update, Client, konsole spinnt total
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Mon Jun 11, 2007 5:27 pm    Post subject: env-update, Client, konsole spinnt total Reply with quote

Hi.

Bis jetzt habe ich es immer so gemacht, dass ich das komplette Gentoolinuxsystem meines Dual Pentium Pro per NFS auf mein Gentoo-System auf einem P4 rüber gemountet habe. Dann noch folgendes eingegeben:
Code:
chroot /mnt/gentoo /bin/bash
env-update && source /etc/profile


Das hat auch immer supergut geklappt.
Nun kam ich auf die Idee eine 32Bit-Umgebung in meinen Dual XEON-Computer mit x86_64-Gentoo zu erstellen. Chrooten, dann Pentium Pro-Gentoo in diesem 32Bit-Bereichs per NFS mounten und ansonsten das System wie oben beschrieben dort chrooten.

Seit dieser Zeit geht es nicht mehr.

Sobald ich env-update auf das gechrootete PPro-NFS mache. Fängt es an und hängt sich dann in der Konsole auf. Das Clientsystem läuft einwandfrei weiter, außer die Konsole. Da geht nichts mehr, oder nur für kurze Zeit. Gleiches Phänomen auf dem Dual Xeon wie auch im P4-Computer.

Nur der PentiumPro lokal läuft noch einwandfrei. env-update lokal ohne Probleme ausführbar.

Vielleicht ist es noch hilfreich zu sagen, dass die NFS-Clients (Dual XEON, P4) nachdem ich env-update auf NFS-Share für PPro dort ausgeführt habe nicht nur die Konsole spinnt, sondern sie fahren auch nicht mehr sauber runter. Aber nur, wenn ich NFS-filesystem mounte von PPro und im chroot env-update dann ausführe. Sonst laufen sie auch einwandfrei!

Ich weiss nicht mehr weiter, woran es liegen könnte. Helft mir mal wieder auf die Sprünge! Danke im Vorraus für eure Bemühungen.

Gruss Sewulba :cry:
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Tue Jun 12, 2007 11:18 am    Post subject: Reply with quote

keiner eine Idee dazu? :cry:
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9546
Location: beyond the rim

PostPosted: Tue Jun 12, 2007 3:56 pm    Post subject: Reply with quote

Würde mal den env-update Aufruf per strace verfolgen und schauen wo er sich genau aufhängt, sonst kann man hier nur ins Blaue raten.
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Tue Jun 12, 2007 4:49 pm    Post subject: Reply with quote

Werde ich sofort tun! :wink:
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Tue Jun 12, 2007 5:23 pm    Post subject: Reply with quote

okay habe ein strace auf dieses env-update gemacht. Leider kommt überhauptkein output, wenn ich es vom Client aus mache.

Wenn ich es lokal ausführe, dann kommt ein Output dabei raus von 384kByte. Den Output von STRACE kann ich Euch wohl ersparen. Lokal funktioniert es ja einwandfrei. Nur über NFS gemountet geht es einfach nicht mehr.

Hier mal mein kleines Script zum mounten per NFS. Bis jetzt ging es immer.

Code:

#!/bin/bash

MINI_IP="192.168.0.7"
MINI_FS="/mnt/gentoo"

echo 262144 > /proc/sys/net/core/rmem_default
echo 262144 > /proc/sys/net/core/rmem_max
echo 262144 > /proc/sys/net/core/wmem_default
echo 262144 > /proc/sys/net/core/wmem_max

mount -t nfs $MINI_IP:/ $MINI_FS -o rsize=8192,wsize=8192,auto,rw,hard,intr,nolock
mount -t proc proc /$MINI_FS/proc
mount -t nfs $MINI_IP:/boot $MINI_FS/boot -o rsize=8192,wsize=8192,auto,rw,hard,intr,nolock
mount -t nfs $MINI_IP:/home $MINI_FS/home -o rsize=8192,wsize=8192,auto,rw,hard,intr,nolock


Wie schon erwähnt mache ich danach ein
Code:
chroot /mnt/gentoo /bin/bash
source /etc/profile
env-update


Genau bei env-update verabschiedet sich dann der Vorgang mit einfach stummer verweigerung.
Danach geht auf dem Client kein df mehr. Bleibt bei den NFS-Shares hängen. Runterfahren des Systems nicht mehr möglich. Nach KDM runterfahren wo eigentlich der vixie-cron runtergefahren wird ist's aus.

Alles hat damit begonnen, dass ich den Pentium Pro-Computer mit einem Gentoo x86_64 mit darin befindlichem i686-Gentoo chrooten wollte. Auch damals war bei env-update schluss. Seitdem gehts einfach nicht mehr.

Ich hoffe, dass mir dennoch noch geholfen werden kann! Ohne STRACE wahrscheinlich schweirig, aber hoffentlich nicht unmöglich.
:cry: :? :(

Gruss Sewulba
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9546
Location: beyond the rim

PostPosted: Tue Jun 12, 2007 6:02 pm    Post subject: Reply with quote

Ok, mal so ins blaue reingeraten: wenn du vom x86_64 ins i386 "chrootest" (egal ob über NFS oder lokal), benutzt du da linux32 oder nicht? Und die nötigen bind-mounts sind auch vorhanden? (s. http://www.gentoo.org/proj/en/base/amd64/howtos/chroot.xml)
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Wed Jun 13, 2007 7:39 am    Post subject: Reply with quote

Genau nach diesem Link bin ich vorgegangen! Ich verwendete also linux32 dafür! :wink:
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Thu Jun 14, 2007 5:23 pm    Post subject: Reply with quote

Genone wrote:
Ok, mal so ins blaue reingeraten: wenn du vom x86_64 ins i386 "chrootest" (egal ob über NFS oder lokal), benutzt du da linux32 oder nicht? Und die nötigen bind-mounts sind auch vorhanden? (s. http://www.gentoo.org/proj/en/base/amd64/howtos/chroot.xml)


Ich habe die Lösung, nur das WARUM würde ich gerne wissen. Bzw. wie ich es im nachinein herraus finden kann wäre für mich sehr interessant.

Ich habe vorher nfs-utils-1.0.12 verwendet. Eben habe ich gerade auf 1.1.0 geupdatet.
Code:
 ACCEPT_KEYWORDS="~x86" emerge nfs-utils


Jetzt geht wieder alles. Mit dem x86_64 mit linux32 traue ich mich jetzt allerdings nicht mehr es aus zu probieren.
Was könnte den zerschossen gewesen sein und warum?

Auf jeden Fall geht es jetzt wieder!

Gruss Sewulba :wink: <-- wieder glücklich!
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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