You, Yongkang
2006-Sep-12 07:53 UTC
[Xen-devel] 32E (64bit) VMX keyboard is out of control, if given an addition ''hde''
Hi, This issue only happens on my IA32E VMX domain. IA32 VMX domain is okay. I am trying VBD disk in IA32E VMX domain. I used following disk configuration to create an IA32E VMX domain. disk = [ ''file:/mnt/disk1.img,hda,w'', ''file:/mnt/disk2.img,hde,w'' ] After creating VMX, its keyboard can not be used properly. For example, if pressing ''Backspace'', it shows ''m''; if pressing ''Enter'', it just said Unknown key pressed. If I didn''t set ''hde'', or just change ''hde'' to ''hdd'', everything is okay. Could anyone help to reproduce and explain this strange issue? Best Regards, Yongkang (Kangkang) 永康 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jan Beulich
2006-Sep-12 09:05 UTC
Re: [Xen-devel] 32E (64bit) VMX keyboard is out of control, if given an addition ''hde''
>>> "You, Yongkang" <yongkang.you@intel.com> 12.09.06 09:53 >>> >Hi, > >This issue only happens on my IA32E VMX domain. IA32 VMX domain is okay. > >I am trying VBD disk in IA32E VMX domain. I used following disk configuration to create an IA32E VMX domain. > disk = [ ''file:/mnt/disk1.img,hda,w'', ''file:/mnt/disk2.img,hde,w'' ] > >After creating VMX, its keyboard can not be used properly. For example, if pressing ''Backspace'', it shows ''m''; ifpressing ''Enter'', it just said>Unknown key pressed.What OS are you running as the particular HVM guest? Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Anthony Liguori
2006-Sep-12 14:01 UTC
[Xen-devel] Re: 32E (64bit) VMX keyboard is out of control, if given an addition ''hde''
On Tue, 12 Sep 2006 15:53:34 +0800, You, Yongkang wrote:> Hi, > > This issue only happens on my IA32E VMX domain. IA32 VMX domain is okay. > > I am trying VBD disk in IA32E VMX domain. I used following disk > configuration to create an IA32E VMX domain. > disk = [ ''file:/mnt/disk1.img,hda,w'', ''file:/mnt/disk2.img,hde,w'' ] >I don''t think hde is a valid disk drive for HVM. QEMU only emulates a standard IDE controller which would only allow 4 disks (hda, hdb, hdc, hdd). AFAIK, Xen has not added an additional IDE controller. Sounds like we''re not doing appropriate error checking somewhere... Regards, Anthony Liguori> After creating VMX, its keyboard can not be used properly. For example, if > pressing ''Backspace'', it shows ''m''; if pressing ''Enter'', it just said > Unknown key pressed. > > If I didn''t set ''hde'', or just change ''hde'' to ''hdd'', everything is okay. > Could anyone help to reproduce and explain this strange issue? > > Best Regards, > Yongkang (Kangkang)_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Anthony Liguori
2006-Sep-12 14:06 UTC
[Xen-devel] Re: 32E (64bit) VMX keyboard is out of control, if given an addition ''hde''
On Tue, 12 Sep 2006 09:01:16 -0500, Anthony Liguori wrote:> On Tue, 12 Sep 2006 15:53:34 +0800, You, Yongkang wrote: > > I don''t think hde is a valid disk drive for HVM. QEMU only emulates a > standard IDE controller which would only allow 4 disks (hda, hdb, hdc, > hdd). AFAIK, Xen has not added an additional IDE controller.Sorry ''bout the noise. Still catching up. Didn''t realize hde could be used for paravirt devices. Regards, Anthony Liguori> Sounds like we''re not doing appropriate error checking somewhere... > > Regards, > > Anthony Liguori > >> [quoted text muted]_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hiromichi Itou
2006-Sep-13 05:42 UTC
Re: [Xen-devel] 32E (64bit) VMX keyboard is out of control, if given an addition ''hde''
Hi, I can reproduce this problem and fixed it. The following patches probably fixed this problem. Hiromichi Ito Signed-off-by: Hiromichi Ito <ito@begi.net> diff -r 7d4def53936c tools/ioemu/xenstore.c --- a/tools/ioemu/xenstore.c Tue Sep 12 16:33:33 2006 +0100 +++ b/tools/ioemu/xenstore.c Wed Sep 13 14:34:32 2006 +0900 @@ -100,7 +100,7 @@ void xenstore_parse_domain_config(int do if (strncmp(dev, "hd", 2) || strlen(dev) != 3) continue; hd_index = dev[2] - ''a''; - if (hd_index > MAX_DISKS) + if (hd_index > MAX_DISKS - 1) continue; /* read the type of the device */ if (pasprintf(&buf, "%s/device/vbd/%s/device-type", path, e [i]) == -1) On 2006/09/12, at 16:53, You, Yongkang wrote:> Hi, > > This issue only happens on my IA32E VMX domain. IA32 VMX domain is > okay. > > I am trying VBD disk in IA32E VMX domain. I used following disk > configuration to create an IA32E VMX domain. > disk = [ ''file:/mnt/disk1.img,hda,w'', ''file:/mnt/disk2.img,hde,w'' ] > > After creating VMX, its keyboard can not be used properly. For > example, if pressing ''Backspace'', it shows ''m''; if pressing > ''Enter'', it just said Unknown key pressed. > > If I didn''t set ''hde'', or just change ''hde'' to ''hdd'', everything is > okay. Could anyone help to reproduce and explain this strange issue? > > Best Regards, > Yongkang (Kangkang) 永康 > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
You, Yongkang
2006-Sep-13 12:17 UTC
RE: [Xen-devel] 32E (64bit) VMX keyboard is out of control, if given an addition ''hde''
Hi, I have tried that patch. It fixes the issue in 32E VMX. With it, keyboard is normal when I use "hde+" disk configuration for VMX. And after insmod VBD modules, that hde disk can work. Will that patch go into xen-unstable? :) A little puzzled why it only influent 32E VMX. Also thanks to Anthony, the ''xvda'' more likes a clear way to use VBD in VMX. :) Best Regards, Yongkang (Kangkang) 永康>-----Original Message----- >From: Hiromichi Itou [mailto:ito@begi.net] >Sent: 2006年9月13日 13:42 >To: xen-devel >Cc: You, Yongkang >Subject: Re: [Xen-devel] 32E (64bit) VMX keyboard is out of control, if given >an addition ''hde'' > >Hi, > >I can reproduce this problem and fixed it. >The following patches probably fixed this problem. > >Hiromichi Ito > >Signed-off-by: Hiromichi Ito <ito@begi.net> > >diff -r 7d4def53936c tools/ioemu/xenstore.c >--- a/tools/ioemu/xenstore.c Tue Sep 12 16:33:33 2006 +0100 >+++ b/tools/ioemu/xenstore.c Wed Sep 13 14:34:32 2006 +0900 >@@ -100,7 +100,7 @@ void xenstore_parse_domain_config(int do > if (strncmp(dev, "hd", 2) || strlen(dev) != 3) > continue; > hd_index = dev[2] - ''a''; >- if (hd_index > MAX_DISKS) >+ if (hd_index > MAX_DISKS - 1) > continue; > /* read the type of the device */ > if (pasprintf(&buf, "%s/device/vbd/%s/device-type", path, e >[i]) == -1) > > >On 2006/09/12, at 16:53, You, Yongkang wrote: > >> Hi, >> >> This issue only happens on my IA32E VMX domain. IA32 VMX domain is >> okay. >> >> I am trying VBD disk in IA32E VMX domain. I used following disk >> configuration to create an IA32E VMX domain. >> disk = [ ''file:/mnt/disk1.img,hda,w'', ''file:/mnt/disk2.img,hde,w'' ] >> >> After creating VMX, its keyboard can not be used properly. For >> example, if pressing ''Backspace'', it shows ''m''; if pressing >> ''Enter'', it just said Unknown key pressed. >> >> If I didn''t set ''hde'', or just change ''hde'' to ''hdd'', everything is >> okay. Could anyone help to reproduce and explain this strange issue? >> >> Best Regards, >> Yongkang (Kangkang) 永康 >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Apparently Analagous Threads
- RE: 32E (64bit) VMX keyboard is out of control, ifgiven an addition ''hde''
- RE: 32E (64bit) VMX keyboard is out of control, ifgiven an addition ''hde''
- RE: Help: Xen HVM Domain can ONLY support four hard drivesat most???
- RE: 32E (64bit) VMX keyboard is out of control, ifgiven an addition ''hde''
- [PATCH] ia64 buildconfig update