[solved]zen sources, kernel compilation problem

scripts/kconfig/conf -s arch/x86/Kconfig
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
GZIP kernel/config_data.gz
IKCFG kernel/config_data.h
CC kernel/configs.o
LD kernel/built-in.o
LD vmlinux.o
MODPOST vmlinux.o
WARNING: vmlinux.o(.text+0x291): Section mismatch in reference from the function init_post() to the function .init.text:prepare_namespace()
The function init_post() references
the function __init prepare_namespace().
This is often because init_post lacks a __init
annotation or the annotation of prepare_namespace is wrong.
WARNING: vmlinux.o(.cpuinit.data+0x0): Section mismatch in reference from the variable initial_code to the function .init.text:i386_start_kernel()
The variable __cpuinitdata initial_code references
a function __init i386_start_kernel().
If i386_start_kernel is only used by initial_code then
annotate i386_start_kernel with a matching annotation.
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
WARNING: init/built-in.o(.text+0x291): Section mismatch in reference from the function init_post() to the function .init.text:prepare_namespace()
The function init_post() references
the function __init prepare_namespace().
This is often because init_post lacks a __init
annotation or the annotation of prepare_namespace is wrong.
LD .tmp_vmlinux1
block/built-in.o: In function `vr_dispatch_requests':
vr-iosched.c:(.text+0x14b8c): undefined reference to `__udivdi3'
vr-iosched.c:(.text+0x14c71): undefined reference to `__udivdi3'
make: *** [.tmp_vmlinux1] Error 1
OMG, so close ... any ideas? maybe the zen-source.org forum is more appropriated?
Last edited by hack.augusto (2008-12-23 20:14:36)

How are you trying to build the zen kernel? Did you have an old copy of the zen sources around before you updated.
I got the impression that some things have changed and it may be the reason why you are getting weird errors. Someone else had this same issue though and I don't have the foggiest for an answer.
irc #zen-sources is a very helpful channel though

Similar Messages

  • Kernel compile problem

    in arch 0.7, when i compile redhat hat kernel 2.4.21-27.0.1.EL, gcc 3.4.3 complains:
    gcc -D__KERNEL__ -I/data/linux-2.4.21-27.0.1.EL/include -Wall -Wstrict-prototypes -Wno-trigraphs -O3 -fno-strict-aliasing -fno-common  -Wno-unused -funroll-loops -fomit-frame-pointer -fomit-frame-pointer -pipe -freorder-blocks -mpreferred-stack-boundary=2 -march=pentium4   -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
    In file included from /data/linux-2.4.21-27.0.1.EL/include/linux/sched.h:24,
                    from /data/linux-2.4.21-27.0.1.EL/include/linux/mm.h:22,
                    from /data/linux-2.4.21-27.0.1.EL/include/linux/slab.h:14,
                    from /data/linux-2.4.21-27.0.1.EL/include/linux/proc_fs.h:5,
                    from init/main.c:15:
    /data/linux-2.4.21-27.0.1.EL/include/linux/smp.h:31: error: conflicting types for 'smp_send_reschedule'
    /data/linux-2.4.21-27.0.1.EL/include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' was here
    /data/linux-2.4.21-27.0.1.EL/include/linux/smp.h:31: error: conflicting types for 'smp_send_reschedule'
    /data/linux-2.4.21-27.0.1.EL/include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' was here
    In file included from /data/linux-2.4.21-27.0.1.EL/include/linux/unistd.h:9,
                    from init/main.c:17:
    /data/linux-2.4.21-27.0.1.EL/include/asm/unistd.h:382: warning: conflicting types for built-in function '_exit'
    make: *** [init/main.o] Error 1
    gcc info:
    Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/specs
    Configured with: ../gcc-3.4.3/configure --prefix=/usr --enable-shared --enable-languages=c,c++,objc --enable-threads=posix --enable-__cxa_atexit
    Thread model: posix
    gcc version 3.4.3
    but when i compile the kernel src in redhat as 3 with the same kernel config , compiling options and kernel compiling procedure, everything is ok. the gcc info:
    Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
    Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
    Thread model: posix
    gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-20)
    what's the problem ? it's something between gcc 3.4 and kernel 2.4.21 (or redhat ?) ? how to resolve this problem ?

    jnengland77 wrote:
    hmmm if you need the patch Con Kolivas has a patch... idk if this is the exact need.
    1g lowmem?
    Many machines now have exactly 1Gb ram and the standard memory split on i386 does not allow you to use more than 896Mb ram without enabling high memory for at least 4Gb. The problem is that this incurs an overhead whereas we can simply change this split with this patch to allow i386 architectures to use up to 1Gb ram without enabling highmem. This is configurable if HIGHMEM is disabled.
    I also don't know if his old patches have the patch or if the current will work on the 2.4 kernel..
    Just looked around and found the 2.4 are now Ick patchset and i don't see that... CK does have a server patch... If anything just get the 2.6 CK server patchset...   2.6 is stable, but how am I to say I've only used 2.6... Go with 2.6 ck server.
    websites:  CK patchset 2.6
    ICK 2.4 patchset
    i really want a huge kernel space, and i can't find the 4G kernel space vm patch for 2.4 at these links
    thanks anyway

  • Kernel compile problems

    Right, I think I now knwo why I can't get my bttv DVB card working and need a quick kernel recompile to build in dvb-core.
    No problem with makemenuconfig
    However, when I start with make clean I get:
    make clean
    scripts/Makefile.clean:10: arch/i386/boot/Makefile: No such file or directory
    make[1]: *** No rule to make target `arch/i386/boot/Makefile'.  Stop.
    make: *** [archclean] Error 2
    Seems something is broke, or should I not be compiling from the source in /usr/src/linux-2.6.9-ARCH
    Any one got any thoughts?
    Could do with this working for my kids for Christmass <smile> <beg>

    Why do you use "make clean"? What does that do?
    I always compile my kernels the same way:
    - get the (latest) vanilla kernel from kernel.org
    - copy the .bz2 or .gz file to /usr/src
    - extract the file there
    - make a symlink called "linux" pointing to the directory of the new kernel
    - run "make menuconfig" and configure the kernel
    - run "make bzImage && make modules && make modules_install"
    - install the kernel to /boot and edit the bootloader.
    Maybe you need a vanilla kernel (standard kernel) tree instead of Arch's kernel tree.

  • Kernel compilation problem

    Hello there,
    I'm having some trouble compiling my own kernel. Hopefully this is a simple question.
    After downloading the kernel, I did `make defconfig`, and then I turned on some driver support, e.g. realtek wifi support. Then when I tried but build with make zImage, the system restarts the configuration. I have no idea why it would do that. Please help.

    Did you follow https://wiki.archlinux.org/index.php/Ke … raditional ?
    Have you tried https://wiki.archlinux.org/index.php/Ke … ild_System ?

  • Solved Zen Touch unresponsive buttons problem, USB still dosen't work tho

    2 months after my Zen Touch was dropped and the buttons became unresponsi've, I finally figured out the solution and it works beautifully now.
    Unfortunately the USB still doesn't work and I was wondering if anyone might know whats causing that?
    My guess is damage to the board itself, which in that case I won't be able to fix it ;_;
    Any suggestions would be appreciated.

    Couldn't figure out how to text in that last reply...sorry
    Seems to be a common problem with these. How did you get the buttons to respond? Do you know of a place that does repairs?

  • Kernel compilation problems

    I just installed arch 0.7.2 on my laptop, but im having trouble compiling a new kernel.  Does anyone have any idea what this means:
    HOSTCC  scripts/basic/fixdep
    In file included from /usr/include/bits/posix1_lim.h:153,
                     from /usr/include/limits.h:145,
                     from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h:122,
                     from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/syslimits.h:7,
                     from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h:11,
                     from scripts/basic/fixdep.c:113:
    /usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
    In file included from /usr/include/sys/socket.h:35,
                     from /usr/include/netinet/in.h:24,
                     from /usr/include/arpa/inet.h:23,
                     from scripts/basic/fixdep.c:115:
    /usr/include/bits/socket.h:304:24: error: asm/socket.h: No such file or directory
    scripts/basic/fixdep.c: In function 'use_config':
    scripts/basic/fixdep.c:204: error: 'PATH_MAX' undeclared (first use in this function)
    scripts/basic/fixdep.c:204: error: (Each undeclared identifier is reported only once
    scripts/basic/fixdep.c:204: error: for each function it appears in.)
    scripts/basic/fixdep.c:204: warning: unused variable 's'
    scripts/basic/fixdep.c: In function 'parse_dep_file':
    scripts/basic/fixdep.c:300: error: 'PATH_MAX' undeclared (first use in this function)
    scripts/basic/fixdep.c:300: warning: unused variable 's'
    make[2]: *** [scripts/basic/fixdep] Error 1
    make[1]: *** [scripts_basic] Error 2
    make: *** [include/linux/autoconf.h] Error 2
    ==> ERROR: Build Failed.  Aborting...

    Yes, it's the 2.6.17.11 (and i checked 2.6.7.10).  This happens when ever I try make xconfig or make menuconfig and when i run makepkg with the pkgbuild from the custom ABS wiki.  It looks like i'm missing some files somewhere.

  • [solved]closed source kernel driver install

    hi dear friends
    i have a dvb pcie card named tbs6922 from tbsdtv
    this device uses closed source driver and tbsdtv recomands this commands to install driver
    make
    make install
    this commands install driver as kernel modules like module.ko
    but archlinux uses modules.ko.gz
    for me module.ko dont work at all
    is there any command to install modules as module.ko.gz?
    Last edited by blue-sky (2012-06-04 20:12:36)

    Gusar wrote:It doesn't matter whether the module is compressed or not. The issue must be elsewhere. But you haven't provided exact error messages, so it's impossible to know where.
    blue-sky wrote:thanks for the answer ... i[sic] must find around 500 modules ! that will take too much time ...any idea?
    @Blue-sky:
    Welcome to Arch.  I have no idea how to parse your response to Gusar.  What modules, and why do you have to find them?
    How, explicitly, are you trying to use your module? 
    When you try that, what does your system report?
    Please use your shift keys.

  • Kernel Compile how not to do it !!!! [FXx]

    EDIT I would like to say kernel compile problem was my fault.... I should have moved it then compiled 2.6.5-3 (gcc3.4) I will in future use /usr/src (improve my CLI skills)
    I am sorry for posting but this old boy gets in muddle sometimes & I like to think out loud.
    After several mugs of tea & reading posts I now have kernel 2.6.5-3 Xfee4.4 & nvidia working again (well for a couple of hours till 2.6.6 !!!)
    pacman -Af
    Many thanks again for all your help
    Mr Green :oops:

    If I use pacman -U I get a load of errors :
    usr/src/linux-2.6.5/sound/isa/Kconfig: exists in filesystem
    /usr/src/linux-2.6.5/sound/oss/Kconfig: exists in filesystem
    /usr/src/linux-2.6.5/sound/oss/dmasound/Kconfig: exists in filesystem
    /usr/src/linux-2.6.5/sound/parisc/Kconfig: exists in filesystem
    /usr/src/linux-2.6.5/sound/pci/Kconfig: exists in filesystem
    /usr/src/linux-2.6.5/sound/pcmcia/Kconfig: exists in filesystem
    /usr/src/linux-2.6.5/sound/ppc/Kconfig: exists in filesystem
    /usr/src/linux-2.6.5/sound/sparc/Kconfig: exists in filesystem
    /usr/src/linux-2.6.5/sound/usb/Kconfig: exists in filesystem
    Mr Green  :?

  • Ccache and kernel compilation -SOLVED

    I have installed ccache and am compiling the kernel from the commandline, but can't get ccache working. Compiling takes a while, and ccache -s says there are no cached files. Read the wiki and man ccache, am a bit confused, and thought I had done what they suggested, but obviously not.
    Can anyone help me set this up? Preferably I would like  all compiling to be done using ccache, not just using makepkg. I think I have to softlink ccache and gcc, not sure how to do this.
    Happily, my custom compiled kernel boots fine, sound is the only thing not working.
    Last edited by scooby (2009-11-26 00:05:29)

    I have discovered one of the cardinal rules for using Arch...if something doesn't work, check for typos.
    ccache is working now,  makes kernel compiling so much easier.
    I'm having a read finding out the pros/cons of using PKGBUILD for a custom kernel. Not too fussed, everything works and it boots ridiculously quickly.
    Last edited by scooby (2009-11-25 23:06:24)

  • Solving Kernel/Xorg problems

    Hi all,
    I've been using linux for several years now, and I like it a lot, but it's still not clear in my mind what to do when I run into kernel or Xorg problems.
    When I run into a problem with a userland application, it's usually quite simple to identify the culprit or at least the apparent culprit, find the relevant bugzilla, file a bug and try to help the people in charge to fix the problem.
    In contrast, the world of low-level stuff is a lot more intimidating. For example, I have had several display and supsend/hibernate problems with my laptop for more than one year now, but I still have no idea what to do about them. What can/ should I do about kernel/Xorg problems?

    I didn't want this thread to be about my specific problems, but here goes:
    - Suspend fails about half of the time, the screen blanks (with a cursor blinking) and the computer just hangs. It is completely dead (REISUB doesn't work)
    - Hibernate doesn't work, when I turn the computer on, it checks the filesystems and boots normally
    - About 10% of the time, the login manager (currently kdm, but I had the same problem with gdm) shows with a very low resolution. Restarting xorg usually fixes the problem.
    I probably have a few more that I'm forgetting at the moment.

  • [Solved] Kernel compilation newbie questons.

    Hello
    That will be my first kernel compilation and i have few questions.
    1.When i compile kernel from this(http://wiki.archlinux.org/index.php/Ker … sers_Guide) tortial i havo to do this:
    http://wiki.archlinux.org/index.php/NVI … tom_kernel
    2.When i compile modules to kernel there are diffrence when i have them as modules (lsmod)?
    Thanks for anserws.
    And I'm sorry for that questions.
    Last edited by SpeedVin (2009-05-19 12:13:48)

    Hi SpeedVin,
    1. you must recompile nvidia driver if you are planning to use custom kernel.
    You can do this by either using ABS or with yaourt -Sb command. The link you posted to wiki says it right.
    2. When compiling drivers directly into kernel, they will make size of kernel bigger, but udev will not spend so much time autoloading them. The best practise is to have all needed modules compiled in kernel and turned autoloading modules off in /etc/rc.conf. Be aware, that not all modules are loaded when lsmod - e.g. when you plug in USB disk, udev loads needed modules (usb_storage, correct coding, etc.).
    And last but no least, i can't get why is wiki giving advise to compile kernel like 10 years ago. If I were you, I would NOT choose this way. It is much easier to compile kernel with ABS, or with yaourt -Sb. All you need is to edit PKGBUILD and uncomment one of these lines:
    #make menuconfig # CLI menu for configuration
    #make xconfig # X-based configuration
    #make oldconfig # using old config from previous kernel version
    I am a happy user of xconfig menu (you need Qt3 package to use xconfig).
    Configure your kernel as you need, save config file and exit configuration, compilation goes on and after 30-50min you have your kernel ready to install.
    If you want a save option you can also edit and uncomment # pkgname=kernel26-custom to have your kernel alongside with -ARCH stock kernel. Note, that you must also edit nvidia's PKGBUILD if you want to use it this way.
    I think this way will save you lot of time and the result is better, but it's up to you of course.

  • Re: [iPlanet-JATO] sp3 jsp compiler problem

    Weiguo,
    First, Matt is correct, the regular expression tool is perfect for general text
    substitution situations, and as a completely independent tool its use is not
    restricted to migration situations (or file types for that matter).
    Second, I sympathize with the unfortunate trouble you are experiencing due to
    Jasper's (perhaps more strict) compilation, but in what way did the iMT
    automated translation contribute to these inconsistencies that you cited?
    1. Changed the case of the tag attribute to be the same as what's
    defined in tld.
    example: changed OnClick to onClick
    The iMT does not generate any OnClick or onClick clauses per se. In a
    translation situation, the only way "OnClick" would have been introduced was if
    it had been part of the pre-existing project's "extraHTML" (which was written
    by the original customer and just passed through unchanged by the iMT) or if it
    was added manually by the post-migration developer.
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.Can you give soem examples? Is there a definite pattern? Again, this might be
    similar to the OnClick situation described above?
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    Again, the content tag would never have been generated by the iMT. There was no
    equivalent in the NetDynamics world, so any content tags in your code must have
    been introduced by your developers manually. Its a shame that jasper is so
    particular, but the iMT could not help you out here even if we wanted to. The
    constants that are used by the iMT are defined in
    com.iplanet.moko.jsp.convert.JspConversionConstants. From what I can see, the
    only situation of a closing tag with any space in it is
    public static final String CLOSE_EMPTY_ELEMENT = " />";
    But that should not cause the type of problem you are referring to.
    Mike
    ----- Original Message -----
    From: Matthew Stevens
    Sent: Thursday, September 06, 2001 10:16 AM
    Subject: RE: [iPlanet-JATO] sp3 jsp compiler problem
    Weiguo,
    Others will chime in for sure...I would highly recommend the Regex Tool from
    the iMT 1.1.1 for tackling this type of problem. Mike, Todd and myself have
    posted to the group (even recently) on directions and advantages of creating
    your own RULES (rules file) in XML for arbitary batch processing of source.
    matt
    -----Original Message-----
    From: weiguo.wang@b...
    [mailto:<a href="/group/SunONE-JATO/post?protectID=125056020108194190033029175101192165174144234026000079108238073194105057099246073154180137239239223019162">weiguo.wang@b...</a>]
    Sent: Thursday, September 06, 2001 12:25 PM
    Subject: [iPlanet-JATO] sp3 jsp compiler problem
    Matt/Mike/Todd,
    We are trying to migrate to sp3 right now, but have had a lot of
    issues with the new jasper compiler.
    The following workaround has been employed to solve the issues:
    1. Changed the case of the tag attribute to be the same as what's
    defined in tld.
    example: changed OnClick to onClick
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    As I see it, we have two options to go about solving this problem:
    1. Write a script which will iterate through all the jsp files and
    call jspc on them. Fix the errors manually when jspc fails. Jspc will
    flag the line number where an error occurs.
    2. Write a utility which scans the jsp files and fix the errors when
    they are encountered. We should define what's an error and how to
    correct it. It's best if we combine this with solution 1 since we
    might miss an error condition.
    Actually, there might be another option, which is seeking help from
    you guys since you have better understanding of JATO and iAS. Can you
    do anything to help us?
    We would be happy to hear your thoughts.
    At last, I would like to suggest modifying the moko tool so that
    these rules are enforced and the generated JSPs work with the new
    compiler. This is for the benefit of any new migration projects.
    Thanks a lot.
    Weiguo
    [email protected]
    Choose from 1000s of job listings!
    [email protected]
    [Non-text portions of this message have been removed]

    Thanks a lot Matt and Mike for your prompt replies.
    I agree completely that iMT doesn't introduce the inconsistencies.
    About the three cases I mentioned, the third one happens only in
    manually created JSPs. So it has nothing to do with iMT. The first
    two are mainly due to the existing HTML code, as you rightly pointed
    out.
    The reason I made the suggestion is since we know that case 1 and 2
    won't pass the japser compiler in sp3, we have to do something about
    it. The best place to do this, in my mind, is iMT. Of course, there
    might be some twists that make it impossible or difficult to do this
    kind of case manipulation or attribute discard.
    Weiguo
    --- In iPlanet-JATO@y..., "Mike Frisino" <Michael.Frisino@S...> wrote:
    Weiguo,
    First, Matt is correct, the regular expression tool is perfect for general text substitution situations, and as a completely independent
    tool its use is not restricted to migration situations (or file types
    for that matter).
    >
    Second, I sympathize with the unfortunate trouble you are experiencing due to Jasper's (perhaps more strict) compilation, but
    in what way did the iMT automated translation contribute to these
    inconsistencies that you cited?
    >
    1. Changed the case of the tag attribute to be the same as what's
    defined in tld.
    example: changed OnClick to onClick
    The iMT does not generate any OnClick or onClick clauses per se. In a translation situation, the only way "OnClick" would have been
    introduced was if it had been part of the pre-existing
    project's "extraHTML" (which was written by the original customer and
    just passed through unchanged by the iMT) or if it was added manually
    by the post-migration developer.
    >
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.Can you give soem examples? Is there a definite pattern? Again, this might be similar to the OnClick situation described above?
    >
    >
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    Again, the content tag would never have been generated by the iMT. There was no equivalent in the NetDynamics world, so any content tags
    in your code must have been introduced by your developers manually.
    Its a shame that jasper is so particular, but the iMT could not help
    you out here even if we wanted to. The constants that are used by the
    iMT are defined in
    com.iplanet.moko.jsp.convert.JspConversionConstants. From what I can
    see, the only situation of a closing tag with any space in it is
    public static final String CLOSE_EMPTY_ELEMENT = " />";
    But that should not cause the type of problem you are referring to.
    Mike
    ----- Original Message -----
    From: Matthew Stevens
    Sent: Thursday, September 06, 2001 10:16 AM
    Subject: RE: [iPlanet-JATO] sp3 jsp compiler problem
    Weiguo,
    Others will chime in for sure...I would highly recommend the Regex Tool from
    the iMT 1.1.1 for tackling this type of problem. Mike, Todd and myself have
    posted to the group (even recently) on directions and advantages of creating
    your own RULES (rules file) in XML for arbitary batch processing of source.
    >
    matt
    -----Original Message-----
    From: weiguo.wang@b...
    [mailto:<a href="/group/SunONE-JATO/post?protectID=125056020108194190033029175101192165174048139046">weiguo.wang@b...</a>]
    Sent: Thursday, September 06, 2001 12:25 PM
    Subject: [iPlanet-JATO] sp3 jsp compiler problem
    Matt/Mike/Todd,
    We are trying to migrate to sp3 right now, but have had a lot of
    issues with the new jasper compiler.
    The following workaround has been employed to solve the issues:
    1. Changed the case of the tag attribute to be the same as
    what's
    defined in tld.
    example: changed OnClick to onClick
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    As I see it, we have two options to go about solving this problem:
    >>
    1. Write a script which will iterate through all the jsp files and
    call jspc on them. Fix the errors manually when jspc fails. Jspc will
    flag the line number where an error occurs.
    2. Write a utility which scans the jsp files and fix the errors when
    they are encountered. We should define what's an error and how to
    correct it. It's best if we combine this with solution 1 since we
    might miss an error condition.
    Actually, there might be another option, which is seeking help from
    you guys since you have better understanding of JATO and iAS. Can you
    do anything to help us?
    We would be happy to hear your thoughts.
    At last, I would like to suggest modifying the moko tool so that
    these rules are enforced and the generated JSPs work with the new
    compiler. This is for the benefit of any new migration projects.
    Thanks a lot.
    Weiguo
    [email protected]
    Choose from 1000s of job listings!
    [email protected]
    Service.
    >
    >
    >
    [Non-text portions of this message have been removed]

  • Manual Kernel Compilation fails with "Error: not a valid kernel..."

    I wanted to try out the Zen kernel to compile my own custom kernel. The basic steps that I did were:
    1. $ make localmodconfig
    2. $ make -j3
    3. # make modules_install
    4. # cp -v ~/<build directory>/arch/x86_64/boot/bzImage /boot/vmlinuz-linux-zen-3.1.4.img
    5. # mkinitcpio -k vmlinuz-linux-zen-3.1.4 -g /boot/initramfs-linux-zen-3.1.4
    and I get the error:
    ==> ERROR: '/lib/modules/vmlinuz-linux-zen-3.1.4' is not a valid kernel module directory
    Inside of /lib/modules I have a new files called "3.1.4-zen-ARCH-g30db333 (and the original files that were there from the stock kernel).
    Inside of /boot/ I have the stock image and the stock initram as well as "vmlinuz-linux-zen-3.1.4.img"
    Which step am I missing? Also, I was thinking it was possible to NOT use an initram if I just compiled the ext2 and ext4 (root is ext4) into the kernel instead of building them as modules. Is my thinking correct? Also, if anyone needs a reason why I'm using the zen sources instead of the nice Liquorix binary, the answer is simply that I wanted to mess around with it to satisfy my curiosity. Thanks.

    As per the man page:
    -k kernelversion
    Use kernelversion, instead of the current running kernel. This may be a path to a kernel image or a
    specific kernel version. If specified as a path to an image, this will always be prefixed by the basedir.
    You've picked... neither? I guess you want "/boot/vmlinuz-linux-zen-3.1.4.img" or "3.1.4-zen-ARCH-g30db333".
    Compiling the filesystem module into the kernel alone is not sufficient to avoid using an initramfs. You also need, at a minimum, drivers for the disk controller and a block device driver.
    Last edited by falconindy (2011-12-08 04:43:21)

  • Custom kernel compilation with abs..

    Been trying out custom kernel compilation with abs, since i only know the regular make menuconfig style, thought that this would be a good thing to learn.
    here is my kernel pkgbuild (showing only the part that i changed):
    # Contributor: dibblethewrecker <dibblethewrecker>
    pkgname=kernel26
    pkgver=2.6.17.13
    pkgrel=1
    pkgdesc="The Linux Kernel 2.6.x.y and modules (IDE support), built with ... patchset"
    url="http://www.kernel.org"
    depends=('module-init-tools')
    install=kernel26.install
    ##### if you are using a single patch from a patchset you can add the name, without it's extention, below
    patch=2.6.18-rc6-mm2
    ##### add the names of any patches to this section, ensure you have the correct extentions!
    source=($patch.bz2 config ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$pkgver.tar.bz2 )
    I want to install the 2.6.18-rc6-mm2, so i downloaded that patch and put it in the same folder as PKGBUILD.
    I copied kernel26.install and put it in the same folder as the PKGBUILD.
    when running makepkg it asks for a config file.. So i copied the config file in /var/abs/kernels/kernel26/. But this will build with an old config file.. how can i as when doing the manual way, do a make menuconfig and enter the settings i want for this kernel??
    thanks

    I'd say it does too, and I think the problem is here:
    jinn wrote:I copied kernel26.install and put it in the same folder as the PKGBUILD.
    Did you just copy the install script, or did you edit it to create an image with a unique name? The script is hardcoded to create an image called kernel26.img i.e. the image name required by the stock kernel, so if you ran it as it is, you have overwritten the images for your stock kernel with images for your new kernel.
    You might still be able to boot your new kernel with kernel26-fallback.img, but if not you will have to boot your stock kernel using the initrd image, which will have been unaffected.
    Once your system is running again, you need to regenerate the kernel26 images using mkinitcpio, and then you can start debugging the problem with your new kernel.
    Of course, if you've already edited kernel26.install for your new kernel, ignore the above, and I'll start again.

  • Zen Vision 30GB Firmware Problem - No solution wo

    I have a Zen Vision 30GB (not a Zen Vision M or W, just a Zen Vision). On Friday I was trying to add songs to my Zen and halfway through adding the songs I got an error on the computer saying "player not connected". So I undocked the player, turned it off and reset my computer. Saturday morning I turned on my Zen to try to add songs again and I got the error message on my Zen?"Firmware Problem" and it put me in "Recovery Mode". The first thing I did was try to reload the firmware, but when I plugged the Zen to the computer it says "docked", but I cannot move through the menu. When I unhook it from the computer I can move through the menu. BTW I am running Windows Vista 32-bit. I have uninstalled the Zen software and installed the software off the Creative website for Vista, but when I try to run the firmware it says "Player not connected, please connect player."? When I plug the player in via USB my computer recognizes it and prompts me if I want to sync my player, so there isn't anything wrong with my USB connection. The?Device Manager recognizes it however Windows Media Player does not. I get the same error message when I try to do the Recovery Tool on the Creative website. I have looked for solutions on the forums and just doing Google searches, but I have not been able to get anything to work. Please help me!? The player is less than a year old. I have never had any problems with it before, never been dropped or anything like that, so i am not sure what is going on. Any help or suggestions would be great!? I sent an email to customer support yesterday and the reply I received this morning was no help. First they thought I had the Zen Vision M, even though I specifically said I had the Zen Vision and gave them the serial number and everything. I sent them back a message today and hopefully they can help, but it is frustrating having to send an email and wait around for a reply.

    Re: Zen Vision 30GB Firmware Problem - No solution works\ I recently had this problem with a player i got off Ebay. What I did was format>cleanup>reboot the device thru the recovery screen on the the player. Problem solved . Be advised this will erase all the files (music ect.) http://forums.creative.com/creativel...ap&thread.id=3
    Dragonboy wrote:
    I seem to have a very similar problem as you. I have a zen vision m (30g) and i also use vista. I am getting the message "firmware problem" after is tries to "rebuild". I need some major help. I ended up giving up a while ago and bought a microsoft zune. It is not as good and i miss my zen. If anyone can give me some info it would be much appreciated.

Maybe you are looking for