* Re: compiling kernel 2.4.3
2001-04-22 13:03 compiling kernel 2.4.3 Kenneth Dunn
@ 2001-04-22 13:00 ` John Jasen
2001-04-22 17:11 ` Michal Jaegermann
1 sibling, 0 replies; 12+ messages in thread
From: John Jasen @ 2001-04-22 13:00 UTC (permalink / raw)
To: axp-list
On Mon, 23 Apr 2001, Kenneth Dunn wrote:
> Is there fix for this ?
You may want to check out
ftp://ftp,kernel.org/pub/linux/kernel/people/andreas, and apply his
patches.
Apologies if the url is not quite right.
if coffee <= 1; then do
not trust anything John sez;
done
--
-- John E. Jasen (jjasen1@umbc.edu)
-- In theory, theory and practise are the same. In practise, they aren't.
^ permalink raw reply [flat|nested] 12+ messages in thread
* compiling kernel 2.4.3
@ 2001-04-22 13:03 Kenneth Dunn
2001-04-22 13:00 ` John Jasen
2001-04-22 17:11 ` Michal Jaegermann
0 siblings, 2 replies; 12+ messages in thread
From: Kenneth Dunn @ 2001-04-22 13:03 UTC (permalink / raw)
To: axp-list
I get the following error while attempting to compile the
Linux kernel:
[root@athena linux]# make vmlinux
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
scripts/split-include
scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8
-Wa,-mev6 -c -o init/main.o init/main.c
In file included from /usr/src/linux/include/linux/highmem.h:5,
from /usr/src/linux/include/linux/pagemap.h:16,
from /usr/src/linux/include/linux/locks.h:8,
from /usr/src/linux/include/linux/raid/md.h:36,
from init/main.c:24:
/usr/src/linux/include/asm/pgalloc.h:334: conflicting types for
`pte_alloc'
/usr/src/linux/include/linux/mm.h:399: previous declaration of `pte_alloc'
/usr/src/linux/include/asm/pgalloc.h:352: conflicting types for
`pmd_alloc'
/usr/src/linux/include/linux/mm.h:412: previous declaration of `pmd_alloc'
make: *** [init/main.o] Error 1
Is there fix for this ?
--
There is no law beyond Do what thou wilt
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: compiling kernel 2.4.3
@ 2001-04-22 15:17 Ingo T. Storm
0 siblings, 0 replies; 12+ messages in thread
From: Ingo T. Storm @ 2001-04-22 15:17 UTC (permalink / raw)
To: axp-list
Looks like you don't have the symbolic links to the kernel headers:
I _think_ they should be:
ln -sf /usr/src/linux/include/linux /usr/include/linux
ln -sf /usr/src/linux/include/asm /usr/include/asm
but PLEASE verify before you set them...
Ingo
-----Original Message-----
From: Kenneth Dunn <luser@xtra.co.nz>
To: axp-list@redhat.com <axp-list@redhat.com>
Date: Sonntag, 22. April 2001 14:52
Subject: compiling kernel 2.4.3
>
>I get the following error while attempting to compile the
>Linux kernel:
>
>[root@athena linux]# make vmlinux
>gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
>scripts/split-include
>scripts/split-include.c
>scripts/split-include include/linux/autoconf.h include/config
>gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -
O2
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: compiling kernel 2.4.3
2001-04-22 13:03 compiling kernel 2.4.3 Kenneth Dunn
2001-04-22 13:00 ` John Jasen
@ 2001-04-22 17:11 ` Michal Jaegermann
2001-04-23 15:02 ` Uncle George
1 sibling, 1 reply; 12+ messages in thread
From: Michal Jaegermann @ 2001-04-22 17:11 UTC (permalink / raw)
To: axp-list
On Mon, Apr 23, 2001 at 01:03:45AM +1200, Kenneth Dunn wrote:
>
> I get the following error while attempting to compile the
> Linux kernel:
....
> Is there fix for this ?
Yes, but do not use 2.4.3 on Alpha for various reasons. Current
2.4.3-ac12 should compile without problems. Do not know about 2.4.4-pre
but it may be ok as well.
Michal
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: compiling kernel 2.4.3
2001-04-22 17:11 ` Michal Jaegermann
@ 2001-04-23 15:02 ` Uncle George
2001-04-23 18:34 ` John Jasen
0 siblings, 1 reply; 12+ messages in thread
From: Uncle George @ 2001-04-23 15:02 UTC (permalink / raw)
To: axp-list
What would be the latest stable 2.4.x for mass consumption. I would like to
correct the FP denormal problems in the alpha/linux box's.
/gat
OR where is ac12
Michal Jaegermann wrote:
> On Mon, Apr 23, 2001 at 01:03:45AM +1200, Kenneth Dunn wrote:
> >
> > I get the following error while attempting to compile the
> > Linux kernel:
> ....
> > Is there fix for this ?
>
> Yes, but do not use 2.4.3 on Alpha for various reasons. Current
> 2.4.3-ac12 should compile without problems. Do not know about 2.4.4-pre
> but it may be ok as well.
>
> Michal
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: compiling kernel 2.4.3
[not found] <Pine.LNX.4.30.0104231234270.30556-100000@orion.chem.vt.edu>
@ 2001-04-23 17:59 ` Uncle George
2001-04-23 18:11 ` T. Daniel Crawford
0 siblings, 1 reply; 12+ messages in thread
From: Uncle George @ 2001-04-23 17:59 UTC (permalink / raw)
To: T. Daniel Crawford, axp-list
What I have very little of is "influence".
All ( most ) denormal processing is done via software inside the kernel, as the
FPU cant handle the operations at all. An expensive (timewise) deal, but u get
to continue with the algorithmic operations.
The original problem was with a divide by a denorm. This appears to be fixed for
the 2.4.3 kern
the next problem was the conversion of a single precision denorm into a double
This should always work, but comes out as zero. I had a fix, but didn't reach
the rite folks
After that was the conversion of a large float/double into an integer/long. It
doesn't appear to up to ieee754 standards, but have no manual ( nor want to get
it for $$$$ )
/gat
If u got the numbers which look like fortran #'s ( :-} ) and can produce these
nums( terms of the equation ) in hexadecimal, then one can play in "C" to see
where the issue is. I no longer have a DU/true64 box to play with to see where
the number diverge though :-/
"T. Daniel Crawford" wrote:
> On Mon, 23 Apr 2001, Uncle George wrote:
>
> > What would be the latest stable 2.4.x for mass consumption. I would like to
> > correct the FP denormal problems in the alpha/linux box's.
> > /gat
> >
> > OR where is ac12
> >
>
> Hi, George,
>
> I'm a participant in the axp-list and I know you've got some experience
> with dealing with FPE's under Alpha/Linux. The timing of your message
> above was just right as I've been fretting over some problems associated
> with denormalized number exceptions on my alpha systems. I've found
> that, for very large calculations (I do numerically intensive stuff),
> I get occasional and inconsistent FPE with the message:
>
> forrtl (65): floating invalid
>
> I was able to track one of the problems to some code that looks like:
>
> f(m+i) = f(i)-f(m+i)*f(m3+i)*aka
>
> The numbers here are, in some instances, very, very, very small. E.g.,
> where the FPE occurs:
>
> f(m+i) = 4.841908917496239e-313
> f(m3+i) = -0.0001012220986496004
> aka = 0.2
> f(i) = 1.522672654296015e-13
>
> The term f(m+i) looks like it might be denorm, but I'm new to this sort
> of thing. I also found that the error doesn't occur at all under Tru64
> with the same hardware.
>
> My questions for you:
>
> (1) What is the nature of this problem under Alpha Linux?
>
> (2) What is the status of efforts to correct it, if any?
>
> (3) Finally, do you have any snippets of problematic code that I might be
> able to use to trace the problem further? My codes are all far too large
> to be useful for debugging.
>
> Thanks for your time!
>
> -Daniel
>
> --
> T. Daniel Crawford Department of Chemistry
> crawdad@vt.edu Virginia Tech
> www.chem.vt.edu/chem-dept/crawford Voice: 540-231-7760 FAX: 540-231-3255
> --------------------
> PGP Public Key at: http://www.chem.vt.edu/chem-dept/crawford/publickey.txt
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: compiling kernel 2.4.3
2001-04-23 17:59 ` Uncle George
@ 2001-04-23 18:11 ` T. Daniel Crawford
2001-04-23 18:52 ` Uncle George
0 siblings, 1 reply; 12+ messages in thread
From: T. Daniel Crawford @ 2001-04-23 18:11 UTC (permalink / raw)
To: axp-list
What about special compiler flags to handle these cases? I've seen in the
archives reference to -mieee, but this is not documented in the Compaq ccc
or fort man pages. I tried it with the Fortran compilation but the same
error occurs.
-Daniel
On Mon, 23 Apr 2001, Uncle George wrote:
> What I have very little of is "influence".
>
> All ( most ) denormal processing is done via software inside the kernel, as the
> FPU cant handle the operations at all. An expensive (timewise) deal, but u get
> to continue with the algorithmic operations.
>
> The original problem was with a divide by a denorm. This appears to be fixed for
> the 2.4.3 kern
>
> the next problem was the conversion of a single precision denorm into a double
> This should always work, but comes out as zero. I had a fix, but didn't reach
> the rite folks
>
> After that was the conversion of a large float/double into an integer/long. It
> doesn't appear to up to ieee754 standards, but have no manual ( nor want to get
> it for $$$$ )
>
> /gat
>
> If u got the numbers which look like fortran #'s ( :-} ) and can produce these
> nums( terms of the equation ) in hexadecimal, then one can play in "C" to see
> where the issue is. I no longer have a DU/true64 box to play with to see where
> the number diverge though :-/
>
--
T. Daniel Crawford Department of Chemistry
crawdad@vt.edu Virginia Tech
www.chem.vt.edu/chem-dept/crawford Voice: 540-231-7760 FAX: 540-231-3255
--------------------
PGP Public Key at: http://www.chem.vt.edu/chem-dept/crawford/publickey.txt
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: compiling kernel 2.4.3
2001-04-23 15:02 ` Uncle George
@ 2001-04-23 18:34 ` John Jasen
2001-04-23 18:50 ` T. Daniel Crawford
0 siblings, 1 reply; 12+ messages in thread
From: John Jasen @ 2001-04-23 18:34 UTC (permalink / raw)
To: axp-list
On Mon, 23 Apr 2001, Uncle George wrote:
> What would be the latest stable 2.4.x for mass consumption. I would like to
> correct the FP denormal problems in the alpha/linux box's.
> /gat
>
> OR where is ac12
2.4.4-pre/2.4.3-ac is currently in a strange state. They're chasing down
rwsem if I recall correctly, and the current fix will only compile with
gcc 2.96.
As far as a stable release goes ... errrr???
Redhat shipped their 2.4.2 kernel with 7.1 for x86, based on 2.4.2-ac3,
and with about 100 patches, if I counted them right.
--
-- John E. Jasen (jjasen1@umbc.edu)
-- In theory, theory and practise are the same. In practise, they aren't.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: compiling kernel 2.4.3
2001-04-23 18:34 ` John Jasen
@ 2001-04-23 18:50 ` T. Daniel Crawford
2001-04-23 18:54 ` Uncle George
0 siblings, 1 reply; 12+ messages in thread
From: T. Daniel Crawford @ 2001-04-23 18:50 UTC (permalink / raw)
To: axp-list
On Mon, 23 Apr 2001, John Jasen wrote:
> 2.4.4-pre/2.4.3-ac is currently in a strange state. They're chasing down
> rwsem if I recall correctly, and the current fix will only compile with
> gcc 2.96.
>
> As far as a stable release goes ... errrr???
>
> Redhat shipped their 2.4.2 kernel with 7.1 for x86, based on 2.4.2-ac3,
> and with about 100 patches, if I counted them right.
>
Are there substantial differences in the FPE handling behavior of 2.4.0 vs.
2.4.1 vs. 2.4.2 vs. 2.4.3 on alphas? I've found that I need to use the
2.4.X kernels on my XP-1000s for their improved memory management vs. 2.2.X,
but I'm now running into floating-point problems.
-Daniel
--
T. Daniel Crawford Department of Chemistry
crawdad@vt.edu Virginia Tech
www.chem.vt.edu/chem-dept/crawford Voice: 540-231-7760 FAX: 540-231-3255
--------------------
PGP Public Key at: http://www.chem.vt.edu/chem-dept/crawford/publickey.txt
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: compiling kernel 2.4.3
2001-04-23 18:11 ` T. Daniel Crawford
@ 2001-04-23 18:52 ` Uncle George
0 siblings, 0 replies; 12+ messages in thread
From: Uncle George @ 2001-04-23 18:52 UTC (permalink / raw)
To: axp-list
FP operations are pipelined, and are at various stages of execution. Without the
-mieee ( gcc - "C" compile ) switch the FPU processes instructions till a trap
occures, then Kaos happens The kernel does not know where exactly the failure
occured.
With -mieee the compiler places limits on the operations that can occure in the
pipeline, and if a limit is exceeded, the compiler will place a pause ( trapb )
instruction till the FPU has been drained & ALL possible TRAPS have been processed.
So long as things are in a proper sequence, the kernel kan attempt to fix the error.
Because it know how to backtrace/backstep
The problems I am having is with -mieee & a trap & not having the right number
returned as a part of the fix-up. The numerical number will also happen with any
compiler, as it is a kernel bug
/gat
"T. Daniel Crawford" wrote:
> What about special compiler flags to handle these cases? I've seen in the
> archives reference to -mieee, but this is not documented in the Compaq ccc
> or fort man pages. I tried it with the Fortran compilation but the same
> error occurs.
>
> -Daniel
>
> On Mon, 23 Apr 2001, Uncle George wrote:
>
> > What I have very little of is "influence".
> >
> > All ( most ) denormal processing is done via software inside the kernel, as the
> > FPU cant handle the operations at all. An expensive (timewise) deal, but u get
> > to continue with the algorithmic operations.
> >
> > The original problem was with a divide by a denorm. This appears to be fixed for
> > the 2.4.3 kern
> >
> > the next problem was the conversion of a single precision denorm into a double
> > This should always work, but comes out as zero. I had a fix, but didn't reach
> > the rite folks
> >
> > After that was the conversion of a large float/double into an integer/long. It
> > doesn't appear to up to ieee754 standards, but have no manual ( nor want to get
> > it for $$$$ )
> >
> > /gat
> >
> > If u got the numbers which look like fortran #'s ( :-} ) and can produce these
> > nums( terms of the equation ) in hexadecimal, then one can play in "C" to see
> > where the issue is. I no longer have a DU/true64 box to play with to see where
> > the number diverge though :-/
> >
>
> --
> T. Daniel Crawford Department of Chemistry
> crawdad@vt.edu Virginia Tech
> www.chem.vt.edu/chem-dept/crawford Voice: 540-231-7760 FAX: 540-231-3255
> --------------------
> PGP Public Key at: http://www.chem.vt.edu/chem-dept/crawford/publickey.txt
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: compiling kernel 2.4.3
2001-04-23 18:50 ` T. Daniel Crawford
@ 2001-04-23 18:54 ` Uncle George
2001-04-23 18:57 ` T. Daniel Crawford
0 siblings, 1 reply; 12+ messages in thread
From: Uncle George @ 2001-04-23 18:54 UTC (permalink / raw)
To: axp-list
Presumption is that u did not have these problems in the 2.2.x series ?
/gat
"T. Daniel Crawford" wrote:
> On Mon, 23 Apr 2001, John Jasen wrote:
>
> > 2.4.4-pre/2.4.3-ac is currently in a strange state. They're chasing down
> > rwsem if I recall correctly, and the current fix will only compile with
> > gcc 2.96.
> >
> > As far as a stable release goes ... errrr???
> >
> > Redhat shipped their 2.4.2 kernel with 7.1 for x86, based on 2.4.2-ac3,
> > and with about 100 patches, if I counted them right.
> >
>
> Are there substantial differences in the FPE handling behavior of 2.4.0 vs.
> 2.4.1 vs. 2.4.2 vs. 2.4.3 on alphas? I've found that I need to use the
> 2.4.X kernels on my XP-1000s for their improved memory management vs. 2.2.X,
> but I'm now running into floating-point problems.
>
> -
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: compiling kernel 2.4.3
2001-04-23 18:54 ` Uncle George
@ 2001-04-23 18:57 ` T. Daniel Crawford
0 siblings, 0 replies; 12+ messages in thread
From: T. Daniel Crawford @ 2001-04-23 18:57 UTC (permalink / raw)
To: axp-list
On Mon, 23 Apr 2001, Uncle George wrote:
> Presumption is that u did not have these problems in the 2.2.x series ?
> /gat
>
A good question, but I cannot say. All I can tell you is that under 2.2.X
I couldn't actually run the size of calculation that leads to the FPE's.
-Daniel
--
T. Daniel Crawford Department of Chemistry
crawdad@vt.edu Virginia Tech
www.chem.vt.edu/chem-dept/crawford Voice: 540-231-7760 FAX: 540-231-3255
--------------------
PGP Public Key at: http://www.chem.vt.edu/chem-dept/crawford/publickey.txt
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2001-04-23 18:57 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-22 13:03 compiling kernel 2.4.3 Kenneth Dunn
2001-04-22 13:00 ` John Jasen
2001-04-22 17:11 ` Michal Jaegermann
2001-04-23 15:02 ` Uncle George
2001-04-23 18:34 ` John Jasen
2001-04-23 18:50 ` T. Daniel Crawford
2001-04-23 18:54 ` Uncle George
2001-04-23 18:57 ` T. Daniel Crawford
-- strict thread matches above, loose matches on Subject: below --
2001-04-22 15:17 Ingo T. Storm
[not found] <Pine.LNX.4.30.0104231234270.30556-100000@orion.chem.vt.edu>
2001-04-23 17:59 ` Uncle George
2001-04-23 18:11 ` T. Daniel Crawford
2001-04-23 18:52 ` Uncle George
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox