Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #50199 > unrolled thread

Bug#782761: linux-tools: Please include tools/hv daemons in a binary

Started byHideki Yamane <henrich@debian.or.jp>
First post2015-07-15 15:20 +0200
Last post2015-08-17 19:40 +0200
Articles 10 — 5 participants

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#782761: linux-tools: Please include tools/hv daemons in a binary Hideki Yamane <henrich@debian.or.jp> - 2015-07-15 15:20 +0200
    Bug#782761: linux-tools: Please include tools/hv daemons in a binary Ben Hutchings <ben@decadent.org.uk> - 2015-07-15 15:30 +0200
      Bug#782761: linux-tools: Please include tools/hv daemons in a binary Hideki Yamane <henrich@debian.or.jp> - 2015-07-15 16:00 +0200
        Bug#782761: linux-tools: Please include tools/hv daemons in a binary Ben Hutchings <ben@decadent.org.uk> - 2015-07-15 16:20 +0200
          Bug#782761: linux-tools: Please include tools/hv daemons in a binary Hideki Yamane <henrich@debian.or.jp> - 2015-07-19 04:20 +0200
            Bug#782761: linux-tools: Please include tools/hv daemons in a binary Christoph Martin <martin@uni-mainz.de> - 2015-08-17 15:40 +0200
              Bug#782761: linux-tools: Please include tools/hv daemons in a binary Bastian Blank <waldi@debian.org> - 2015-08-17 15:50 +0200
                Bug#782761: linux-tools: Please include tools/hv daemons in a binary Ben Hutchings <ben@decadent.org.uk> - 2015-08-17 19:00 +0200
                Bug#782761: linux-tools: Please include tools/hv daemons in a binary Christoph Martin <martin@uni-mainz.de> - 2015-08-17 19:00 +0200
                  Bug#782761: linux-tools: Please include tools/hv daemons in a binary Hideki Yamane <henrich@iijmio-mail.jp> - 2015-08-17 19:40 +0200

#50199 — Bug#782761: linux-tools: Please include tools/hv daemons in a binary

FromHideki Yamane <henrich@debian.or.jp>
Date2015-07-15 15:20 +0200
SubjectBug#782761: linux-tools: Please include tools/hv daemons in a binary
Message-ID<pMuLo-7Z-5@gated-at.bofh.it>
Hi,

On Sun, 28 Jun 2015 22:17:16 +0200
Bastian Blank <waldi@debian.org> wrote:
> I commited an adopted version to our svn repo.  Please test the changes
> and report back if it actually works.

 We've confirmed that Debian guest works well under Hyper-V host with this
 hyperv-daemons package thanks to Motonobu Takahashi <monyo@samba.org> for
 check :)

-----------------------------------------------------------------------------------
root@sid64-1:~# systemctl | grep hv
hv_fcopy_daemon.service
loaded active running   Hyper-V FCOPY daemon
hv_kvp_daemon.service
loaded active running   Hyper-V KVP daemon
hv_vss_demon.service
loaded active running   Hyper-V VSS daemon

/var/log/messeges
-----
Jul 12 22:17:04 sid64-1 Hyper-V VSS: VSS starting; pid is:449
Jul 12 22:17:04 sid64-1 HV_FCOPY: HV_FCOPY starting; pid is:448
Jul 12 22:17:04 sid64-1 KVP: KVP starting; pid is:447
Jul 12 22:17:04 sid64-1 KVP: KVP LIC Version: 3.1
-----

functions
* KVP <https://technet.microsoft.com/ja-jp/windowsserver/dn575471.aspx>

C:\>cscript kvptest.vbs
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

Guest KVP information for sid64-1

FullyQualifiedDomainName : sid64-1.localdomain
IntegrationServicesVersion : 3.1
NetworkAddressIPv4 : 192.168.20.130
NetworkAddressIPv6 : fe80::215:5dff:fe38:d309
OSBuildNumber : 4.0.0-2-amd64
OSDistributionData : 0
OSDistributionName : 0
OSKernelVersion : 262151
OSMajorVersion :
OSMinorVersion :
OSName : Debian GNU/Linux
OSPlatformId : 129
OSVersion : 4.0.0
ProcessorArchitecture : x86_64


* Copy-VMFile

exec below PowerShell script on Hyper-V host

Copy-VMFile -name sid64-1 -SourcePath .\test.txt -FileSource Host -DestinationPath /tmp

and test.txt was copied to /tmp on Debian guest

* VSS

 On Hyper-V host, run below command and checked log
 wbadmin start backup -hyperv:<VM> -backupTarget:<destination>
-----
Jul 14 23:32:26 sid64-1 Hyper-V VSS: VSS: op=FREEZE: succeeded
Jul 14 23:32:26 sid64-1 Hyper-V VSS: VSS: op=THAW: succeeded
-----

 But there's a problem that guest Debian host should be rebooted to work properly (don' know why yet).
 Anyway, please go a head, will check and fix problem later.

 Oh, and tiny typo in my patch... should be s/demon/daemon/g


