Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th April 2006, 11:12
qiu qiu is offline
Member
 
Join Date: Apr 2006
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default Xen compile kernel

In the xen for sage howto there is a part three
http://www.howtoforge.com/perfect_setup_xen3_debian_p3

since I may need ip tables and quote is there a simple way to recompile the kernal i have 2.6 sarge installed. The way to do it in how to is ok but I am finding it difficult to follow.

qiu
Reply With Quote
Sponsored Links
  #2  
Old 13th April 2006, 12:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by qiu
since I may need ip tables and quote is there a simple way to recompile the kernal i have 2.6 sarge installed. The way to do it in how to is ok but I am finding it difficult to follow.
What exactly do you find difficult to follow? You only need to copy & paste from the tutorial.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 13th April 2006, 13:39
qiu qiu is offline
Member
 
Join Date: Apr 2006
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default Xen install

well this for example But it may be quite simple once i know how:


In the kernel comfiguration menu that shows up we enable quota, iptables and the dummy network driver as modules. This is where you enable these modules:

File systems -->[*] Quota support
<M> Old quota format support
<M> Quota format v2 support

Device Drivers ---> Networking support ---> <M> Dummy net driver support

Device Drivers ---> Networking support ---> Networking options --->[*] Network packet filtering (replaces ipchains) ---> IP: Netfilter Configuration ---> <M> IP tables support (required for filtering/masq/NAT)
[*] means: build into the kernel statically.
<M> means: build as a kernel module.


qiu
Reply With Quote
  #4  
Old 13th April 2006, 14:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

When you run
Code:
make menuconfig
, a kernel configuration menu shows up.

Quote:
Device Drivers ---> Networking support ---> <M> Dummy net driver support
for example means: go to Device Drivers, then to Networking Support, and then enable Dummy net driver support as a module (M).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 13th April 2006, 18:20
qiu qiu is offline
Member
 
Join Date: Apr 2006
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default Xen install from source

It semed to go ok I followed your suggestions.

just one small snag at the end

update-rc.d xend defaults 20 21
and
update-rc.d xendomains defaults 21 20

update-rc.d: etc/init.d/xen file does not exist
same for xendomains files does not exist.

i create by touch command xend and xendomains just need to know script to put in file then place in /etc/init.d

Last edited by qiu; 13th April 2006 at 22:28.
Reply With Quote
  #6  
Old 13th April 2006, 22:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Then you did something wrong. What's the output of
Code:
ls -la /etc/init.d
?
Please try to follow the tutorial as close as possible and avoid typos, etc.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 13th April 2006, 23:52
qiu qiu is offline
Member
 
Join Date: Apr 2006
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default Xen install

