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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 20th April 2006, 01:19
qiu qiu is offline
Member
 
Join Date: Apr 2006
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default xen 3.0.1

hanks for your post.

There comes a time when we have to realistic about this howto.

My last attempt was over a 2.5 hour period from installing from scratch,
a typo has not been made.

I could go ongetting the same error and
it is not a fair soultion at this stage to say it was a typo.


copy and paste is not a option at the moment as I have no web browser
but I did print out the howto and this is what i did its very simple.

apt-get remove
exim4 exim4-base lpr nfs-common portmap pidentd pcmcia-cs pppoe pppoeconf ppp pppconfig
atp-get install
iproute bridge-utils python-twisted gcc-3.3 binutils make libcurl3-dev zlib1g-dev python-dev transfig bzip2 screen ssh debootstrap libncurses5-dev

i have untared xen once and use a copy of this directory xen-3.0.1
each time i needed to placeing it in /usr/src

cd xen-3.0.1/
make world

cd linux-2.6.12-xen0
ARCH=xen
export ARCH
make oldconfig
make menuconfig

place a * in this case y key on keypad
and M
* quota support
M old quota format support
M quota format v2 support
M dummy net driver support
* network packet filtering(replaces ipchains)
M IP tables support (required for filtering/masq/NAT)

exit
save

linux-2.6.12-xen0 make
make install

cd into linux-2.6.12-xenU
ARCH=xen
export ARCH
make oldconfig
make menuconfig

same as above but no dummy net driver support
exit
save

cd to linux-2.6.12-xenU make
make install
mv /libtls /lib/tls.disabled

update-rc.d xend defaults 20 21
this is where the error message is

I did notice that during the make command of linux-2.6.12-xen0
there was a warning message
drivers/scsi/BusLogic
Abort Logic command defined but not used.

qiu
ps could it be that xen cannot find the path to /etc/init.d?

Last edited by qiu; 20th April 2006 at 11:19.
Reply With Quote
Sponsored Links
  #12  
Old 20th April 2006, 18:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Do you see any errors during
Code:
make world
?
__________________
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
  #13  
Old 20th April 2006, 18:30
qiu qiu is offline
Member
 
Join Date: Apr 2006
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default xen 3.0.1

where are the logs for make world?
or do i watch the screen, pretty fast at times


qiu
Reply With Quote
  #14  
Old 21st April 2006, 13:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

You can redirect the output of make world into a file, like this:
Code:
make world > makeworld.log
__________________
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
  #15  
Old 21st April 2006, 17:49
qiu qiu is offline
Member
 
Join Date: Apr 2006
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default make world

rm cannot remove tmp-pristine linux 2.6.12/pax_global_header no such file or directory
(ignore)

-------------------------------------------------------
makw world error Weror?
goes on yeond 20, 000 charters.



