From: Xavier Bru <Xavier.Bru@bull.net>
To: linux-ia64@vger.kernel.org
Subject: Re: 2.6.0 test3 does not boot on ia64 NUMA
Date: Mon, 01 Sep 2003 12:36:48 +0000 [thread overview]
Message-ID: <marc-linux-ia64-106241985930191@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-106191285716253@msgid-missing>
Martin,
I checked that the code for changeset 1.1292.1.3 is already present in 2.6.0 test4.
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1292.1.2 -> 1.1292.1.3
# arch/ia64/mm/numa.c 1.1 -> 1.2
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/08/25 mort@wildopensource.com 1.1292.1.3
# [PATCH] ia64: paddr_to_nid fixup
#
# Here is a small patch for paddr_to_nid(). This fix is already in 2.4
# and is used in the case where a NUMA kernel is running on a machine
# without a SRAT ACPI table. Without this patch the node info is not
# correctly located.
# --------------------------------------------
#
diff -Nru a/arch/ia64/mm/numa.c b/arch/ia64/mm/numa.c
--- a/arch/ia64/mm/numa.c Wed Aug 27 00:40:34 2003
+++ b/arch/ia64/mm/numa.c Wed Aug 27 00:40:34 2003
@@ -42,5 +42,5 @@
paddr < node_memblk[i].start_paddr + node_memblk[i].size)
break;
- return (i < num_memblks) ? node_memblk[i].nid : -1;
+ return (i < num_memblks) ? node_memblk[i].nid : (num_memblks ? -1 : 0);
}
Thanks for your help.
Xavier
--
Sincères salutations.
_____________________________________________________________________
Xavier BRU BULL ISD/R&D/INTEL office: FREC B1-422
tel : +33 (0)4 76 29 77 45 http://www-frec.bull.fr
fax : +33 (0)4 76 29 77 70 mailto:Xavier.Bru@bull.net
addr: BULL, 1 rue de Provence, BP 208, 38432 Echirolles Cedex, FRANCE
_____________________________________________________________________
Martin Hicks writes:
>
>
> On Fri, Aug 29, 2003 at 06:41:56PM +0200, Xavier Bru wrote:
> >
> > printing "On node %d totalpages:":
> >
> > ifa=0xf000ff54f7c5722b
> > iip=0xa0000001007780d0
> > 0xa0000001007780d0 <__alloc_bootmem_core+592>: [MII] ld8 r17=[r19],8
> >
> >
> > I will try to look at this a bit more if I find some more time.
>
> Do you have this changeset in your tree? It sounds like a similar
> problem to what I was seeing.
>
> ChangeSet@1.1292.1.3, 2003-08-25 12:23:20-07:00, mort@wildopensource.com
> [PATCH] ia64: paddr_to_nid fixup
>
> Here is a small patch for paddr_to_nid(). This fix is already in 2.4
> and is used in the case where a NUMA kernel is running on a machine
> without a SRAT ACPI table. Without this patch the node info is not
> correctly located.
>
>
> mh
>
> --
> Wild Open Source Inc. mort@wildopensource.com
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2003-09-01 12:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-26 15:39 2.6.0 test3 does not boot on ia64 NUMA Xavier Bru
2003-08-26 16:13 ` Martin Hicks
2003-08-28 16:38 ` Xavier Bru
2003-08-28 16:59 ` Martin Hicks
2003-08-29 16:41 ` Xavier Bru
2003-08-29 17:07 ` Martin Hicks
2003-09-01 12:36 ` Xavier Bru [this message]
2003-09-02 17:27 ` Xavier Bru
2003-09-04 18:31 ` Jesse Barnes
2003-09-04 19:06 ` Luck, Tony
2003-09-04 19:11 ` Jesse Barnes
2003-09-05 9:19 ` Xavier Bru
2003-09-08 19:08 ` Jesse Barnes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-106241985930191@msgid-missing \
--to=xavier.bru@bull.net \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox