Skip to contentSkip to conversation

Can't exclude unnecessary pages for 2.6.31 Kernel

DISCUSSION Dave Anderson 3 participants 3 messages Oct 2, 2009 – Oct 5, 2009 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 667155093.1283251254493414370.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com

#1 lore raw
Quoted 14 lines · ----- "Dave Anderson
Quoted 12 lines · ----- "CAI Qian

From: CAI Qian <[email protected]>
Subject: Re: Can't exclude unnecessary pages for 2.6.31 Kernel
Date: Fri, 02 Oct 2009 19:26:44 +0800 (CST)

Quoted 8 lines

Cced the crash utility maintainer.

BZ filed -- https://bugzilla.redhat.com/show_bug.cgi?id=526749

Quoted 4 lines

It does make -d 16 works without errors. However, the crash utility failed to read it (the log attached), but the full VMCore is working fine there.

Quoted 5 lines
Quoted 2 lines
Quoted 1 line
Quoted 1 line

crash: page excluded: kernel virtual address: ffffffff819f1764 type: "tss_struct ist array"

I believe that the "tss_struct" issue is a crash bug if in fact it works OK with a full vmcore. I'll look at the vmlinux/vmcores from the BZ.

Definitely a crash utility bug -- I'll fix it in the next upstream release.

Dave

Index: x86_64.c
===================================================================
RCS file: /nfs/projects/cvs/crash/x86_64.c,v
retrieving revision 1.126

x86_64.c +1 -1
diff -u -r1.126 x86_64.c
@@ -860,7 +860,7 @@
 				break;
 		}
 	} else if (symbol_exists("per_cpu__init_tss")) {
-		for (c = 0; c < NR_CPUS; c++) {
+		for (c = 0; c < kt->cpus; c++) {
                 	if ((kt->flags & SMP) && (kt->flags & PER_CPU_OFF)) {
 				if (kt->__per_cpu_offset[c] == 0)
 					break;

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

#2 lore raw

From: Dave Anderson <[email protected]>
Subject: Re: Can't exclude unnecessary pages for 2.6.31 Kernel
Date: Fri, 2 Oct 2009 10:24:05 -0400 (EDT)

Quoted 20 lines
Quoted 17 lines · ----- "Dave Anderson
Quoted 14 lines · ----- "CAI Qian

From: CAI Qian <[email protected]>
Subject: Re: Can't exclude unnecessary pages for 2.6.31 Kernel
Date: Fri, 02 Oct 2009 19:26:44 +0800 (CST)

Quoted 9 lines

Cced the crash utility maintainer.

BZ filed -- https://bugzilla.redhat.com/show_bug.cgi?id=526749

Quoted 5 lines

It does make -d 16 works without errors. However, the crash utility failed to read it (the log attached), but the full VMCore is working fine there.

crash: page excluded: kernel virtual address: ffffffff819f1764 type: "tss_struct ist array"

Quoted 7 lines
Quoted 2 lines

I believe that the "tss_struct" issue is a crash bug if in fact it works OK with a full vmcore. I'll look at the vmlinux/vmcores from the BZ.

Definitely a crash utility bug -- I'll fix it in the next upstream release.

Dave

After applied the patch, the problem has gone, and I can analyze the VMCore without any problem so far.

Thanks Ken'ichi and Dave for the fixes!
CAI Qian

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

#3 lore raw
In reply to Dave Anderson
Quoted 16 lines · Dave Anderson
Quoted 14 lines · ----- "Dave Anderson
Quoted 12 lines · ----- "CAI Qian

From: CAI Qian <[email protected]>
Subject: Re: Can't exclude unnecessary pages for 2.6.31 Kernel
Date: Fri, 02 Oct 2009 19:26:44 +0800 (CST)

Quoted 8 lines

Cced the crash utility maintainer.

BZ filed -- https://bugzilla.redhat.com/show_bug.cgi?id=526749

Quoted 4 lines

It does make -d 16 works without errors. However, the crash utility failed to read it (the log attached), but the full VMCore is working fine there.

Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

crash: page excluded: kernel virtual address: ffffffff819f1764 type: "tss_struct ist array"

I believe that the "tss_struct" issue is a crash bug if in fact it works OK with a full vmcore. I'll look at the vmlinux/vmcores from the BZ.

Definitely a crash utility bug -- I'll fix it in the next upstream release.

good job :-)

Thanks
Ken'ichi Ohmichi

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec