All of lore.kernel.org
 help / color / mirror / Atom feed
* xen error
@ 2006-08-02  6:33 Deepak Kandhare
  2006-08-02  7:37 ` Yoshinori Katase
  0 siblings, 1 reply; 7+ messages in thread
From: Deepak Kandhare @ 2006-08-02  6:33 UTC (permalink / raw)
  To: xen xen


[-- Attachment #1.1: Type: text/plain, Size: 1143 bytes --]

I have installed xen by rpm.
   
  fdisk -l
  Disk /dev/sda: 40.0 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
     Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1275    10241406    7  HPFS/NTFS
/dev/sda2            1276        4739    27824580   83  Linux
/dev/sda3            4740        4870     1052257+  82  Linux swap

  myvmconf entry
   
  kernel = "/boot/vmlinuz-2.6.16-xenU"
  memory = 64
name = "winlin.com"
  vif = [ '' ]
disk = [ 'phy:sda2,sda2,w' ]
root = "/dev/sda1 ro"
extra = "4"
   
  winlin.com just for testing.
   
  xm create -c myvmconf vmid=1
Using config file "myvmconf".
Error: Device 2050 (vbd) could not be connected.
Device /dev/sda2 is mounted in the privileged domain,
and so cannot be mounted by a guest.

  xend started ok
   
  i am using 27 GB for linux i am using all space for /
  please let us know what  i have to do fix this error
   
  Thank you,
   
  

 

 		
---------------------------------
Groups are talking. We´re listening. Check out the handy changes to Yahoo! Groups. 

[-- Attachment #1.2: Type: text/html, Size: 2043 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

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

* Re: xen error
  2006-08-02  6:33 xen error Deepak Kandhare
@ 2006-08-02  7:37 ` Yoshinori Katase
  0 siblings, 0 replies; 7+ messages in thread
From: Yoshinori Katase @ 2006-08-02  7:37 UTC (permalink / raw)
  To: Deepak Kandhare, xen xen

See the manual.
http://www.cl.cam.ac.uk/Research/SRG/netos/xen/readmes/user/user.html#SECTION03320000000000000000

Chees.
----- Original Message ----- 
From: "Deepak Kandhare" <winlinfix@yahoo.com>
To: "xen xen" <xen-devel@lists.xensource.com>
Sent: Wednesday, August 02, 2006 3:33 PM
Subject: [Xen-devel] xen error


>I have installed xen by rpm.
>   
>  fdisk -l
>  Disk /dev/sda: 40.0 GB, 40060403712 bytes
> 255 heads, 63 sectors/track, 4870 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>     Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1        1275    10241406    7  HPFS/NTFS
> /dev/sda2            1276        4739    27824580   83  Linux
> /dev/sda3            4740        4870     1052257+  82  Linux swap
> 
>  myvmconf entry
>   
>  kernel = "/boot/vmlinuz-2.6.16-xenU"
>  memory = 64
> name = "winlin.com"
>  vif = [ '' ]
> disk = [ 'phy:sda2,sda2,w' ]
> root = "/dev/sda1 ro"
> extra = "4"
>   
>  winlin.com just for testing.
>   
>  xm create -c myvmconf vmid=1
> Using config file "myvmconf".
> Error: Device 2050 (vbd) could not be connected.
> Device /dev/sda2 is mounted in the privileged domain,
> and so cannot be mounted by a guest.
> 
>  xend started ok
>   
>  i am using 27 GB for linux i am using all space for /
>  please let us know what  i have to do fix this error
>   
>  Thank you,
>   
>  
> 
> 
> 
>  
> ---------------------------------
> Groups are talking. We&acute;re listening. Check out the handy changes to Yahoo! Groups.


--------------------------------------------------------------------------------


> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>

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

