* xen 4.1.1 + 3.0.0-rc5 dom0 + blktap2
@ 2011-06-29 2:06 Madjik
2011-06-30 10:30 ` Ian Campbell
0 siblings, 1 reply; 11+ messages in thread
From: Madjik @ 2011-06-29 2:06 UTC (permalink / raw)
To: xen-devel
Hi,
I'm currently trying xen 4.1.1 with the 3.0.0-rc5 (heard that it now
contains the xen code to run as front or back xen domain).
Everything seems to run fine, except that I am trying since a few hours
to mount a .vhd file in the dom0.
What I tried so far:
to create a blank vhd file (this is working):
host# vhd-util create -n /storage/test.vhd -s 20G
Then i try to mount the file in dom0 (as stated in a blktap2 README file)
host# tapdisk2 -n vhc:/storage/test.vhd
it fails, returning:
tapdisk2: invalid option -- 'n'
usage: tapdisk2 <-u uuid> <-c control socket>
Then i've tried:
host# tap-ctl list
It returns:
blktap kernel module not installed
Then tried too:
host# xl block-attach 0 tap:vhd:/storage/test.vhd xvda w 0
It does not complain but nothing happens.
Am I getting something wrong about how to do it ? Does the 3.0.0-rc5
kernel is missing something ?
(look like there is no blktap module in the kernel tree, but blkback
that I enabled, don't know if it's the same)
I have no more ideas about what to try next. Any clue ?
Thanks a lot for your help!
Kind regards,
Sébastien
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: xen 4.1.1 + 3.0.0-rc5 dom0 + blktap2
2011-06-29 2:06 xen 4.1.1 + 3.0.0-rc5 dom0 + blktap2 Madjik
@ 2011-06-30 10:30 ` Ian Campbell
2011-06-30 10:55 ` Stefano Stabellini
0 siblings, 1 reply; 11+ messages in thread
From: Ian Campbell @ 2011-06-30 10:30 UTC (permalink / raw)
To: Madjik; +Cc: xen-devel@lists.xensource.com
On Wed, 2011-06-29 at 03:06 +0100, Madjik wrote:
> Hi,
>
> I'm currently trying xen 4.1.1 with the 3.0.0-rc5 (heard that it now
> contains the xen code to run as front or back xen domain).
>
> Everything seems to run fine, except that I am trying since a few hours
> to mount a .vhd file in the dom0.
Everything needed to run a guest is upstream but not everything needed
to run any guest, if you see what I mean. In particular the upstream
kernel contains blkback but not blktap so using a vhd would not be
expected to work today.
I'm afraid blktap is unlikely to be accepted upstream as it is. There is
a plan to remove the kernel component and have guests communicate
directly with the tapdisk process in userspace (via /dev/xen/gtndev et
al). There is no real downside to this since everything goes through
tapdisk anyway. I don't know how advanced that plan is currently.
With the 4.1 release you might be able to use the qdisk (qemu based
backend) to run a VHD but it is known not to perform all that well (and
I don't know off-hand how you enable it). Performance is, AIUI, better
with the upstream qemu port.
Ian.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: xen 4.1.1 + 3.0.0-rc5 dom0 + blktap2
2011-06-30 10:30 ` Ian Campbell
@ 2011-06-30 10:55 ` Stefano Stabellini
2011-06-30 11:00 ` Ian Campbell
0 siblings, 1 reply; 11+ messages in thread
From: Stefano Stabellini @ 2011-06-30 10:55 UTC (permalink / raw)
To: Ian Campbell; +Cc: xen-devel@lists.xensource.com, Madjik
On Thu, 30 Jun 2011, Ian Campbell wrote:
> On Wed, 2011-06-29 at 03:06 +0100, Madjik wrote:
> > Hi,
> >
> > I'm currently trying xen 4.1.1 with the 3.0.0-rc5 (heard that it now
> > contains the xen code to run as front or back xen domain).
> >
> > Everything seems to run fine, except that I am trying since a few hours
> > to mount a .vhd file in the dom0.
>
> Everything needed to run a guest is upstream but not everything needed
> to run any guest, if you see what I mean. In particular the upstream
> kernel contains blkback but not blktap so using a vhd would not be
> expected to work today.
>
> I'm afraid blktap is unlikely to be accepted upstream as it is. There is
> a plan to remove the kernel component and have guests communicate
> directly with the tapdisk process in userspace (via /dev/xen/gtndev et
> al). There is no real downside to this since everything goes through
> tapdisk anyway. I don't know how advanced that plan is currently.
>
> With the 4.1 release you might be able to use the qdisk (qemu based
> backend) to run a VHD but it is known not to perform all that well (and
> I don't know off-hand how you enable it). Performance is, AIUI, better
> with the upstream qemu port.
If you want to run 3.0.0-rc5 as dom0 your best bet would be to convert
your vhd file to a raw file, setup LVM, then dd the raw file into a new
LVM volume. This in order to get the best performances.
Otherwise the easiest thing to do would be to clone a kernel tree that
contains blktap2, I believe Daniel has one based on 3.0, see the thread
"xen 4.1.1 + 3.0.0-rc5 dom0 + blktap2".
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: xen 4.1.1 + 3.0.0-rc5 dom0 + blktap2
2011-06-30 10:55 ` Stefano Stabellini
@ 2011-06-30 11:00 ` Ian Campbell
2011-06-30 11:02 ` Ian Campbell
0 siblings, 1 reply; 11+ messages in thread
From: Ian Campbell @ 2011-06-30 11:00 UTC (permalink / raw)
To: Stefano Stabellini; +Cc: xen-devel@lists.xensource.com, Madjik
On Thu, 2011-06-30 at 11:55 +0100, Stefano Stabellini wrote:
> On Thu, 30 Jun 2011, Ian Campbell wrote:
> > On Wed, 2011-06-29 at 03:06 +0100, Madjik wrote:
> > > Hi,
> > >
> > > I'm currently trying xen 4.1.1 with the 3.0.0-rc5 (heard that it now
> > > contains the xen code to run as front or back xen domain).
> > >
> > > Everything seems to run fine, except that I am trying since a few hours
> > > to mount a .vhd file in the dom0.
> >
> > Everything needed to run a guest is upstream but not everything needed
> > to run any guest, if you see what I mean. In particular the upstream
> > kernel contains blkback but not blktap so using a vhd would not be
> > expected to work today.
> >
> > I'm afraid blktap is unlikely to be accepted upstream as it is. There is
> > a plan to remove the kernel component and have guests communicate
> > directly with the tapdisk process in userspace (via /dev/xen/gtndev et
> > al). There is no real downside to this since everything goes through
> > tapdisk anyway. I don't know how advanced that plan is currently.
> >
> > With the 4.1 release you might be able to use the qdisk (qemu based
> > backend) to run a VHD but it is known not to perform all that well (and
> > I don't know off-hand how you enable it). Performance is, AIUI, better
> > with the upstream qemu port.
>
> If you want to run 3.0.0-rc5 as dom0 your best bet would be to convert
> your vhd file to a raw file, setup LVM, then dd the raw file into a new
> LVM volume. This in order to get the best performances.
>
> Otherwise the easiest thing to do would be to clone a kernel tree that
> contains blktap2, I believe Daniel has one based on 3.0, see the thread
> "xen 4.1.1 + 3.0.0-rc5 dom0 + blktap2".
Um, that's this thread ;-)
Ian.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: xen 4.1.1 + 3.0.0-rc5 dom0 + blktap2
2011-06-30 11:00 ` Ian Campbell
@ 2011-06-30 11:02 ` Ian Campbell
2011-06-30 16:10 ` Sébastien Riccio
0 siblings, 1 reply; 11+ messages in thread
From: Ian Campbell @ 2011-06-30 11:02 UTC (permalink / raw)
To: Stefano Stabellini; +Cc: xen-devel@lists.xensource.com, Madjik
On Thu, 2011-06-30 at 12:00 +0100, Ian Campbell wrote:
> On Thu, 2011-06-30 at 11:55 +0100, Stefano Stabellini wrote:
> > On Thu, 30 Jun 2011, Ian Campbell wrote:
> > Otherwise the easiest thing to do would be to clone a kernel tree that
> > contains blktap2, I believe Daniel has one based on 3.0, see the thread
> > "xen 4.1.1 + 3.0.0-rc5 dom0 + blktap2".
>
> Um, that's this thread ;-)
Oh wait. the same person has started two threads, with the exact same
subject but from different email addresses.
Sebastian / Madjik -- please don't do that!
Ian.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: xen 4.1.1 + 3.0.0-rc5 dom0 + blktap2
2011-06-30 11:02 ` Ian Campbell
@ 2011-06-30 16:10 ` Sébastien Riccio
0 siblings, 0 replies; 11+ messages in thread
From: Sébastien Riccio @ 2011-06-30 16:10 UTC (permalink / raw)
To: Ian Campbell; +Cc: xen-devel@lists.xensource.com, Madjik, Stefano Stabellini
Sorry, that was not intentional. Although I don't understand how I
managed to
send the original mail from both mail accounts accounts :/
On 30.06.2011 13:02, Ian Campbell wrote:
> On Thu, 2011-06-30 at 12:00 +0100, Ian Campbell wrote:
>> On Thu, 2011-06-30 at 11:55 +0100, Stefano Stabellini wrote:
>>> On Thu, 30 Jun 2011, Ian Campbell wrote:
>>> Otherwise the easiest thing to do would be to clone a kernel tree that
>>> contains blktap2, I believe Daniel has one based on 3.0, see the thread
>>> "xen 4.1.1 + 3.0.0-rc5 dom0 + blktap2".
>> Um, that's this thread ;-)
> Oh wait. the same person has started two threads, with the exact same
> subject but from different email addresses.
>
> Sebastian / Madjik -- please don't do that!
>
> Ian.
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* xen 4.1.1 + 3.0.0-rc5 dom0 + blktap2
@ 2011-06-29 2:08 Sébastien Riccio
2011-06-29 2:32 ` Daniel Stodden
0 siblings, 1 reply; 11+ messages in thread
From: Sébastien Riccio @ 2011-06-29 2:08 UTC (permalink / raw)
To: xen-devel
Hi,
I'm currently trying xen 4.1.1 with the 3.0.0-rc5 (heard that it now
contains the xen code to run as front or back xen domain).
Everything seems to run fine, except that I am trying since a few hours
to mount a .vhd file in the dom0.
What I tried so far:
to create a blank vhd file (this is working):
host# vhd-util create -n /storage/test.vhd -s 20G
Then i try to mount the file in dom0 (as stated in a blktap2 README file)
host# tapdisk2 -n vhc:/storage/test.vhd
it fails, returning:
tapdisk2: invalid option -- 'n'
usage: tapdisk2 <-u uuid> <-c control socket>
Then i've tried:
host# tap-ctl list
It returns:
blktap kernel module not installed
Then tried too:
host# xl block-attach 0 tap:vhd:/storage/test.vhd xvda w 0
It does not complain but nothing happens.
Am I getting something wrong about how to do it ? Does the 3.0.0-rc5
kernel is missing something ?
(look like there is no blktap module in the kernel tree, but blkback
that I enabled, don't know if it's the same)
I have no more ideas about what to try next. Any clue ?
Thanks a lot for your help!
Kind regards,
Sébastien
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: xen 4.1.1 + 3.0.0-rc5 dom0 + blktap2
2011-06-29 2:08 Sébastien Riccio
@ 2011-06-29 2:32 ` Daniel Stodden
2011-06-29 2:38 ` Daniel Stodden
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Daniel Stodden @ 2011-06-29 2:32 UTC (permalink / raw)
To: Sébastien Riccio; +Cc: xen-devel@lists.xensource.com
On Tue, 2011-06-28 at 22:08 -0400, Sébastien Riccio wrote:
> Hi,
>
> I'm currently trying xen 4.1.1 with the 3.0.0-rc5 (heard that it now
> contains the xen code to run as front or back xen domain).
>
> Everything seems to run fine, except that I am trying since a few hours
> to mount a .vhd file in the dom0.
>
> What I tried so far:
>
> to create a blank vhd file (this is working):
> host# vhd-util create -n /storage/test.vhd -s 20G
>
> Then i try to mount the file in dom0 (as stated in a blktap2 README file)
> host# tapdisk2 -n vhc:/storage/test.vhd
tap-ctl create -n vhd:/storage/test.vhd # :)
As a rule of thumb, there's no excuse to call tapdisk2 on the command
line. Should actually rather have gone into libexec.
Daniel
> it fails, returning:
> tapdisk2: invalid option -- 'n'
> usage: tapdisk2 <-u uuid> <-c control socket>
>
> Then i've tried:
> host# tap-ctl list
>
> It returns:
> blktap kernel module not installed
>
> Then tried too:
> host# xl block-attach 0 tap:vhd:/storage/test.vhd xvda w 0
>
> It does not complain but nothing happens.
>
> Am I getting something wrong about how to do it ? Does the 3.0.0-rc5
> kernel is missing something ?
> (look like there is no blktap module in the kernel tree, but blkback
> that I enabled, don't know if it's the same)
>
> I have no more ideas about what to try next. Any clue ?
>
> Thanks a lot for your help!
>
> Kind regards,
> Sébastien
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: xen 4.1.1 + 3.0.0-rc5 dom0 + blktap2
2011-06-29 2:32 ` Daniel Stodden
@ 2011-06-29 2:38 ` Daniel Stodden
2011-06-29 2:42 ` Sébastien Riccio
[not found] ` <4E0A90C4.40302@swisscenter.com>
2 siblings, 0 replies; 11+ messages in thread
From: Daniel Stodden @ 2011-06-29 2:38 UTC (permalink / raw)
To: Sébastien Riccio; +Cc: xen-devel@lists.xensource.com
On Tue, 2011-06-28 at 22:32 -0400, Daniel Stodden wrote:
> On Tue, 2011-06-28 at 22:08 -0400, Sébastien Riccio wrote:
> > Hi,
> >
> > I'm currently trying xen 4.1.1 with the 3.0.0-rc5 (heard that it now
> > contains the xen code to run as front or back xen domain).
> >
> > Everything seems to run fine, except that I am trying since a few hours
> > to mount a .vhd file in the dom0.
> >
> > What I tried so far:
> >
> > to create a blank vhd file (this is working):
> > host# vhd-util create -n /storage/test.vhd -s 20G
> >
> > Then i try to mount the file in dom0 (as stated in a blktap2 README file)
> > host# tapdisk2 -n vhc:/storage/test.vhd
>
> tap-ctl create -n vhd:/storage/test.vhd # :)
>
> As a rule of thumb, there's no excuse to call tapdisk2 on the command
> line. Should actually rather have gone into libexec.
>
> Daniel
>
> > it fails, returning:
> > tapdisk2: invalid option -- 'n'
> > usage: tapdisk2 <-u uuid> <-c control socket>
> >
> > Then i've tried:
> > host# tap-ctl list
> >
> > It returns:
> > blktap kernel module not installed
Yeah, we got blk*back* upstream, but not blktap.
You're building from git? Good.
$ git remote add daniel git://xenbits.xensource.com/people/dstodden/linux.git
$ git fetch daniel
$ git merge daniel/blktap/next-2.6.39
There might be a dedicated blktap/next-3.x at some point, but last time
I checked (which was -rc3), it should merge + build just fine.
$ make menuconfig
drivers -> block -> "blktap userspace devices" -> m
$ ...
$ modprobe blktap
Daniel
> > Then tried too:
> > host# xl block-attach 0 tap:vhd:/storage/test.vhd xvda w 0
> >
> > It does not complain but nothing happens.
> >
> > Am I getting something wrong about how to do it ? Does the 3.0.0-rc5
> > kernel is missing something ?
> > (look like there is no blktap module in the kernel tree, but blkback
> > that I enabled, don't know if it's the same)
> >
> > I have no more ideas about what to try next. Any clue ?
> >
> > Thanks a lot for your help!
> >
> > Kind regards,
> > Sébastien
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xensource.com
> > http://lists.xensource.com/xen-devel
>
>
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: xen 4.1.1 + 3.0.0-rc5 dom0 + blktap2
2011-06-29 2:32 ` Daniel Stodden
2011-06-29 2:38 ` Daniel Stodden
@ 2011-06-29 2:42 ` Sébastien Riccio
[not found] ` <4E0A90C4.40302@swisscenter.com>
2 siblings, 0 replies; 11+ messages in thread
From: Sébastien Riccio @ 2011-06-29 2:42 UTC (permalink / raw)
To: xen-devel
On 29.06.2011 04:32, Daniel Stodden wrote:
> On Tue, 2011-06-28 at 22:08 -0400, Sébastien Riccio wrote:
>> Hi,
>>
>> I'm currently trying xen 4.1.1 with the 3.0.0-rc5 (heard that it now
>> contains the xen code to run as front or back xen domain).
>>
>> Everything seems to run fine, except that I am trying since a few hours
>> to mount a .vhd file in the dom0.
>>
>> What I tried so far:
>>
>> to create a blank vhd file (this is working):
>> host# vhd-util create -n /storage/test.vhd -s 20G
>>
>> Then i try to mount the file in dom0 (as stated in a blktap2 README file)
>> host# tapdisk2 -n vhc:/storage/test.vhd
> tap-ctl create -n vhd:/storage/test.vhd # :)
>
> As a rule of thumb, there's no excuse to call tapdisk2 on the command
> line. Should actually rather have gone into libexec.
>
> Daniel
>
Hi Daniel,
Thank you for your help. With this command I still get into the
"blktap kernel module not installed"
I'm using xen 4.1.1 compiled from source with a kernel 3.0.0-rc5 dom0
(compiled with all xen stuff enabled).
Is there missing xen modules in the new kernel ? I try to use most
recent xen enabled kernel. Is there a 2.3.29
xenfified kernel around ?
Thanks again,
Sébastien
^ permalink raw reply [flat|nested] 11+ messages in thread[parent not found: <4E0A90C4.40302@swisscenter.com>]
end of thread, other threads:[~2011-06-30 16:10 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-29 2:06 xen 4.1.1 + 3.0.0-rc5 dom0 + blktap2 Madjik
2011-06-30 10:30 ` Ian Campbell
2011-06-30 10:55 ` Stefano Stabellini
2011-06-30 11:00 ` Ian Campbell
2011-06-30 11:02 ` Ian Campbell
2011-06-30 16:10 ` Sébastien Riccio
-- strict thread matches above, loose matches on Subject: below --
2011-06-29 2:08 Sébastien Riccio
2011-06-29 2:32 ` Daniel Stodden
2011-06-29 2:38 ` Daniel Stodden
2011-06-29 2:42 ` Sébastien Riccio
[not found] ` <4E0A90C4.40302@swisscenter.com>
[not found] ` <1309315788.10719.10.camel@agari.van.xensource.com>
2011-06-29 2:53 ` Sébastien Riccio
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.