* netscape woes with 2.4.10 kernel
@ 2001-09-26 13:47 Heid Oliver
2001-09-26 14:13 ` Daniel Green
2001-09-27 9:50 ` Ivan Kokshaysky
0 siblings, 2 replies; 5+ messages in thread
From: Heid Oliver @ 2001-09-26 13:47 UTC (permalink / raw)
To: 'axp-list@redhat.com'
I just tried the new 2.4.10 kernel (RH7.1 on UP2000+), and got one problem
(so far): netscape fails with a mapping error on libXmu.so. A 2.4.9 kernel
compiled with identical configs works fine. Does anybody have a fix?
Thx
Oliver
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: netscape woes with 2.4.10 kernel
2001-09-26 13:47 netscape woes with 2.4.10 kernel Heid Oliver
@ 2001-09-26 14:13 ` Daniel Green
2001-09-27 9:50 ` Ivan Kokshaysky
1 sibling, 0 replies; 5+ messages in thread
From: Daniel Green @ 2001-09-26 14:13 UTC (permalink / raw)
To: axp-list
I have the exact same problem. Except I upgraded from 2.4.6
Any help is greatly appreciated.
Dan
Heid Oliver wrote:
>I just tried the new 2.4.10 kernel (RH7.1 on UP2000+), and got one problem
>(so far): netscape fails with a mapping error on libXmu.so. A 2.4.9 kernel
>compiled with identical configs works fine. Does anybody have a fix?
>
>Thx
> Oliver
>
>
>
>_______________________________________________
>Axp-list mailing list
>Axp-list@redhat.com
>https://listman.redhat.com/mailman/listinfo/axp-list
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: netscape woes with 2.4.10 kernel
2001-09-26 13:47 netscape woes with 2.4.10 kernel Heid Oliver
2001-09-26 14:13 ` Daniel Green
@ 2001-09-27 9:50 ` Ivan Kokshaysky
2001-09-27 12:35 ` Linus Gasser
2001-09-27 14:51 ` Daniel Green
1 sibling, 2 replies; 5+ messages in thread
From: Ivan Kokshaysky @ 2001-09-27 9:50 UTC (permalink / raw)
To: axp-list
On Wed, Sep 26, 2001 at 03:47:05PM +0200, Heid Oliver wrote:
> I just tried the new 2.4.10 kernel (RH7.1 on UP2000+), and got one problem
> (so far): netscape fails with a mapping error on libXmu.so. A 2.4.9 kernel
> compiled with identical configs works fine. Does anybody have a fix?
I think it was caused by incomplete merging with Alan's tree.
Here is a fix.
Ivan.
--- 2.4.10/mm/mmap.c Fri Sep 21 14:49:18 2001
+++ linux/mm/mmap.c Fri Sep 21 16:58:51 2001
@@ -600,8 +600,11 @@ static inline unsigned long arch_get_unm
if (TASK_SIZE - len >= addr &&
(!vma || addr + len <= vma->vm_start))
return addr;
+ if (addr > TASK_UNMAPPED_BASE)
+ addr = 0;
}
- addr = PAGE_ALIGN(TASK_UNMAPPED_BASE);
+ if (!addr)
+ addr = PAGE_ALIGN(TASK_UNMAPPED_BASE);
for (vma = find_vma(current->mm, addr); ; vma = vma->vm_next) {
/* At this point: (!vma || addr < vma->vm_end). */
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: netscape woes with 2.4.10 kernel
2001-09-27 9:50 ` Ivan Kokshaysky
@ 2001-09-27 12:35 ` Linus Gasser
2001-09-27 14:51 ` Daniel Green
1 sibling, 0 replies; 5+ messages in thread
From: Linus Gasser @ 2001-09-27 12:35 UTC (permalink / raw)
To: axp-list
On Thursday 27 September 2001 11:50, you wrote:
> On Wed, Sep 26, 2001 at 03:47:05PM +0200, Heid Oliver wrote:
> > I just tried the new 2.4.10 kernel (RH7.1 on UP2000+), and got one
> > problem (so far): netscape fails with a mapping error on libXmu.so. A
> > 2.4.9 kernel compiled with identical configs works fine. Does anybody
> > have a fix?
>
> I think it was caused by incomplete merging with Alan's tree.
> Here is a fix.
>
> Ivan.
Hi,
great, it works. I just installed the new kernel yesterday, and I didn't need
netscape yet (I prefer konqueror, even the 2.1). But when I saw the message I
tried it and nope, it didn't work. After that, with the patch, everything was
OK. (Even though I had to do the patching by hand. Is it wrong to have some
empty lines at the top of the patch-file?)
Thanx to help for something I didn't know it doesn't work but that does now
(and from time to time I'm happy about netscape)
ineiti
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: netscape woes with 2.4.10 kernel
2001-09-27 9:50 ` Ivan Kokshaysky
2001-09-27 12:35 ` Linus Gasser
@ 2001-09-27 14:51 ` Daniel Green
1 sibling, 0 replies; 5+ messages in thread
From: Daniel Green @ 2001-09-27 14:51 UTC (permalink / raw)
To: axp-list
Thanks alot, this did the trick.
Dan
Ivan Kokshaysky wrote:
>On Wed, Sep 26, 2001 at 03:47:05PM +0200, Heid Oliver wrote:
>
>>I just tried the new 2.4.10 kernel (RH7.1 on UP2000+), and got one problem
>>(so far): netscape fails with a mapping error on libXmu.so. A 2.4.9 kernel
>>compiled with identical configs works fine. Does anybody have a fix?
>>
>
>I think it was caused by incomplete merging with Alan's tree.
>Here is a fix.
>
>Ivan.
>
>--- 2.4.10/mm/mmap.c Fri Sep 21 14:49:18 2001
>+++ linux/mm/mmap.c Fri Sep 21 16:58:51 2001
>@@ -600,8 +600,11 @@ static inline unsigned long arch_get_unm
> if (TASK_SIZE - len >= addr &&
> (!vma || addr + len <= vma->vm_start))
> return addr;
>+ if (addr > TASK_UNMAPPED_BASE)
>+ addr = 0;
> }
>- addr = PAGE_ALIGN(TASK_UNMAPPED_BASE);
>+ if (!addr)
>+ addr = PAGE_ALIGN(TASK_UNMAPPED_BASE);
>
> for (vma = find_vma(current->mm, addr); ; vma = vma->vm_next) {
> /* At this point: (!vma || addr < vma->vm_end). */
>
>
>
>_______________________________________________
>Axp-list mailing list
>Axp-list@redhat.com
>https://listman.redhat.com/mailman/listinfo/axp-list
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-09-27 14:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-26 13:47 netscape woes with 2.4.10 kernel Heid Oliver
2001-09-26 14:13 ` Daniel Green
2001-09-27 9:50 ` Ivan Kokshaysky
2001-09-27 12:35 ` Linus Gasser
2001-09-27 14:51 ` Daniel Green
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox