Re: [Xen-users] Iptables & compiling

Xen Help
Wed, 13 Dec 2006 23:44:28 -0000

David Johnson wrote:
> CentOS4.4
>
>

Ok, this is from my notes:

1. Installed lean version of CentOs
2. Installed everything as listed here
http://mark.foster.cc/wiki/index.php/Xen_on_CentOS-4 (and the README
from the source code)
3. Download Xen source from its source; untar it and read the README
4. do not edit the .config unless you know what you do or want to spend
months experimenting
5. if you get an error, read it and try to figure out what package your
missing
6. when compiled ok do the last thing in the readme: depmod -a and the
mkinitrd stuff; IMPORTANT run the install.sh script.
7. then you are ready to go, if it is not working (as was my case) you
might need the 2 kernel version
if 7 then
8. do the make as explained in the README to build dom0 and domU; re run
the install script.
9. setup your grub to use the dom0 and your domU config to use the right
kernel and initrd

You should be up and running.

My only problem left is with iptables which somehow is not working,
somehow not loading modules or else.
lsmod only provides this and I try to compile with netfilters BUT I am
not familiar enough yet with the Makefile of Xen.
I did get an error about Microcode stuff but...
This is pretty much trial and error work, it is a pitty the doc is so
scarce, most friends have switched over to Vmware:

lsmod:
Module                  Size  Used by
video                  13988  0
thermal                10696  0
processor              15184  1 thermal
fan                     3236  0
button                  4912  0
battery                 7556  0
ac                      3396  0


[root@localhost ~]# iptables -L
iptables v1.2.11: can''t initialize iptables table `filter'':
iptables
who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

I hope to fix it once and for all before the new years.

I hope this helps

++
> On 12/13/06 4:22 PM, "Steven Dugway"
<steven@savetimehosting.net> wrote:
>
>
>> David Johnson wrote:
>>
>>> Can you send me a quick how to on your install!?
>>>
>>>
>> Which one, CentOs or FC6 ?
>>
>> ++
>>
>>> On 12/13/06 2:42 PM, "Xen Help"
<steven@savetimehosting.net> wrote:
>>>
>>>
>>>
>>>> Hi,
>>>>
>>>> I got an almost succesfull CentOs dom0 and domU up and running
except
>>>> for iptables.
>>>> Is it included by default in the dowloaded pristine kernel or
do I have
>>>> to patch my kernel to enable it ?
>>>>
>>>> Regards,
>>>>
>>>>
>>> Sincerely,
>>>
>>>
>>> David Johnson
>>> drjohnson@sbo.hampton.k12.va.us
>>> Hampton City Schools
>>> One Franklin Street
>>> Hampton, Virginia 23669
>>> 757.727.2061 office
>>> 757.592.3833 mobile
>>> 27 internal dc
>>>
===========================================================================>>>
The information contained in this message is intended only for
>>> the recipient, and may otherwise be privileged and confidential.
>>> If the reader of this message is not the intended recipient, or an
employee
>>> or agent responsible for delivering this message to
>>> the intended recipient, please be aware that any dissemination or
copying of
>>> this communication is strictly prohibited.
>>> If you have received this communication in error, please
immediately notify
>>> us by replying to the message and deleting it from your computer.
>>> This footnote also confirms that this email has been scanned for
all viruses
>>> by the Hampton City Schools Information Systems service.
>>>
>>>
>>>
>>>
>
> Sincerely,
>
>
> David Johnson
> drjohnson@sbo.hampton.k12.va.us
> Hampton City Schools
> One Franklin Street
> Hampton, Virginia 23669
> 757.727.2061 office
> 757.592.3833 mobile
> 27 internal dc
>
===========================================================================>
The information contained in this message is intended only for
> the recipient, and may otherwise be privileged and confidential.
> If the reader of this message is not the intended recipient, or an employee
> or agent responsible for delivering this message to
> the intended recipient, please be aware that any dissemination or copying
of
> this communication is strictly prohibited.
> If you have received this communication in error, please immediately notify
> us by replying to the message and deleting it from your computer.
> This footnote also confirms that this email has been scanned for all
viruses
> by the Hampton City Schools Information Systems service.
>
>
>

--
Virtual Space International Inc.
Steven Dugway USA 206-734-HOST Canada 514-939-HOST (4678) ext 5
--------------------------------------------------------------
Internet Is Here To Stay, Make Sure Your Business Is!
--------------------------------------------------------------