Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm taking a class on cloud computing and we're using CentOS 5.5 with xen. When I tried to run mkinitrd to build a vm, I got a message that xenblk was not found, and indeed I can't find the xenblk.ko or xennet.ko drivers. My instructor gave us the commands to build the vm, but I don't know how to install these drivers.

Quick and dirty, please. What's the best way to get a working version of this up and running? I'm running CentOS on VMWorkstation on Windows7 and it doesn't give me many options for install (it does an easy install, even advanced limits options quite a bit) but I can build another vm there's a kernel that has these drivers installed.

Sorry for such a homeworky question but these things are getting shoved in this direction by the StackExchange.

share|improve this question
    
uname -r will show what ? –  silviud Jun 11 '11 at 21:56
    
So you're using VMWorkstation to virtualize a CentOS box that will run XEN? You'd be much better dual-booting with CentOS then XEN can take full advantage of any hardware virutalization and the system resources. Have you tried a yum whatprovides? –  sam Jun 11 '11 at 22:51
    
@silviud uname -r shows 2.6.18-238.12.1.el5 @samarudge I agree, and so does my instructor (he gave me credit for the assignment because I've done so much research on the issue). But I only have an Ubuntu install on bare metal; CentOS was just for the class so I ran it in the box. It worked for everything else! (LAMP and what have you) –  Ele Munjeli Jun 12 '11 at 0:35
add comment

1 Answer 1

Install the kernel-xen package. It provides xenblk.ko.

share|improve this answer
    
There's a post here that discusses the issue I think: zoetrope.speakermouth.com/2008/2/6/… I installed kernel-xen but didn't get these drivers. The xen install was done after the CentOS install from the command line. I can't seem to find the drivers themselves and install them. –  Ele Munjeli Jun 12 '11 at 0:48
    
Its not pressing anymore: I got credit for the assignment, but I'm curious as to how to get the drivers and install them. There are a few people with this issue and the workarounds seem complicated, i.e. rebuilding the kernel. I'm new to CentOS, but for cryin' out loud, is it such a big deal to install a couple of drivers? –  Ele Munjeli Jun 12 '11 at 0:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.