nit.d$ ls -la
total 240
drwxr-xr-x 2 root root 4096 2006-04-13 15:31 .
drwxr-xr-x 55 root root 4096 2006-04-13 17:06 ..
-rwxr-xr-x 1 root root 1074 2002-01-18 08:13 atd
-rw-r--r-- 1 root root 2593 2004-09-10 16:00 bootclean.sh
-rwxr-xr-x 1 root root 1529 2005-01-04 22:43 bootlogd
-rwxr-xr-x 1 root root 1371 2004-09-10 16:00 bootmisc.sh
-rwxr-xr-x 1 root root 935 2004-09-10 16:00 checkfs.sh
-rwxr-xr-x 1 root root 7160 2004-09-10 16:00 checkroot.sh
-rwxr-xr-x 1 root root 5366 2005-02-05 09:17 console-screen.sh
-rwxr-xr-x 1 root root 1096 2004-07-28 15:12 cron
-rwxr-xr-x 1 root root 7823 2005-01-09 00:16 discover
-rwxr-xr-x 1 root root 729 2005-03-23 18:04 dns-clean
-rwxr-xr-x 1 root root 3888 2005-05-27 08:59 exim4
-rwxr-xr-x 1 root root 811 2004-09-10 16:00 halt
-rwxr-xr-x 1 root root 165 2004-09-10 16:00 hostname.sh
-rwxr-xr-x 1 root root 3344 2005-03-20 01:51 hotplug
-rwxr-xr-x 1 root root 359 2005-03-20 14:09 hotplug-net
-rwxr-xr-x 1 root root 3499 2005-09-18 08:04 hwclockfirst.sh
-rwxr-xr-x 1 root root 3638 2005-09-18 08:04 hwclock.sh
-rwxr-xr-x 1 root root 2240 2005-05-02 14:57 ifupdown
-rwxr-xr-x 1 root root 802 2005-04-04 14:33 ifupdown-clean
-rwxr-xr-x 1 root root 1764 2004-10-24 17:28 inetd
-rwxr-xr-x 1 root root 658 2005-04-10 23:35 initrd-tools.sh
-rwxr-xr-x 1 root root 2923 2005-02-04 19:30 keymap.sh
-rwxr-xr-x 1 root root 1346 2005-05-25 19:21 klogd
-rwxr-xr-x 1 root root 775 2004-07-05 07:46 lpd
-rwxr-xr-x 1 root root 798 2004-08-18 19:43 makedev
-rwxr-xr-x 1 root root 1320 2005-01-26 20:55 module-init-tools
-rwxr-xr-x 1 root root 864 2004-12-19 10:40 modutils
-rwxr-xr-x 1 root root 1033 2004-09-10 16:00 mountall.sh
-rwxr-xr-x 1 root root 1619 2004-09-10 16:02 mountnfs.sh
-rwxr-xr-x 1 root root 4872 2004-09-10 16:00 mountvirtfs
-rwxr-xr-x 1 root root 2651 2005-03-21 18:49 networking
-rwxr-xr-x 1 root root 1984 2005-01-05 12:38 nfs-common
-rwxr-xr-x 1 root root 2305 2005-03-06 23:29 nviboot
-rwxr-xr-x 1 root root 5579 2005-01-14 18:27 pcmcia
-rwxr-xr-x 1 root root 1076 2005-03-20 08:04 portmap
-rwxr-xr-x 1 root root 1452 2005-02-25 18:45 ppp
-rwxr-xr-x 1 root root 189 2003-08-11 01:59 pppd-dns
-rwxr-xr-x 1 root root 1039 2004-04-13 06:26 procps.sh
-rwxr-xr-x 1 root root 2235 2004-09-10 16:00 rc
-rwxr-xr-x 1 root root 1190 2004-09-10 16:00 rcS
-rw-r--r-- 1 root root 846 2004-09-10 16:00 README
-rwxr-xr-x 1 root root 197 2004-09-10 16:00 reboot
-rwxr-xr-x 1 root root 457 2004-09-10 16:00 rmnologin
-rwxr-xr-x 1 root root 433 2004-11-14 18:26 screen-cleanup
-rwxr-xr-x 1 root root 358 2004-09-10 16:00 sendsigs
-rwxr-xr-x 1 root root 591 2004-09-10 16:00 single
-rwxr-xr-x 1 root root 2111 2004-09-10 16:00 skeleton
-rwxr-xr-x 1 root root 1891 2004-11-28 15:33 ssh
lrwxrwxrwx 1 root root 8 2006-04-09 10:06 stop-bootlogd -> bootlogd
-rwxr-xr-x 1 root root 2077 2005-05-25 19:21 sysklogd
-rwxr-xr-x 1 root root 509 2004-09-10 16:00 umountfs
-rwxr-xr-x 1 root root 1291 2004-09-10 16:00 umountnfs.sh
-rwxr-xr-x 1 root root 1381 2004-09-10 16:00 urandom
-rwxr-xr-x 1 root root 1963 2005-02-11 07:11 xfree86-common
Reply With Quote
  #8  
Old 14th April 2006, 00:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

xend and xendomains are missing. Please re-do the steps from http://www.howtoforge.com/perfect_setup_xen3_debian_p3
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 14th April 2006, 00:06
qiu qiu is offline
Member
 
Join Date: Apr 2006
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default Xen install

the whole page 3 ok
delete the sorce xen 3.0.1 file also and download again?

qiu

ps i think on page 3 apt-get install libcurl3-dev has been entered twice?

Last edited by qiu; 14th April 2006 at 00:14.
Reply With Quote
  #10  
Old 14th April 2006, 14:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by qiu
the whole page 3 ok
delete the sorce xen 3.0.1 file also and download again?
No, you don't need to download it again.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile Kernel 2.6 under Debian Sarge falko Kernel Questions 117 28th September 2009 13:03
Compile Kernel 2.6 under Debian Sarge falko HOWTO-Related Questions 5 17th October 2008 13:58
Compile a new kernel mphayesuk Kernel Questions 3 4th April 2006 14:33
segmentation fault part 2 hotchilli Installation/Configuration 0 30th March 2006 16:01
Questions about ubuntu ISP-Server Setup badgerbox76 HOWTO-Related Questions 15 5th March 2006 14:41


All times are GMT +2. The time now is 09:26.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.