linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: [ANNOUNCE] kexec-tools-1.8
@ 2003-01-14  1:16 Fu, Michael
  2003-01-14  1:57 ` Eric W. Biederman
  0 siblings, 1 reply; 7+ messages in thread
From: Fu, Michael @ 2003-01-14  1:16 UTC (permalink / raw)
  To: ebiederm; +Cc: linux-kernel

On 2002-12-02 at 04:41:34, Eric wrote:
>kexec-tools-1.8 is now available at :
>http://www.xmission.com/~ebiederm/files/kexec/kexec-tools-1.8.tar.gz

I can't use the kexec program in the package to load a bzImage file. The
following simple patch make it work.


diff -ru kexec-tools-1.8-orig/kexec/kexec.c kexec-tools-1.8/kexec/kexec.c
--- kexec-tools-1.8-orig/kexec/kexec.c	Mon Jan 13 11:21:28 2003
+++ kexec-tools-1.8/kexec/kexec.c	Mon Jan 13 11:21:50 2003
@@ -159,7 +159,7 @@
 	}
 	for(i = 0; i < file_types; i++) {
 		if (type && (strcmp(type, file_type[i].name) != 0)) {
-			break;
+			continue;
 		}
 		if (file_type[i].probe(fp_kernel) > 0) {
 			break;



Michael
Not speaking for Intel,   options are my own.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ANNOUNCE] kexec-tools-1.8
  2003-01-14  1:16 [ANNOUNCE] kexec-tools-1.8 Fu, Michael
@ 2003-01-14  1:57 ` Eric W. Biederman
  0 siblings, 0 replies; 7+ messages in thread
From: Eric W. Biederman @ 2003-01-14  1:57 UTC (permalink / raw)
  To: Fu, Michael; +Cc: linux-kernel

"Fu, Michael" <michael.fu@intel.com> writes:

> On 2002-12-02 at 04:41:34, Eric wrote:
> >kexec-tools-1.8 is now available at :
> >http://www.xmission.com/~ebiederm/files/kexec/kexec-tools-1.8.tar.gz
> 
> I can't use the kexec program in the package to load a bzImage file. The
> following simple patch make it work.

Thanks.  I rarely force the type, so it looks like this bug slipped by.


Eric

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ANNOUNCE] kexec-tools-1.8
  2002-12-03  7:35                   ` Eric W. Biederman
@ 2002-12-13  2:00                     ` Dave Hansen
  0 siblings, 0 replies; 7+ messages in thread
From: Dave Hansen @ 2002-12-13  2:00 UTC (permalink / raw)
  To: Eric W. Biederman
  Cc: Linux Kernel Mailing List, Suparna Bhattacharya, Martin J. Bligh

I got around to trying it on a NUMA-Q again.  It makes it well into 
the kernel this time.  I've been getting some strange CPU numbering 
problems, but that was happening to a lesser extent before I threw 
kexec in there.

Right now it's dying in the memory allocator, but that is probably 
just something that didn't get initialized right, or some cross-quad 
memory that isn't set up right.

I would really like to see this go into 2.5.  The fact that it gets 
this far on something as exotic as a NUMA-Q is a tribute to its 
maturity.
-- 
Dave Hansen
haveblue@us.ibm.com


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ANNOUNCE] kexec-tools-1.8
  2002-12-03  2:30                 ` Dave Hansen
@ 2002-12-03  7:35                   ` Eric W. Biederman
  2002-12-13  2:00                     ` Dave Hansen
  0 siblings, 1 reply; 7+ messages in thread
From: Eric W. Biederman @ 2002-12-03  7:35 UTC (permalink / raw)
  To: Dave Hansen
  Cc: Linux Kernel Mailing List, Andy Pfiffer, Linus Torvalds,
	Alan Cox, Werner Almesberger, Suparna Bhattacharya,
	Matt D. Robinson, Rusty Russell, Mike Galbraith, Martin J. Bligh,
	Klingaman, Aaron L

Dave Hansen <haveblue@us.ibm.com> writes:

> It booted on my first try, even with the 64-bit /proc/iomem changes. I tried it
> on machines with 16GB and 1GB of RAM.  (insert clapping here)

Thanks.  The code for reading /proc/iomem was a modeled after 
Andy Pfiffer's work, and your earlier patch.  I just cleaned them
up and integrated it cleanly with my existing code base.

I guess that means I should shake off the bit rot and resubmit
to Linus.

Eric

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ANNOUNCE] kexec-tools-1.8
  2002-12-02  4:41               ` [ANNOUNCE] kexec-tools-1.8 Eric W. Biederman
@ 2002-12-03  2:30                 ` Dave Hansen
  2002-12-03  7:35                   ` Eric W. Biederman
  0 siblings, 1 reply; 7+ messages in thread
From: Dave Hansen @ 2002-12-03  2:30 UTC (permalink / raw)
  To: Eric W. Biederman
  Cc: Linux Kernel Mailing List, Andy Pfiffer, Linus Torvalds,
	Alan Cox, Werner Almesberger, Suparna Bhattacharya,
	Matt D. Robinson, Rusty Russell, Mike Galbraith, Martin J. Bligh,
	Klingaman, Aaron L

