Hang at ipv4 setup is a cpufreq issue!
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
hi paolo,
no - this doesnt help fixing the "hang at NET:..." bug.
but the mail from jonathan boler gave the essential hint and i tried further.
conclusion: this bug indeed seems to be related to cpu frequency!
so - what did i do ?
i did an
"modprobe p4-clockmod"
and then
"echo 0%40%50%performance >/proc/cpufreq"
to reduce the speed of my 2.6 ghz p4 (40% minimum, 50% maximum)
and........
THE UML STARTS FINE AND THE HANG AT IPV4 SETUP IS GONE!
so - this is the workaround.
now we need a patch ;)
do we need the so called "rtc fix" ?
does it exist already for 2.6 kernel ?
regards
roland
----- Original Message -----
From: "BlaisorBlade" <[email protected]>
To: <[email protected]>
Sent: Tuesday, March 02, 2004 8:05 PM
Subject: Re: [uml-user] Hang at ipv4 setup
Alle 11:07, lunedì 1 marzo 2004, Jonathan Boler ha scritto:
Quoted 8 lines
I was just wondering if there has there been any progress in fixing the hang at NET: Registered protocol family 2 bug ?
Is there a patch available ?
Thanks
Jonathan
Yes. At least, it should work (that is a fix for what we think is another symptom of the your bug). Get these two patches and apply them with patch -l -p1 (it is a little mangled for spaces by the mailer). So, please report even if you get success. If you have any problem, try using only the first one.
http://marc.theaimsgroup.com/?l=user-mode-linux-devel&m=107781791123823&w=2
http://marc.theaimsgroup.com/?l=user-mode-linux-devel&m=107699168512707&w=2
Signature · 26 lines
Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=ick _______________________________________________ User-mode-linux-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 9 lines · [email protected] said:
i did an "modprobe p4-clockmod" and then "echo 0%40%50%performance >/ proc/cpufreq" to reduce the speed of my 2.6 ghz p4 (40% minimum, 50% maximum)
and........
THE UML STARTS FINE AND THE HANG AT IPV4 SETUP IS GONE!
so - this is the workaround.
now we need a patch ;)
do we need the so called "rtc fix" ? does it exist already for 2.6 kernel ?
2.4 and 2.6 are identical as far as the rtc stuff goes. So, there's something else wrong. I'm wondering whether this is somehow related to the rdtsc problem that came up recently.
Jeff
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Here is my original post with patch.
http://marc.theaimsgroup.com/?l=user-mode-linux-devel&m=107173525906273&w=2
Some of it is already in the 2.6um tree. Just the very first patch in the patch to time.c is necessary. The lines are offset from 2.6 in this 2.4 patch, but it should apply to 2.6um easy enough...
Relevant section:
arch/um/kernel/time.c 2003-12-18 02:32:38.000000000 -0500 renamed from arch/um/kernel/time.c 2003-12-18 02:30:20.000000000 -0500 +3 -2
@@ -79,10 +79,11 @@ set_interval(ITIMER_REAL); } -static long get_host_hz(void) +static unsigned long long get_host_hz(void) { char mhzline[16], *end; - int ret, mult, mhz, rest, len; + int ret, mult, rest, len; + unsigned long long mhz; ret = cpu_feature("cpu MHz", mhzline, sizeof(mhzline) / sizeof(mhzline[0]));
-Chris
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 1 line · [email protected] said:
THE UML STARTS FINE AND THE HANG AT IPV4 SETUP IS GONE!
Excellent. Thanks for tracking it down and letting us know what the problem was.
Jeff
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel