All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] Re: [uml-user] SuSE 9.1 host + 2.4.26 Kernel + GCC 3.3.3 similarities to 2.6.6!?
@ 2004-06-06 18:54 roland
  2004-06-06 21:33 ` uml
  0 siblings, 1 reply; 16+ messages in thread
From: roland @ 2004-06-06 18:54 UTC (permalink / raw)
  To: uml, uml-user; +Cc: user-mode-linux-devel, Jeff Dike, blaisorblade_spam

answering myself:

via google i found:
>Two different xterms emulators dumping core ... I'd be concerned a
>wee bit. One note, do not compile with excessive optimizations and
>especially -fschedule-insns and -fschedule-insns2 is the right way  <- !!!
>to produce faulty code with all gcc / egcs releases since 2.8.0     <- !!!
>on I86 machines. Not that it would make much sense with a terminal
>emulator anyway, but even so.

and:
>linked to the Pentium Pro Blas single processor library. If -fschedule-insns 
>is included four examples - 06, 07, 09 and 30 fail, 06 and 09 with segmentation  <-- !!! 
>fault and 09 and 30 with a message that "SCALAR MECHINES SHOULD NOT CALL JKGNMV". 
>The performance is sometimes better and sometimes worse over the 31 examples, but 
>these are really too small for a proper bennch mark. 

and:
> ..so I guess the problem is not the classic --fschedule-insns bug.

and:
http://www.linux-mips.org/archives/linux-mips/2004-03/msg00032.html

could please someone try putting -fno-schedule-insns (and maybe -fno-schedule-insns2)
into the Makefile(s) and try again ?

regards
roland


----- Original Message ----- 
From: "roland" <for_spam@gmx.de>
To: "uml" <uml@dot1q.net>; "uml-user" <user-mode-linux-user@lists.sourceforge.net>
Cc: <user-mode-linux-devel@lists.sourceforge.net>
Sent: Sunday, June 06, 2004 8:22 PM
Subject: Re: [uml-user] SuSE 9.1 host + 2.4.26 Kernel + GCC 3.3.3 similarities to 2.6.6!?


> hi!
> > As well, I encountered the same memory problems -- it wouldn't recognize
> > more than 32M!
> > 
> > Can anyone else confirm?  (Roland?)
> i can at least confirm that 2.4 uml kernel has O1/O2 compile issues too -
> got the same hang at "Init 3...." on suse9/9.1 as in 2.6.6.
> 
> afaik, these symptoms are known "compile issues":
> - hang after "Checking for /proc/mm..." 
> - hang after "Init...."
> - command line options not being recognized (mem is no more than 32M,umid 
>   not being recognized....)
> - terminal being unusable after shutdown/halt - needs "reset"
> - uml processes left running after shutdown/halt
> - further...?
> 
> as -O2 Options break down  into:
> 
> -fforce-mem  -foptimize-sibling-calls  -fstrength-reduce 
> -fcse-follow-jumps  -fcse-skip-blocks  -frerun-cse-after-loop 
> -frerun-loop-opt -fgcse  -fgcse-lm  -fgcse-sm 
> -fdelete-null-pointer-checks  -fexpensive-optimizations  -fregmov 
> -fschedule-insns  -fschedule-insns2  -fsched-interblock  -fsched-spec 
> -fcaller-saves  -fpeephole2  -freorder-blocks  -freorder-functions 
> -fstrict-aliasing  -falign-functions  -falign-jumps  -falign-loops 
> -falign-labels
> 
> just someone needs to dig into that, which of these optimizations result in a 
> "corrupt" uml binary. maybe it's only one - maybe several ones.
> does someone have a compile farm to "trial and error" this very quickly ? ;)
> 
> regards
> roland
> 
> 
> ----- Original Message ----- 
> From: "uml" <uml@dot1q.net>
> To: "uml-user" <user-mode-linux-user@lists.sourceforge.net>
> Sent: Sunday, June 06, 2004 7:15 PM
> Subject: [uml-user] SuSE 9.1 host + 2.4.26 Kernel + GCC 3.3.3 similarities to 2.6.6!?
> 
> 
> > For the sake of discussion/argument/curiosity, I decided to compile 2.4.26
> > on SuSE9.1 with a slackware root_fs (9.1)...
> > 
> > Guess what I encountered that was similar to the 2.6.6 kernel compilation??
> > 
> > I had to replace every instance of -O2 with -O1 in order for it to run.  I
> > am beginning to question the compiler rather than  UML now.  I'm using GCC
> > 3.3.3 (default).
> > 
> > As well, I encountered the same memory problems -- it wouldn't recognize
> > more than 32M!
> > 
> > Can anyone else confirm?  (Roland?)
> > 
> > The host is SMP, but UML is NOT compiled for SMP support.
> > 
> > Here's the total procedure I used:
> > ---8<---
> > #!/bin/sh
> > cd /tmp
> > wget http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.26.tar.bz2
> > wget
> > http://umn.dl.sourceforge.net/sourceforge/user-mode-linux/uml-patch-2.4.26-1.bz2
> > tar -xjvf linux-2.4.26.tar.bz2
> > cd linux-2.4.26
> > bzcat /tmp/uml-patch-2.4.26-1.bz2 | patch -p1
> > make menuconfig ARCH=um  [turn on COW support -- but that's the only change
> > from default!]
> > perl -e 's/-O2/-O1/gi' -p -i.bak Makefile arch/um/Makefile
> > make linux modules ARCH=um
> > strip linux
> > cp linux ../linux-2.4.26
> > cd ..
> > ./linux-2.4.26 ubd0=slack91.cow,slack91.img mem=128M eth0=tuntap,tap2
> > umid=slack91test
> > ---8<---
> > 
> > Without the 'perl -e 's/-O2/-O1/gi' -p -i.bak Makefile arch/um/Makefile'
> > substitutions, it will compile, but I experience the same issues I do with
> > 2.6.6.
> > 
> > Ideas?
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by the new InstallShield X.
> > From Windows to Linux, servers to mobile, InstallShield X is the one
> > installation-authoring solution that does it all. Learn more and
> > evaluate today! http://www.installshield.com/Dev2Dev/0504
> > _______________________________________________
> > 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 the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
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] 16+ messages in thread
[parent not found: <007701c44be9$e4d7d630$dd02a8c0@ferraro>]

end of thread, other threads:[~2004-06-18 19:08 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-06 18:54 [uml-devel] Re: [uml-user] SuSE 9.1 host + 2.4.26 Kernel + GCC 3.3.3 similarities to 2.6.6!? roland
2004-06-06 21:33 ` uml
2004-06-07  3:37   ` uml
2004-06-13 21:58     ` Nix
2004-06-14 19:09       ` BlaisorBlade
2004-06-15  6:20         ` Nix
2004-06-16 19:09           ` BlaisorBlade
2004-06-17 15:35             ` uml
2004-06-17 17:25               ` BlaisorBlade
2004-06-17 18:10                 ` uml
2004-06-17 18:46                   ` BlaisorBlade
2004-06-17 20:00                     ` uml
2004-06-18 19:08                       ` [uml-devel] Re: [uml-user] SuSE 9.1 host + 2.4.26 Kernel + GCC 3.3.3 similarities to 2.6.6!? (2.6.7 additionally!) uml
2004-06-17 18:52             ` [uml-devel] Re: [uml-user] SuSE 9.1 host + 2.4.26 Kernel + GCC 3.3.3 similarities to 2.6.6!? Nix
     [not found] <007701c44be9$e4d7d630$dd02a8c0@ferraro>
2004-06-06 18:22 ` roland
2004-06-06 20:04   ` uml

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.