Displaying 20 results from an estimated 61 matches for "mod_start".
2006 Aug 24
3
How to show deug info via XENPRINTF?
Hi all.
I am trying to debug a kernel that I built, and I hope I could see some debug
info printing out via XENPRINTF. I use it in the source code of kernel like:
XENPRINTF("nr_pages: %ld shared_info: 0x%lx flags: 0x%lx pt_base: 0x%lx "
"mod_start: 0x%lx mod_len: 0x%lx\n",
xen_start_info->nr_pages, xen_start_info->shared_info,
xen_start_info->flags, xen_start_info->pt_base,
xen_start_info->mod_start, xen_start_info->mod_len);
But it doesn''t print anything out when start this kernel as domU. I th...
2006 Aug 24
3
How to show deug info via XENPRINTF?
Hi all.
I am trying to debug a kernel that I built, and I hope I could see some debug
info printing out via XENPRINTF. I use it in the source code of kernel like:
XENPRINTF("nr_pages: %ld shared_info: 0x%lx flags: 0x%lx pt_base: 0x%lx "
"mod_start: 0x%lx mod_len: 0x%lx\n",
xen_start_info->nr_pages, xen_start_info->shared_info,
xen_start_info->flags, xen_start_info->pt_base,
xen_start_info->mod_start, xen_start_info->mod_len);
But it doesn''t print anything out when start this kernel as domU. I th...
2005 Jun 13
2
[PATCH] fix x86_64 initrd support
..._64/kernel/setup.c 2005-06-08 01:34:42 -07:00
+++ edited/linux-2.6.11-xen-sparse/arch/xen/x86_64/kernel/setup.c 2005-06-13 14:39:19 -07:00
@@ -727,23 +727,20 @@ void __init setup_arch(char **cmdline_p)
acpi_reserve_bootmem();
#endif
#ifdef CONFIG_BLK_DEV_INITRD
- if (xen_start_info.mod_start) {
- if (LOADER_TYPE && INITRD_START) {
- if (INITRD_START + INITRD_SIZE <= (end_pfn << PAGE_SHIFT)) {
- /* reserve_bootmem_generic(INITRD_START, INITRD_SIZE); */
- initrd_start = IN...
2013 Sep 24
4
Problems with vTPM manager
...ut when I try xl create -c vtpmmgr-stubdom.cfg:
Parsing config from /home/xen_images/vtpmmgr-stubdom.cfg
Daemon running with PID 5048
Xen Minimal OS!
start_info: 0xa2000(VA)
nr_pages: 0x1000
shared_inf: 0x44e09000(MA)
pt_base: 0xa5000(VA)
nr_pt_frames: 0x5
mfn_list: 0x9a000(VA)
mod_start: 0x0(VA)
mod_len: 0
flags: 0x0
cmd_line:
stack: 0x597e0-0x797e0
MM: Init
_text: 0x0(VA)
_etext: 0x39357(VA)
_erodata: 0x45000(VA)
_edata: 0x47c40(VA)
stack start: 0x597e0(VA)
_end: 0x99e00(VA)
start_pfn: ad
max_pfn: 1000
Mapping memory range 0x...
2013 Jun 19
9
some problems to start vTPM vtpm-stubdom
...quot;
iomem=["fed40,1"]
====
It prints out with below:
=======
Parsing config from vtpmmgr.cfg
Daemon running with PID 2406
Xen Minimal OS!
start_info: 0xa2000(VA)
nr_pages: 0x1000
shared_inf: 0xcd7b0000(MA)
pt_base: 0xa5000(VA)
nr_pt_frames: 0x5
mfn_list: 0x9a000(VA)
mod_start: 0x0(VA)
mod_len: 0
flags: 0x0
cmd_line:
stack: 0x597e0-0x797e0
MM: Init
_text: 0x0(VA)
_etext: 0x39357(VA)
_erodata: 0x45000(VA)
_edata: 0x47c40(VA)
stack start: 0x597e0(VA)
_end: 0x99e00(VA)
start_pfn: ad
max_pfn: 1000
Mapping memory range 0x...
2013 Jun 19
9
some problems to start vTPM vtpm-stubdom
...quot;
iomem=["fed40,1"]
====
It prints out with below:
=======
Parsing config from vtpmmgr.cfg
Daemon running with PID 2406
Xen Minimal OS!
start_info: 0xa2000(VA)
nr_pages: 0x1000
shared_inf: 0xcd7b0000(MA)
pt_base: 0xa5000(VA)
nr_pt_frames: 0x5
mfn_list: 0x9a000(VA)
mod_start: 0x0(VA)
mod_len: 0
flags: 0x0
cmd_line:
stack: 0x597e0-0x797e0
MM: Init
_text: 0x0(VA)
_etext: 0x39357(VA)
_erodata: 0x45000(VA)
_edata: 0x47c40(VA)
stack start: 0x597e0(VA)
_end: 0x99e00(VA)
start_pfn: ad
max_pfn: 1000
Mapping memory range 0x...
2008 Apr 04
1
[PATCH] xen: Enable Xen console by default in domU
...linux/mm.h>
#include <linux/page-flags.h>
#include <linux/highmem.h>
+#include <linux/console.h>
#include <xen/interface/xen.h>
#include <xen/interface/physdev.h>
@@ -1215,6 +1216,11 @@ asmlinkage void __init xen_start_kernel(void)
? __pa(xen_start_info->mod_start) : 0;
boot_params.hdr.ramdisk_size = xen_start_info->mod_len;
+ if (!is_initial_xendomain()) {
+ add_preferred_console("tty", 0, NULL);
+ add_preferred_console("hvc", 0, NULL);
+ }
+
/* Start the world */
start_kernel();
}
diff --git a/drivers/video/xen-fbfront.c b...
2008 Apr 04
1
[PATCH] xen: Enable Xen console by default in domU
...linux/mm.h>
#include <linux/page-flags.h>
#include <linux/highmem.h>
+#include <linux/console.h>
#include <xen/interface/xen.h>
#include <xen/interface/physdev.h>
@@ -1215,6 +1216,11 @@ asmlinkage void __init xen_start_kernel(void)
? __pa(xen_start_info->mod_start) : 0;
boot_params.hdr.ramdisk_size = xen_start_info->mod_len;
+ if (!is_initial_xendomain()) {
+ add_preferred_console("tty", 0, NULL);
+ add_preferred_console("hvc", 0, NULL);
+ }
+
/* Start the world */
start_kernel();
}
diff --git a/drivers/video/xen-fbfront.c b...
2008 Apr 04
1
[PATCH] xen: Enable Xen console by default in domU
...linux/mm.h>
#include <linux/page-flags.h>
#include <linux/highmem.h>
+#include <linux/console.h>
#include <xen/interface/xen.h>
#include <xen/interface/physdev.h>
@@ -1215,6 +1216,11 @@ asmlinkage void __init xen_start_kernel(void)
? __pa(xen_start_info->mod_start) : 0;
boot_params.hdr.ramdisk_size = xen_start_info->mod_len;
+ if (!is_initial_xendomain()) {
+ add_preferred_console("tty", 0, NULL);
+ add_preferred_console("hvc", 0, NULL);
+ }
+
/* Start the world */
start_kernel();
}
diff --git a/drivers/video/xen-fbfront.c b...
2013 Sep 24
0
Problems starting vtmmgr
...ut when I try xl create -c vtpmmgr-stubdom.cfg:
Parsing config from /home/xen_images/vtpmmgr-stubdom.cfg
Daemon running with PID 5048
Xen Minimal OS!
start_info: 0xa2000(VA)
nr_pages: 0x1000
shared_inf: 0x44e09000(MA)
pt_base: 0xa5000(VA)
nr_pt_frames: 0x5
mfn_list: 0x9a000(VA)
mod_start: 0x0(VA)
mod_len: 0
flags: 0x0
cmd_line:
stack: 0x597e0-0x797e0
MM: Init
_text: 0x0(VA)
_etext: 0x39357(VA)
_erodata: 0x45000(VA)
_edata: 0x47c40(VA)
stack start: 0x597e0(VA)
_end: 0x99e00(VA)
start_pfn: ad
max_pfn: 1000
Mapping memory range 0x...
2008 Feb 27
1
xen: Make hvc0 the preferred console in domU
...;linux/mm.h>
#include <linux/page-flags.h>
#include <linux/highmem.h>
+#include <linux/console.h>
#include <xen/interface/xen.h>
#include <xen/interface/physdev.h>
@@ -1209,6 +1210,9 @@ asmlinkage void __init xen_start_kernel(void)
? __pa(xen_start_info->mod_start) : 0;
boot_params.hdr.ramdisk_size = xen_start_info->mod_len;
+ if (!is_initial_xendomain())
+ add_preferred_console("hvc", 0, NULL);
+
/* Start the world */
start_kernel();
}
2006 Jul 17
3
mini-os under xen 3.0.2
...and the source code and the
README, it should continue by printing the current time in regular
intervals, which it does not. Here is the output I receive:
----------------------------------
Xen Minimal OS!
start_info: c001d000
nr_pages: 8192 shared_inf: 00be3000
pt_base: c0020000 mod_start: 0x0
mod_len: 0
flags: 0x0
cmd_line:
MM: Init
_text: c0000000
_etext: c0009577
_edata: c000a604
stack start: c0011e40
_end: c00142a4
start_pfn: 25
max_pfn: 2000
Mapping memory range 0xc0400000 - 0xc2000000
MM: Initialise page allocato...
2005 May 31
0
[PATCH] Store page and evtchn in start_info_t
...nr_pt_pages;
start_info->mfn_list = vphysmap_start;
start_info->domain_controller_evtchn = control_evtchn;
+ start_info->store_page = vstartinfo_start + PAGE_SIZE;
+ start_info->store_evtchn = store_evtchn;
if ( initrd_len != 0 )
{
start_info->mod_start = vinitrd_start;
@@ -270,6 +276,9 @@
start_info->cmd_line[MAX_CMDLINE-1] = ''\0'';
munmap(start_info, PAGE_SIZE);
+ /* Tell our caller where we told domain store page was. */
+ *store_mfn = page_array[((vstartinfo_start-dsi.v_start)>>PAGE_SHIFT) + 1];
+...
2008 Sep 23
0
答复: Re: 答复: RE: 答复:RE:
...dm 2 32 1 -b---- 8.2
and qemu.log :
Using config file "/etc/xen/vm/hvmachine-dm".
Started domain hvmachine-dm
Xen Minimal OS!
^Mstart_info: 0x311000
^M nr_pages: 8192 shared_inf: 001d1000
^M pt_base: 0x314000 mod_start: 0x0
^M mod_len: 0
^M flags: 0x0
^M cmd_line: -d 1
^M stack: 0x2e8620-0x308620
^MMM: Init
^M _text: 0x0
^M _etext: 0xd8828
^M _erodata: 0x105000
^M _edata: 0x1101e8
^M stack start: 0x2e8620
^M _end: 0x308db8
^M start_pfn: 31c
^M max_pf...
2005 Aug 30
4
Re: [Xen-changelog] New console transport and update xenconsoled.
...ntrol_evtchn;
> start_info->store_mfn = *store_mfn;
> start_info->store_evtchn = store_evtchn;
>+ start_info->console_mfn = *console_mfn;
>+ start_info->console_evtchn = console_evtchn;
> if ( initrd_len != 0 )
> {
> start_info->mod_start = vinitrd_start;
>@@ -631,7 +642,9 @@
> unsigned long flags,
> unsigned int vcpus,
> unsigned int store_evtchn,
>- unsigned long *store_mfn)
>+ unsigned long *store_mfn,
>+...
2007 Jun 20
9
[PATCH 0/9] x86 boot protocol updates
[ This patch depends on the cross-architecture ELF cleanup patch. ]
This series updates the boot protocol to 2.07 and uses it to implement
paravirtual booting. This allows the bootloader to tell the kernel
what kind of hardware/pseudo-hardware environment it's coming up under,
and the kernel can use the appropriate boot sequence code.
Specifically:
- Update the boot protocol to 2.07, which
2007 Jun 20
9
[PATCH 0/9] x86 boot protocol updates
[ This patch depends on the cross-architecture ELF cleanup patch. ]
This series updates the boot protocol to 2.07 and uses it to implement
paravirtual booting. This allows the bootloader to tell the kernel
what kind of hardware/pseudo-hardware environment it's coming up under,
and the kernel can use the appropriate boot sequence code.
Specifically:
- Update the boot protocol to 2.07, which
2013 May 22
19
Install vTPM on Xen-4.2.2
Hi,
I‘m trying to install vTPM based on Xen-4.2.2, linux-kernel 3.9.1 (Dom0)
and TPM emulator. However, I cannot find the TPM backed driver in this
version of Dom0 linux kernel. There is no CONFIG_XEN_TPMDEV_BACKEND in the
kernel config file. The config file for Dom0 is attached. Maybe it provides
some useful information.
So, how to install a Xen TPM backend driver in the Dom0 linux-kernel.
2006 Dec 01
0
[PATCH 3/10] Add support for netfront/netback acceleration drivers
...he region start corresponds to the load address of the OS
image.
+ * If the load address is not 4MB aligned then the address is
rounded down.
+ * 4. This the order of bootstrap elements in the initial virtual
region:
+ * a. relocated kernel image
+ * b. initial ram disk [mod_start, mod_len]
+ * c. list of allocated page frames [mfn_list, nr_pages]
+ * d. start_info_t structure [register ESI (x86)]
+ * e. bootstrap page tables [pt_base, CR3 (x86)]
+ * f. bootstrap stack [register ESP (x86)]
+ * 5. Bootstrap elements are packed...
2006 May 01
6
[PATCH] Use stddef.h in Mini-OS to define size_t
Please patch Mini-OS so that it uses stddef.h to define size_t and
NULL. This problem fixes errors that occur when linking Mini-OS with
ANSI standard code that uses stddef.h.
John
diff -ur oxen-3.0-testing/extras/mini-os/include/lib.h nxen-3.0-testing/extras/mini-os/include/lib.h
--- oxen-3.0-testing/extras/mini-os/include/lib.h 2006-04-14 22:21:55.000000000 -0400
+++