* RE: [PATCH] Linux 2.6.17.11 - fix compilation error on IA64 (try #3)
@ 2006-08-28 22:11 Luck, Tony
2006-08-29 1:31 ` [stable] " Greg KH
0 siblings, 1 reply; 8+ messages in thread
From: Luck, Tony @ 2006-08-28 22:11 UTC (permalink / raw)
To: Fernando Vazquez, gregkh
Cc: dev, xemul, davem, linux-kernel, stable, akpm, linux-ia64,
kamezawa.hiroyu
> The commit 8833ebaa3f4325820fe3338ccf6fae04f6669254 introduced a change that broke
> IA64 compilation as shown below:
What happened to the mainline version of the patch to which this
is a fix (local DoS with corrupted ELFs)? I don't see it in 2.6.18-rc5.
Did it get fixed some other way, or is it just queued somewhere? Or do
we have a fix in -stable that isn't in mainline?
-Tony
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [stable] [PATCH] Linux 2.6.17.11 - fix compilation error on IA64 (try #3)
2006-08-28 22:11 [PATCH] Linux 2.6.17.11 - fix compilation error on IA64 (try #3) Luck, Tony
@ 2006-08-29 1:31 ` Greg KH
2006-08-29 12:24 ` Kirill Korotaev
2006-08-29 12:24 ` Kirill Korotaev
0 siblings, 2 replies; 8+ messages in thread
From: Greg KH @ 2006-08-29 1:31 UTC (permalink / raw)
To: Luck, Tony
Cc: Fernando Vazquez, gregkh, akpm, dev, linux-ia64, linux-kernel,
davem, stable, kamezawa.hiroyu, xemul
On Mon, Aug 28, 2006 at 03:11:31PM -0700, Luck, Tony wrote:
> > The commit 8833ebaa3f4325820fe3338ccf6fae04f6669254 introduced a change that broke
> > IA64 compilation as shown below:
>
> What happened to the mainline version of the patch to which this
> is a fix (local DoS with corrupted ELFs)? I don't see it in 2.6.18-rc5.
> Did it get fixed some other way, or is it just queued somewhere? Or do
> we have a fix in -stable that isn't in mainline?
I thought this was a fix for a prior -stable patch that did not affect
mainline. Or was this thought wrong?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [stable] [PATCH] Linux 2.6.17.11 - fix compilation error on IA64 (try #3)
2006-08-29 1:31 ` [stable] " Greg KH
@ 2006-08-29 12:24 ` Kirill Korotaev
2006-08-29 16:08 ` Greg KH
2006-08-29 12:24 ` Kirill Korotaev
1 sibling, 1 reply; 8+ messages in thread
From: Kirill Korotaev @ 2006-08-29 12:24 UTC (permalink / raw)
To: Greg KH
Cc: Luck, Tony, Fernando Vazquez, gregkh, akpm, dev, linux-ia64,
linux-kernel, davem, stable, kamezawa.hiroyu, xemul
Greg KH wrote:
> On Mon, Aug 28, 2006 at 03:11:31PM -0700, Luck, Tony wrote:
>
>>>The commit 8833ebaa3f4325820fe3338ccf6fae04f6669254 introduced a change that broke
>>>IA64 compilation as shown below:
>>
>>What happened to the mainline version of the patch to which this
>>is a fix (local DoS with corrupted ELFs)? I don't see it in 2.6.18-rc5.
>>Did it get fixed some other way, or is it just queued somewhere? Or do
>>we have a fix in -stable that isn't in mainline?
>
>
> I thought this was a fix for a prior -stable patch that did not affect
> mainline. Or was this thought wrong?
it should be passed to Linus.
Probably it is my fault, since I thought that patches which got into -stable
automatically go into Linus tree.
Thanks,
Kirill
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [stable] [PATCH] Linux 2.6.17.11 - fix compilation error on IA64 (try #3)
2006-08-29 1:31 ` [stable] " Greg KH
2006-08-29 12:24 ` Kirill Korotaev
@ 2006-08-29 12:24 ` Kirill Korotaev
1 sibling, 0 replies; 8+ messages in thread
From: Kirill Korotaev @ 2006-08-29 12:24 UTC (permalink / raw)
To: Greg KH
Cc: Luck, Tony, Fernando Vazquez, gregkh, akpm, dev, linux-ia64,
linux-kernel, davem, stable, kamezawa.hiroyu, xemul
Greg KH wrote:
> On Mon, Aug 28, 2006 at 03:11:31PM -0700, Luck, Tony wrote:
>
>>>The commit 8833ebaa3f4325820fe3338ccf6fae04f6669254 introduced a change that broke
>>>IA64 compilation as shown below:
>>
>>What happened to the mainline version of the patch to which this
>>is a fix (local DoS with corrupted ELFs)? I don't see it in 2.6.18-rc5.
>>Did it get fixed some other way, or is it just queued somewhere? Or do
>>we have a fix in -stable that isn't in mainline?
>
>
> I thought this was a fix for a prior -stable patch that did not affect
> mainline. Or was this thought wrong?
both patches should be passed to Linus.
Probably it is my fault, since I thought that patches which got into -stable
automatically go into Linus tree.
Thanks,
Kirill
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [stable] [PATCH] Linux 2.6.17.11 - fix compilation error on IA64 (try #3)
2006-08-29 12:24 ` Kirill Korotaev
@ 2006-08-29 16:08 ` Greg KH
2006-09-04 10:10 ` Fernando Luis Vázquez Cao
0 siblings, 1 reply; 8+ messages in thread
From: Greg KH @ 2006-08-29 16:08 UTC (permalink / raw)
To: Kirill Korotaev
Cc: Greg KH, Luck, Tony, Fernando Vazquez, akpm, dev, linux-ia64,
linux-kernel, davem, stable, kamezawa.hiroyu, xemul
On Tue, Aug 29, 2006 at 04:24:21PM +0400, Kirill Korotaev wrote:
> Probably it is my fault, since I thought that patches which got into -stable
> automatically go into Linus tree.
No they do not. Usually it's the requirement that they be in his tree
first, but I didn't think it was necessary this time due to my
misunderstanding about the fix.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [stable] [PATCH] Linux 2.6.17.11 - fix compilation error on IA64 (try #3)
2006-08-29 16:08 ` Greg KH
@ 2006-09-04 10:10 ` Fernando Luis Vázquez Cao
2006-09-04 10:30 ` Kirill Korotaev
0 siblings, 1 reply; 8+ messages in thread
From: Fernando Luis Vázquez Cao @ 2006-09-04 10:10 UTC (permalink / raw)
To: Greg KH
Cc: Kirill Korotaev, Greg KH, Luck, Tony, akpm, dev, linux-ia64,
linux-kernel, davem, stable, kamezawa.hiroyu, xemul
On Tue, 2006-08-29 at 09:08 -0700, Greg KH wrote:
> On Tue, Aug 29, 2006 at 04:24:21PM +0400, Kirill Korotaev wrote:
> > Probably it is my fault, since I thought that patches which got into -stable
> > automatically go into Linus tree.
>
> No they do not. Usually it's the requirement that they be in his tree
> first, but I didn't think it was necessary this time due to my
> misunderstanding about the fix.
2.6.18-rc6 has just been released and neither my patch nor the original
patch to which it is a fix seem to have been included. Does this mean
they will not be sent to Linux before the final release of 2.6.18?
Regards,
Fernando
--
VGER BF report: H 0.358263
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [stable] [PATCH] Linux 2.6.17.11 - fix compilation error on IA64 (try #3)
2006-09-04 10:10 ` Fernando Luis Vázquez Cao
@ 2006-09-04 10:30 ` Kirill Korotaev
0 siblings, 0 replies; 8+ messages in thread
From: Kirill Korotaev @ 2006-09-04 10:30 UTC (permalink / raw)
To: Fernando Luis Vбzquez Cao
Cc: Greg KH, Greg KH, Luck, Tony, akpm, dev, linux-ia64,
linux-kernel, davem, stable, kamezawa.hiroyu, xemul
Fernando,
I planned to send it today. You will be on CC
Thanks,
Kirill
> On Tue, 2006-08-29 at 09:08 -0700, Greg KH wrote:
>
>>On Tue, Aug 29, 2006 at 04:24:21PM +0400, Kirill Korotaev wrote:
>>
>>>Probably it is my fault, since I thought that patches which got into -stable
>>>automatically go into Linus tree.
>>
>>No they do not. Usually it's the requirement that they be in his tree
>>first, but I didn't think it was necessary this time due to my
>>misunderstanding about the fix.
>
> 2.6.18-rc6 has just been released and neither my patch nor the original
> patch to which it is a fix seem to have been included. Does this mean
> they will not be sent to Linux before the final release of 2.6.18?
>
> Regards,
>
> Fernando
>
>
--
VGER BF report: H 0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH] Linux 2.6.17.11 - fix compilation error on IA64 (try #3)
@ 2006-08-25 8:13 Fernando Vazquez
0 siblings, 0 replies; 8+ messages in thread
From: Fernando Vazquez @ 2006-08-25 8:13 UTC (permalink / raw)
To: gregkh
Cc: dev, xemul, davem, linux-kernel, stable, akpm, linux-ia64,
kamezawa.hiroyu
Resending without Japanese characters in the mail header to avoid spam filters.
Sorry for the noise.
---
The commit 8833ebaa3f4325820fe3338ccf6fae04f6669254 introduced a change that broke
IA64 compilation as shown below:
gcc -Wp,-MD,arch/ia64/kernel/.entry.o.d -nostdinc -isystem /usr/lib/gcc/ia64-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -DHAVE_WORKING_TEXT_ALIGN -DHAVE_MODEL_SMALL_ATTRIBUTE -DHAVE_SERIALIZE_DIRECTIVE -D__ASSEMBLY__ -mconstant-gp -c -o arch/ia64/kernel/entry.o arch/ia64/kernel/entry.S
include/asm/mman.h: Assembler messages:
include/asm/mman.h:13: Error: Unknown opcode `int ia64_map_check_rgn(unsigned long addr,unsigned long len,'
include/asm/mman.h:14: Error: Unknown opcode `unsigned long flags)'
make[1]: *** [arch/ia64/kernel/entry.o] Error 1
make: *** [arch/ia64/kernel] Error 2
The reason is that "asm/mman.h" is being included from entry.S indirectly through
"asm/pgtable.h" (see code snips below).
* arch/ia64/kernel/entry.S:
...
#include <asm/pgtable.h>
...
* include/asm-ia64/pgtable.h:
...
#include <asm/mman.h>
...
* include/asm-ia64/mman.h
...
#ifdef __KERNEL__
#define arch_mmap_check ia64_map_check_rgn
int ia64_map_check_rgn(unsigned long addr, unsigned long len,
unsigned long flags);
#endif
...
Signed-off-by: Fernando Vazquez <fernando@intellilink.co.jp>
---
diff -urNp linux-2.6.17.11/include/asm-ia64/mman.h linux-2.6.17.11-fix/include/asm-ia64/mman.h
--- linux-2.6.17.11/include/asm-ia64/mman.h 2006-08-25 11:36:09.000000000 +0900
+++ linux-2.6.17.11-fix/include/asm-ia64/mman.h 2006-08-25 11:39:16.000000000 +0900
@@ -9,10 +9,12 @@
*/
#ifdef __KERNEL__
+#ifndef __ASSEMBLY__
#define arch_mmap_check ia64_map_check_rgn
int ia64_map_check_rgn(unsigned long addr, unsigned long len,
unsigned long flags);
#endif
+#endif
#include <asm-generic/mman.h>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-09-04 10:27 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-28 22:11 [PATCH] Linux 2.6.17.11 - fix compilation error on IA64 (try #3) Luck, Tony
2006-08-29 1:31 ` [stable] " Greg KH
2006-08-29 12:24 ` Kirill Korotaev
2006-08-29 16:08 ` Greg KH
2006-09-04 10:10 ` Fernando Luis Vázquez Cao
2006-09-04 10:30 ` Kirill Korotaev
2006-08-29 12:24 ` Kirill Korotaev
-- strict thread matches above, loose matches on Subject: below --
2006-08-25 8:13 Fernando Vazquez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).