Building old vanilla kernels

I've encountered regression in kernel:
https://bugs.archlinux.org/task/22223
To hunt this down, I used tested kernel26 coming from existing ISO-installers.
After this I tried building kernel 2.6.33 by hand, just using old default configs (from installers) and make localmodconfig.
The resulting kernel crashed with long stacktrace.
Then I've tried building the package kernel26-2.6.33  (with different build suffix) by using makepkg way (used the same config file which I got from installed old Arch).
Result crashed the same way:
[<c12ce9bd>] panic + 0x4d / 0x100
[<........>] do_exit + 0x6dc / 0x750
[<........>] ? kmsg_dump
? printk
oops_end
no_context
__bad_area_nosemaphore
? __d_instantiate
? d_rehash
bad_area_nosemaphore
do_page_fault
? _security_d_instantiate
? _do_page_fault
error_code
? strcmp
event_create_dir
? module_update_tracepoints
? tracepoint_update_probes
event_trace_init
do_one_initcall
? event_trace_init
kernel_init
? kernel_init
kernel_thread_helper
Then I've repeated this for kernel26-2.6.32.
The stacktrace of the crash was 2x shorter, but it crashed anyway.
Is there any way of doing kernel code regression testing easier way (possible at all) in Arch Linux?
Without this, almost any git bisect command in kernel tree is useless..
Last edited by s2 (2011-06-06 19:40:23)

Does this work for you?
http://arm.konnichi.com/extra/os/i686/u … pkg.tar.gz
http://arm.konnichi.com/extra/os/x86_64 … pkg.tar.gz
I have unison-2.27.57-1-i686.pkg.tar.gz in my personal repo as well.

Similar Messages

  • [SOLVED] Error building vanilla kernel for PS3

    I installed all the base packages for ArchPPC and have chrooted into it. I downloaded/uncompressed kernel 2.6.24 from kernel.org and ran `cp arch/powerpc/configs/ps3_defconfig .config`. The first time, I went straight to make after that. That gave me the error "linux-2.6.24/scripts/gcc-version.sh: line 26: printf: #: invalid number". So I ran pacman -Sy gcc3, then edited my Makefile setting HOSTCC=gcc-3.3, HOSTCXX=g++-3.3, and CC=gcc-3.3.
    Now when I run make (after doing make clean) the first error I get is:
    include/asm/mmu-hash64.h:437: error: `SID_SHIFT' undeclared (first use in this function)
    Any ideas?
    Last edited by Erroneous (2008-03-07 21:51:51)

    You need a ppc64 cross-compiler to build a ps3 kernel. You can use the crosstool pkgbuilds from here: http://kth5.telekommunisten.net/archlinux/crosstools/
    All you need to do is to replace the 32 bit ppc targets with powerpc64-unknown-linux-gnu and it should build fine.

  • [solved] Vanilla kernel won't compile on vanilla install

    I am new to Arch Linux but not new to other Linux distros. I've encountered somewhat of a strange problem. I wanted to test out some custom kernel modifications on Arch Linux. (Specifically, I have been trying to implement unRAID [ http://lime-technology.com/ ] into a Arch Linux install.) I ran into some problems compiling the modified 2.6.36.2 kernel and figured it was just my modifications. But to my surprise, I am unable to even compile a vanilla kernel on a fresh install (base and devel) of Arch Linux. After further testing, it seems to affect other kernel versions, but only older kernel version. For example,vanilla 2.6.38 compiles fine. I've outlined my process below.
    1. Fresh install of Arch Linux (base and devel)
    2. Installed OpenSSH and configured so I could connect remotely.
    3. Prepare source tree: http://pastie.org/1929380
    4. Accepted defaults on make menuconfig
    5. Full build log: https://pastee.org/gvng5
    Then it tanks on this error:
    CC arch/x86/mm/mmio-mod.o
    LD arch/x86/mm/mmiotrace.o
    LD arch/x86/mm/built-in.o
    LDS arch/x86/vdso/vdso32/vdso32.lds
    AS arch/x86/vdso/vdso32/note.o
    AS arch/x86/vdso/vdso32/int80.o
    VDSO arch/x86/vdso/vdso32-int80.so.dbg
    gcc: error: elf_i386: No such file or directory
    OBJCOPY arch/x86/vdso/vdso32-int80.so
    objcopy: 'arch/x86/vdso/vdso32-int80.so.dbg': No such file
    make[2]: *** [arch/x86/vdso/vdso32-int80.so] Error 1
    make[1]: *** [arch/x86/vdso] Error 2
    make: *** [arch/x86] Error 2
    I've tested on other kernel (old-ish) versions and I get the same error. Any ideas?
    Last edited by TaterSalad (2011-05-20 04:49:15)

    I don't what the problem is, but I could not get it to compile with gcc 4.6. I did do a netinstall the first time around though with all the latest packages. Maybe there is some updated package throwing the error? Maybe binutils? No matter though. I don't need gcc 4.6 anyways. I reinstalled Arch with a non-net install (to get the older packages) and it worked. Thanks for the help graysky.
    If anyone is in the mood for hunting bugs, you might try a fresh netinstall and reproducing my original steps to see if you can reproduce it. Might be worth reporting.
    Last edited by TaterSalad (2011-05-20 14:26:25)

  • Build a custom kernel

    can i have a step by step on how to easily build a custom kernel with abs or whatever. ty

    Well, I created this thread because most of the udev talks at this board referred to a custom kernel to speedup the udev events which some have suggested is a bug. With fast computers the udev events loads in a few seconds while slower computers such as a p2 could take perhaps up to a minute to load just the udev events. That issue has been posted at the bugs and such talks about it have been posted at this board going back a few years now.
    I have also read at other boards the kernel 2.4 is still very supported. The software that needs the 2.6 kernel is fixed for the 2.4 kernel. So in these regards, the 2.4 kernel can be an important factor for slower computers.
    I have tested many distros. Damn small linux (DSL) being the fastest to boot to root with the 2.4 kernel. On my computer it only takes DSL about 20 seconds, slackware-8 about 40 second while arch linux takes 60 seconds with the modified start_udev file and about 90 seconds normally. These three distrols detect the same modules and everything seems to be working fine except the sound card where I have to set it up for each of the distros.
    I like this arch linux because I am able to learn linux from the groundup. Such as installing by unetbootin, Packman, modifying a file, and anything else to get to startx, but for the members that have an old computer, there seems to be an ongoing issue of udev. If this udev bug could be fixed, a boot to root would take only about 35 seconds.
    It seems to address this udev events issue, a custom kernel is needed. one that does not take 10+ hours to build. a precompiled kernel could addrees this issus until the bug is fixed.
    Last edited by windoze (2008-01-16 01:17:20)

  • Stock Kernel == vanilla Kernel ?

    Hi
    is there a difference between the stock/ftp upgraded kernel26  and  then vanilla (ftp.kernel.org) Kernel, are there any patches aplied with the ARCH version ? I mean if both have the same version number ?
    triple fault

    This is the pkgbuild for the stock kernel, as you can see there are several patches apllied.
    # $Id: PKGBUILD,v 1.171 2006/10/07 10:07:19 tpowa Exp $
    # Maintainer: judd <jvinet>
    pkgname=kernel26
    basekernel=2.6.18
    pkgver=2.6.18
    pkgrel=7
    pkgdesc="The Linux Kernel and modules"
    arch=(i686 x86_64)
    url="http://www.kernel.org"
    backup=('boot/kconfig26')
    depends=('module-init-tools' 'mkinitcpio>=0.5.7')
    # pwc, ieee80211 and hostap-driver26 modules are included in kernel26 now
    # nforce package support was abandoned by nvidia, kernel modules should cover everything now.
    # kernel24 support is dropped since glibc24
    replaces=('kernel24' 'kernel24-scsi' 'kernel26-scsi' 'alsa-driver' 'ieee80211' 'hostap-driver26' 'pwc' 'nforce')
    install=kernel26.install
    source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$basekernel.tar.bz2
    #http://www.kernel.org/pub/linux/kernel/v2.6/patch-$pkgver.bz2
    #http://www.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.18-rc6.bz2
    #http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.18-rc6-git1.bz2
    ftp://152.104.238.194/cn/nic/r1000_v1.04.tgz
    config config.x86_64 logo_linux_clut224.ppm logo_linux_mono.pbm logo_linux_vga16.ppm
    mkinitcpio-$pkgname.conf
    #ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/$basekernel/acpi-release-20060310-$basekernel.diff.bz2
    acpi-dsdt-initrd-v0.8.2-2.6.18.patch r1000-build.patch jmicron-ide.patch wacom-volito.patch)
    md5sums=('296a6d150d260144639c3664d127d174' '95ffba4436fbb866a7e68809eac3bfb9'
    '77797a931701d98ab4115b96a80b3aa4' '3335d7db57bba196e9af04251c4bcc7c'
    '5a62bcc7e96601052c7405459b483826' 'ed6b42fea2f5d27f7eb920746ccc1ebb'
    'a995ec849ea43d3c89d607bbdd1e7d09' '8c579c72a4f7187de6b496aec88250ed'
    '51633dc6b0e7d78d4f3de86bf18f9228' '82fd4f8c08dff9e802013aaf0e00e3a0'
    '97884da6e8d66bb120b9766b421db102' 'ff00c830ee99412aca35e68b37d829a7')
    build() {
    [ "${CARCH}" = "i686" ] && KARCH=i386
    [ "${CARCH}" = "x86_64" ] && KARCH=x86_64
    cd $startdir/src/linux-$basekernel
    # add upstream patch from 2.6.18 series
    #patch -Np1 -i ../patch-2.6.18-rc6 || return 1
    #patch -Np1 -i ../patch-2.6.18-rc6-git1 || return 1
    #patch -Np1 -i ../patch-$pkgver || return 1
    # add acpi custom dsdt patch
    patch -Np1 -i ../acpi-dsdt-initrd-v0.8.2-2.6.18.patch || return 1
    # add support for jmicron ide devices
    patch -Np1 -i ../jmicron-ide.patch || return 1
    # fix wacom volito devices
    patch -Np0 -i ../wacom-volito.patch || return 1
    # remove the extraversion from Makefile
    #sed -i 's|^EXTRAVERSION = .*$|EXTRAVERSION =-rc6|g' Makefile
    sed -i 's|^EXTRAVERSION = .*$|EXTRAVERSION =|g' Makefile
    # Arch logo!
    cp ../logo_linux_clut224.ppm drivers/video/logo/
    cp ../logo_linux_mono.pbm drivers/video/logo/
    cp ../logo_linux_vga16.ppm drivers/video/logo/
    if [ "$CARCH" == "x86_64" ]; then
    cat ../config.x86_64 >./.config
    else
    # get rid of the 'i' in i686
    carch=`echo $CARCH | sed 's|i||'`
    cat ../config | sed "s|#CARCH#|$carch|g" >./.config
    fi
    # build the full kernel version to use in pathnames
    . ./.config
    #_kernver="2.6.18-rc6${CONFIG_LOCALVERSION}"
    _kernver="${basekernel}${CONFIG_LOCALVERSION}"
    # load configuration
    yes "" | make config
    # build!
    make bzImage modules || return 1
    mkdir -p $startdir/pkg/{lib/modules,boot}
    make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
    cp System.map $startdir/pkg/boot/System.map26
    cp arch/$KARCH/boot/bzImage $startdir/pkg/boot/vmlinuz26 # for x86_64
    install -D -m644 Makefile
    $startdir/pkg/usr/src/linux-${_kernver}/Makefile
    install -D -m644 kernel/Makefile
    $startdir/pkg/usr/src/linux-${_kernver}/kernel/Makefile
    install -D -m644 .config
    $startdir/pkg/usr/src/linux-${_kernver}/.config
    install -D -m644 .config $startdir/pkg/boot/kconfig26
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/include
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/arch/$KARCH/kernel
    for i in acpi asm-generic asm-$KARCH config linux math-emu media net pcmcia scsi sound video; do
    cp -a include/$i $startdir/pkg/usr/src/linux-${_kernver}/include/
    done
    # copy files necessary for later builds, like nvidia and vmware
    cp Module.symvers $startdir/pkg/usr/src/linux-${_kernver}
    cp -a scripts $startdir/pkg/usr/src/linux-${_kernver}
    # fix permissions on scripts dir
    chmod og-w -R $startdir/pkg/usr/src/linux-${_kernver}/scripts
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/.tmp_versions
    cp arch/$KARCH/Makefile $startdir/pkg/usr/src/linux-${_kernver}/arch/$KARCH/
    cp arch/$KARCH/Makefile.cpu $startdir/pkg/usr/src/linux-${_kernver}/arch/$KARCH/
    cp arch/$KARCH/kernel/asm-offsets.s $startdir/pkg/usr/src/linux-${_kernver}/arch/$KARCH/kernel/
    # add headers for lirc package
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/video
    cp drivers/media/video/*.h $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/video/
    for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102 usbvideo zc0301; do
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/video/$i
    cp -a drivers/media/video/$i/*.h $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/video/$i
    done
    # add dm headers
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/drivers/md
    cp drivers/md/*.h $startdir/pkg/usr/src/linux-${_kernver}/drivers/md
    # add inotify.h
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/include/linux
    cp include/linux/inotify.h $startdir/pkg/usr/src/linux-${_kernver}/include/linux/
    # add CLUSTERIP file for iptables
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/net/ipv4/netfilter/
    cp net/ipv4/netfilter/ipt_CLUSTERIP.c $startdir/pkg/usr/src/linux-${_kernver}/net/ipv4/netfilter/
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/`echo $i | sed 's|/Kconfig.*||'`
    cp $i $startdir/pkg/usr/src/linux-${_kernver}/$i
    done
    cd $startdir/pkg/usr/src/linux-${_kernver}/include && ln -s asm-$KARCH asm
    chown -R root.root $startdir/pkg/usr/src/linux-${_kernver}
    cd $startdir/pkg/lib/modules/${_kernver} &&
    (rm -f source build; ln -sf ../../../usr/src/linux-${_kernver} build)
    # for binary modules make prepare
    cd $startdir/pkg/lib/modules/${_kernver}/build
    make prepare
    # install fallback mkinitcpio.conf file for kernel
    install -m644 -D $startdir/src/mkinitcpio-$pkgname.conf $startdir/pkg/boot/mkinitcpio-$pkgname.conf
    # set correct depmod command for install
    sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" $startdir/kernel26.install
    # install r1000 driver for newer realtek network cards
    cd $startdir/src/r1000_v1.04/
    patch -Np0 -i $startdir/src/r1000-build.patch || return 1
    make KDIR=$startdir/src/linux-$basekernel modules
    install -D -m644 $startdir/src/r1000_v1.04/src/r1000.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/r1000.ko

  • How to install tools to build a standard kernel module?

    Hello!
    I am a long time Fedora user trying to switch over to Arch for the ease of customization.
    I am trying to build the hybrid_wl driver for my broadcom wireless card, and the requirements section says I need to have "the proper tools, packages, header files and libraries to build a standard kernel module. This is usually done by installing the kernel developer of kernel source package and caries from distro to distro."
    I have never messed around with the kernel in Arch (or Fedora, for that matter) so I really have no clue what a standard module even is. What do I need to install to get this driver working?
    Any help is welcome!
    Thanks,
    Jim

    that is in aur.
    http://aur.archlinux.org/packages.php?ID=19514
    read about what is aur here: http://wiki.archlinux.org/index.php/AUR_User_Guidelines

  • What patches are applied to the vanilla kernel to make kernel26?

    I tried to find some information on the wiki, but it all it says is "Vanilla kernel with some patches applied". So what patches are applied?
    Last edited by tjbp (2011-07-27 13:48:42)

    http://projects.archlinux.org/svntogit/ … l26/trunk/ refers to ftp://ftp.archlinux.org/other/kernel26/
    The paths will change for linux 3.0.

  • [SOLVED] Almost vanilla kernel

    Ok, I read on the wiki that in core we found:
    "Vanilla kernel with some patches applied. "
    I don't want a bible about it, but... which kind of patches?
    Thank you in advance!
    Last edited by metre (2011-03-23 19:25:33)

    Which wiki page? If you refer to the 'kernel26' package, for patches applied to it see here: http://projects.archlinux.org/linux-2.6-ARCH.git

  • Vanilla kernel with suspend2 support

    Hey people,
    I have started using the beyond kernel a while ago, because I wanted a precompiled arch kernel with suspend2 support. I used self-compiled vanilla+suspend2 kernels for a while before that, and they were very stable. With beyond, I first got strange bugs, hard to reproduce, suspending or resuming sometimes failed, and the newest version doesn't work at all.
    Just for some testing, I compiled a kernel with the same config and patches as kernel26 AND suspend2 patches included. It seems to work great, much stabler than beyond when suspending.
    What I am asking is, how many people would be interested if such a kernel would be maintained in community and what kernel modules they would need (I am planning to do rt2500, rt2x00, nvidia and maybe ATI, more if requested).
    Please only submit your vote to the poll if you are either a suspend2 user or interested in using suspend2

    brain0 wrote:
    dtw wrote:I think this is a waste of time and energy propogated by a lack of patience.  Do you really want to go to all this trouble, maintain what is in essence a very small but new kernel patchset and all the relevant modules _just_ because suspend2 is a broken in -beyond at the moment?  My Dog, I wish I had such time to spend.
    Can you give me your definition of "at the moment" please? Or better, name a beyond release where suspend2 was stable. I switched to beyond with 2.6.16 and since then it was always unusable for me. With a vanilla kernel, suspend2 hasn't failed for me in a year or so. With beyond, it failed every time I really needed it.
    Admittedly suspend2 may be _generally_ unstable with other patchsets but even still, it'll only take one bulletproof release to invalidate all you are suggesting.
    I won't spend the rest of my life waiting for the beyond release that will work. I'd rather do something about it and provide a kernel that is stable and has that very important feature. (And as tpowa wasn't willing to include suspend2 in kernel26 when I asked him, this is the best shot).
    Awesome -  I dont think I could have said it in better words - however I did try above >
    I have tried many patchsets that had suspend2=swap patches but the never worked or not as well as a vanilla kernel with just suspend2-swap patch.
    Lets do it.

  • New Build old hard drive xp

    I am building a P6NGM with 2 Gig and a E2200 Intel I am giving up on the old gateway and want to move the Gateway hard drive with programs and data to the new machine it will not start but still starts in the old machine. I have done this with Win 2000 but not XP Can it be done and how?
    I did load a already used upgrade is it is not the machine. :(

    I found the drivers and got it all working but then put in 2 500gig drives Serial ATA. and there goes a day.
    Manual took a while now I have the drives mounted set up in Bios - installed  NVIDIA driver for Raid controller - I unitized the Disk Array - and Formated - Now I should use the NVMediaShield Software to set up the array.
    Can not find it and the web site says it is optional download it. Sorry no find.  Some where in all the updating and down loading I ended up with a Raid Program PAM from Promise Technology but no instructions.
    Help!

  • [SOLVED] How to add modules to build with the kernel?

    Hello i´m trying to learn how to build my own custom kernel and doing it the arch way https://wiki.archlinux.org/index.php/Ke … raditional. But unfortunately dm-crypt was not included in the kernel so it all failed.
    svart_alg% sudo mkinitcpio -k 3.15.6 -c /etc/mkinitcpio.conf -g /boot/initramfs-test.img
    ==> Starting build: 3.15.6
    -> Running build hook: [base]
    -> Running build hook: [udev]
    -> Running build hook: [autodetect]
    -> Running build hook: [modconf]
    -> Running build hook: [lvm2]
    ==> ERROR: module not found: ‘dm-snapshot’
    -> Running build hook: [encrypt]
    ==> ERROR: module not found: ‘dm-crypt’
    -> Running build hook: [block]
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    ==> WARNING: No modules were added to the image. This is probably not what you want.
    ==> Creating gzip initcpio image: /boot/initramfs-test.img
    ==> WARNING: errors were encountered during the build. The image may not be complete.
    I have never don any of this before and have no idea of how to add a missing module to the kernel i´m building. So i search on internet and had a very hard time finding a good guide for this but i fond one possible solution. https://www.kernel.org/doc/Documentatio … odules.txt
    svart_alg% make -C /home/nigro_alko/Kernel/linux-3.15.6 M=/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in
    make: Entering directory ‘/home/nigro_alko/Kernel/linux-3.15.6‘
    mkdir: cannot create directory ‘/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in’: Not a directory
    scripts/Makefile.build:44: /home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in/Makefile: Not a directory
    make[1]: *** No rule to make target ‘/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in/Makefile’. Stop.
    Makefile:1310: recipe for target ‘_module_/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in’ failed
    make: *** [_module_/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in] Error 2
    make: Leaving directory ‘/home/nigro_alko/Kernel/linux-3.15.6‘
    So is there any one that have time to help a lost little newbie i would bee very happy  :-)
    Last edited by Moosey_Linux (2014-07-29 15:00:40)

    karol wrote:Why do you want a custom kernel in the first place?
    Moosey_Linux wrote:i´m trying to learn how to build my own custom kernel
    Reason enough IMO. But anyway... you refer to the Traditional build method in the wiki, but is it possible you didn't really read it? Or maybe you only skimmed it? Did you run make menuconfig? Did you try to build everything in instead of using modules? That mkinitcpio output suggests that you did.
    As suggested there for first-timers, it's a good idea to start with a kernel configuration that is known to work - the Arch config is the obvious choice, but there are other sources e.g. http://kernel-seeds.org/ .

  • Problem building modules in kernel-2.6.29.6-rt

    Hi, im trying to compile 2.6.29.6 rt patched, and when i type
    make modules
    and i get this:
    CC [M] drivers/staging/agnx/pci.o
    drivers/staging/agnx/pci.c:426: aviso: inicialización desde un tipo de puntero incompatible
    CC [M] drivers/staging/agnx/xmit.o
    CC [M] drivers/staging/agnx/table.o
    CC [M] drivers/staging/agnx/sta.o
    CC [M] drivers/staging/agnx/phy.o
    drivers/staging/agnx/phy.c: En la función 'card_interface_init':
    drivers/staging/agnx/phy.c:936: aviso: el tamaño de marco de 4124 bytes es mayor que 1024 bytes
    LD [M] drivers/staging/agnx/agnx.o
    CC [M] drivers/staging/asus_oled/asus_oled.o
    CC [M] drivers/staging/at76_usb/at76_usb.o
    CC [M] drivers/staging/comedi/comedi_fops.o
    In file included from drivers/staging/comedi/comedidev.h:40,
    from drivers/staging/comedi/comedi_fops.c:45:
    drivers/staging/comedi/interrupt.h:27: error: tipos en conflicto para 'irqreturn_t'
    include/linux/irqreturn.h:14: nota: la declaración previa de 'irqreturn_t' estaba aquí
    En el fichero incluído de drivers/staging/comedi/comedidev.h:40,
    de drivers/staging/comedi/comedi_fops.c:45:
    drivers/staging/comedi/interrupt.h:30:1: aviso: se redefinió "IRQ_RETVAL"
    En el fichero incluído de include/linux/interrupt.h:10,
    de drivers/staging/comedi/interrupt.h:22,
    de drivers/staging/comedi/comedidev.h:40,
    de drivers/staging/comedi/comedi_fops.c:45:
    include/linux/irqreturn.h:15:1: aviso: esta es la ubicación de la definición previa
    make[3]: *** [drivers/staging/comedi/comedi_fops.o] Error 1
    make[2]: *** [drivers/staging/comedi] Error 2
    make[1]: *** [drivers/staging] Error 2
    make: *** [drivers] Error 2
    bash-4.0#
    Any idea?
    Last edited by B4RR13N705 (2009-07-16 16:46:46)

    It should not (depends how far you want to go). I just did a search and it seems that bug was introduced ~.5
    You can always try to build or disable this option from kernel config file.
    I don't use rt kernels and in -rc staging drivers just appeared. Because I don't use them, I de-select whole branch, so I don't have your problem. However even if I would enble this, I might not see your error as it seems related to other rt stuff.
    sorry that I can't help more.

  • [solved] vmware server 1.0.4 build 56528 and kernel 2.6.25

    hi,
    i updated to kernel 2.6.25 and tried to reinstall vmware server 1.0.4 build 56528 according to the wiki description.
    running the vmware-any-any-update-117-very-ALPHA.tgz patch failed, because vmware-2.6.25.sh tries to patch vmblock.tar, which does not exist. instead of this there is vmppuser.tar in the sources directory.
    any ideas?
    thx & rgds
    hcjl
    with vmware server 1.0.5 the same problem occurs.
    Last edited by hcjl (2008-05-27 08:56:35)

    Yeah I have this exact same problem with the current stable version of VMware.  I will definitely try the beta 2.0 and see if my laptop can run Autodesk Inventor with it in a virtual Windows environment.

  • SOLVED: Building a streamlined kernel via modprobed-db

    Hi
    I was trying to use the modprobed_db daemon (activated by systemd) to collect all used modules on my hardware in order to build a more streamlined kernel.
    Here is the wiki:
    https://wiki.archlinux.org/index.php/Modprobed-db
    I modified the arch linux PKGBUILD of the kernel by adding these two lines:
    sudo /usr/bin/modprobed-db recall
    make localmodconfig
    Unfortunately the modprobed service doesn't catch the loop module, although I'm using it.
    I then tried to simply add some modules in ~/.config/modprobed.db, but this resulted in the error "loop: module not found", when I tried to build the kernel via makepkg.
    What is the right way to manually add modules to the modprobed database?
    thanks
    gen2arch
    Last edited by gen2arch (2015-05-02 08:50:17)

    I made a huge mistake that was the reason for the abovementioned error:
    I tried to manually add modules into the modeprobed.db and then do a "recall"  during makepkg while being already in a module-wise restricted environment of a previous custom kernel build!
    It is clear that the "recall" mechanism during the build cannot work, when the booted kernel/the running system doesn't contain the searched for modules. One has to manually add and recall modules for a custom build from within a fully fledged arch linux generic kernel where everything is at disposition and can in fact be modprobed!
    sorry for the inconvenience.
    gen2arch

  • [SOLVED] Building flashcache - need kernel source?

    Sorry for noob question, but..
    Trying to build flashcache, and it seems that kernel source is required. How do I obtain the source?
    Last edited by asg1448 (2014-07-07 22:51:15)

    Trilby wrote:No, 3.15.2-1
    I upgraded to 3.15.2-1-ARCH and have exactly the same issue
    Note, that building of flashcache itself completes fine, the issue happens when I install the built module:
    loading packages...
    warning: flashcache-dkms-git-1.0.r223.g304bbc1-1 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Packages (1): flashcache-dkms-git-1.0.r223.g304bbc1-1
    Total Installed Size: 0.54 MiB
    Net Upgrade Size: 0.00 MiB
    :: Proceed with installation? [Y/n]
    (1/1) checking keys in keyring [##########################################] 100%
    (1/1) checking package integrity [##########################################] 100%
    (1/1) loading package files [##########################################] 100%
    (1/1) checking for file conflicts [##########################################] 100%
    (1/1) checking available disk space [##########################################] 100%
    flashcache, 1.0.r223.g304bbc1: added
    Deleting module version: 1.0.r223.g304bbc1
    completely from the DKMS tree.
    Done.
    (1/1) reinstalling flashcache-dkms-git [##########################################] 100%
    >>> DKMS: Module install
    dkms install -m flashcache -v 1.0.r223.g304bbc1
    Creating symlink /var/lib/dkms/flashcache/1.0.r223.g304bbc1/source ->
    /usr/src/flashcache-1.0.r223.g304bbc1
    DKMS: add completed.
    Kernel preparation unnecessary for this kernel. Skipping...
    Building module:
    cleaning build area....
    KERNEL_TREE=/usr/lib/modules/3.15.2-1-ARCH/build make modules....(bad exit status: 2)
    Error! Bad return status for module build on kernel: 3.15.2-1-ARCH (x86_64)
    Consult /var/lib/dkms/flashcache/1.0.r223.g304bbc1/build/make.log for more information.
    modprobe: FATAL: Module flashcache not found.

Maybe you are looking for