Discussion:
install debian into hyper-v
Nick 'tarantul' Novikov
2014-04-29 05:25:34 UTC
Permalink
Hello!

I tried to install current debian testing into Hyper-V (Windows 2012 R2)
virtual machine (generation 2, UEFI boot).
The virtual machine has booted successfully, the installer starts in text
mode, but the keyboard does not respond.
If I select "Graphical install" mouse works, but keyboard just doesn't work.

Maybe it's a known bug and have a solution?
--
tarantul
Dios es Amor
Cyril Brulebois
2014-04-29 08:17:30 UTC
Permalink
Post by Nick 'tarantul' Novikov
I tried to install current debian testing into Hyper-V (Windows 2012 R2)
virtual machine (generation 2, UEFI boot).
The virtual machine has booted successfully, the installer starts in text
mode, but the keyboard does not respond.
If I select "Graphical install" mouse works, but keyboard just doesn't work.
Maybe it's a known bug and have a solution?
Not to my knowledge. I suspect this might be:
- a buggy driver for the virtual keyboard provided inside Hyper-V
- otherwise a missing driver in the kernel udebs, resulting in no support for
your keyboard in either text or graphical sessions.

What image did you try? (Providing the URL would be nice) That would
help checking the buggy/missing driver hypothesis.

Mraw,
KiBi.
Nick 'tarantul' Novikov
2014-04-29 09:07:46 UTC
Permalink
I download this 26 April:
http://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-cd/debian-testing-amd64-CD-1.iso
By the way, Ubuntu 14.04 installed without problems, keyboard and mouse
works fine.
Ubuntu uses the same installer?
Post by Cyril Brulebois
Post by Nick 'tarantul' Novikov
I tried to install current debian testing into Hyper-V (Windows 2012 R2)
virtual machine (generation 2, UEFI boot).
The virtual machine has booted successfully, the installer starts in text
mode, but the keyboard does not respond.
If I select "Graphical install" mouse works, but keyboard just doesn't
work.
Post by Nick 'tarantul' Novikov
Maybe it's a known bug and have a solution?
- a buggy driver for the virtual keyboard provided inside Hyper-V
- otherwise a missing driver in the kernel udebs, resulting in no support for
your keyboard in either text or graphical sessions.
What image did you try? (Providing the URL would be nice) That would
help checking the buggy/missing driver hypothesis.
Mraw,
KiBi.
--
tarantul
Dios es Amor
Cyril Brulebois
2014-04-29 09:25:49 UTC
Permalink
Post by Nick 'tarantul' Novikov
http://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-cd/debian-testing-amd64-CD-1.iso
Alright. From what I can see, there's a hyperv-keyboard module now,
which is indeed built as a module (r20933 from a quick svn blame), but
it's not available in d-i. I suspect it might want to get added to
input-modules or hyperv-modules.

Ben, do you concur?

Mraw,
KiBi.
Ben Hutchings
2014-05-01 01:31:13 UTC
Permalink
Post by Cyril Brulebois
Post by Nick 'tarantul' Novikov
http://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-cd/debian-testing-amd64-CD-1.iso
Alright. From what I can see, there's a hyperv-keyboard module now,
which is indeed built as a module (r20933 from a quick svn blame), but
it's not available in d-i. I suspect it might want to get added to
input-modules or hyperv-modules.
Ben, do you concur?
I can add it... but it is really annoying that Hyper-V now needs PV
drivers for everything.

Ben.
--
Ben Hutchings
Life would be so much easier if we could look at the source code.
Ian Campbell
2014-05-01 10:46:30 UTC
Permalink
Post by Ben Hutchings
Post by Cyril Brulebois
Post by Nick 'tarantul' Novikov
http://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-cd/debian-testing-amd64-CD-1.iso
Alright. From what I can see, there's a hyperv-keyboard module now,
which is indeed built as a module (r20933 from a quick svn blame), but
it's not available in d-i. I suspect it might want to get added to
input-modules or hyperv-modules.
Ben, do you concur?
I can add it... but it is really annoying that Hyper-V now needs PV
drivers for everything.
It does seem to be a bit mad to *require* them rather than to use them
if they happen to be available and fallback to the emulated PC
peripherals if not.

Ian.
Nick 'tarantul' Novikov
2014-05-08 05:21:07 UTC
Permalink
Hyper-V drivers have been added?
Last debian testing build (05.05.2014) does not work.
Post by Nick 'tarantul' Novikov
http://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-cd/debian-testing-amd64-CD-1.iso
Post by Ben Hutchings
Post by Cyril Brulebois
Alright. From what I can see, there's a hyperv-keyboard module now,
which is indeed built as a module (r20933 from a quick svn blame), but
it's not available in d-i. I suspect it might want to get added to
input-modules or hyperv-modules.
Ben, do you concur?
I can add it... but it is really annoying that Hyper-V now needs PV
drivers for everything.
It does seem to be a bit mad to *require* them rather than to use them
if they happen to be available and fallback to the emulated PC
peripherals if not.
Ian.
--
tarantul
Dios es Amor
Cyril Brulebois
2014-07-06 17:48:27 UTC
Permalink
Post by Nick 'tarantul' Novikov
Hyper-V drivers have been added?
Last debian testing build (05.05.2014) does not work.
$ dpkg --contents hyperv-modules-3.14-1-amd64-di_3.14.9-1_amd64.udeb | awk '/ko$/ { print $6}'
./lib/modules/3.14-1-amd64/kernel/drivers/hid/hid-hyperv.ko
./lib/modules/3.14-1-amd64/kernel/drivers/hv/hv_utils.ko
./lib/modules/3.14-1-amd64/kernel/drivers/hv/hv_vmbus.ko
./lib/modules/3.14-1-amd64/kernel/drivers/input/serio/hyperv-keyboard.ko
./lib/modules/3.14-1-amd64/kernel/drivers/net/hyperv/hv_netvsc.ko
./lib/modules/3.14-1-amd64/kernel/drivers/scsi/hv_storvsc.ko

So current udeb package (in sid/testing) has got the needed bits and d-i
should behave more nicely.

(Thanks Ben for the tip on IRC.)

For reference that happened in:
| linux (3.14.4-1) unstable; urgency=high
| 

| * [x86] udeb: Add hyperv-keyboard to hyperv-modules

Mraw,
KiBi.

Continue reading on narkive:
Search results for 'install debian into hyper-v' (Questions and Answers)
4
replies
How to Build a Social Networking Website?
started 2009-07-08 00:29:20 UTC
internet
Loading...