-- 
Regards,

 Hideki Yamane     henrich @ debian.or.jp/org
 http://wiki.debian.org/HidekiYamane


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

[toc] | [next] | [standalone]


#50200

FromBen Hutchings <ben@decadent.org.uk>
Date2015-07-15 15:30 +0200
Message-ID<pMuV4-jB-23@gated-at.bofh.it>
In reply to#50199

[Multipart message — attachments visible in raw view] — view raw

On Wed, 2015-07-15 at 22:10 +0900, Hideki Yamane wrote:
> Hi,
> 
> On Sun, 28 Jun 2015 22:17:16 +0200
> Bastian Blank <waldi@debian.org> wrote:
> > I commited an adopted version to our svn repo.  Please test the 
> > changes
> > and report back if it actually works.
> 
>  We've confirmed that Debian guest works well under Hyper-V host with this
>  hyperv-daemons package thanks to Motonobu Takahashi <monyo@samba.org> for
>  check :)
> 
> ---------------------------------------------------------------------
> --------------
> root@sid64-1:~# systemctl | grep hv
> hv_fcopy_daemon.service
> loaded active running   Hyper-V FCOPY daemon
> hv_kvp_daemon.service
> loaded active running   Hyper-V KVP daemon
> hv_vss_demon.service
> loaded active running   Hyper-V VSS daemon
[...]

This is not the version that was uploaded (as Bastian changed the
service names).  Please test the package that's now in experimental.

Ben.

-- 
Ben Hutchings
Beware of bugs in the above code;
I have only proved it correct, not tried it. - Donald Knuth

[toc] | [prev] | [next] | [standalone]


#50201

FromHideki Yamane <henrich@debian.or.jp>
Date2015-07-15 16:00 +0200
Message-ID<pMvo6-S4-1@gated-at.bofh.it>
In reply to#50200
On Wed, 15 Jul 2015 14:25:00 +0100
Ben Hutchings <ben@decadent.org.uk> wrote:
> This is not the version that was uploaded (as Bastian changed the
> service names).  Please test the package that's now in experimental.

 Okay, I'll do, but can I get it from experimental now?
 It seems to be still in NEW and I don't know where I can get it.
 https://ftp-master.debian.org/new/linux-tools_4.1.2-1~exp1.html


-- 
Regards,

 Hideki Yamane     henrich @ debian.or.jp/org
 http://wiki.debian.org/HidekiYamane


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

[toc] | [prev] | [next] | [standalone]


#50202

FromBen Hutchings <ben@decadent.org.uk>
Date2015-07-15 16:20 +0200
Message-ID<pMvHs-1uR-21@gated-at.bofh.it>
In reply to#50201

[Multipart message — attachments visible in raw view] — view raw

On Wed, 2015-07-15 at 22:49 +0900, Hideki Yamane wrote:
> On Wed, 15 Jul 2015 14:25:00 +0100
> Ben Hutchings <ben@decadent.org.uk> wrote:
> > This is not the version that was uploaded (as Bastian changed the
> > service names).  Please test the package that's now in 
> > experimental.
> 
>  Okay, I'll do, but can I get it from experimental now?
>  It seems to be still in NEW and I don't know where I can get it.
>  https://ftp-master.debian.org/new/linux-tools_4.1.2-1~exp1.html

Sorry, try <https://people.debian.org/~benh/packages/>.

Ben.

-- 
Ben Hutchings
Beware of bugs in the above code;
I have only proved it correct, not tried it. - Donald Knuth

[toc] | [prev] | [next] | [standalone]


#50227

FromHideki Yamane <henrich@debian.or.jp>
Date2015-07-19 04:20 +0200
Message-ID<pNMmR-5QL-1@gated-at.bofh.it>
In reply to#50202
On Wed, 15 Jul 2015 15:08:48 +0100
Ben Hutchings <ben@decadent.org.uk> wrote:
> Sorry, try <https://people.debian.org/~benh/packages/>.

 Motonobu confirmed with i386 package works after reboot :)


-- 
Regards,

 Hideki Yamane     henrich @ debian.or.jp/org
 http://wiki.debian.org/HidekiYamane


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

[toc] | [prev] | [next] | [standalone]


#50568

FromChristoph Martin <martin@uni-mainz.de>
Date2015-08-17 15:40 +0200
Message-ID<pYsNQ-jx-11@gated-at.bofh.it>
In reply to#50227
Hi all,

do you see a way to get the tools/hv daemons into the 3.16 kernel for
jessie in a point release?

There are a lot of jessie machines running inside HyperV which will need
it as soon as the new backup method of HyperV servers is used.

Yours
Christoph

Am 19.07.2015 um 04:08 schrieb Hideki Yamane:
> On Wed, 15 Jul 2015 15:08:48 +0100
> Ben Hutchings <ben@decadent.org.uk> wrote:
>> Sorry, try <https://people.debian.org/~benh/packages/>.
> 
>  Motonobu confirmed with i386 package works after reboot :)
> 
> 

[toc] | [prev] | [next] | [standalone]


#50569

FromBastian Blank <waldi@debian.org>
Date2015-08-17 15:50 +0200
Message-ID<pYsXv-va-3@gated-at.bofh.it>
In reply to#50568
Hi Christoph

On Mon, Aug 17, 2015 at 03:23:32PM +0200, Christoph Martin wrote:
> do you see a way to get the tools/hv daemons into the 3.16 kernel for
> jessie in a point release?

It will show up in backports.

> There are a lot of jessie machines running inside HyperV which will need
> it as soon as the new backup method of HyperV servers is used.

Can you explain that a bit more?

Bastian

-- 
Those who hate and fight must stop themselves -- otherwise it is not stopped.
		-- Spock, "Day of the Dove", stardate unknown

[toc] | [prev] | [next] | [standalone]


#50570

FromBen Hutchings <ben@decadent.org.uk>
Date2015-08-17 19:00 +0200
Message-ID<pYvVo-4JW-5@gated-at.bofh.it>
In reply to#50569

[Multipart message — attachments visible in raw view] — view raw

On Mon, 2015-08-17 at 18:48 +0200, Christoph Martin wrote:
> Hi Bastian,
> 
> Am 17.08.2015 um 15:45 schrieb Bastian Blank:
> > Hi Christoph
> > 
> > On Mon, Aug 17, 2015 at 03:23:32PM +0200, Christoph Martin wrote:
> > > do you see a way to get the tools/hv daemons into the 3.16 kernel for
> > > jessie in a point release?
> > 
> > It will show up in backports.
> 
> In backports with 4.1 kernel? Would this package depend on the 4.1
> kernel or would it be installable with a 3.16 kernel?

I think it would work with a Linux 3.16 kernel.

> I could test if the 4.1 binary would run correctly with a 3.16 kernel.
[...]

All the packages for Linux 4.1 are in jessie-backports now, so go ahead
and test.

Ben.

-- 
Ben Hutchings
[W]e found...that it wasn't as easy to get programs right as we had thought.
... I realized that a large part of my life from then on was going to be spent
in finding mistakes in my own programs. - Maurice Wilkes, 1949

[toc] | [prev] | [next] | [standalone]


#50571

FromChristoph Martin <martin@uni-mainz.de>
Date2015-08-17 19:00 +0200
Message-ID<pYvVo-4JW-7@gated-at.bofh.it>
In reply to#50569
Hi Bastian,

Am 17.08.2015 um 15:45 schrieb Bastian Blank:
> Hi Christoph
> 
> On Mon, Aug 17, 2015 at 03:23:32PM +0200, Christoph Martin wrote:
>> do you see a way to get the tools/hv daemons into the 3.16 kernel for
>> jessie in a point release?
> 
> It will show up in backports.

In backports with 4.1 kernel? Would this package depend on the 4.1
kernel or would it be installable with a 3.16 kernel?

I could test if the 4.1 binary would run correctly with a 3.16 kernel.

> 
>> There are a lot of jessie machines running inside HyperV which will need
>> it as soon as the new backup method of HyperV servers is used.
> 
> Can you explain that a bit more?

Windows HyperV 2012 R2 has a feature called "Live virtual machine
backup". To support this from Linux machines you need to run the
vss_daemon. HyperV will send a message to this daemon to shortly freeze
the filesystems to make HyperV able to make a consistent snapshot for a
backup. The deamon will pass this request to the kernel. This
functionality is in 3.16 kernel.

Here are the M$ docs for Debian and Ubuntu:

https://technet.microsoft.com/en-US/library/dn614985.aspx

https://technet.microsoft.com/en-us/library/dn531029.aspx

If you don't run the daemon you might get an I/O error from the virtual
hardware witch results in a readonly fs and possible fs corruption. We
encounted this several times in the last year and it took us a long time
to find the cause.

Since this is in HyperV since 2012 I consider it really important to get
into jessie main or at least officially working for kernel 3.16.

Yours
Christoph

PS: Am am at debconf, if you are there too and want to talk.

[toc] | [prev] | [next] | [standalone]


#50572

FromHideki Yamane <henrich@iijmio-mail.jp>
Date2015-08-17 19:40 +0200
Message-ID<pYwy6-5Iw-15@gated-at.bofh.it>
In reply to#50571
Hi,

On Mon, 17 Aug 2015 18:48:37 +0200
Christoph Martin <martin@uni-mainz.de> wrote:
> Since this is in HyperV since 2012 I consider it really important to get
> into jessie main or at least officially working for kernel 3.16.

 It would be nice if we can push it to jessie point release.
 Then I'll try to ask MS folks to update their document as Debian
 is hyper-v supported distribution.


> PS: Am am at debconf, if you are there too and want to talk.

 I'm at DebConf, too, and will serve some Japanese alcohol in Cheese&Wine party :)

-- 
Hideki Yamane <henrich@iijmio-mail.jp>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web