Displaying 20 results from an estimated 61 matches for "mod_len".
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 think I 
must mis...
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 think I 
must mis...
2013 Sep 24
4
Problems with vTPM manager
...-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 0x400000 - 0x1000000
set...
2013 Jun 19
9
some problems to start vTPM vtpm-stubdom
...,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 0x400000 - 0x1000000
set...
2013 Jun 19
9
some problems to start vTPM vtpm-stubdom
...,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 0x400000 - 0x1000000
set...
2008 Apr 04
1
[PATCH] xen: Enable Xen console by default in domU
...nux/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/drivers/video/xen-fbfront.c
index 619a6f8..9b428b5 100644
--- a/d...
2008 Apr 04
1
[PATCH] xen: Enable Xen console by default in domU
...nux/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/drivers/video/xen-fbfront.c
index 619a6f8..9b428b5 100644
--- a/d...
2008 Apr 04
1
[PATCH] xen: Enable Xen console by default in domU
...nux/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/drivers/video/xen-fbfront.c
index 619a6f8..9b428b5 100644
--- a/d...
2013 Sep 24
0
Problems starting vtmmgr
...-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 0x400000 - 0x1000000
set...
2008 Feb 27
1
xen: Make hvc0 the preferred console in domU
...inux/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
...e 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 allocator for c002c000(2...
2005 May 31
0
[PATCH] Store page and evtchn in start_info_t
...(zero);
diff -ur xen-unstable/xen/include/public/xen.h xen-unstable-working/xen/include/public/xen.h
--- xen-unstable/xen/include/public/xen.h	2005-05-24 13:10:17.000000000 +1000
+++ xen-unstable-working/xen/include/public/xen.h	2005-05-31 17:36:49.000000000 +1000
@@ -461,7 +461,10 @@
     memory_t mod_len;         /* 56: Size (bytes) of pre-loaded module.    */
     _MEMORY_PADDING(G);
     s8 cmd_line[MAX_CMDLINE]; /* 64 */
-} PACKED start_info_t; /* 320 bytes */
+    memory_t store_page;      /* 320: VIRTUAL address of store ringbuffer page. */
+    _MEMORY_PADDING(H);
+    u16      store_evtchn;...
2008 Sep 23
0
答复: Re: 答复: RE: 答复:RE:
...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_pfn:      2000
^MMap...
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
...tart 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 together...
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
+++
2009 Jul 19
11
pv_ops DomU boot problem using pvgrub, xen 3.4.1-rc7, debian 2.6.26 dom0
...e pv_ops 2.6.30.1 kernel with pvgrub:
Started domain security (id=13)
                               Xen Minimal OS!
  start_info: 0xa12000(VA)
    nr_pages: 0x10000
  shared_inf: 0xb3ad0000(MA)
     pt_base: 0xa15000(VA)
nr_pt_frames: 0x9
    mfn_list: 0x992000(VA)
   mod_start: 0x991000(VA)
     mod_len: 4096
       flags: 0x0
    cmd_line:
  stack:      0x950860-0x970860
MM: Init
      _text: 0x0(VA)
     _etext: 0x617a4(VA)
   _erodata: 0x79000(VA)
     _edata: 0x81b00(VA)
stack start: 0x950860(VA)
       _end: 0x990e68(VA)
  start_pfn: a21
    max_pfn: 10000
Mapping memory range 0xc00000 - 0x10...
2005 Aug 30
4
Re: [Xen-changelog] New console transport and update xenconsoled.
...ss of page directory.       */
>-    unsigned long nr_pt_frames;/* Number of bootstrap p.t. frames.        */
>-    unsigned long mfn_list;   /* VIRTUAL address of page-frame list.      */
>-    unsigned long mod_start;  /* VIRTUAL address of pre-loaded module.    */
>-    unsigned long mod_len;    /* Size (bytes) of pre-loaded module.       */
>+    unsigned long pt_base;      /* VIRTUAL address of page directory.     */
>+    unsigned long nr_pt_frames; /* Number of bootstrap p.t. frames.       */
>+    unsigned long mfn_list;     /* VIRTUAL address of page-frame list.    */
&g...
2013 Oct 15
0
Antw: Xen-users Digest, Vol 104, Issue 18
...t; 
> Parsing config from vtpmmgr-stubdom.cfg
> Daemon running with PID 29361
> Xen Minimal OS!
>  start_info: 0xa2000(VA)
>  nr_pages: 0x1000
>  shared_inf: 0x83ad7000(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...
2008 May 21
6
[PATCH 0/5] xen pvfb: Para-virtual framebuffer, keyboard and pointer driver updates
This is an update to the Linux part of the Xen PVFB.  Linux Xen PVFB
is a pair of Xen para-virtual frontend device drivers:
drivers/video/xen-fbfront.c provides a framebuffer, and
drivers/input/xen-kbdfront provides keyboard and mouse.  Their
backends run in dom0 user space.
Parts in this patch series:
1. Enable Xen console by default in domU
2. Pointer z-axis (mouse wheel) support
3. Module