ake[3]: Entering directory `/usr/src/xen-3.0.1/xen'
tools/figlet/figlet -d tools/figlet Xen 3.0.1 > include/xen/banner.h.new
make[3]: Leaving directory `/usr/src/xen-3.0.1/xen'
make include/xen/acm_policy.h
make[3]: Entering directory `/usr/src/xen-3.0.1/xen'
make[3]: Leaving directory `/usr/src/xen-3.0.1/xen'
[ -e include/asm ] || ln -sf asm-x86 include/asm
make -C arch/x86 asm-offsets.s
make[3]: Entering directory `/usr/src/xen-3.0.1/xen/arch/x86'
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-3.0.1/xen/include -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-generic -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -S -o asm-offsets.s x86_32/asm-offsets.c
make[3]: Leaving directory `/usr/src/xen-3.0.1/xen/arch/x86'
make include/asm-x86/asm-offsets.h
make[3]: Entering directory `/usr/src/xen-3.0.1/xen'
make[3]: Leaving directory `/usr/src/xen-3.0.1/xen'
make -C common
make[3]: Entering directory `/usr/src/xen-3.0.1/xen/common'
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-3.0.1/xen/include -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-generic -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c acm_ops.c -o acm_ops.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-3.0.1/xen/include -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-generic -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c bitmap.c -o bitmap.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-3.0.1/xen/include -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-generic -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c dom0_ops.c -o dom0_ops.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-3.0.1/xen/include -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-generic -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c domain.c -o domain.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-3.0.1/xen/include -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-generic -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c elf.c -o elf.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-3.0.1/xen/include -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-generic -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c event_channel.c -o event_channel.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-3.0.1/xen/include -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-generic -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c grant_table.c -o grant_table.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-3.0.1/xen/include -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-generic -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c kernel.c -o kernel.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-3.0.1/xen/include -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-generic -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c keyhandler.c -o keyhandler.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-3.0.1/xen/include -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-generic -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c lib.c -o lib.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-3.0.1/xen/include -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-generic -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c memory.c -o memory.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-3.0.1/xen/include -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-generic -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c multicall.c -o multicall.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-3.0.1/xen/include -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-generic -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c page_alloc.c -o page_alloc.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-3.0.1/xen/include -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-generic -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c rangeset.c -o rangeset.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-3.0.1/xen/include -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-generic -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c sched_bvt.c -o sched_bvt.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-3.0.1/xen/include -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-generic -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c sched_sedf.c -o sched_sedf.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-3.0.1/xen/include -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-generic -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c schedule.c -o schedule.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-3.0.1/xen/include -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-generic -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c softirq.c -o softirq.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-3.0.1/xen/include -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-generic -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c string.c -o string.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-3.0.1/xen/include -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-generic -I/usr/src/xen-3.0.1/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c symbols.c -o symbols.o

Last edited by qiu; 21st April 2006 at 17:58.
Reply With Quote
  #16  
Old 21st April 2006, 18:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

This isn't the whole output, is it? What's at the end?
__________________
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
  #17  
Old 21st April 2006, 19:50
qiu qiu is offline
Member
 
Join Date: Apr 2006
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default xen 3.0.1

http://pastebin.ca/50442

There were some other messages that came came up on the
screen while the makeworld.log was being generated
this information may or may not be relevant here it is :

rm; cannot remove 'tmp-pristine-linux-2.6.12/pax_global_header' no such file or directory.

make [3]: [pristine-linux-2.6.12/.valid-pristine] Error1
(ignore)

kernel/intermodule.c.179 : warning 'inter_module_register is deprecated (declared at
kernel/intermodule.c:38

the same warning also occured for inter_module_unregister and inter_module_put

drivers/scsi/Buglogic.c.587 warning 'check_region is deprecated (declare at include/linux/ioport.h.124
same warning at c.799 c.809 c.811 c.813 c.815 and c.817

In function Buslogic_InitilizeMultiMasterProbeInfo
drivers/scsi/Buslogic.c.799

drivers/scsi/Buslogic.:2954 warning Buslogic_AbortCommand defined but not used

Last edited by qiu; 22nd April 2006 at 11:43.
Reply With Quote
  #18  
Old 22nd April 2006, 11:43
qiu qiu is offline
Member
 
Join Date: Apr 2006
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default xen 3.0.1

Auuming that the pastebin looks ok and that the above additions are irrelevent
lets move on now.

[
Since we have just about exhausted the posibilties in the xen-3.0.1 source
package I was looking towards the first option in the xen howto which is
unfortuanatly doing without quota and IP tables.


The ./install command in the updated version now available at xen web site (xen-3.0.2.-2-install this not the source package ) does not create xen0 and
xenU it only creates on single directory xen.

Now I am aware that with the new source package xen-3.0.2-2 in the readme it says that at the make world command you must do like so make world KERNELS="linux-2.6-xen0 linux-2.6-xenU".

my question is at the ./install comand prompt in the xen-3.0.2-2-install is it ok
to issue the command
./install KERNELS="linux-2.6-xen0 linux-2.6-xenU". ?

Last edited by qiu; 22nd April 2006 at 11:45.
Reply With Quote
  #19  
Old 22nd April 2006, 16:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Quote:
Originally Posted by qiu
Now I am aware that with the new source package xen-3.0.2-2 in the readme it says that at the make world command you must do like so make world KERNELS="linux-2.6-xen0 linux-2.6-xenU".

my question is at the ./install comand prompt in the xen-3.0.2-2-install is it ok
to issue the command
./install KERNELS="linux-2.6-xen0 linux-2.6-xenU". ?
What exactly does the README say?
__________________
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
  #20  
Old 22nd April 2006, 19:23
qiu qiu is offline
Member
 
Join Date: Apr 2006
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default xen 3.0.1

Did you have time to read what was posted in the pastebin?


#
sh ./docs/check_pkgs && make -C docs install || true
#
*************************************************
#
*************************************************
#
* WARNING: Package 'latex' is required
#
* to build Xen documentation
#
*************************************************
#
*************************************************

If i installed txt/latex first then make world would built completly would it make any difference?

qiu

Last edited by qiu; 22nd April 2006 at 20:00.
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


All times are GMT +2. The time now is 04:03.


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