ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Shabalin <a.shabalin@gmail.com>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] vmbus/hv_fcopy in hyper-v
Date: Tue, 21 Apr 2015 11:51:23 +0100
Message-ID: <CAEdvWkRaBobu-3zj4t1QsyUpp_w77u=cYxGxQgqWywH-9hPd0g@mail.gmail.com> (raw)
In-Reply-To: <m3a8y1esbz.fsf@thinkpad.evg-krsk.dyndns.org>

21 апреля 2015 г., 10:36 пользователь Евгений Терешков
<evg-krsk@yandex.ru> написал:
> Привет.
>
> А есть ли кто-то с виртуалками на Hyper-V R2? Не могу понять, почему у меня
> не создаётся каталог /dev/vmbus и узел устройства hv_fcopy в нём.
>
> из-за этого не запускается hypervfcopyd, ругаясь:
>
> HV_FCOPY: HV_FCOPY starting; pid is:5950
> HV_FCOPY: open /dev/vmbus/hv_fcopy failed; error: 2 No such file or directory
> hypervfcopyd: hypervfcopyd startup succeeded
>
> модули вроде бы все возможные автоматически загрузились: hid_hyperv,
> hyperv_keyboard, hyperv_fb, hv_netvsc, hv_utils, hv_storvsc, hv_vmbus.
>
> Пакет hypervfcopyd предоставляет правило для создания узла устройства:
>
> =8<=/lib/udev/rules.d/hypervfcopyd.rules==========================
> ACTION=="add", KERNEL="vmbus/hv_fcopy", TAG=+"systemd", ENV{SYSTEMD_WANTS}+="hypervfcopyd.service"
> ==================================================================
> но видимо оно не срабатывает.
>
> Подскажите, если кто натыкался или посоветуйте, как отлаживать связку
> ядро(3.14.38-std-def, пробовал и на el7-def, un-def)/udevd, почему не
> создаётся файл устройства.

Я могу только предположить, что сама виртуалка hyper-v не
предоставляет эту возможность.
Если не ошибаюсь, она не включена по-умолчанию. (поддерживается только
в 2012R2).
В настройках надо включить "Guest services".

PS: а udev rules не предоставляют никаких устройств, они стартуют
сервисы через systemd.
Так что рекомендую systemd совместно с hyper-v :)
PPS: в ближайшее время обновлю пакеты.

-- 
Alexey Shabalin

  reply	other threads:[~2015-04-21 10:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-21  9:36 Евгений Терешков
2015-04-21 10:51 ` Alexey Shabalin [this message]
2015-04-21 13:50 ` Vitaly Kuznetsov
2015-04-21 15:12   ` Евгений Терешков
2015-04-21 15:14     ` Michael Shigorin
2015-04-22  2:07       ` Евгений Терешков
2015-04-22  9:24         ` Vitaly Kuznetsov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEdvWkRaBobu-3zj4t1QsyUpp_w77u=cYxGxQgqWywH-9hPd0g@mail.gmail.com' \
    --to=a.shabalin@gmail.com \
    --cc=shaba@altlinux.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git