Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Daniel Green <g595455@etpc87.mar.lmco.com>
To: axp-list@redhat.com
Subject: Re: netscape woes with 2.4.10 kernel
Date: Thu, 27 Sep 2001 10:51:01 -0400	[thread overview]
Message-ID: <3BB33CD5.1010305@etpc87.mar.lmco.com> (raw)
In-Reply-To: 20010927135022.A17284@jurassic.park.msu.ru

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
>





      parent reply	other threads:[~2001-09-27 14:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox