Bug 740378 - F16: Can't use keyboard when installing F16-Alpha under Xen (regression) as guest
Summary: F16: Can't use keyboard when installing F16-Alpha under Xen (regression) as g...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Gracik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 740657 (view as bug list)
Depends On:
Blocks: 741950
TreeView+ depends on / blocked
 
Reported: 2011-09-21 19:49 UTC by Konrad Rzeszutek Wilk
Modified: 2013-07-04 12:59 UTC (History)
7 users (show)

Fixed In Version: lorax-16.4.6-1.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 741950 (view as bug list)
Environment:
Last Closed: 2011-09-26 12:36:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Screenshot of vncviewer localhost:0 - none of the keys pressed are sent to anaconda. (16.12 KB, image/png)
2011-09-21 19:49 UTC, Konrad Rzeszutek Wilk
no flags Details
Text output from 'xm console' with debug options. (86.04 KB, text/x-log)
2011-09-21 19:54 UTC, Konrad Rzeszutek Wilk
no flags Details

Description Konrad Rzeszutek Wilk 2011-09-21 19:49:29 UTC
Created attachment 524269 [details]
Screenshot of vncviewer localhost:0 - none of the keys pressed are sent to anaconda.

Description of problem:

When I try to install F16 as DomU under Xen the installer (text)
does not recognize any of the keys I am pressing. If I use the VNC F8 to send Ctrl-Alt-Del nothing happens.

Version-Release number of selected component (if applicable):

Whatever is in the F16-Alpha
How reproducible:


Steps to Reproduce:
1. cat > F16.xm
kernel = "/tmp/vmlinuz"
ramdisk="/tmp/initrd.img"
#extra="askmethod"
memory = 1024
name = "Fedora"
vcpus=2
vif = [ 'mac=00:0F:4B:00:00:63,bridge=switch' ]
disk = [ 'phy:/dev/vg_guest/FC16-64,xvda,w' ]
vfb = [ 'vnc=1, vnclisten=0.0.0.0,vncunused=1']


2. xm create -c F16.xm
3. vncviewer localhost:0

Actual results:

No keyboard response.
Expected results:

Keyboard response
Additional info:

I did manage to install FC16 using workarounds. Mainly on the 'extra'
line I added 'console=hvc0 test serial vnc' and I was able to hit keys
in the text console (so the one provided by xm console), but still not in the VNC provided by the framebuffer. And the selection of the packages was done via vncviewer <guest-ip>:0.

After the install was finished I poked around in the initrd and noticed that the xen-kbdfront was missing.

But I couldn't figure out a way to insert the xen-kbfront during the install - either via unpacking the xz initrd img (tried the alpha version), nor disk images. Perhaps there is a link explaining how to create one?

Comment 1 Konrad Rzeszutek Wilk 2011-09-21 19:54:13 UTC
Created attachment 524270 [details]
Text output from 'xm console' with debug options.

Screen output based off:
#cat F16.xm
kernel = "/tmp/vmlinuz"
ramdisk="/tmp/initrd.img"
extra="debug initcall_debug loglevel=10"
memory = 1024
name = "Fedora"
vcpus=2
vif = [ 'mac=00:0F:4B:00:00:63,bridge=switch' ]
disk = [ 'phy:/dev/vg_guest/FC16-64,xvda,w' ]
vfb = [ 'vnc=1, vnclisten=0.0.0.0,vncunused=1']
#xm create -c F16

Comment 2 Konrad Rzeszutek Wilk 2011-09-21 20:03:21 UTC
There is a workaround for this which is to do:

extra="vnc lang=en_US.UTF-8 keymap=us"

Anyhow, I am more than happy to test say, an kernel and initrd.img that have an xen-kbdfront injected in it...

Does F16 use the old RHEL5 method of manually loading some specific modules? Or does it nowadays use the udev mechanism?

Comment 3 Konrad Rzeszutek Wilk 2011-09-27 18:15:24 UTC
I am having a hard time actually finding this version (17.0) in the rawhide or F16 initrd.img. 

This URL http://fedora.mirror.ac.za/linux/development/rawhide/x86_64/os/Packages/ shows that lorax-16.4.2 is going in rawhide/f16.
Sooo when will 17.0 be in?

It is rather impossible to test this without using an initrd image, so I can't very well do 'yum update' during an install when I can't use the keyboard.

Comment 4 Fedora Update System 2011-10-03 14:03:51 UTC
lorax-16.4.5-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/lorax-16.4.5-1.fc16

Comment 5 Laszlo Ersek 2011-10-03 16:42:40 UTC
*** Bug 740657 has been marked as a duplicate of this bug. ***

Comment 6 Laszlo Ersek 2011-10-03 16:53:14 UTC
I figure the "test" extra arg in the comments above is "text" in reality.

Comment 7 Fedora Update System 2011-10-11 17:54:00 UTC
lorax-16.4.6-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/lorax-16.4.6-1.fc16

Comment 8 Fedora Update System 2011-10-13 04:32:45 UTC
lorax-16.4.6-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.