* [uml-devel] Hang at ipv4 setup is a cpufreq issue!
[not found] ` <200403022005.42635.blaisorblade_spam@yahoo.it>
@ 2004-03-03 23:11 ` roland
2004-03-04 3:05 ` [uml-devel] " Jeff Dike
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: roland @ 2004-03-03 23:11 UTC (permalink / raw)
To: BlaisorBlade, user-mode-linux-devel, Jeff Dike; +Cc: uml-user
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" <blaisorblade_spam@yahoo.it>
To: <user-mode-linux-user@lists.sourceforge.net>
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:
> 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
--
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_id\x1356&alloc_id438&op=ick
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* [uml-devel] Re: Hang at ipv4 setup is a cpufreq issue!
@ 2004-03-03 23:21 roland
0 siblings, 0 replies; 5+ messages in thread
From: roland @ 2004-03-03 23:21 UTC (permalink / raw)
To: BlaisorBlade, user-mode-linux-devel, Jeff Dike; +Cc: uml-user
see: http://www.redhat.com/archives/fedora-test-list/2003-July/msg01141.html
maybe this is valuable information for all "underclockers" of you :)
regards
roland
----- Original Message -----
From: "roland" <for_spam@gmx.de>
To: "BlaisorBlade" <blaisorblade_spam@yahoo.it>; <user-mode-linux-devel@lists.sourceforge.net>; "Jeff Dike" <jdike@addtoit.com>
Cc: "uml-user" <user-mode-linux-user@lists.sourceforge.net>
Sent: Thursday, March 04, 2004 12:11 AM
Subject: Hang at ipv4 setup is a cpufreq issue!
> 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" <blaisorblade_spam@yahoo.it>
> To: <user-mode-linux-user@lists.sourceforge.net>
> 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:
> > 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
> --
> 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_id\x1356&alloc_id438&op=ick
> _______________________________________________
> User-mode-linux-user mailing list
> User-mode-linux-user@lists.sourceforge.net
> 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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* [uml-devel] Re: Hang at ipv4 setup is a cpufreq issue!
2004-03-03 23:11 ` [uml-devel] Hang at ipv4 setup is a cpufreq issue! roland
@ 2004-03-04 3:05 ` Jeff Dike
2004-03-04 4:45 ` [uml-devel] Re: [uml-user] " Christopher S. Aker
2004-03-08 21:34 ` [uml-devel] " Jeff Dike
2 siblings, 0 replies; 5+ messages in thread
From: Jeff Dike @ 2004-03-04 3:05 UTC (permalink / raw)
To: roland; +Cc: BlaisorBlade, user-mode-linux-devel, uml-user
for_spam@gmx.de 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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* [uml-devel] Re: [uml-user] Hang at ipv4 setup is a cpufreq issue!
2004-03-03 23:11 ` [uml-devel] Hang at ipv4 setup is a cpufreq issue! roland
2004-03-04 3:05 ` [uml-devel] " Jeff Dike
@ 2004-03-04 4:45 ` Christopher S. Aker
2004-03-08 21:34 ` [uml-devel] " Jeff Dike
2 siblings, 0 replies; 5+ messages in thread
From: Christopher S. Aker @ 2004-03-04 4:45 UTC (permalink / raw)
To: roland; +Cc: uml-user, user-mode-linux-devel, BlaisorBlade
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:
diff -Naur orig/arch/um/kernel/time.c mine/arch/um/kernel/time.c
--- orig/arch/um/kernel/time.c 2003-12-18 02:30:20.000000000 -0500
+++ mine/arch/um/kernel/time.c 2003-12-18 02:32:38.000000000 -0500
@@ -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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* [uml-devel] Re: Hang at ipv4 setup is a cpufreq issue!
2004-03-03 23:11 ` [uml-devel] Hang at ipv4 setup is a cpufreq issue! roland
2004-03-04 3:05 ` [uml-devel] " Jeff Dike
2004-03-04 4:45 ` [uml-devel] Re: [uml-user] " Christopher S. Aker
@ 2004-03-08 21:34 ` Jeff Dike
2 siblings, 0 replies; 5+ messages in thread
From: Jeff Dike @ 2004-03-08 21:34 UTC (permalink / raw)
To: roland; +Cc: BlaisorBlade, user-mode-linux-devel, uml-user
for_spam@gmx.de 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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-03-08 21:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <40430B47.3000004@sms.ed.ac.uk>
[not found] ` <200403022005.42635.blaisorblade_spam@yahoo.it>
2004-03-03 23:11 ` [uml-devel] Hang at ipv4 setup is a cpufreq issue! roland
2004-03-04 3:05 ` [uml-devel] " Jeff Dike
2004-03-04 4:45 ` [uml-devel] Re: [uml-user] " Christopher S. Aker
2004-03-08 21:34 ` [uml-devel] " Jeff Dike
2004-03-03 23:21 roland
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox