Hyper-V Installation Support

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Hyper-V Installation Support

Postby remyservices » Jan 2nd, '14, 19:44

It seems that currently Mageia 3 cannot install directly or even live boot within a VM hosted in Hyper-V. I'm not sure at this time the exact issues but the VMs lock up after a few minutes of running, either during the install process or just sitting after boot. For install it also locks up when using the cli to install.

As the kernel supports hyperv is this some other issue that is being addressed? I can't find a single mention of Mageia and Hyper-V in these forums or elsewhere.
remyservices
 
Posts: 4
Joined: Jan 2nd, '14, 19:40

Re: Hyper-V Installation Support

Postby remyservices » Jan 2nd, '14, 19:59

Might be worth mentioning that Mageia 4 beta 2 does not have the issue at this time, just Mageia 3.
remyservices
 
Posts: 4
Joined: Jan 2nd, '14, 19:40

Re: Hyper-V Installation Support

Postby doktor5000 » Jan 2nd, '14, 20:12

remyservices wrote:As the kernel supports hyperv is this some other issue that is being addressed? I can't find a single mention of Mageia and Hyper-V in these forums or elsewhere.

Well, it's not being adressed as it hasn't been reported yet, nor is it a common use-case.
You may want to look at http://forum.mandriva.com/en/viewtopic.php?t=129072
As the linux distros that support Hyper-V are quite old in terms of kernel (RHEL 6.4 comes with 2.6.32) that probably means that most recent linux distributions might have problems:
http://technet.microsoft.com/library/cc ... 10%29.aspx

Anyways, what you could easily do is test common boot options, like interrupt timer values, acpi and stuff like that:
https://help.ubuntu.com/community/BootO ... el_Options
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18055
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Hyper-V Installation Support

Postby remyservices » Jan 2nd, '14, 21:41

I'm starting to this it is an issue with hv_storvsc or some other virtual disk issue. I've tried Mageia 3 with both thin and thick disks with the same error shortly after the system formats the virtual disk.

Code: Select all
sd 2:0:0:0: [sda]
Sense Key : No Sense [current]
hv_storvsc vmbus_0_2: cmd 0x41 scsi status srb status 0x6


This just ends up repeating over and over in console 4 while in console 3 i have the following as the last page. (this was from the net install cd but I get similar from the install iso)

Code: Select all
 running: mount --bind /run /mnt/run
 mounting none on /mnt/proc as type proc, options
 running: mount -t proc none /mnt/proc
 mounting none on /mnt/sys as type sysfs, options
 running: mount -t sysfs none /mnt/sys
 mounting none on /mnt/sys/kernel/debug/usb as type debugfs, options
 step "formatPartitions" took: 0:00:14
 step 'formatPartitions' finished
 starting step 'choosePackages'
 change_phys_medium http://mirror.netcologne.de/mageia/distrib/3/x06_64/media for file media_info
 getFile media_info/media.cfg on http://mirror.netcologne.de/mageia/distrib/3/x06_64/media
 retrieving  media.cfg
 '/usr/bin/curl' -q' '--location-trusted' -R' '-f' '--disable-epsu' '--connect-timeout' '60' '--a
 nyauth' '--stderr' '-'  '-0' 'http://mirror.netcologne.de/mageia/distrib/3/x06_64/mediamedia_info/me
 dia.cfg'
 retrieved media.cfg
 $phys_medium = {
              'is_suppl' => '',
              'url' => 'http://mirror.netcologne.de/mageia/distrib/3/x06_64/medie',
              'method' => 'http',
              'is_stage2_phys_medium' => 1
            };

 $stage2_phys_medium = {
                   'url' => 'http://mirror.netcologne.de/mageia/distrib/3/x06_641',
                   'method' => 'http',
                  };

 adding distrib media from http://mirror.netcologne.de/mageia/distrib/3/x06_64
 retrieving media.cfg file...
 retrieving media/media_info/media.cfg
 '/usr/bin/curl' '-q' '-s' '--location-trusted' '-R' '-f' '--disable-epsv' '--connect-timeout' '60'
 '--anyauth' '--stderr' '-' '-0' 'http://mirror.netcologne.de/mageia/distrib/3/x06_64/media/media_in
 fo/media.cfg'
 retrieved media/media_info/media.cfg
 opening rpmdb (root=mnt, write=)
_
Last edited by doktor5000 on Jan 2nd, '14, 22:02, edited 1 time in total.
Reason: added code tags, to improve on clarity
remyservices
 
Posts: 4
Joined: Jan 2nd, '14, 19:40

Re: Hyper-V Installation Support

Postby doktor5000 » Jan 2nd, '14, 22:06

Please next time use code tags as explained in ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogv

remyservices wrote:I'm starting to this it is an issue with hv_storvsc or some other virtual disk issue. I've tried Mageia 3 with both thin and thick disks with the same error shortly after the system formats the virtual disk.

Code: Select all
sd 2:0:0:0: [sda]
Sense Key : No Sense [current]
hv_storvsc vmbus_0_2: cmd 0x41 scsi status srb status 0x6

You'd probably need a kernel >= 3.9 in the installer. https://bugs.launchpad.net/ubuntu/+sour ... omments/15

EDIT: FWIW, this was the only relevant result when searching for the error message hv_storvsc vmbus_0_2: cmd 0x41 scsi status srb status 0x6

Maybe you want to try Cauldron for testing purposes: http://www.mageia.org/en/4/
Last edited by doktor5000 on Jan 2nd, '14, 23:01, edited 1 time in total.
Reason: added short explanation
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18055
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Hyper-V Installation Support

Postby remyservices » Jan 2nd, '14, 22:45

Sorry about that, didn't see the code tags, was in the lite editor and didn't see that I was.

That bug would make sense as the current cauldron does boot and install without issue.
I guess with Mageia 4 this will be resolved but for 3 I'd need an install iso with newer kernel.

Thanks for the help!
remyservices
 
Posts: 4
Joined: Jan 2nd, '14, 19:40

Re: Hyper-V Installation Support

Postby doktor5000 » Jan 2nd, '14, 22:49

remyservices wrote:I guess with Mageia 4 this will be resolved but for 3 I'd need an install iso with newer kernel.

Not necessarily. You could also install a chroot on another linux and as Mageia 3 has kernel >= 3.10 in repos,
install that additionally, then transfer it into a hyper-v guest, e.g. by creating the harddisk via qemu-img or converting it via Virtualbox or whatever you're familiar with.

Installing the chroot via urpmi is dead simple, also some of the basics are explained in https://wiki.mageia.org/en/Chroot
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18055
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron