LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 07-27-2010, 08:47 AM   #1
Viruzzz-kun
LQ Newbie
 
Registered: Jul 2010
Location: Astrakhan, Russia
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
Bringing up Xen 4.0.0 in Slackware64 13.1


Hi!
I'm a little stuck %subj%.
I have built Xen itself, Xen tools and even two kernels (one using Xen's standard make procedure and one using -kernel-2.6 key). The second kernel doesn't work at all, but first loads only without Xen. Under Xen is panics saying it cannot mount root file system on unknown-block(2,0) and prints all my actual partitions.

Here is what I have in grub.cfg
Code:
menuentry "Xen 4.0.0 @ 2.6.31.13" {
        set root=(hd0,1)
        multiboot /boot/xen-4.0.0.gz dom0_mem=512M
        module /boot/vmlinuz-2.6.31.13 root=/dev/sda1 rdinit= ro
}
menuentry "Linux kernel 2.6.31.13" {
        set root=(hd0,1)
        linux /boot/vmlinuz-2.6.31.13 root=/dev/sda1 rdinit= ro
}
...Maybe the problem is that Slackware uses 2.6.33.4 by default?
And, by the way, maybe, there is a way to patch 2.6.33.4 (or later) kernel to work as dom0?
 
Old 07-27-2010, 10:40 AM   #2
Viruzzz-kun
LQ Newbie
 
Registered: Jul 2010
Location: Astrakhan, Russia
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
Talking

ZOMG! I did it somehow.
I made initrd by the template from this post: http://www.linuxquestions.org/questi...-panic-593521/ but in a little different way:

mkinitrd -c -k 2.6.33.4 -m ext3:ext4 -s /boot/xen-tree -o /boot/unknown64.gz -f ext3 -r /dev/sda1

I used newer kernel to build initrd and deleted stupid "rdinit=" kernel parameters.
Now, the problem is to make 2.6.31.13 kernel work as my 2.6.33.4 does or to rebuild Xen with 2.6.33.4 as its dom0 kernel. Is it possible or I'm just losing time?

P.S. I recompiled the kernels. None of them work as they should.
2.6.31.13 starts, but doesn't load ext4, audio and several other modules;
2.6.18.8-xen0 barely starts, but fails to load completely;
2.6.34.1 blanks the screen right after loading Xen and stops reacting.
Now, I'm stuck again. >___< What am I doing wrong?

Last edited by Viruzzz-kun; 07-27-2010 at 03:12 PM.
 
Old 08-03-2010, 04:56 AM   #3
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware
Posts: 572

Rep: Reputation: 154Reputation: 154
Deleted - Sorry

Last edited by ChrisAbela; 08-03-2010 at 04:59 AM.
 
Old 08-09-2010, 04:13 AM   #4
Viruzzz-kun
LQ Newbie
 
Registered: Jul 2010
Location: Astrakhan, Russia
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ChrisAbela View Post
Deleted - Sorry
Thanx. I've watched the video, but I still don't see what to do. The video clip assumes, that XEN is already installed and running (if I understand right), but I can't even boot the kernel... By the way, I almost give up already...
 
Old 08-16-2010, 03:15 PM   #5
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware
Posts: 572

Rep: Reputation: 154Reputation: 154
Sorry for the delay in answering as I was on holiday.

Installing Xen on Slackware is not easy but it can be done. I have compiled some documentation on how to proceed but it I cannot paste here as there are many config files. Originally it was intended for a slackbuilds.org submission, but since it does not work on Slack32, I decided not to submit. Anyway if you are still interested, include a valid email address where I can send it to you in a neat tarball, as I cannot attach it here.

Chris
 
Old 08-28-2010, 02:44 AM   #6
Viruzzz-kun
LQ Newbie
 
Registered: Jul 2010
Location: Astrakhan, Russia
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
Actually, I almost gave up installing Xen, so I bought another PC, but it'd be great to know, how to install it.

Last edited by Viruzzz-kun; 08-29-2010 at 02:54 AM.
 
  


Reply

Tags
slackware, xen



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup Slackware64 HVM with Xen Dom0 Kernel 2.6.31.4 in Fedora 11 x86-64 Dom0 Teo En Ming Linux - Virtualization and Cloud 0 11-01-2009 08:24 AM
Updating from Slackware64-current to Slackware64 13. glore2002 Slackware 4 08-28-2009 06:50 PM
[SOLVED] Slackware64-C client wont detect Slackware64-C Samba server slackass Slackware 5 08-07-2009 11:23 PM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 11-05-2006 12:21 PM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 10-21-2006 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 07:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration