Arch 0.7.1 pre1 kernel headers

i have read that the kernel headers are included with the kernel packages, which is very nice because i have a sagem fast 800 modem and i need to compile drivers for it. Except for when i installed arch a few days ago i tried to compile my module and just got kernel-sources cannot be found. Was there something with the headers in that packages or are they in a weird place? Can someone help i would really like to use arch linux.

Probably, for your module, the kernel headers are not enough; it needs the sources. You can get them on kernel.org. Make sure you grab the right version.  I'm guessing that you need to put them in /usr/src/linux-$(uname -r). I've never messed much with  kernel/modules stuff.

Similar Messages

  • [SOLVED] Missing Kernel Headers for Catalyst

    Hello Everyone,
    I am a new Arch guy! I am from the ubuntu world.  Love the new arch install, I have installed my own DE.
    I use a Radeon HD 68xx so I need the catalyst drivers.
    I have tried installing them via: sudo pacman -S catalyst-dkms catalyst-utils    (per the wiki)
    It gets to the end and gives me this message:
    DKMS: add completed.
    Error! echo
    Your kernel headers for kernel 3.6.2-1-ARCH cannot be found at
    /usr/lib/modules/3.6.2-1-ARCH/build or /usr/lib/modules/3.6.2-1-ARCH/source.
    error: command failed to execute correctly
    Can anybody assist on how I get the kernel headers?  As far as I understood, they should be included in Arch.
    Last edited by luis84 (2012-10-19 03:08:17)

    drewofdoom wrote:
    do this:
    sudo pacman -Sy linux-headers
    Don't use 'pacman -Sy foo' - it may lead to breakage https://bbs.archlinux.org/viewtopic.php?id=89328

  • Pacman fails. gcc-uclibc: requires kernel-headers- What's this???

    After my last update a few weeks ago, I always get this.  I've updated kernel, pacman, and initscripts manually, and messed with pacman.conf for days.
    Read countless forums posts, googled for hours, tried many "solutions" and can't figure this out.  (enable/disable different repos, SigLevels, db refreshes, etc.)
    gcc-uclibc kernel-headers don't seem to exist, and only a few references (of no help, and old)) show up in all my searching.
    My system boots normally, and is running OK- just can't get pacman to work, and can't get past this blocker
    Can anyone point me in the right direction?  Has anyone even seen this gcc-uclibc/kernel-headers error recently. 
    root@myhost wrc]# pacman -Syu
    :: Synchronizing package databases...
    testing                                               185.0   B  20.2K/s 00:00 [#############################################] 100%
    testing is up to date
    core                                                  185.0   B  2.15M/s 00:00 [#############################################] 100%
    core is up to date
    extra                                                 185.0   B  2.76M/s 00:00 [#############################################] 100%
    extra is up to date
    community                                             185.0   B  2.76M/s 00:00 [#############################################] 100%
    community is up to date
    :: Starting full system upgrade...
    :: Replace pyxdg with extra/python2-xdg? [Y/n] Y
    resolving dependencies...
    looking for inter-conflicts...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: gcc-uclibc: requires kernel-headers
    [root@myhost wrc]#
    Last edited by wrc1944 (2012-07-13 16:43:49)

    gcc-uclibc is not on my system.  I'm following instructions on the issues 2 section of the above mentioned wiki page, and have gotten the list down to this:
    [root@myhost wrc]# find /lib -exec pacman -Qo -- '{}' \+
    error: cannot determine ownership of directory '/lib'
    /lib/libpthread.so.0 is owned by glibc 2.15-12
    /lib/libnss_nis.so.2 is owned by glibc 2.15-12
    /lib/libthread_db.so.1 is owned by glibc 2.15-12
    /lib/libnss_dns.so.2 is owned by glibc 2.15-12
    /lib/ld64-uClibc-0.9.30.1.so is owned by uclibc-runtime 0.9.30.1-4
    /lib/libnss_files-2.15.so is owned by glibc 2.15-12
    /lib/libm-2.15.so is owned by glibc 2.15-12
    /lib/libnss_compat.so.2 is owned by glibc 2.15-12
    /lib/libnss_db.so.2 is owned by glibc 2.15-12
    /lib/libm.so.6 is owned by glibc 2.15-12
    /lib/libpcprofile.so is owned by glibc 2.15-12
    /lib/libc.so.6 is owned by glibc 2.15-12
    /lib/ld64-uClibc.so.0 is owned by uclibc-runtime 0.9.30.1-4
    /lib/libnss_nisplus.so.2 is owned by glibc 2.15-12
    /lib/librt.so.1 is owned by glibc 2.15-12
    /lib/libcidn.so.1 is owned by glibc 2.15-12
    /lib/libanl-2.15.so is owned by glibc 2.15-12
    /lib/libBrokenLocale-2.15.so is owned by glibc 2.15-12
    /lib/libnss_nisplus-2.15.so is owned by glibc 2.15-12
    /lib/libutil-2.15.so is owned by glibc 2.15-12
    /lib/libdl-2.15.so is owned by glibc 2.15-12
    /lib/libresolv-2.15.so is owned by glibc 2.15-12
    /lib/libnss_db-2.15.so is owned by glibc 2.15-12
    /lib/ld-linux-x86-64.so.2 is owned by glibc 2.15-12
    /lib/ld-linux.so.2 is owned by lib32-glibc 2.15-10
    /lib/libnss_hesiod.so.2 is owned by glibc 2.15-12
    /lib/libanl.so.1 is owned by glibc 2.15-12
    /lib/libcrypt-2.15.so is owned by glibc 2.15-12
    /lib/libnss_files.so.2 is owned by glibc 2.15-12
    /lib/libSegFault.so is owned by glibc 2.15-12
    /lib/libdl.so.2 is owned by glibc 2.15-12
    /lib/libnsl-2.15.so is owned by glibc 2.15-12
    /lib/libBrokenLocale.so.1 is owned by glibc 2.15-12
    /lib/libnss_nis-2.15.so is owned by glibc 2.15-12
    /lib/librt-2.15.so is owned by glibc 2.15-12
    /lib/libnsl.so.1 is owned by glibc 2.15-12
    /lib/libc-2.15.so is owned by glibc 2.15-12
    /lib/libcidn-2.15.so is owned by glibc 2.15-12
    /lib/libnss_hesiod-2.15.so is owned by glibc 2.15-12
    /lib/libcrypt.so.1 is owned by glibc 2.15-12
    /lib/libresolv.so.2 is owned by glibc 2.15-12
    /lib/libnss_dns-2.15.so is owned by glibc 2.15-12
    /lib/libnss_compat-2.15.so is owned by glibc 2.15-12
    /lib/libpthread-2.15.so is owned by glibc 2.15-12
    /lib/ld-2.15.so is owned by glibc 2.15-12
    /lib/libutil.so.1 is owned by glibc 2.15-12
    /lib/libmemusage.so is owned by glibc 2.15-12
    /lib/libthread_db-1.0.so is owned by glibc 2.15-12
    [root@myhost wrc]#
    However, pacman -Su still gives the blocking error:
    [root@myhost wrc]# pacman -Su
    :: Starting full system upgrade...
    :: Replace pyxdg with extra/python2-xdg? [Y/n] Y
    resolving dependencies...
    looking for inter-conflicts...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: gcc-uclibc: requires kernel-headers
    [root@myhost wrc]#
    The next step gives me this, supposedly all these need rebuilding?  How can this be, as I'm using the Arch Linux binary packages, and have never rebuilt (re-compiled anything?
    [root@myhost wrc]# grep -R --include files "^lib/" /var/lib/pacman/local/
    /var/lib/pacman/local/uclibc-runtime-0.9.30.1-4/files:lib/
    /var/lib/pacman/local/uclibc-runtime-0.9.30.1-4/files:lib/ld64-uClibc-0.9.30.1.so
    /var/lib/pacman/local/uclibc-runtime-0.9.30.1-4/files:lib/ld64-uClibc.so.0
    /var/lib/pacman/local/lib32-glibc-2.15-10/files:lib/
    /var/lib/pacman/local/lib32-glibc-2.15-10/files:lib/ld-linux.so.2
    /var/lib/pacman/local/glibc-2.15-12/files:lib/
    /var/lib/pacman/local/glibc-2.15-12/files:lib/ld-2.15.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/ld-linux-x86-64.so.2
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libBrokenLocale-2.15.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libBrokenLocale.so.1
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libSegFault.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libanl-2.15.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libanl.so.1
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libc-2.15.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libc.so.6
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libcidn-2.15.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libcidn.so.1
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libcrypt-2.15.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libcrypt.so.1
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libdl-2.15.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libdl.so.2
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libm-2.15.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libm.so.6
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libmemusage.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libnsl-2.15.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libnsl.so.1
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_compat-2.15.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_compat.so.2
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_db-2.15.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_db.so.2
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_dns-2.15.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_dns.so.2
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_files-2.15.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_files.so.2
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_hesiod-2.15.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_hesiod.so.2
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_nis-2.15.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_nis.so.2
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_nisplus-2.15.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_nisplus.so.2
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libpcprofile.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libpthread-2.15.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libpthread.so.0
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libresolv-2.15.so"pacman -Qdt"
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libresolv.so.2
    /var/lib/pacman/local/glibc-2.15-12/files:lib/librt-2.15.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/librt.so.1
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libthread_db-1.0.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libthread_db.so.1
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libutil-2.15.so
    /var/lib/pacman/local/glibc-2.15-12/files:lib/libutil.so.1
    /var/lib/pacman/local/hal-0.5.14-6/files:lib/
    /var/lib/pacman/local/hal-0.5.14-6/files:lib/udev/
    /var/lib/pacman/local/hal-0.5.14-6/files:lib/udev/rules.d/
    /var/lib/pacman/local/hal-0.5.14-6/files:lib/udev/rules.d/90-hal.rules
    [root@myhost wrc
    Quote on issue 2 from the wiki page:
    Issue 2: The final "pacman -Su" still has conflicts in /lib
    This means that you have files or folders still in /lib or pacman thinks a package apart from glibc still own /lib. You can see which package own files in /lib by using:
    find /lib -exec pacman -Qo -- '{}' \+
    If any package apart from glibc is listed as owning a file, that package needs to be updated to install its files in /usr/lib. Any files unowned by a package should be moved to /usr/lib and any directories within /lib need deleted (after they are empty...).
    If after this the "pacman -Su" still has conflicts with /lib, this is because a package on your system other than glibc thinks it owns the /lib folder. Such packages can be detected using:
    grep -R --include files "^lib/" /var/lib/pacman/local/
    These packages need rebuilding so as not to include the /lib directory. Then the final "pacman -Su" will successfully install glibc.
    You can confirm the update is complete by looking in your root directory to see that lib is a symlink to usr/lib.
    > ls -ld /lib
    lrwxrwxrwx   1 root root     7 Jul 11 21:10 lib -> usr/lib
    Last edited by wrc1944 (2012-07-13 21:06:54)

  • Problem with kernel-headers

    Hi,
    When I run this
    [root@localhost Server]# yum install kernel-headers
    I have got
    file /usr/include/linux/types.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/linux/udf_fs_i.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/linux/udp.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/linux/uinput.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/linux/uio.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/linux/ultrasound.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/linux/unistd.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/linux/usbdevice_fs.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/linux/utime.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/linux/utsname.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/linux/version.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/linux/videodev.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/linux/videodev2.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/linux/videotext.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/linux/virtio_blk.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/linux/virtio_net.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/linux/virtio_pci.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/linux/virtio_ring.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/linux/vt.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/linux/wireless.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/linux/xattr.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/linux/xfrm.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/mtd/inftl-user.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/mtd/mtd-abi.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/mtd/mtd-user.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/mtd/nftl-user.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/sound/asequencer.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/sound/asound.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/sound/asound_fm.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/sound/emu10k1.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/sound/hdsp.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/sound/hdspm.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/sound/sfnt_info.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    file /usr/include/video/sisfb.h from install of kernel-headers-2.6.18-308.1.1.0.1.el5.i386 conflicts with file from package kernel-uek-headers-2.6.32-200.13.1.el5uek.i686
    Error Summary
    But why do I see nothing by this?
    [root@localhost Server]# rpm -qa| grep kernel-headers
    [root@localhost Server]#
    Here is what I get
    [root@localhost ~]# cat /etc/redhat-release
    Red Hat Enterprise Linux Server release 5.8 (Tikanga)

    Thanks. I ran it and I got this confirmation
    =================================================================================================
    Package Arch Version Repository Size
    =================================================================================================
    Removing:
    kernel-uek-headers i686 2.6.32-200.13.1.el5uek installed 2.2 M
    Removing for dependencies:
    compat-glibc i386 1:2.3.4-2.26 installed 3.4 M
    compat-glibc-headers i386 1:2.3.4-2.26 installed 1.9 M
    gcc i386 4.1.2-52.el5 installed 9.6 M
    gcc-c++ i386 4.1.2-52.el5 installed 6.5 M
    gcc-gfortran i386 4.1.2-52.el5 installed 6.9 M
    gcc-gnat i386 4.1.2-52.el5 installed 33 M
    gcc-java i386 4.1.2-52.el5 installed 5.9 M
    gcc-objc i386 4.1.2-52.el5 installed 5.5 M
    gcc-objc++ i386 4.1.2-52.el5 installed 5.8 M
    gcc44 i386 4.4.6-3.el5.1 installed 17 M
    gcc44-c++ i386 4.4.6-3.el5.1 installed 10 M
    gcc44-gfortran i386 4.4.6-3.el5.1 installed 11 M
    glibc-devel i386 2.5-81.el5_8.1 installed 4.9 M
    glibc-headers i386 2.5-81.el5_8.1 installed 2.0 M
    systemtap i386 1.6-7.el5_8 installed 8.0 M
    Transaction Summary
    =================================================================================================
    Remove 16 Package(s)
    Reinstall 0 Package(s)
    Downgrade 0 Package(s)
    Is this ok [y/N]:
    But the items like the below
    compat-glibc i386 1:2.3.4-2.26 installed 3.4 M
    compat-glibc-headers i386 1:2.3.4-2.26 installed 1.9 M
    gcc i386 4.1.2-52.el5 installed 9.6 M
    gcc-c++ i386 4.1.2-52.el5 installed 6.5 M
    glibc-devel i386 2.5-81.el5_8.1 installed 4.9 M
    glibc-headers i386 2.5-81.el5_8.1 installed 2.0 M
    are really needed for my R12. What should be done next?
    Edited by: HuaMin on Apr 13, 2012 5:15 PM

  • [solved] building the kernel headers for custom kernels

    well, ive been building several different kernels for my laptop, so that i can test stuff. but ive got a problem with the kernel headers.
    ive mirrored the arch kernel's PKGBUILD and modified some naming to get a custom kernel. but when i try to build a custmo module, it complains the headers are broken. (example, vbox_build_module).
    im pasting the pkgbuild here for future reference...if someone sees something thats plain wrong, please say so.
    thanks
    # $Id: PKGBUILD 60382 2009-12-04 15:31:11Z tpowa $
    # Maintainer: Tobias Powalowski <[email protected]>
    # Maintainer: Thomas Baechler <[email protected]>
    pkgbase="kernel26"
    #pkgname=('kernel26' 'kernel26-firmware' 'kernel26-headers') # Build stock -ARCH kernel
    pkgname=('kernel26-git' 'kernel26-git-headers') # Build kernel with a different name
    _kernelname=${pkgname#kernel26}
    pkgver=2.6.34
    pkgrel=1
    _patchname=""
    _branch="linux-2.6"
    _gittag="v2.6.34-rc3"
    #_gittag="origin"
    arch=(i686 x86_64)
    license=('GPL2')
    groups=('base')
    url="http://www.kernel.org"
    source=(config
    # standard config files for mkinitcpio ramdisk
    kernel26.preset
    ${_patchname})
    build() {
    cd ${srcdir}/$_branch
    msg "Fetching branch ${_branch}"
    ## FOR BISECT, Comment these lines
    git reset --hard
    git clean -d -f
    git fetch
    msg "Cheking out tag ${_gittag}"
    git checkout $_gittag
    ### a patch
    if [ "${_patchname}" != "" ]; then
    patch -Np1 -i ${srcdir}/$_patchname || return 1
    fi
    # if [ "$CARCH" = "x86_64" ]; then
    cat ../config.x86_64 >./.config
    # else
    cat ../config >./.config
    # fi
    if [ "${_kernelname}" != "" ]; then
    sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
    fi
    # get kernel version
    make prepare
    # load configuration
    # Configure the kernel. Replace the line below with one of your choice.
    make menuconfig # CLI menu for configuration
    #make xconfig # X-based configuration
    #make oldconfig # using old config from previous kernel version
    # ... or manually edit .config
    # stop here
    # this is useful to configure the kernel
    #msg "Stopping build"
    #return 1
    yes "" | make config
    # build!
    make bzImage modules || return 1
    package_kernel26-git() {
    pkgdesc="The Linux Kernel and modules"
    backup=(etc/mkinitcpio.d/${pkgname}.preset)
    depends=('coreutils' 'kernel26-firmware>=2.6.32' 'module-init-tools' 'mkinitcpio>=0.5.20')
    # 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' 'squashfs' 'unionfs' 'ivtv'
    'zd1211' 'kvm-modules' 'iwlwifi' 'rt2x00-cvs'
    'gspcav1' 'atl2' 'wlan-ng26' 'rt2500')
    install=kernel26.install
    optdepends=('crda: to set the correct wireless channels of your country')
    KARCH=x86
    cd ${srcdir}/$_branch
    _kernver="$(make kernelrelease)"
    mkdir -p ${pkgdir}/{lib/modules,boot}
    make INSTALL_MOD_PATH=${pkgdir} modules_install || return 1
    cp System.map ${pkgdir}/boot/System.map26${_kernelname}
    cp arch/$KARCH/boot/bzImage ${pkgdir}/boot/vmlinuz26${_kernelname}
    # # add vmlinux
    install -m644 -D vmlinux ${pkgdir}/usr/src/linux-${_kernver}/vmlinux
    # install fallback mkinitcpio.conf file and preset file for kernel
    install -m644 -D ${srcdir}/kernel26.preset ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset || return 1
    # set correct depmod command for install
    sed \
    -e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/g" \
    -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
    -i $startdir/kernel26.install
    sed \
    -e "s|source .*|source /etc/mkinitcpio.d/kernel26${_kernelname}.kver|g" \
    -e "s|default_image=.*|default_image=\"/boot/${pkgname}.img\"|g" \
    -e "s|fallback_image=.*|fallback_image=\"/boot/${pkgname}-fallback.img\"|g" \
    -i ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset
    echo -e "# DO NOT EDIT THIS FILE\nALL_kver='${_kernver}'" > ${pkgdir}/etc/mkinitcpio.d/${pkgname}.kver
    # remove build and source links
    rm -f ${pkgdir}/lib/modules/${_kernver}/{source,build}
    # remove the firmware
    rm -rf ${pkgdir}/lib/firmware
    package_kernel26-git-headers() {
    pkgdesc="Header files and scripts for building modules for kernel26"
    mkdir -p ${pkgdir}/lib/modules/${_kernver}
    cd ${pkgdir}/lib/modules/${_kernver}
    ln -sf ../../../usr/src/linux-${_kernver} build
    cd ${srcdir}/$_branch
    install -D -m644 Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/Makefile
    install -D -m644 kernel/Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/kernel/Makefile
    install -D -m644 .config \
    ${pkgdir}/usr/src/linux-${_kernver}/.config
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include
    for i in acpi asm-{generic,x86} config linux math-emu media net pcmcia scsi sound trace video; do
    cp -a include/$i ${pkgdir}/usr/src/linux-${_kernver}/include/
    done
    # copy arch includes for external modules
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/x86
    cp -a arch/x86/include ${pkgdir}/usr/src/linux-${_kernver}/arch/x86/
    # copy files necessary for later builds, like nvidia and vmware
    cp Module.symvers ${pkgdir}/usr/src/linux-${_kernver}
    cp -a scripts ${pkgdir}/usr/src/linux-${_kernver}
    # fix permissions on scripts dir
    chmod og-w -R ${pkgdir}/usr/src/linux-${_kernver}/scripts
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/kernel
    cp arch/$KARCH/Makefile ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
    if [ "$CARCH" = "i686" ]; then
    cp arch/$KARCH/Makefile_32.cpu ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
    fi
    cp arch/$KARCH/kernel/asm-offsets.s ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/kernel/
    # add headers for lirc package
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video
    cp drivers/media/video/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/
    for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102 usbvideo zc0301; do
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
    cp -a drivers/media/video/$i/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
    done
    # add docbook makefile
    install -D -m644 Documentation/DocBook/Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile
    # add dm headers
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/md
    cp drivers/md/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/md
    # add inotify.h
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/linux
    cp include/linux/inotify.h ${pkgdir}/usr/src/linux-${_kernver}/include/linux/
    # add wireless headers
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/
    cp net/mac80211/*.h ${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/9912
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core
    cp drivers/media/dvb/dvb-core/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core/
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/11194
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
    cp include/config/dvb/*.h ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
    # add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
    # in reference to:
    # http://bugs.archlinux.org/task/13146
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    cp drivers/media/dvb/frontends/lgdt330x.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    cp drivers/media/video/msp3400-driver.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    # add xfs and shmem for aufs building
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/fs/xfs
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/mm
    cp fs/xfs/xfs_sb.h ${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h
    # add headers vor virtualbox
    # in reference to:
    # http://bugs.archlinux.org/task/14568
    cp -a include/drm $pkgdir/usr/src/linux-${_kernver}/include/
    # add headers for broadcom wl
    # in reference to:
    # http://bugs.archlinux.org/task/14568
    cp -a include/trace $pkgdir/usr/src/linux-${_kernver}/include/
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/`echo $i | sed 's|/Kconfig.*||'`
    cp $i ${pkgdir}/usr/src/linux-${_kernver}/$i
    done
    cd ${pkgdir}/usr/src/linux-${_kernver}/include && ln -s asm-$KARCH asm
    # add header for aufs2-util
    cp -a ${srcdir}/$_branch/include/asm-generic/bitsperlong.h ${pkgdir}/usr/src/linux-${_kernver}/include/asm/
    chown -R root.root ${pkgdir}/usr/src/linux-${_kernver}
    find ${pkgdir}/usr/src/linux-${_kernver} -type d -exec chmod 755 {} \;
    # remove unneeded architectures
    rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}
    package_kernel26-firmware() {
    pkgdesc="The included firmware files of the Linux Kernel"
    groups=('base')
    cd ${srcdir}/$_branch
    make firmware || return 1
    make INSTALL_MOD_PATH=${pkgdir} firmware_install || return 1
    Last edited by eldragon (2010-04-04 14:58:16)

    ngoonee wrote:
    Check out this line
    for i in acpi asm-{generic,x86} config linux math-emu media net pcmcia scsi sound trace video; do
    for anything that might be missing. The error message when compiling would give you more of a clue. Off-hand, you may need to add 'generated', as I recall I needed that when the kernel moved to 2.6.33.
    Problem with vbox_build_module after Kernel update.
    Would you care to elaborate for us less versed in "Linux Geek" skills?
    Thanks.......
    [root@Arch2009p2 jeff]# vbox_build_module
    Building vboxdrv for Linux 2.6.33-ARCH
    make[1]: Entering directory `/opt/VirtualBox/src/vboxdrv'
    for f in . linux r0drv r0drv/generic r0drv/linux VBox common/err common/string common/log generic math/gcc; \
    do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
    rm -rf .vboxdrv* .tmp_ver* vboxdrv.* Module.symvers Modules.symvers modules.order
    make[1]: Leaving directory `/opt/VirtualBox/src/vboxdrv'
    make[1]: Entering directory `/opt/VirtualBox/src/vboxnetflt'
    for f in . linux r0drv r0drv/linux VBox common/err common/string common/log generic math/gcc; \
    do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
    rm -rf .vboxnetflt* .tmp_ver* vboxnetflt.* Modules.symvers modules.order
    make[1]: Leaving directory `/opt/VirtualBox/src/vboxnetflt'
    make[1]: Entering directory `/opt/VirtualBox/src/vboxnetadp'
    for f in . linux r0drv r0drv/linux VBox common/err common/string common/log generic math/gcc; \
    do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
    rm -rf .vboxnetadp* .tmp_ver* vboxnetadp.* Modules.symvers modules.order
    make[1]: Leaving directory `/opt/VirtualBox/src/vboxnetadp'
    rm -f vboxdrv.ko vboxnetflt.ko vboxnetadp.ko
    *** Building 'vboxdrv' module ***
    make[1]: Entering directory `/opt/VirtualBox/src/vboxdrv'
    make KBUILD_VERBOSE= -C /lib/modules/2.6.33-ARCH/build SUBDIRS=/opt/VirtualBox/src/vboxdrv SRCROOT=/opt/VirtualBox/src/vboxdrv modules
    make[2]: Entering directory `/usr/src/linux-2.6.33-ARCH'
    CC [M] /opt/VirtualBox/src/vboxdrv/linux/SUPDrv-linux.o
    In file included from /opt/VirtualBox/src/vboxdrv/include/VBox/types.h:34,
    from /opt/VirtualBox/src/vboxdrv/linux/../SUPDrvInternal.h:39,
    from /opt/VirtualBox/src/vboxdrv/linux/SUPDrv-linux.c:37:
    /opt/VirtualBox/src/vboxdrv/include/iprt/types.h:100:30: error: linux/autoconf.h: No such file or directory
    make[3]: *** [/opt/VirtualBox/src/vboxdrv/linux/SUPDrv-linux.o] Error 1
    make[2]: *** [_module_/opt/VirtualBox/src/vboxdrv] Error 2
    make[2]: Leaving directory `/usr/src/linux-2.6.33-ARCH'
    make[1]: *** [vboxdrv] Error 2
    make[1]: Leaving directory `/opt/VirtualBox/src/vboxdrv'
    make: *** [all] Error 2

  • Where are the kernel-headers?

    I'm trying to compile a gamepad driver but I don't know what directory to put into the makefile for the KERNEL_DIR section.  The guide I'm following is for Ubuntu and it has it in /usr/src but I can't seem to find a "kernel-headers" file.
    Thanks,
    Nathan

    Make sure that you have the kernel-headers package installed. Then you'll find them in /usr/src/linux-2.6.24-ARCH.

  • Arch Won't Boot After Kernel Upgrade

    I installed Arch on VirtualBox, but after upgrading the Kernel to 2.6.30 it wouldn't boot. It gets to "Loading udev...." and then VirtualBox crashes.

    Hello, I'm having this same problem, except I'm not using VirtualBox or VMWare, I have Arch installed to the hard drive. It worked fine after upgrading to 2.6.30, but after upgrading kernel-headers to 2.6.30.1-1, neither Arch NOR Arch-Fallback will boot! I don't even get to Udev or the part where the two arch logos are on top. It just starts up a little bit, then restarts my computer.
    I don't even know if my system has been wiped or something, but I doubt that; I think it's just the booting process. I do have a 2009.2 Live CD, but it's an FTP installation. Is there any way to start up my live CD and do a pacman -U for the old kernel version with the cache on my hard drive? How would I do this?
    Last edited by Allamgir (2009-07-07 00:32:12)

  • Kernel Headers without internet connection without pacman -S

    Hi all,
    I need to rebuild the wl module after upgrading to kernel 2.6.32. When I compile the source code it gives an error saying I have to install kernel headers. The problem is that I dont have access wired internet so I have to download the kernel headers to another computer and move it to mine with a usb stick. Is there any way to find the kernel headers as a package and install it with the command pacman -u ?
    Thanks in advance
    Regards
    Last edited by ramsesiitr (2010-03-07 22:38:39)

    Hi again,
    The problem is solved. First of all, I just realized that I opened the topic with wrong subject title. Sorry for that.
    As I said before, I could only reach wireless internet, but in order to make the wireless work I had to compile wl module. But, after I performed the upgrade to kernel 2.6.32, I needed the kernel header in order to compile it. What I did was downloaded the kernel26-headers 2.6.32.9-1 package from here: http://repos.archlinux.org/wsvn/package … re-x86_64/ then I downloaded the kernel-2.6.32 and patch-2.6.32.9-1-Arch files as indicated in PKGBUILD file.
    Then I place these two files same folder with PKGBUILD. I changed the source lines in PKGBUILD and ran
    makepkg --asroot
    pacman -U <created_package_name>
    then I was able to compile the necessary module.
    I am newbee for Archlinux. Hope I have done the right things so far.
    Thanks

  • Kernel headers makepkg

    I have two kernels installed :  one is the stock kernel from the repositories (3.2.5) the other is a custom kernel (3.2.4). I have linux-headers (3.2.5) installed but I am booting into the 3.2.4 kernel to build the nvidia proprietary module. The issue is that I have no idea on how to point the build system to the kernel source tree (afaik that's the issue here). These are sources lifted from kernel.org:-
    Thanks.
    Creating directory NVIDIA-Linux-x86_64-290.10-no-compat32
    Verifying archive integrity... OK
    Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 290.10........................................................................................................................................
    If you are using a Linux 2.4 kernel, please make sure
    you either have configured kernel sources matching your
    kernel or the correct set of kernel headers installed
    on your system.
    If you are using a Linux 2.6 kernel, please make sure
    you have configured kernel sources matching your kernel
    installed on your system. If you specified a separate
    output directory using either the "KBUILD_OUTPUT" or
    the "O" KBUILD parameter, make sure to specify this
    directory with the SYSOUT environment variable or with
    the equivalent nvidia-installer command line option.
    Depending on where and how the kernel sources (or the
    kernel headers) were installed, you may need to specify
    their location with the SYSSRC environment variable or
    the equivalent nvidia-installer command line option.
    *** Unable to determine the target kernel version. ***
    make: *** [select_makefile] Error 1
    ==> ERROR: A failure occurred in build().
        Aborting...
    $ ls /usr/src/
    -rw-r--r-- 1 root root 81288 Feb 5 19:21 3.2-hardened.config
    lrwxrwxrwx 1 root root 17 Feb 14 00:28 linux -> linux-3.2.4-ARCH/
    drwxr-xr-x 2 root root 4096 Jan 26 07:47 linux-3.2.2-1-ARCH
    drwxrwxr-x 24 root root 4096 Feb 7 00:06 linux-3.2.4-ARCH
    -rw-r--r-- 1 root root 78125482 Feb 3 20:48 linux-3.2.4.tar.bz2
    drwxr-xr-x 21 root root 4096 Feb 7 07:42 linux-3.2.5-1-ARCH
    I thought it might be a symlink (shot in the dark) - I'm sure I read that somewhere, I also read that it is no longer used. Is this correct?
    $ cat nvidia.install
    post_install() {
    EXTRAMODULES='extramodules-3.2.4-ARCH'
    depmod $(cat /lib/modules/$EXTRAMODULES/version)
    echo 'In order to use nvidia module, reboot the system.'
    post_upgrade() {
    EXTRAMODULES='extramodules-3.2.4-ARCH'
    depmod $(cat /lib/modules/$EXTRAMODULES/version)
    post_remove() {
    EXTRAMODULES='extramodules-3.2.4-ARCH'
    depmod $(cat /lib/modules/$EXTRAMODULES/version)
    cat PKGBUILD
    # $Id: PKGBUILD 146818 2012-01-18 17:17:23Z tpowa $
    # Maintainer : Thomas Baechler <[email protected]>
    pkgname=nvidia-custom
    pkgver=290.10
    _extramodules=extramodules-3.2.4-ARCH
    _kernver="$(cat /lib/modules/${_extramodules}/version)"
    pkgrel=2
    pkgdesc="NVIDIA drivers for linux."
    arch=('i686' 'x86_64')
    url="http://www.nvidia.com/"
    depends=('linux>=3.2' 'linux<3.3' "nvidia-utils=${pkgver}")
    makedepends=('linux-headers>=3.2' 'linux-headers<3.3')
    conflicts=('nvidia-96xx' 'nvidia-173xx')
    license=('custom')
    install=nvidia.install
    options=(!strip)
    if [ "$CARCH" = "i686" ]; then
    _arch='x86'
    _pkg="NVIDIA-Linux-${_arch}-${pkgver}"
    source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
    md5sums=('50319a4b3818c12c9c7243525e0e6316')
    elif [ "$CARCH" = "x86_64" ]; then
    _arch='x86_64'
    _pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32"
    source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
    md5sums=('cebfba9a7e91716a06c66bb5b38d9661')
    fi
    build() {
    cd "${srcdir}"
    sh "${_pkg}.run" --extract-only
    cd "${_pkg}/kernel"
    make SYSSRC=/lib/modules/"${_kernver}/build" module
    package() {
    install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \
    "${pkgdir}/lib/modules/${_extramodules}/nvidia.ko"
    install -d -m755 "${pkgdir}/etc/modprobe.d"
    #echo "blacklist nouveau" >> "${pkgdir}/etc/modprobe.d/nouveau_blacklist.conf"
    sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${_extramodules}'/" "${startdir}/nvidia.install"
    gzip "${pkgdir}/lib/modules/${_extramodules}/nvidia.ko"
    Last edited by YellowSnowIsBad (2012-02-14 01:45:14)

    Bump. I am new to this - need help.

  • Kernel headers for 2.6.17

    Where do I find the kernel headers package for linux-2.6.17-ARCH, the new kernel? I searched the repos and only found headers for 2.6.12.

    Well, I'm trying to reinstall vmware after the big upgrade today. I have vmware 4.5.1. During the install, while running the vmware-install.pl script, when it asks for the directory of the C header files that match the currently running kernel, I enter: "/usr/src/linux-2.6.17-ARCH/include". Then I get this error message: "The kernel defined by this directory of header files does not have the same address space size as your running kernel." I've tried several of the directories under /usr/src/linux-2.6.17-ARCH, but none of them work. Any ideas?

  • Ppc glibc: problem with kernel-headers dependency

    I wasn't sure where to post this... After attempting to follow the tutorial Wii Tutorial here: http://wiki.archlinux.org/index.php/Wii_Tutorial I discovered that the kernel-headers dependency of glibc is set to the wrong version. The dependency is kernel-headers version 2.6.29.4. However, in the repository, the current version is 2.6.29.1-1. I'm not sure what's going on here.

    DaNiMoTh wrote:
    Fixed with release of 2.6.29.4 kernel-headers package. Next time, fill the bug on our flyspray ( bugs.archlinux.org ), we'll correct much faster.
    Thanks
    ppc architecture is not supported by archlinux.org . the project is supported by http://archlinuxppc.org/
    Last edited by wonder (2009-11-20 19:23:11)

  • [SOLVED] kernel-headers & VirtualBox. Still same problems! (

    Hi guys, i'm new to this forum, but i didn't found an answer anywhere! I'm trying to install VirtualBox 4.2.10 from terminal on my x86 Oracle Linux.
    Half year ago, when i tried first, i couldn't resolv the problem and still the same problem today - NO KERNEL HEADERS for ORACLE Linux in REPO! What did wrong after update? I can found headers only for RHEL original kernel, but i don't want to use 2.6.32 kernel version.
    Can someone help me and describe true and complete installation VirtualBox for Oracle Linux??? Thanks ahead!
    Edited by: 996048 on 25.03.2013 13:26
    Edited by: 996048 on 25.03.2013 13:30

    996048 wrote:
    Hi guys, i'm new to this forum, but i didn't found an answer anywhere! I'm trying to install VirtualBox 2.4.10 from terminal on my x86 Oracle Linux.
    Half year ago, when i tried first, i couldn't resolv the problem and still the same problem today - NO KERNEL HEADERS for ORACLE Linux in REPO! What did wrong after update? I can found headers only for RHEL original kernel, but i don't want to use 2.6.32 kernel version.
    Can someone help me and describe true and complete installation VirtualBox for Oracle Linux??? Thanks ahead!In spite of Rukbat's response, I don't see that we are dealing with a vbox issue .... yet.
    We can't know what you did wrong until you know what you did.
    Exactly What command did you issue? *Exactly what response did you get?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Download kernel-headers-2.6.18-8.el5.x86_64

    Hi
    please help me How to down load the kernel-headers-2.6.18-8.el5.x86_64 RPM
    please provide me the link
    Thanks
    simha

    Hi
    I download the soft ware and i taken form the DUMP and i try to install it showing the error like
    please suggest me to install the package..............
    rpm -Uvh kernel-headers-2.6.18-194.el5.x86_64.rpm
    Preparing... ########################################### [100%]
    file /usr/include/asm-generic/fcntl.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-uek-headers-2.6.32-100.35.1.el5uek.x86_64
    file /usr/include/asm-generic/ioctl.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-uek-headers-2.6.32-100.35.1.el5uek.x86_64
    file /usr/include/asm-generic/mman.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-uek-headers-2.6.32-100.35.1.el5uek.x86_64
    file /usr/include/asm-generic/resource.h from install of kernel-headers-2.6.18-194.el5.x86_64 conflicts with file from package kernel-uek-headers-2.6.32-100.35.1.el5uek.x86_64
    Thanks
    simha

  • Kernel-headers: /usr/include/linux/ivtv.h exists in filesystem

    can't update kernelheaders caus that file exist issue!
    kernel-headers: /usr/include/linux/ivtv.h exists in filesystem

    Find out which package it belongs to (pacman will do this for you), then report it on the bugtracker, if it hasn't already been reported.

  • [SOLVED] VMplayer no kernel headers

    Hello all,
    Just installed VMPlayer via the following link:
    https://wiki.archlinux.org/index.php/VM … n.2FPlayer
    and when I run vmware-modconfig --console --install-all  I receive the following error:
    gcc and kernel headers must be installed.
    I installed via:
    pacman -S base-devel
    It appeared to install everything, however I still get the error.
    I checked this link:
    https://bbs.archlinux.org/viewtopic.php?id=75988
    but that was not for player.
    all help is appreciated.
    --nixIT
    Last edited by nixIT (2011-10-10 02:18:18)

    It's written right here: https://wiki.archlinux.org/index.php/VM … m.5B....5D :-)

Maybe you are looking for