All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: Xen at scale
@ 2004-03-23 22:37 MAGENHEIMER,DAN (HP-FtCollins,ex1)
  2004-03-23 22:59 ` Alex Ho
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: MAGENHEIMER,DAN (HP-FtCollins,ex1) @ 2004-03-23 22:37 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 1645 bytes --]

>> My wish list based on my experience so far:
>>        HIGHMEM4G - This is my top wish, and I will work on it myself
>>             when I get a chance, though I can't say when that
>> will be.
>
>Agreed. It should just be a case of putting the CONFIG_HIGHMEM4G
>stuff back into the following files:
>
>./include/asm-xeno/fixmap.h
>./include/asm-xeno/highmem.h
>./include/asm-xeno/pgtable.h
>./include/asm-xeno/page.h
>./arch/xeno/config.in
>./arch/xeno/mm/init.c
>./arch/xeno/kernel/setup.c

Here's a patch that adds back the CONFIG_HIGHMEM stuff.  It works
fine with CONFIG_HIGHMEM off and with CONFIG_HIGHMEM on with
dom0_memory <= 512MB, but fails with dom0_memory == 1GB (1048576)
on my 2GB machine.

The failure condition is that DOM0 barely launches, then causes
Xen to die and the machine reboots (even with reboot disabled, so
it must be trashing something in Xen itself).  I haven't been able
to get any debugging output (even panics) to show up from dom0 at all...
perhaps this will be a good opportunity to try out Alex's pdb
stuff.  (Alex, is there any way to set a breakpoint very early
in xenolinux startup?)

Anyway, I thought I'd post it in case someone with more xenolinux
setup/init debugging experience can easily spot/fix the problem,
but I'll keep trying.  (Please email if you find/fix it, to put
me out of my misery ;-)

As it works for everything that works today, the patch could be rolled
into the mainline, possibly with a runtime check and nicer error
message added.

Dan Magenheimer
HP Labs Fort Collins

P.S. No changes appeared to be required in page.h or setup.c
and I changed defconfig instead of config.in.


[-- Attachment #2: highmem.gz --]
[-- Type: application/octet-stream, Size: 2908 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: Xen at scale
@ 2004-03-23 23:47 MAGENHEIMER,DAN (HP-FtCollins,ex1)
  0 siblings, 0 replies; 21+ messages in thread
From: MAGENHEIMER,DAN (HP-FtCollins,ex1) @ 2004-03-23 23:47 UTC (permalink / raw)
  To: Alex Ho; +Cc: xen-devel

> can you call pdb-stub.c::breakpoint() early on during the 
> domain startup
> to force it into the debugger?

I don't think so... pdb-stub.c is in xen and I'm not familiar
enough with the interface to add a new hypercall to do that.

I tried just adding an asm("int $3") at the point where
I want to enter gdb but I can't seem to get gdb to
capture it at that point.

> i'm planning to check in 
> some code later
> this week which will make debugging domains and processes a 
> lot easier.

Great!  Looking forward to it!

Dan


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

^ permalink raw reply	[flat|nested] 21+ messages in thread
[parent not found: <becker@cs.duke.edu>]

end of thread, other threads:[~2004-03-24 21:41 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-23 22:37 Xen at scale MAGENHEIMER,DAN (HP-FtCollins,ex1)
2004-03-23 22:59 ` Alex Ho
2004-03-23 23:08 ` Ian Pratt
2004-03-23 23:23 ` Christian Limpach
2004-03-24  6:54   ` Kip Macy
2004-03-24 10:31     ` Christian Limpach
2004-03-24 10:49       ` Keir Fraser
2004-03-24 12:12         ` Christian Limpach
2004-03-24 15:56           ` Kip Macy
2004-03-24 17:15             ` Christian Limpach
2004-03-24 18:39               ` Kip Macy
2004-03-24 19:41                 ` Christian Limpach
2004-03-24 19:55                   ` Kip Macy
2004-03-24 21:06                     ` xen-1.2 again I RATTAN
2004-03-24 21:22                       ` Ian Pratt
2004-03-24 21:41                         ` I RATTAN
  -- strict thread matches above, loose matches on Subject: below --
2004-03-23 23:47 Xen at scale MAGENHEIMER,DAN (HP-FtCollins,ex1)
     [not found] <becker@cs.duke.edu>
2004-03-18 15:44 ` David Becker
2004-03-18 16:00   ` Ian Pratt
2004-03-18 16:27     ` David Becker
2004-03-18 16:21   ` Mark Williamson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.