xen 4.1.1 + 3.0.0-rc5 dom0 + blktap2
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
Quoted 8 lines · Sébastien Riccio
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.
Quoted 7 lines
What I tried so far:
to create a blank vhd file (this is working):
host# vhd-util create -n /storage/test.vhd -s 20GThen 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
Quoted 31 lines
it fails, returning:
tapdisk2: invalid option -- 'n'
usage: tapdisk2 <-u uuid> <-c control socket>Then i've tried:
host# tap-ctl listIt returns:
blktap kernel module not installedThen tried too:
host# xl block-attach 0 tap:vhd:/storage/test.vhd xvda w 0It 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
[email protected]
http://lists.xensource.com/xen-devel
Quoted 17 lines · Daniel Stodden
Quoted 8 lines · Sébastien Riccio
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.
Quoted 7 lines
What I tried so far:
to create a blank vhd file (this is working):
host# vhd-util create -n /storage/test.vhd -s 20GThen i try to mount the file in dom0 (as stated in a blktap2 README file) host# tapdisk2 -n vhc:/storage/test.vhd
Quoted 16 lines
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
Quoted 9 lines
it fails, returning:
tapdisk2: invalid option -- 'n'
usage: tapdisk2 <-u uuid> <-c control socket>Then i've tried:
host# tap-ctl listIt 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
Quoted 23 lines
Quoted 21 lines
Then tried too:
host# xl block-attach 0 tap:vhd:/storage/test.vhd xvda w 0It 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
[email protected]
http://lists.xensource.com/xen-devel
Quoted 14 lines · Daniel Stodden
Quoted 13 lines · Sébastien Riccio
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
Quoted 9 lines
Quoted 2 lines
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
Quoted 12 lines · Daniel Stodden
Quoted 10 lines · Sébastien Riccio
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 ?
Quoted 7 lines
Replies racing. See my related later mail. You'll need to merge a sufficiently recent blktap, I'd suggest to just pick it from here:
Daniel
Hehe, true, some reply racing occured here. I just read your precedent mail and it's now everything is crystal clear.
Thanks again for your help!
Best regards,
Sébastien