It booted on my first try, even with the 64-bit /proc/iomem changes. 
I tried it on machines with 16GB and 1GB of RAM.  (insert clapping here)

-- 
Dave Hansen
haveblue@us.ibm.com


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ANNOUNCE] kexec-tools-1.8
  2002-11-18  8:53             ` [ANNOUNCE][CFT] kexec for v2.5.48 && kexec-tools-1.7 Eric W. Biederman
  2002-12-02  4:41               ` [ANNOUNCE] kexec-tools-1.8 Eric W. Biederman
@ 2002-12-02 15:54               ` Eric W. Biederman
  1 sibling, 0 replies; 7+ messages in thread
From: Eric W. Biederman @ 2002-12-02 15:54 UTC (permalink / raw)
  To: Linux Kernel Mailing List


kexec-tools-1.8 is now available at:
http://www.xmission.com/~ebiederm/files/kexec/kexec-tools-1.8.tar.gz

Dave Hansen has a patch that allows /proc/iomem to export resources
above 4GB which is needed on machines on with > 4GB of RAM.

Changes:
- /proc/iomem is now parsed so the new kernels memory map should be correct.
- initrds are now actually read into memory so they should work, as well.

That should make kexec quite useable.

The syscall:
http://www.xmission.com/~ebiederm/files/kexec/linux-2.5.48.x86kexec.diff
and the fixes
http://www.xmission.com/~ebiederm/files/kexec/linux-2.5.48.x86kexec-hwfixes.diff
continue to apply to 2.5.50 so I have not updated them.  

The archive is at:
http://www.xmission.com/~ebiederm/files/kexec/

My apologies for not getting this sooner.  Along with the holidays I have been
battling a cold...

Eric

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ANNOUNCE] kexec-tools-1.8
  2002-11-18  8:53             ` [ANNOUNCE][CFT] kexec for v2.5.48 && kexec-tools-1.7 Eric W. Biederman
@ 2002-12-02  4:41               ` Eric W. Biederman
  2002-12-03  2:30                 ` Dave Hansen
  2002-12-02 15:54               ` Eric W. Biederman
  1 sibling, 1 reply; 7+ messages in thread
From: Eric W. Biederman @ 2002-12-02  4:41 UTC (permalink / raw)
  To: Eric W. Biederman
  Cc: Linux Kernel Mailing List, Andy Pfiffer, Linus Torvalds,
	Alan Cox, Werner Almesberger, Suparna Bhattacharya,
	Matt D. Robinson, Rusty Russell, Mike Galbraith, Martin J. Bligh,
	Dave Hansen, Klingaman, Aaron L


kexec-tools-1.8 is now available at:
http://www.xmission.com/~ebiederm/files/kexec/kexec-tools-1.8.tar.gz

Dave Hansen has a patch that allows /proc/iomem to export resources
above 4GB which is needed on machines on with > 4GB of RAM.

Changes:
- /proc/iomem is now parsed so the new kernels memory map should be correct.
- initrds are now actually read into memory so they should work, as well.

That should make kexec quite useable.

The syscall:
http://www.xmission.com/~ebiederm/files/kexec/linux-2.5.48.x86kexec.diff
and the fixes
http://www.xmission.com/~ebiederm/files/kexec/linux-2.5.48.x86kexec-hwfixes.diff
continue to apply to 2.5.50 so I have not updated them.  

The archive is at:
http://www.xmission.com/~ebiederm/files/kexec/

My apologies for not getting this sooner.  Along with the holidays I have been
battling a cold...

Eric

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-01-14  1:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-14  1:16 [ANNOUNCE] kexec-tools-1.8 Fu, Michael
2003-01-14  1:57 ` Eric W. Biederman
  -- strict thread matches above, loose matches on Subject: below --
2002-11-10  3:17 [lkcd-devel] Re: What's left over Linus Torvalds
2002-11-11 18:15 ` Kexec for v2.5.47 Eric W. Biederman
2002-11-11 22:52   ` Kexec for v2.5.47 (test feedback) Andy Pfiffer
2002-11-12  7:22     ` Eric W. Biederman
2002-11-13  0:48       ` Andy Pfiffer
2002-11-18  0:07         ` [ANNOUNCE] kexec-tools-1.6 released Eric W. Biederman
2002-11-18  5:46           ` Eric W. Biederman
2002-11-18  8:53             ` [ANNOUNCE][CFT] kexec for v2.5.48 && kexec-tools-1.7 Eric W. Biederman
2002-12-02  4:41               ` [ANNOUNCE] kexec-tools-1.8 Eric W. Biederman
2002-12-03  2:30                 ` Dave Hansen
2002-12-03  7:35                   ` Eric W. Biederman
2002-12-13  2:00                     ` Dave Hansen
2002-12-02 15:54               ` Eric W. Biederman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).