* Xen error
@ 2013-11-26 18:58 aoa033
  2013-11-26 19:10 ` Andrew Cooper
  0 siblings, 1 reply; 7+ messages in thread
From: aoa033 @ 2013-11-26 18:58 UTC (permalink / raw)
  To: xen-devel

Hi,

I am a final year student interested in learning more about virtualization
and Xen. I have been trying to build and install Xen 4.1.2 from source
however I am getting the following error which I do not know how to fix.
Could anyone be of assistance

The error is: 

memory.c: In function ‘compat_memory_op’:
Documents/xen-4.1.2/xen/include/public/arch-x86/xen.h:35:33: error:
typedef ‘__guest_handle_const_compat_memory_exchange_t’ locally defined
but not used [-Werror=unused-local-typedefs]
     typedef struct { type *p; } __guest_handle_ ## name
                                 ^
Documents/xen-4.1.2/xen/include/public/arch-x86/xen.h:43:5: note: in
expansion of macro ‘___DEFINE_XEN_GUEST_HANDLE’
     ___DEFINE_XEN_GUEST_HANDLE(const_##name, const type)
     ^
Documents/xen-4.1.2/xen/include/public/arch-x86/xen.h:44:41: note: in
expansion of macro ‘__DEFINE_XEN_GUEST_HANDLE’
 #define DEFINE_XEN_GUEST_HANDLE(name)   __DEFINE_XEN_GUEST_HANDLE(name,
name)
                                         ^
memory.c:242:13: note: in expansion of macro ‘DEFINE_XEN_GUEST_HANDLE’
             DEFINE_XEN_GUEST_HANDLE(compat_memory_exchange_t);

Thank you 



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

* Re: Xen error
  2013-11-26 18:58 Xen error aoa033
@ 2013-11-26 19:10 ` Andrew Cooper
       [not found]   ` <3471115750013a28353ee9033e2fefc3@cs.bham.ac.uk>
  0 siblings, 1 reply; 7+ messages in thread
From: Andrew Cooper @ 2013-11-26 19:10 UTC (permalink / raw)
  To: aoa033; +Cc: xen-devel

On 26/11/13 18:58, aoa033 wrote:
> Hi,
>
> I am a final year student interested in learning more about virtualization
> and Xen. I have been trying to build and install Xen 4.1.2 from source
> however I am getting the following error which I do not know how to fix.
> Could anyone be of assistance
>
> The error is: 
>
> memory.c: In function ‘compat_memory_op’:
> Documents/xen-4.1.2/xen/include/public/arch-x86/xen.h:35:33: error:
> typedef ‘__guest_handle_const_compat_memory_exchange_t’ locally defined
> but not used [-Werror=unused-local-typedefs]
>      typedef struct { type *p; } __guest_handle_ ## name
>                                  ^
> Documents/xen-4.1.2/xen/include/public/arch-x86/xen.h:43:5: note: in
> expansion of macro ‘___DEFINE_XEN_GUEST_HANDLE’
>      ___DEFINE_XEN_GUEST_HANDLE(const_##name, const type)
>      ^
> Documents/xen-4.1.2/xen/include/public/arch-x86/xen.h:44:41: note: in
> expansion of macro ‘__DEFINE_XEN_GUEST_HANDLE’
>  #define DEFINE_XEN_GUEST_HANDLE(name)   __DEFINE_XEN_GUEST_HANDLE(name,
> name)
>                                          ^
> memory.c:242:13: note: in expansion of macro ‘DEFINE_XEN_GUEST_HANDLE’
>              DEFINE_XEN_GUEST_HANDLE(compat_memory_exchange_t);
>
> Thank you 

Have you modified the source yourself?

This looks like you have added a new guest handle in a function but not
referenced it.

Also, Xen 4.1.2 is very old.  Try using a newer version of Xen.

~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

* Re: Xen error
       [not found]   ` <3471115750013a28353ee9033e2fefc3@cs.bham.ac.uk>
@ 2013-11-26 20:36     ` Andrew Cooper
  2013-11-27  1:29       ` Dario Faggioli
  2013-11-27  9:26       ` Ian Campbell
  0 siblings, 2 replies; 7+ messages in thread
From: Andrew Cooper @ 2013-11-26 20:36 UTC (permalink / raw)
  To: aoa033, Xen-devel List

On 26/11/13 20:32, aoa033 wrote:
> Hi Andrew, 
>
> My project supervisor said that I have to use version 4.1.2. I haven't
> modified the source code, any suggestions as to what could be causing this?
>
> Thank you

Do not drop xen-devel from the CC list, please.

Unless you can reproduce the issue on a supported version of Xen, there
is next to nothing anyone can do to help.

~Andrew

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

* Re: Xen error
  2013-11-26 20:36     ` Andrew Cooper
@ 2013-11-27  1:29       ` Dario Faggioli
  2013-11-27  9:26       ` Ian Campbell
  1 sibling, 0 replies; 7+ messages in thread
From: Dario Faggioli @ 2013-11-27  1:29 UTC (permalink / raw)
  To: Andrew Cooper; +Cc: aoa033, Xen-devel List


[-- Attachment #1.1: Type: text/plain, Size: 634 bytes --]

On mar, 2013-11-26 at 20:36 +0000, Andrew Cooper wrote:
> On 26/11/13 20:32, aoa033 wrote:
> > Hi Andrew, 
> >
> > My project supervisor said that I have to use version 4.1.2. I haven't
> > modified the source code, any suggestions as to what could be causing this?
> >
Wow... Do you mind asking him <<why?>> and share the answer with us? :-D

Regards,
Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

* Re: Xen error
  2013-11-26 20:36     ` Andrew Cooper
  2013-11-27  1:29       ` Dario Faggioli
@ 2013-11-27  9:26       ` Ian Campbell
  1 sibling, 0 replies; 7+ messages in thread
From: Ian Campbell @ 2013-11-27  9:26 UTC (permalink / raw)
  To: Andrew Cooper; +Cc: aoa033, Xen-devel List

On Tue, 2013-11-26 at 20:36 +0000, Andrew Cooper wrote:
> > My project supervisor said that I have to use version 4.1.2.

At the very least you should argue to be use the latest 4.1.x, which is
4.1.6.1.

>  I haven't
> > modified the source code, any suggestions as to what could be causing this?

The fix is in 4.1.5 onwards.

Ian.

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

end of thread, other threads:[~2013-11-27  9:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-26 18:58 Xen error aoa033
2013-11-26 19:10 ` Andrew Cooper
     [not found]   ` <3471115750013a28353ee9033e2fefc3@cs.bham.ac.uk>
2013-11-26 20:36     ` Andrew Cooper
2013-11-27  1:29       ` Dario Faggioli
2013-11-27  9:26       ` Ian Campbell
  -- strict thread matches above, loose matches on Subject: below --
2006-08-02  6:33 xen error Deepak Kandhare
2006-08-02  7:37 ` Yoshinori Katase

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.