From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 11 14:44:01 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9400116A4CE for ; Thu, 11 Nov 2004 14:44:01 +0000 (GMT) Received: from boeing.ieo-research.it (boeing.ieo-research.it [213.92.108.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id E50E543D2F for ; Thu, 11 Nov 2004 14:43:59 +0000 (GMT) (envelope-from omar.punzalan@ifom-ieo-campus.it) Received: (qmail 86409 invoked by uid 811); 11 Nov 2004 14:43:16 -0000 Received: from omar.punzalan@ifom-ieo-campus.it by boeing.ieo-research.it by uid 803 with qmail-scanner-1.22 Clear:RC:0(::ffff:193.206.89.90):SA:0(-4.9/5.0):. Processed in 1.829129 secs); 11 Nov 2004 14:43:16 -0000 X-Spam-Status: No, hits=-4.9 required=5.0 Received: from unknown (HELO [10.210.89.90]) (opunzala@[::ffff:193.206.89.90]) (envelope-sender ) by smtp.ieo-research.it (qmail-ldap-1.03) with SMTP for ; 11 Nov 2004 14:43:14 -0000 In-Reply-To: References: <20041108120100.2CC8216A4D2@hub.freebsd.org> <86ekj1laqc.fsf@kamino.rfc1149.org> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <1D5DB638-33F0-11D9-BCE2-000393DAB970@ifom-ieo-campus.it> Content-Transfer-Encoding: 7bit From: Omar Punzalan Date: Thu, 11 Nov 2004 15:43:56 +0100 To: Marcel Moolenaar X-Mailer: Apple Mail (2.619) cc: freebsd-hackers@freebsd.org Subject: Re: RX4640 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 14:44:01 -0000 On Nov 10, 2004, at 10:01 PM, Marcel Moolenaar wrote: > On Nov 10, 2004, at 12:17 PM, Arne Schwabe wrote: > >> Omar Punzalan writes: >> >>> I have successfully installed my new (and shiny) freebsd5.3 on one of >>> our hp rx4640 itanium2 system. With the SMP kernel, it has detected >>> the 4 CPUs correctly. But then reviewing the /var/log/messages, its >>> sees only 1G of ram: >>> >>> Nov 8 18:10:50 TEST2 kernel: real memory = 1058357248 (1009 MB) >>> Nov 8 18:10:50 TEST2 kernel: avail memory = 1018814464 (971 MB) >>> Nov 8 18:10:50 TEST2 kernel: FPSWA Revision = 0x10012, Entry = >>> 0xe0000040ffe62050 >>> Nov 8 18:10:50 TEST2 kernel: FreeBSD/SMP: Multiprocessor System >>> Detected: 4 CPUs >>> >>> On my web searches, I found out that not even PAE is supported in >>> ia64 >>> arch. I also put hw.physmem=8G inside the loader.conf but no effect. >>> Is there a way for me to convince freebsd that the system has 8Gb of >>> ram? >> >> If I remember PAE was a hack for IA32 to allow more then 4GB but since >> ia64 is 64 bit it should not such a hack for > 4gb > > Yes. PAE has nothing to do with ia64. The problem here is that on > some IPF machines (typically the HP rx2600) the physical memory > layout is sparse. It's this sparseness that's causing problems, > because currently we allocate a vm_page array that needs to be > physically contiguous. When a machine has only 2BG of memory, > but 1GB is located above the 4G boundary, we need a vm_page > array that can be larger than the size of any of the usable > memory regions. Not to mention that the vm_page will represent > pages (roughly 3GB worth of it) for memory that isn't even there. > > A fix for this is in the pipeline. All it takes is time. If the > memory layout for the machine is not sparse, you can take out > the code from sys/ia64/ia64/machdep.c that skips memory above > 4G. Beware of DMA problems caused by the need for bounce buffers > when you do that... > > -- > Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net > > > Thanks for the responses. I tried to comment out those lines from sys/ia64/ia64/machdep.c and successfully rebuilt the kernel. Upon reboot, it detects the 8G of ram (wonderful!) but reports only the 4G as available, then it freezes while loading FPSWA. Well, I think I'm gonna wait for some time until you guys will fix it (hope so soon). Omar