Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: forkel@krabat.ekt.maschinenbau.tu-darmstadt.de (Hendrik Forkel)
Subject: Re: HELP! 1GB on 164UX-4
Date: 1999/04/14	[thread overview]
Message-ID: <7f1lsl$q8f$1@sun27.hrz.tu-darmstadt.de> (raw)
In-Reply-To: 37143bfe.417507750@news.pop.primus-online.de

Hi,

we had similar problems on our UX boards (UX2 with 256MB and UX4 with 512MB).
Though booting was fine, when swapping heavily the error message you mention
appeared.  This was caused by the kernel detecting the wrong size of memory
(ie 40kb to much):

- total memory:                              512M
- available memory reported by BIOS:         512M - 1M - 40k
- available memory reported by MILO/kernel:  512M - 1M
                                                       ^^^^^
Obviously, this will cause trouble ...
This can be fixed by a small patch (inserting two lines).
This is against RedHat 2.0.36 kernel:

-----8<-----------------8<------------------8<-------------8<--------
*** arch/alpha/kernel/setup.c.orig        Wed Mar 17 14:33:25 1999
--- arch/alpha/kernel/setup.c   Wed Mar 17 14:41:44 1999
***************
*** 129,132 ****
--- 129,133 ----
        /* round it up to an even number of pages.. */
        high = (high + PAGE_SIZE) & (PAGE_MASK*2);
+       high -= 40*1024;
        return PAGE_OFFSET + high;
  }
***************
*** 187,190 ****
--- 188,192 ----
        *memory_start_p = t2_init(*memory_start_p, *memory_end_p);
  #endif
+       printk("BEGMEM=0x%lx, ENDMEM=0x%lx\n", *memory_start_p, *memory_end_p);
  }
-----8<-----------------8<------------------8<-------------8<--------

With this patch, the machines run stable.  

Another possibility:
Has Linux/Alpha a similar limit on physical memory as Linux/i386 ?
Linux/i386 needs a patch to use 1G memory or more due fitting both virtual
and physical memory into address space.  May be your problem is related to this?

Just my 0.02$.


Hendrik


-- 
Dipl.-Math. Hendrik Forkel
Technische Universit�t Darmstadt



  reply	other threads:[~1999-04-14  4:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-13  4:00 HELP! 1GB on 164UX-4 Michael M�ller
1999-04-13  4:00 ` Ron Farrer
1999-04-14  4:00   ` Michael M�ller
1999-04-13  4:00 ` energized
1999-04-14  4:00   ` Michael M�ller
1999-04-14  4:00     ` Hendrik Forkel [this message]
1999-04-14  4:00 ` Christian Simmendinger
1999-04-24  4:00 ` Michael M�ller
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