FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 03-11-2010, 06:06 AM
dann frazier
 
Default Bug#569704: potential fix

A coworker was seeing the same symptoms on a system from the
same-era & loaned me the system to debug. The issue ended up being
due to a change in the SRAT table, and a backport of the following
fixed it for me.

I've committed it to the lenny branch - would you be able to test it?

commit 4c31e92b97b6d7e7b19ee5e54a22571ffdebb305
Author: Yinghai Lu <yinghai@...>
Date: Wed Apr 22 14:19:27 2009 -0700

x86: check boundary in setup_node_bootmem()

Commit dc09855 ("x86/uv: fix init of memory-less nodes") causes a
two sockets system (where node-1 doesn't have RAM installed) to crash.

That commit makes node_possible include cpu nodes that do not have memory.
So check boundary in setup_node_bootmem().

[ Impact: fix boot crash on RAM-less NUMA node system ]

Signed-off-by: Yinghai Lu <yinghai@...>
Cc: Jack Steiner <steiner@...>
LKML-Reference: <49EF89DF.9090404@...>
Signed-off-by: Ingo Molnar <mingo@...>

diff --git a/arch/x86/mm/numa_64.c b/arch/x86/mm/numa_64.c
index d73aaa8..2d05a12 100644
--- a/arch/x86/mm/numa_64.c
+++ b/arch/x86/mm/numa_64.c
@@ -188,6 +188,9 @@ void __init setup_node_bootmem(int nodeid, unsigned long start,
const int pgdat_size = roundup(sizeof(pg_data_t), PAGE_SIZE);
int nid;

+ if (!end)
+ return;
+
start = roundup(start, ZONE_ALIGN);

printk(KERN_INFO "Bootmem setup node %d %016lx-%016lx
", nodeid,



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100311070642.GC13706@ldl.fc.hp.com">http://lists.debian.org/20100311070642.GC13706@ldl.fc.hp.com
 
Old 03-12-2010, 02:06 PM
Tollef Fog Heen
 
Default Bug#569704: potential fix

]] dann frazier

| A coworker was seeing the same symptoms on a system from the
| same-era & loaned me the system to debug. The issue ended up being
| due to a change in the SRAT table, and a backport of the following
| fixed it for me.
|
| I've committed it to the lenny branch - would you be able to test it?

Sure, I should be able to test it. Just grab current lenny + the patch
listed below?

--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 871vfpvata.fsf@qurzaw.linpro.no">http://lists.debian.org/871vfpvata.fsf@qurzaw.linpro.no
 
Old 03-12-2010, 03:35 PM
dann frazier
 
Default Bug#569704: potential fix

On Fri, Mar 12, 2010 at 04:06:41PM +0100, Tollef Fog Heen wrote:
> ]] dann frazier
>
> | A coworker was seeing the same symptoms on a system from the
> | same-era & loaned me the system to debug. The issue ended up being
> | due to a change in the SRAT table, and a backport of the following
> | fixed it for me.
> |
> | I've committed it to the lenny branch - would you be able to test it?
>
> Sure, I should be able to test it. Just grab current lenny + the patch
> listed below?

It is already committed, so you should be able to:

wget http://yrmirror/debian/pool/main/l/linux-2.6/linux-2.6_2.6.26.orig.tar.gz
tar xfz linux-2.6_2.6.26.orig.tar.gz
cd linux-2.6-2.6.26
svn export svn://svn.debian.org/svn/kernel/dists/lenny/linux-2.6/debian debian
fakeroot ./debian/rules debian/control
dpkg-buildpackage -rfakeroot -uc -us -B


--
dann frazier




--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100312163559.GE22141@lackof.org">http://lists.debian.org/20100312163559.GE22141@lackof.org
 
Old 03-25-2010, 05:45 AM
Tollef Fog Heen
 
Default Bug#569704: potential fix

]] dann frazier

| On Fri, Mar 12, 2010 at 04:06:41PM +0100, Tollef Fog Heen wrote:
| > ]] dann frazier
| >
| > | A coworker was seeing the same symptoms on a system from the
| > | same-era & loaned me the system to debug. The issue ended up being
| > | due to a change in the SRAT table, and a backport of the following
| > | fixed it for me.
| > |
| > | I've committed it to the lenny branch - would you be able to test it?
| >
| > Sure, I should be able to test it. Just grab current lenny + the patch
| > listed below?
|
| It is already committed, so you should be able to:
|
| wget http://yrmirror/debian/pool/main/l/linux-2.6/linux-2.6_2.6.26.orig.tar.gz
| tar xfz linux-2.6_2.6.26.orig.tar.gz
| cd linux-2.6-2.6.26
| svn export svn://svn.debian.org/svn/kernel/dists/lenny/linux-2.6/debian debian
| fakeroot ./debian/rules debian/control
| dpkg-buildpackage -rfakeroot -uc -us -B

Ok, I've now tested it and kemper.freedesktop.org (which had problems
before) boots happily with this kernel.

--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87634klx16.fsf@qurzaw.linpro.no">http://lists.debian.org/87634klx16.fsf@qurzaw.linpro.no
 

Thread Tools




All times are GMT. The time now is 10:32 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org