sargeDebian GNU/Linux, kernel 2.6.8-3-686 and Debian kernel 2.6.8 386-

Discussion in 'Kernel Questions' started by qiu, Apr 17, 2006.

  1. qiu

    qiu New Member

    Seem to get this read out in kernel.log. with ACPI:

    #
    Apr 17 09:52:21 localhost kernel: checking if image is initramfs...it isn't (ungzip failed); looks like an initrd
    #
    Apr 17 09:52:21 localhost kernel: Freeing initrd memory: 4528k freed
    #
    Apr 17 09:52:21 localhost kernel: NET: Registered protocol family 16
    #
    Apr 17 09:52:21 localhost kernel: PCI: PCI BIOS revision 2.10 entry at 0xfd768, last bus=2
    #
    Apr 17 09:52:21 localhost kernel: PCI: Using configuration type 1
    #
    Apr 17 09:52:21 localhost kernel: mtrr: v2.0 (20020519)
    #
    Apr 17 09:52:21 localhost kernel: ACPI: Subsystem revision 20040326
    #
    Apr 17 09:52:21 localhost kernel: ACPI-0352: *** Error: Looking up [Z00B] in namespace, AE_NOT_FOUND
    #
    Apr 17 09:52:21 localhost kernel: search_node ebaff180 start_node ebaff180 return_node 00000000
    #
    Apr 17 09:52:21 localhost kernel: ACPI-1133: *** Error: [NULL NAME], AE_NOT_FOUND
    #
    Apr 17 09:52:21 localhost kernel: ACPI: Interpreter enabled


    -----------------------------------------------------------------------


    there is this page that tels me how to install
    http://acpi.sourceforge.net/download.html and
    have found a dstl.dsl for my labtop

    i WAS think of following the howto
    http://www.howtoforge.com/forums/showthread.php?t=21

    Thinking of this#


    source installed but not complied
    as per your howto above

    go to the download http://acpi.sourceforge.net/download.html
    do
    cd <path to unpacked linux sources> (e.g. /usr/src/linux)
    $ bunzip2 -c <path to acpi-patch>/acpi-<version>.diff.bz2 | patch -p1 OR
    $ gunzip -c <path to acpi-patch>/acpi-<version>.diff.gz | patch -p1





    go back to howto forge page making the source


    its only a idea to fix my ACPI problem
    which does not let me reboot on my labtop


    also not sure if it also effects xen install
    http://www.howtoforge.com/forums/showthread.php?t=3687&page=2


    qiu:)
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. qiu

    qiu New Member

    sarge kernel

    thats the thing do i have xen installed?

    if you see the last url in the last post I still have a problem
    http://www.howtoforge.com/forums/sho...?t=3687&page=2

    I think it may be better to concentrate on xen rather than other
    issues


    one of the most confusing things that really got me thinking
    was that you told me the start from page 3 again in the
    xen howto and I asked should i download the suorce file
    again . to which you replied there was no need.

    looking inside the xen folder i find directories as folows

    otal 39048
    drwxr-xr-x 14 bliss1 src 4096 2006-04-15 13:15 .
    drwxrwsr-x 3 root src 4096 2006-04-17 21:10 ..
    drwxr-xr-x 2 bliss1 src 4096 2006-04-13 23:31 buildconfigs
    -rw-r--r-- 1 bliss1 src 2321135 2006-01-31 16:09 ChangeLog
    -rw-r--r-- 1 bliss1 src 2126 2006-01-31 16:09 Config.mk
    -rw-r--r-- 1 bliss1 src 19355 2006-01-31 16:09 COPYING
    drwxr-xr-x 4 root root 4096 2006-04-15 13:23 dist
    drwxr-xr-x 6 bliss1 src 4096 2006-04-13 23:31 docs
    drwxr-xr-x 3 bliss1 src 4096 2006-04-13 23:31 extras
    -rwxr-xr-x 1 bliss1 src 1081 2006-01-31 16:09 install.sh
    -rw-r--r-- 1 root root 37511570 2005-06-17 23:12 linux-2.6.12.tar.bz2
    drwxr-xr-x 19 root root 4096 2006-04-15 13:47 linux-2.6.12-xen0
    drwxr-xr-x 19 root root 4096 2006-04-15 14:00 linux-2.6.12-xenU
    drwxr-xr-x 8 bliss1 src 4096 2006-04-13 23:31 linux-2.6-xen-sparse
    -rw-r--r-- 1 bliss1 src 6815 2006-01-31 16:09 Makefile
    drwxr-xr-x 3 bliss1 src 4096 2006-04-13 23:31 patches
    drwxr-xr-x 18 root root 4096 2006-04-15 13:02 pristine-linux-2.6.12
    -rw-r--r-- 1 bliss1 src 6383 2006-01-31 16:09 README
    drwxr-xr-x 18 root root 4096 2006-04-15 13:02 ref-linux-2.6.12
    drwxr-xr-x 26 bliss1 src 4096 2006-04-13 23:31 tools
    drwxr-xr-x 8 bliss1 src 4096 2006-04-15 12:56 xen



    I have started from page3 of the howto twice with the same xen 3.0,1 directory and get the same error messages

    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.


    qiu
     
    Last edited: Apr 18, 2006
  4. falko

    falko Super Moderator Howtoforge Staff

    Unless you deleted the Xen sources, there's no need to download them again. Of course, you must know where you saved them.
     
  5. qiu

    qiu New Member

    xen 3.0.1

    Falko!

    The only folder in usr/src is xen 3.0.1 you can see the ls -la in my last post.

    I did the install according to the howto with careful attention to detail however I am
    still in a postition with the same error message as you see in my last post.

    So I am wondering how to proceed.



    qiu:)

    ps; I notice that if you download from xen from the link in the howto they seem to have updated the source file to 3.0.2
     
    Last edited: Apr 18, 2006
  6. falko

    falko Super Moderator Howtoforge Staff

    Please do this:
    Code:
    cd /usr/src
    rm -fr xen-3.0.1
    tar -xvzf xen-3.0.1-src.tgz
    cd xen-3.0.1/
    make world
    and then do all the other steps from page 3.
     
  7. qiu

    qiu New Member

    xen 3.0.1

    Tried your suggestion.

    I thought this time it took longer to complete and felt iy would work
    but same error message as first and second time.

    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.





    qiu:rolleyes:
     
    Last edited: Apr 19, 2006
  8. falko

    falko Super Moderator Howtoforge Staff

    Then there must be another problem. I suggest you try the Xen tutorial again from the beginning (the best would be to do it on a freshly-installed Debian), and please make sure you follow it to the letter and don't make any typos.
     
  9. qiu

    qiu New Member

    xen 3.0.1

    reinstalled debian forom stratch followed howto to letter same error.

    qiu
     
  10. falko

    falko Super Moderator Howtoforge Staff

    Please make sure you copy & paste the commands from the tutorial. I guess you made a typo somewhere.
     
  11. qiu

    qiu New Member

    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: Apr 20, 2006
  12. falko

    falko Super Moderator Howtoforge Staff

    Do you see any errors during
    Code:
    make world
    ?
     
  13. qiu

    qiu New Member

    xen 3.0.1

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


    qiu
     
  14. falko

    falko Super Moderator Howtoforge Staff

    You can redirect the output of make world into a file, like this:
    Code:
    make world > makeworld.log
     
  15. qiu

    qiu New Member

    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: Apr 21, 2006
  16. falko

    falko Super Moderator Howtoforge Staff

    This isn't the whole output, is it? What's at the end?
     
  17. qiu

    qiu New Member

    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: Apr 22, 2006
  18. qiu

    qiu New Member

    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: Apr 22, 2006
  19. falko

    falko Super Moderator Howtoforge Staff

    What exactly does the README say?
     
  20. qiu

    qiu New Member

    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: Apr 22, 2006

Share This Page