[SOLVED] Catalyst-hook won't build kernel module

I HAVE SOLVED THE PROBLEM. I WAS MISSING /usr/lib/modules/extramodules-3.11-ARCH/version !
Hello, I got a problem with my Arch Linux install. Today I got a new kernel update (Linux-3.11.1-2-ARCH) and catalyst-hook attemptet to rebuild the fglrx kernel module, but failed.
This is my /var/log/catalyst-install.log:
2013-09-25 13:09:13
Building fglrx module for 3.11.1-2-ARCH kernel ...
OsVersion says: SMP=1
file /proc/kallsyms says: SMP=1
file /usr/lib/modules/3.11.1-2-ARCH/build/include/generated/autoconf.h says: SMP=1
file /usr/lib/modules/3.11.1-2-ARCH/build/include/generated/autoconf.h says: MODVERSIONS=1
file /usr/lib/modules/3.11.1-2-ARCH/build/arch/x86/include/asm/compat.h says: COMPAT_ALLOC_USER_SPACE=arch_compat_alloc_user_sp$
make: Entering directory `/usr/src/linux-3.11.1-2-ARCH'
CC [M] /tmp/catalyst.H8Xs1y/firegl_public.o
CC [M] /tmp/catalyst.H8Xs1y/kcl_acpi.o
CC [M] /tmp/catalyst.H8Xs1y/kcl_agp.o
CC [M] /tmp/catalyst.H8Xs1y/kcl_debug.o
CC [M] /tmp/catalyst.H8Xs1y/kcl_ioctl.o
CC [M] /tmp/catalyst.H8Xs1y/kcl_io.o
CC [M] /tmp/catalyst.H8Xs1y/kcl_pci.o
CC [M] /tmp/catalyst.H8Xs1y/kcl_str.o
CC [M] /tmp/catalyst.H8Xs1y/kcl_iommu.o
CC [M] /tmp/catalyst.H8Xs1y/kcl.o
CC [M] /tmp/catalyst.H8Xs1y/kcl_wait.o
LD [M] /tmp/catalyst.H8Xs1y/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/catalyst.H8Xs1y/fglrx.mod.o
LD [M] /tmp/catalyst.H8Xs1y/fglrx.ko
make: Leaving directory `/usr/src/linux-3.11.1-2-ARCH'
install: missing destination file operand after ‘fglrx.ko.gz’
Try 'install --help' for more information.
Please let me know if you need more information, and where/how I can get it.
Last edited by xeekei (2013-09-25 21:30:35)

Hey man have had the same issue.
How did you go about solving it?

Similar Messages

  • [SOLVED] nVidia 87.76 Drivers installer fails to build kernel module

    Hey,
    I have a nVidia GeForce2 Integrated graphics card on my Asus A7N266 motherboard. According to the nVidia site, http://www.nvidia.com/object/IO_32667.html, the most recent driver that supports this is the 96.xx series. Yet as shown here, http://www.nvnews.net/vbulletin/showthread.php?t=87332, many people have found that the 96.xx series drivers cause graphical corruption when using a GeForce2 IGP.
    Before coming to Arch, I had used Xubuntu 7.04 and managed to compile the last known working drivers, version 87.76, following the instructions here: http://kmandla.wordpress.com/2007/03/25 … 20-12-386/
    That all went well but now I'm using Arch. I tried using the nvidia-96.xx driver in the repos just for testing sake but I still got the same graphical corruption.
    Thus I have been trying to install the 87.76 drivers on Arch, but it always fails at the kernel module building stage. I had first applied this patch here, http://www.nvnews.net/vbulletin/showthr … ost1086669, before compling as the plain driver wont compile against recent kernels.
    Here is the output from the installer:
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Sun Aug 5 11:57:53 2007
    option status:
    license pre-accepted : false
    update : false
    force update : false
    expert : false
    uninstall : false
    driver info : false
    precompiled interfaces : true
    no ncurses color : false
    query latest version : false
    OpenGL header files : true
    no questions : false
    silent : false
    no recursion : false
    no backup : false
    kernel module only : false
    sanity : false
    add this kernel : false
    no runlevel check : false
    no network : false
    no ABI note : false
    no RPMs : false
    no kernel module : false
    force SELinux : default
    force tls : (not specified)
    X install prefix : (not specified)
    X library install path : (not specified)
    X module install path : (not specified)
    OpenGL install prefix : (not specified)
    OpenGL install libdir : (not specified)
    utility install prefix : (not specified)
    utility install libdir : (not specified)
    doc install prefix : (not specified)
    kernel name : (not specified)
    kernel include path : (not specified)
    kernel source path : (not specified)
    kernel output path : (not specified)
    kernel install path : (not specified)
    proc mount point : /proc
    ui : (not specified)
    tmpdir : /tmp
    ftp mirror : ftp://download.nvidia.com
    RPM file list : (not specified)
    Using: nvidia-installer ncurses user interface
    -> License accepted.
    -> No precompiled kernel interface was found to match your kernel; would you li
    ke the installer to attempt to download a kernel interface for your kernel f
    rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
    -> No matching precompiled kernel interface was found on the NVIDIA ftp site;
    this means that the installer will need to compile a kernel interface for
    your kernel.
    -> Performing CC sanity check with CC="cc".
    -> Performing CC version check with CC="cc".
    -> Kernel source path: '/lib/modules/2.6.22-ARCH/build'
    -> Kernel output path: '/lib/modules/2.6.22-ARCH/build'
    -> Performing rivafb check.
    -> Performing nvidiafb check.
    -> Cleaning kernel module build directory.
    executing: 'cd ./usr/src/nv; make clean'...
    rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nv.o nv
    -vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvidia.mod.o
    rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
    rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
    rm -f -f stprof stprof.o symtab.h
    rm -f -rf .tmp_versions
    -> Building kernel module:
    executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.22-ARCH/bui
    ld SYSOUT=/lib/modules/2.6.22-ARCH/build'...
    NVIDIA: calling KBUILD...
    make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.22-ARCH/build SUBDIRS=/home
    /kris/Source/nVidia GLX 87.76 Driver/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/
    nv modules
    test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
    echo; \
    echo " ERROR: Kernel configuration is invalid."; \
    echo " include/linux/autoconf.h or include/config/auto.conf are mis
    sing."; \
    echo " Run 'make oldconfig && make prepare' on kernel src to fix it
    echo; \
    /bin/false)
    make[2]: *** No rule to make target `GLX'. Stop.
    NVIDIA: left KBUILD.
    nvidia.ko failed to build!
    make[1]: *** [mdl] Error 1
    make: *** [module] Error 2
    -> Error.
    ERROR: Unable to build the NVIDIA kernel module.
    ERROR: Installation has failed. Please see the file
    '/var/log/nvidia-installer.log' for details. You may find suggestions
    on fixing installation problems in the README available on the Linux
    driver download page at www.nvidia.com.
    Any ideas as to how I can get the kernel module to build?
    I am using 'kernel26 2.6.22.1-4' with the 'kernel-headers 2.6.22.1-1' from the testing repo.
    Last edited by Nameless One (2007-08-10 07:08:38)

    make CC=cc  KBUILD_VERBOSE=1 -C /lib/modules/2.6.22-ARCH/buildSUBDIRS=/home/kris/Source/nVidia GLX 87.76 Driver/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/
    The name of the directory you placed the driver in contains spaces. That is  why you get the no rule to make target GLX error.
    It would be better not to circumvent pacman. I am using the following PKGBUILDs for the 8776 driver:
    nvidia-8776:
    pkgname=nvidia-8776
    pkgver=1.0.8776
    _nver=1.0-8776
    _kernver='2.6.22-ARCH'
    pkgrel=1
    pkgdesc="NVIDIA drivers for Arch kernel."
    arch=(i686 x86_64)
    [ "$CARCH" = "i686" ] && ARCH=x86
    [ "$CARCH" = "x86_64" ] && ARCH=x86_64
    url="http://www.nvidia.com/"
    depends=(kernel26 nvidia-8776-utils)
    conflicts=('nvidia' 'nvidia-96xx' 'nvidia-71xx' 'nvidia-legacy')
    install=nvidia.install
    source=(http://download.nvidia.com/XFree86/Linux-$ARCH/${_nver}/NVIDIA-Linux-$ARCH-${_nver}-pkg0.run NVIDIA_kernel-1.0-8776-20061203.diff.txt)
    md5sums=('93ad45fe7b974a5a80348e1890f9b7c9' '70e669f06ee4881c2583261672de292a')
    [ "$CARCH" = "x86_64" ] && md5sums=('f5340e4bbce811add994b1685cdea03b' '70e669f06ee4881c2583261672de292a')
    build()
    # Extract
    cd $startdir/src/
    sh NVIDIA-Linux-$ARCH-${_nver}-pkg0.run --extract-only
    cd NVIDIA-Linux-$ARCH-${_nver}-pkg0
    # Any extra patches are applied in here...
    patch -p0 < $startdir/NVIDIA_kernel-1.0-8776-20061203.diff.txt ||return 1
    cd usr/src/nv/
    ln -s Makefile.kbuild Makefile
    make SYSSRC=/lib/modules/$_kernver/build module || return 1
    # install kernel module
    mkdir -p $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/video/
    install -m644 nvidia.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/video/
    sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install
    Place the patch (NVIDIA_kernel-1.0-8776-20061203.diff.txt) and nvidia.install in the same directory as the PKGBUILD.
    nvidia-utils:
    pkgname=nvidia-8776-utils
    pkgver=1.0.8776
    _nver=1.0-8776
    pkgrel=1
    pkgdesc="NVIDIA drivers utilities and libraries."
    arch=(i686 x86_64)
    [ "$CARCH" = "i686" ] && ARCH=x86
    [ "$CARCH" = "x86_64" ] && ARCH=x86_64
    url="http://www.nvidia.com/"
    depends=(xorg-server)
    conflicts=('libgl' 'libgl-dri' 'ati-fglrx-utils' 'nvidia-legacy-utils' 'nvidia-71xx-utils' 'nvidia-96xx-utils')
    provides=('libgl' )
    #install=nvidia.install
    source=(http://download.nvidia.com/XFree86/Linux-$ARCH/${_nver}/NVIDIA-Linux-$ARCH-${_nver}-pkg0.run)
    md5sums=('93ad45fe7b974a5a80348e1890f9b7c9')
    [ "$CARCH" = "x86_64" ] && md5sums=('f5340e4bbce811add994b1685cdea03b')
    build()
    # override nvida install routine and do it the long way.
    cd $startdir/src/
    sh NVIDIA-Linux-${ARCH}-${_nver}-pkg0.run --extract-only
    cd NVIDIA-Linux-${ARCH}-${_nver}-pkg0/usr/
    mkdir -p $startdir/pkg/usr/{lib,bin,share/applications,share/pixmaps,man/man1}
    mkdir -p $startdir/pkg/usr/lib/xorg/modules/{extensions,drivers}
    mkdir -p $startdir/pkg/usr/share/licenses/nvidia/
    install `find lib/ -iname \*.so\*` $startdir/pkg/usr/lib/
    install lib/tls/* $startdir/pkg/usr/lib
    install share/man/man1/* $startdir/pkg/usr/man/man1/
    rm $startdir/pkg/usr/man/man1/nvidia-installer.1.gz
    install X11R6/lib/libXv* $startdir/pkg/usr/lib/
    install share/applications/nvidia-settings.desktop $startdir/pkg/usr/share/applications/
    # fix nvidia .desktop file
    sed -e 's:__UTILS_PATH__:/usr/bin:' -e 's:__PIXMAP_PATH__:/usr/share/pixmaps:' -i $startdir/pkg/usr/share/applications/nvidia-settings.desktop
    install share/pixmaps/nvidia-settings.png $startdir/pkg/usr/share/pixmaps/
    install X11R6/lib/modules/drivers/nvidia_drv.so $startdir/pkg/usr/lib/xorg/modules/drivers
    install X11R6/lib/modules/extensions/libglx.so.$pkgver $startdir/pkg/usr/lib/xorg/modules/extensions
    install -m755 bin/nvidia-{settings,xconfig,bug-report.sh} $startdir/pkg/usr/bin/
    cd $startdir/pkg/usr/lib/;
    ln -s /usr/lib/libGL.so.$pkgver libGL.so
    ln -s /usr/lib/libGL.so.$pkgver libGL.so.1
    ln -s /usr/lib/libGLcore.so.$pkgver libGLcore.so.1
    ln -s /usr/lib/libnvidia-cfg.so.$pkgver libnvidia-cfg.so.1
    ln -s /usr/lib/libnvidia-tls.so.$pkgver libnvidia-tls.so.1
    cd $startdir/pkg/usr/lib/xorg/modules/extensions;
    ln -s /usr/lib/xorg/modules/extensions/libglx.so.$pkgver libglx.so
    install $startdir/src/NVIDIA-Linux-${ARCH}-${_nver}-pkg0/LICENSE $startdir/pkg/usr/share/licenses/nvidia/
    find $startdir/pkg/usr -type d -exec chmod 755 {} \;
    # phew :)
    Last edited by kappa (2007-08-09 11:14:42)

  • Proper method for building kernel modules? [solved]

    I am attempting to build a custom kernel module for a PCI express interface to an FPGA.  However, I seem to be running into some issues with getting the standard kernel module makefile to work correctly.  Here is my makefile:
    # object files to build
    obj-m += nnic.o
    nic-objs += nnic_driver.o
    all:
    make -C /lib/modules/$(shell uname -r)/build M=$(pwd) modules
    clean:
    make -C /lib/modules/$(shell uname -r)/build M=$(pwd) clean
    However, the first time I ran 'make', I got this output:
    make -C /lib/modules/3.14.1-1-ARCH/build M= modules
    make[1]: Entering directory '/usr/lib/modules/3.14.1-1-ARCH/build'
    Makefile:608: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
    scripts/kconfig/conf --silentoldconfig Kconfig
    *** Error during update of the configuration.
    /usr/lib/modules/3.14.1-1-ARCH/build/scripts/kconfig/Makefile:36: recipe for target 'silentoldconfig' failed
    make[3]: *** [silentoldconfig] Error 1
    /usr/lib/modules/3.14.1-1-ARCH/build/Makefile:512: recipe for target 'silentoldconfig' failed
    make[2]: *** [silentoldconfig] Error 2
    scripts/Makefile.build:44: /usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile: No such file or directory
    make[2]: *** No rule to make target '/usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile'. Stop.
    /usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/Makefile:183: recipe for target 'archheaders' failed
    make[1]: *** [archheaders] Error 2
    make[1]: Leaving directory '/usr/lib/modules/3.14.1-1-ARCH/build'
    Makefile:7: recipe for target 'all' failed
    make: *** [all] Error 2
    After poking around online, I decided to try running make as root.  I got the following output:
    make -C /lib/modules/3.14.1-1-ARCH/build M= modules
    make[1]: Entering directory '/usr/lib/modules/3.14.1-1-ARCH/build'
    scripts/kconfig/conf --silentoldconfig Kconfig
    scripts/Makefile.build:44: /usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile: No such file or directory
    make[2]: *** No rule to make target '/usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile'. Stop.
    /usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/Makefile:183: recipe for target 'archheaders' failed
    make[1]: *** [archheaders] Error 2
    make[1]: Leaving directory '/usr/lib/modules/3.14.1-1-ARCH/build'
    Makefile:7: recipe for target 'all' failed
    make: *** [all] Error 2
    Now, when runing 'make' as a normal user, I get:
    make -C /lib/modules/3.14.1-1-ARCH/build M= modules
    make[1]: Entering directory '/usr/lib/modules/3.14.1-1-ARCH/build'
    Makefile:608: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
    scripts/Makefile.build:44: /usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile: No such file or directory
    make[2]: *** No rule to make target '/usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile'. Stop.
    /usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/Makefile:183: recipe for target 'archheaders' failed
    make[1]: *** [archheaders] Error 2
    make[1]: Leaving directory '/usr/lib/modules/3.14.1-1-ARCH/build'
    Makefile:7: recipe for target 'all' failed
    make: *** [all] Error 2
    I have the linux-headers package installed.  I do not need to build the whole kernel, only this small module.  What am I missing here?  What is the correct procedure for this?
    Last edited by alex.forencich (2014-04-25 08:16:31)

    Sigh, found the problem.  Should be $(PWD) and not $(pwd) in my makefile.

  • [Solved] Failed to initialize the NVIDIA kernel module

    Hi all,
    I've just made the jump to arch and have a fresh install. I'm having trouble getting the nvidia drivers to work. I am currently using the nouveau drivers without issue.
    The method I am using - after much trial - is:
    - uninstall nouveau and mesa lib
    - install nvidia package
    - remove nouveau module entry in mkinitcpio.conf
    - run `mkinitcpio -p linux`
    - edit .conf in xorg.conf.d with minimal required settings. Currently:
    Section "Device"
    Identifier "device0"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    EndSection
    I have installed the linux-headers package and tried reinstalling nvidia again
    Card:
    01:00.0 VGA compatible controller: NVIDIA Corporation GF106 [GeForce GTS 450] (rev a1)
    Kernel:
    3.12.6-1-ARCH
    My Xorg.0.log looks like:
    [ 3.979]
    X.Org X Server 1.14.5
    Release Date: 2013-12-12
    [ 3.979] X Protocol Version 11, Revision 0
    [ 3.979] Build Operating System: Linux 3.12.5-1-ARCH x86_64
    [ 3.979] Current Operating System: Linux arch.tempera 3.12.6-1-ARCH #1 SMP PREEMPT Fri Dec 20 19:39:00 CET 2013 x86_64
    [ 3.979] Kernel command line: initrd=\initramfs-linux.img root=/dev/sda2 rw
    [ 3.979] Build Date: 13 December 2013 03:11:42PM
    [ 3.979]
    [ 3.979] Current version of pixman: 0.32.4
    [ 3.979] Before reporting problems, check [url]http://wiki.x.org[/url]
    to make sure that you have the latest version.
    [ 3.979] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 3.979] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan 4 21:29:46 2014
    [ 3.980] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 3.980] (==) No Layout section. Using the first Screen section.
    [ 3.980] (==) No screen section available. Using defaults.
    [ 3.980] (**) |-->Screen "Default Screen Section" (0)
    [ 3.980] (**) | |-->Monitor "<default monitor>"
    [ 3.981] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
    [ 3.981] (**) | |-->Device "device0"
    [ 3.981] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 3.981] (==) Automatically adding devices
    [ 3.981] (==) Automatically enabling devices
    [ 3.981] (==) Automatically adding GPU devices
    [ 3.984] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 3.984] Entry deleted from font path.
    [ 3.984] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 3.984] Entry deleted from font path.
    [ 3.984] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 3.984] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 3.984] Entry deleted from font path.
    [ 3.984] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 3.984] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/
    [ 3.984] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 3.984] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 3.984] (II) Loader magic: 0x7fec20
    [ 3.984] (II) Module ABI versions:
    [ 3.984] X.Org ANSI C Emulation: 0.4
    [ 3.984] X.Org Video Driver: 14.1
    [ 3.984] X.Org XInput driver : 19.1
    [ 3.984] X.Org Server Extension : 7.0
    [ 3.985] (--) PCI:*(0:1:0:0) 10de:0dc4:19da:1184 rev 161, Mem @ 0xf4000000/16777216, 0xe0000000/134217728, 0xe8000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
    [ 3.986] Initializing built-in extension Generic Event Extension
    [ 3.986] Initializing built-in extension SHAPE
    [ 3.986] Initializing built-in extension MIT-SHM
    [ 3.986] Initializing built-in extension XInputExtension
    [ 3.986] Initializing built-in extension XTEST
    [ 3.986] Initializing built-in extension BIG-REQUESTS
    [ 3.986] Initializing built-in extension SYNC
    [ 3.986] Initializing built-in extension XKEYBOARD
    [ 3.986] Initializing built-in extension XC-MISC
    [ 3.986] Initializing built-in extension SECURITY
    [ 3.986] Initializing built-in extension XINERAMA
    [ 3.986] Initializing built-in extension XFIXES
    [ 3.986] Initializing built-in extension RENDER
    [ 3.986] Initializing built-in extension RANDR
    [ 3.986] Initializing built-in extension COMPOSITE
    [ 3.986] Initializing built-in extension DAMAGE
    [ 3.986] Initializing built-in extension MIT-SCREEN-SAVER
    [ 3.986] Initializing built-in extension DOUBLE-BUFFER
    [ 3.986] Initializing built-in extension RECORD
    [ 3.986] Initializing built-in extension DPMS
    [ 3.986] Initializing built-in extension X-Resource
    [ 3.986] Initializing built-in extension XVideo
    [ 3.986] Initializing built-in extension XVideo-MotionCompensation
    [ 3.986] Initializing built-in extension XFree86-VidModeExtension
    [ 3.986] Initializing built-in extension XFree86-DGA
    [ 3.986] Initializing built-in extension XFree86-DRI
    [ 3.986] Initializing built-in extension DRI2
    [ 3.986] (II) LoadModule: "glx"
    [ 3.989] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 4.075] (II) Module glx: vendor="NVIDIA Corporation"
    [ 4.075] compiled for 4.0.2, module version = 1.0.0
    [ 4.075] Module class: X.Org Server Extension
    [ 4.075] (II) NVIDIA GLX Module 331.20 Wed Oct 30 17:36:48 PDT 2013
    [ 4.076] Loading extension GLX
    [ 4.076] (II) LoadModule: "nvidia"
    [ 4.076] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 4.082] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 4.082] compiled for 4.0.2, module version = 1.0.0
    [ 4.082] Module class: X.Org Video Driver
    [ 4.083] (II) NVIDIA dlloader X Driver 331.20 Wed Oct 30 17:16:53 PDT 2013
    [ 4.083] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 4.083] (++) using VT number 7
    [ 4.090] (II) Loading sub module "fb"
    [ 4.090] (II) LoadModule: "fb"
    [ 4.090] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 4.091] (II) Module fb: vendor="X.Org Foundation"
    [ 4.091] compiled for 1.14.5, module version = 1.0.0
    [ 4.091] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 4.091] (WW) Unresolved symbol: fbGetGCPrivateKey
    [ 4.091] (II) Loading sub module "wfb"
    [ 4.091] (II) LoadModule: "wfb"
    [ 4.091] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 4.092] (II) Module wfb: vendor="X.Org Foundation"
    [ 4.092] compiled for 1.14.5, module version = 1.0.0
    [ 4.092] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 4.092] (II) Loading sub module "ramdac"
    [ 4.092] (II) LoadModule: "ramdac"
    [ 4.092] (II) Module "ramdac" already built-in
    [ 4.093] (II) NVIDIA(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
    [ 4.093] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
    [ 4.093] (==) NVIDIA(0): RGB weight 888
    [ 4.093] (==) NVIDIA(0): Default visual is TrueColor
    [ 4.093] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [ 4.094] (**) NVIDIA(0): Enabling 2D acceleration
    [ 4.095] (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module. Please see the
    [ 4.095] (EE) NVIDIA(0): system's kernel log for additional error messages and
    [ 4.095] (EE) NVIDIA(0): consult the NVIDIA README for details.
    [ 4.095] (EE) NVIDIA(0): *** Aborting ***
    [ 4.095] (EE) NVIDIA(0): Failing initialization of X screen 0
    [ 4.095] (II) UnloadModule: "nvidia"
    [ 4.095] (II) UnloadSubModule: "wfb"
    [ 4.095] (II) UnloadSubModule: "fb"
    [ 4.095] (EE) Screen(s) found, but none have a usable configuration.
    [ 4.095] (EE)
    Fatal server error:
    [ 4.095] (EE) no screens found(EE)
    [ 4.095] (EE)
    Please consult the The X.Org Foundation support
    at [url]http://wiki.x.org[/url]
    for help.
    [ 4.095] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [ 4.095] (EE)
    [ 4.107] (EE) Server terminated with error (1). Closing log file.
    The only entry I found in `dmesg | grep nvidia` related to nvidia-drm, and seemed to say it was loaded successfully. I didn't save the exact entry and i've reinstalled nouveau now so that I could post this.
    Any help much appriciated. I've been at this for a while. Learning a lot in the process!
    Last edited by gnibbler (2014-01-04 22:31:49)

    Success! Several days of trying various things and I finally give in and make a post to this forum. One more attempt - which was only really so that I could add modprobe info to this post - and it works.
    I had at some stage installed the driver xf86-video-nv, and this may have been causing the clash. I un-installed it, and followed the procedure above to reinstall nvidia.
    I think the main hang up I'd had is that I had not been rebuilding my kernel image with mkinitcpio after installing nvidia during my previous attempts.
    I hope some info in here helps some other stuck archer.
    Edit: Thanks graysky. I had found the right nvidia driver using the arch wiki and followed this advice to remove the nouveau hook. Much appriciated.
    Last edited by gnibbler (2014-01-04 22:35:00)

  • [cisco VPN] Can't build kernel module with 2.6.9-ARCH

    I need to setup a vpn tunnel to my university in order to gain acces to their resources and be able to surf when I am on the campus. With 2.6.8.1 I used the Cisco VPN client 4.0.5 k9. After my upgrade to 2.6.9 I had to rebuild the module, but now it fails to build. Anyone knows how to solve this? Or does anyone know another vpn client that is compatible with Cisco. This piece of software is essential to me. Please help. Here is the output:
    Cisco Systems VPN Client Version 4.0.5 (Rel) Linux Installer
    Copyright (C) 1998-2001 Cisco Systems, Inc. All Rights Reserved.
    By installing this product you agree that you have read the
    license.txt file (The VPN Client license) and will comply with
    its terms.
    Directory where binaries will be installed [/usr/local/bin] /usr/bin
    Automatically start the VPN service at boot time [yes] no
    In order to build the VPN kernel module, you must have the
    kernel headers for the version of the kernel you are running.
    For RedHat 6.x users these files are installed in /usr/src/linux by default
    For RedHat 7.x users these files are installed in /usr/src/linux-2.4 by default
    For Suse 7.3 users these files are installed in /usr/src/linux-2.4.10.SuSE by default
    Directory containing linux kernel source code [/lib/modules/2.6.9-ARCH/build]
    * Binaries will be installed in "/usr/bin".
    * Modules will be installed in "/lib/modules/2.6.9-ARCH/CiscoVPN".
    * The VPN service will *NOT* be started automatically at boot time.
    * Kernel source from "/lib/modules/2.6.9-ARCH/build" will be used to build the module.
    Is the above correct [y] y
    Making module
    make -C /lib/modules/2.6.9-ARCH/build SUBDIRS=/home/luk/sources/vpnclient modules
    make[1]: Entering directory `/usr/src/linux-2.6.9-ARCH'
    CC [M] /home/luk/sources/vpnclient/interceptor.o
    /home/luk/sources/vpnclient/interceptor.c: In function `add_netdev':
    /home/luk/sources/vpnclient/interceptor.c:59: sorry, unimplemented: inlining failed in call to 'supported_device': function body not available
    /home/luk/sources/vpnclient/interceptor.c:245: sorry, unimplemented: called from here
    make[2]: *** [/home/luk/sources/vpnclient/interceptor.o] Error 1
    make[1]: *** [_module_/home/luk/sources/vpnclient] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.9-ARCH'
    make: *** [default] Error 2
    Failed to make module "cisco_ipsec.ko".

    I modified the pkgbuild posted here by someone (thank you!) so it includes all relevant files (meaning also vpnc-connect and vpnc-disconnect and vpnc.conf).
    pkgname=vpnc
    pkgver=0.2
    pkgrel=1
    pkgdesc="Client for Cisco3000 VPN Concentrator"
    url="http://www.unix-ag.uni-kl.de/~massar/vpnc/"
    license="GPL"
    depends=(libgcrypt)
    source=(http://www.unix-ag.uni-kl.de/~massar/vpnc/vpnc-0.2-rm+zomb.1.tar.gz)
    md5sums=(ded67de747874c4245ed8405146dc94a)
    build() {
    cd $startdir/src/vpnc-0.2-rm+zomb.1
    # We want the CFLAGS specified in makepkg.conf to be used
    mv Makefile Makefile.old
    sed -e 's/-W -Wall -O -g/$(MYCFLAGS)/g' -e 's/LDFLAGS=-g /LDFLAGS=/g' Makefile.old > Makefile
    export MYCFLAGS=$CFLAGS
    make
    install -d $startdir/pkg/usr/sbin
    install vpnc $startdir/pkg/usr/sbin
    install vpnc-connect $startdir/pkg/usr/sbin
    install vpnc-disconnect $startdir/pkg/usr/sbin
    install -d $startdir/pkg/etc
    install vpnc.conf $startdir/pkg/etc
    Guess what, it works
    I can reproduce my steps.
    - makepkg
    - pacman -A vpnc-xxxxxx.tar.gz
    - add tun to the daemons array in rc.conf
    - Modify /etc/vpnc.conf
    - vpnc-connect

  • Automatically build kernel module after kernel update

    Hello. Everytime kernel is updated, my wifi drivers don't work. I need to use this to get my adapter working: https://aur.archlinux.org/packages/8192cu-dkms/ .
    After kernel update, I have to manually reinstall the package, so the kernel module gets rebuilt. Is there any way to make it automatic?

    I noticed it, but your script doesn't run at all when I type `mkinitcpio -p linux`. And wifi still works after reboot. Same for graphics driver, it has a hook at shutdown, that rebuilds its module after kernel update, it haven't run too and graphics driver works. It's like 'mkinitcpio -p linux' does nothing to the system.
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    ==> Starting build: 4.0.4-2-ARCH
    -> Running build hook: [base]
    -> Running build hook: [udev]
    -> Running build hook: [autodetect]
    -> Running build hook: [modconf]
    -> Running build hook: [block]
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    ==> Generating module dependencies
    ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
    ==> Image generation successful
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    ==> Starting build: 4.0.4-2-ARCH
    -> Running build hook: [base]
    -> Running build hook: [udev]
    -> Running build hook: [modconf]
    -> Running build hook: [block]
    ==> WARNING: Possibly missing firmware for module: wd719x
    ==> WARNING: Possibly missing firmware for module: aic94xx
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    ==> Generating module dependencies
    ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
    ==> Image generation successful
    Last edited by kox (2015-06-02 07:18:24)

  • Trouble building kernel module for sensor support

    Hi, I'm new here but have been using Arch for a while.  Recently, I decided to install Arch on an old laptop (Toshiba A70) and have managed to work out most of the kinks to where it runs nicely.  Unfortunately, ACPI support is spotty and the /sys/class/thermal directory gives me only cooling_device0.  I installed the lm-sensors package and ran sensors-detect, which yielded no results.  Although the laptop runs smoothly otherwise, I would like to know the CPU's temp so that I would be able to set up a fan control scheme and CPU scaling (so far it's stuck at the lowest frequency, and that's kind of a big deal for me since the laptop runs on an archaic mobile P4 chip).
    Sorry for the story but I felt some context was necessary.  I did manage to find a kernel module that would connect those sensors to ACPI for me (http://sourceforge.net/projects/omnibook/), however I'm having trouble building it on the latest kernel.  Here is the output from running make:
    make -C /lib/modules/3.16.1-1-ARCH/build SUBDIRS=/root/omnibook-2.20070211 modules
    make[1]: Entering directory '/usr/lib/modules/3.16.1-1-ARCH/build'
    CC [M] /root/omnibook-2.20070211/init.o
    In file included from /root/omnibook-2.20070211/init.c:26:0:
    /root/omnibook-2.20070211/laptop.h:25:3: warning: initialization from incompatible pointer type
    .callback = dmi_matched,
    ^
    /root/omnibook-2.20070211/laptop.h:25:3: warning: (near initialization for ‘omnibook_ids[0].callback’)
    /root/omnibook-2.20070211/laptop.h:34:3: warning: initialization from incompatible pointer type
    .callback = dmi_matched,
    ^
    /root/omnibook-2.20070211/laptop.h:34:3: warning: (near initialization for ‘omnibook_ids[1].callback’)
    /root/omnibook-2.20070211/laptop.h:43:3: warning: initialization from incompatible pointer type
    .callback = dmi_matched,
    ^
    // I left out most of the 'incompatible pointer type' warnings since they repeat for a while.
    ^
    /root/omnibook-2.20070211/laptop.h:1001:3: warning: (near initialization for ‘omnibook_ids[108].callback’)
    /root/omnibook-2.20070211/init.c: In function ‘dmi_matched’:
    /root/omnibook-2.20070211/init.c:141:16: warning: assignment discards ‘const’ qualifier from pointer target type
    laptop_model = dmi_get_system_info(DMI_PRODUCT_VERSION);
    ^
    /root/omnibook-2.20070211/init.c: In function ‘omnibook_init’:
    /root/omnibook-2.20070211/init.c:281:3: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
    proc_entry = create_proc_entry(feature->name, pmode, omnibook_proc_root);
    ^
    /root/omnibook-2.20070211/init.c:281:14: warning: assignment makes pointer from integer without a cast
    proc_entry = create_proc_entry(feature->name, pmode, omnibook_proc_root);
    ^
    /root/omnibook-2.20070211/init.c:290:13: error: dereferencing pointer to incomplete type
    proc_entry->data = feature;
    ^
    /root/omnibook-2.20070211/init.c:291:13: error: dereferencing pointer to incomplete type
    proc_entry->read_proc = &procfile_read_dispatch;
    ^
    /root/omnibook-2.20070211/init.c:293:14: error: dereferencing pointer to incomplete type
    proc_entry->write_proc = &procfile_write_dispatch;
    ^
    /root/omnibook-2.20070211/init.c:294:13: error: dereferencing pointer to incomplete type
    proc_entry->owner = THIS_MODULE;
    ^
    cc1: some warnings being treated as errors
    scripts/Makefile.build:257: recipe for target '/root/omnibook-2.20070211/init.o' failed
    make[2]: *** [/root/omnibook-2.20070211/init.o] Error 1
    Makefile:1333: recipe for target '_module_/root/omnibook-2.20070211' failed
    make[1]: *** [_module_/root/omnibook-2.20070211] Error 2
    make[1]: Leaving directory '/usr/lib/modules/3.16.1-1-ARCH/build'
    Makefile:88: recipe for target 'omnibook.ko' failed
    make: *** [omnibook.ko] Error 2
    I have honestly no idea what to make of any of this and would really appreciate any help towards a solution.  Thanks for reading

    Welcome to Arch Linux
    That looks like it is a 2.6 kernel module
    http://sourceforge.net/p/omnibook/bugs/58/
    Did you try either of these AUR offerings?
    ewaller$@$odin ~ 1001 %packer -Ss omnibook
    aur/omnibook-git 20110911-9 (7)
    Kernel module for HP OmniBook,Pavilion,Toshiba and Compal ACL00 laptops
    aur/omnibook-svn-zen 268-1 (1)
    Kernel module for HP OmniBook, Pavilion, Toshiba and Compal ACL00 laptops
    ewaller$@$odin ~ 1002 %
    Last edited by ewaller (2014-08-23 23:33:53)

  • [SOLVED] [kernel26zen-git] Unable to build kernel

    Hi!
    I am unable to sucessfully build the kernel26zen-git package.
    I am using the stable version, master branch.
    Error is:
    ==> Building kernel and modules...
    scripts/kconfig/conf -s arch/x86/Kconfig
    CHK include/linux/version.h
    CHK include/generated/utsrelease.h
    CC arch/x86/kernel/asm-offsets.s - due to target missing
    In file included from include/linux/module.h:18:0,
    from include/linux/crypto.h:21,
    from arch/x86/kernel/asm-offsets_64.c:8,
    from arch/x86/kernel/asm-offsets.c:4:
    include/linux/tracepoint.h: In function 'tracepoint_synchronize_unregister':
    include/linux/tracepoint.h:80:2: error: implicit declaration of function 'synchronize_sched'
    make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
    make: *** [prepare0] Error 2
    ==> ERROR: Failed... Your source tree might be broken. Run 'make mrproper' in src/kernel26zen-stable to clean it up
    Aborting...
    I already tried the "make mrproper", building it without any modifications to "config" and googleing for the problem.
    Anyone got a clue?
    EDIT: Okay, I was searching with the wrong keywords. I searched for
    include/linux/tracepoint.h:80:2: error: implicit declaration of function 'synchronize_sched'
    and found this thread.
    Going to try this out.
    EDIT 2: What can I say? It worked.
    EDIT 3: Another Thread with the solution
    PS: What about this "RCU"? What does it do and why does the "classic RCU" not work?
    Last edited by akurei (2010-10-05 19:39:30)

    ChoK wrote:It seems like you need lib32-jack and the maintainer of lib32-portaudio forgot to add it to makedepends/depends
    Iv'e got lib32-jack already installed. And by reading the comments of the AUR link to the package ( lib32-portaudio ) they supposedly fixed the PKGBUILD too.

  • [SOLVED]How can I disable ehci_hcd kernel module?

    How can I disable ehci_hcd kernel module loading?
    I have up to date archlinux.
    I tried add 'modprobe -r ehci_hcd' to '/etc/rc.local' but this broke net-profiles - ppp connection at bootup(I have USB modem (which of course work with uhci_hcd module) connected).
    I also tried with '/etc/modprobe.d/modprobe.conf' and 'blacklist ehci_hcd' but ehci_hcd still loading at bootup.
    Last edited by amen (2010-01-27 17:48:45)

    bangkok_manouel wrote:http://wiki.archlinux.org/index.php/Rc.conf#Hardware
    Thanks, but:
    1) blacklist module in /etc/rc.conf not work:
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(floppy !snd-pcsp !ehci_hcd)
    2) this not work also:
    MOD_AUTOLOAD="no"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(long_long_list_of_modules_without_ehci_hcd)
    I found solution:
    1) comments 2 lines in /etc/modprobe.d/usb-load-ehci-first.conf
    #install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe --ignore-install ohci_hcd $CMDLINE_OPTS
    #install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe --ignore-install uhci_hcd $CMDLINE_OPTS
    2) and blacklist module ehci_hcd in /etc/rc.conf.

  • Building kernel module, works only fine with default kernel26-headers

    I am trying to build the phc-k8 package from the AUR.
    I had to adapt the PKGBUILD a bit. The problem is it seems to want to have certain headers (a lot of headers, actually) in asm/ that are present in asm-generic/ in the kernel26-headers package and are in the same location in my own kernel package (which doesn't have the headers split out).
    This is how the asm* directories look:
    [stijn@hermes phc-k8]$ ls /usr/src/linux-2.6.32-ARCH/include/asm*
    /usr/src/linux-2.6.32-ARCH/include/asm:
    asm-offsets.h bitsperlong.h
    /usr/src/linux-2.6.32-ARCH/include/asm-generic:
    4level-fixup.h bugs.h dma-mapping-common.h ioctl.h local.h param.h sections.h stat.h uaccess.h
    atomic64.h cacheflush.h emergency-restart.h ioctls.h memory_model.h parport.h segment.h string.h uaccess-unaligned.h
    atomic.h cache.h errno-base.h io.h mman-common.h pci-dma-compat.h sembuf.h swab.h ucontext.h
    atomic-long.h checksum.h errno.h iomap.h mman.h pci.h serial.h syscall.h unaligned.h
    audit_change_attr.h cmpxchg.h fb.h ipcbuf.h mm_hooks.h percpu.h setup.h syscalls.h unistd.h
    audit_dir_write.h cmpxchg-local.h fcntl.h irqflags.h mmu_context.h pgalloc.h shmbuf.h system.h user.h
    audit_read.h cputime.h futex.h irq.h mmu.h pgtable.h shmparam.h termbits.h vga.h
    audit_signal.h current.h getorder.h irq_regs.h module.h pgtable-nopmd.h siginfo.h termios-base.h vmlinux.lds.h
    audit_write.h delay.h gpio.h Kbuild msgbuf.h pgtable-nopud.h signal-defs.h termios.h xor.h
    auxvec.h device.h hardirq.h Kbuild.asm mutex-dec.h poll.h signal.h timex.h
    bitops div64.h hw_irq.h kdebug.h mutex.h posix_types.h socket.h tlbflush.h
    bitops.h dma-coherent.h ide_iops.h kmap_types.h mutex-null.h resource.h sockios.h tlb.h
    bitsperlong.h dma.h int-l64.h libata-portmap.h mutex-xchg.h rtc.h spinlock.h topology.h
    bug.h dma-mapping-broken.h int-ll64.h linkage.h page.h scatterlist.h statfs.h types.h
    /usr/src/linux-2.6.32-ARCH/include/asm-x86:
    asm-offsets.h bitsperlong.h
    [stijn@hermes phc-k8]$ ls /usr/src/linux-2.6.31.12-server/include/asm*
    /usr/src/linux-2.6.31.12-server/include/asm:
    asm-offsets.h
    /usr/src/linux-2.6.31.12-server/include/asm-generic:
    4level-fixup.h bugs.h dma-mapping-common.h ioctl.h local.h param.h sections.h stat.h uaccess.h
    atomic64.h cacheflush.h emergency-restart.h ioctls.h memory_model.h parport.h segment.h string.h uaccess-unaligned.h
    atomic.h cache.h errno-base.h io.h mman-common.h pci-dma-compat.h sembuf.h swab.h ucontext.h
    atomic-long.h checksum.h errno.h iomap.h mman.h pci.h serial.h syscall.h unaligned.h
    audit_change_attr.h cmpxchg.h fb.h ipcbuf.h mm_hooks.h percpu.h setup.h syscalls.h unistd.h
    audit_dir_write.h cmpxchg-local.h fcntl.h irqflags.h mmu_context.h pgalloc.h shmbuf.h system.h user.h
    audit_read.h cputime.h futex.h irq.h mmu.h pgtable.h shmparam.h termbits.h vga.h
    audit_signal.h current.h getorder.h irq_regs.h module.h pgtable-nopmd.h siginfo.h termios-base.h vmlinux.lds.h
    audit_write.h delay.h gpio.h Kbuild msgbuf.h pgtable-nopud.h signal-defs.h termios.h xor.h
    auxvec.h device.h hardirq.h Kbuild.asm mutex-dec.h poll.h signal.h timex.h
    bitops div64.h hw_irq.h kdebug.h mutex.h posix_types.h socket.h tlbflush.h
    bitops.h dma-coherent.h ide_iops.h kmap_types.h mutex-null.h resource.h sockios.h tlb.h
    bitsperlong.h dma.h int-l64.h libata-portmap.h mutex-xchg.h rtc.h spinlock.h topology.h
    bug.h dma-mapping-broken.h int-ll64.h linkage.h page.h scatterlist.h statfs.h types.h
    /usr/src/linux-2.6.31.12-server/include/asm-x86:
    asm-offsets.h
    Apart from the asm-x86 dir the contents are identical (I checked the file listing of both asm-generic dirs and diff shows no difference between them). If I build the package with the default 2.6.32-ARCH kernel specified, it works. It finds all the headers and it compiles beautifully. However, when I build it with my own kernel (2.6.31.12-server), it spits out a sh*tload of errors (amongst which, in the beginning, all those asm files it can't find):
    [stijn@hermes phc-k8]$ grep bestaat log
    include/linux/linkage.h:5:25: fout: asm/linkage.h: Bestand of map bestaat niet
    include/linux/types.h:4:23: fout: asm/types.h: Bestand of map bestaat niet
    include/linux/posix_types.h:47:29: fout: asm/posix_types.h: Bestand of map bestaat niet
    include/linux/bitops.h:17:24: fout: asm/bitops.h: Bestand of map bestaat niet
    include/linux/param.h:4:23: fout: asm/param.h: Bestand of map bestaat niet
    include/linux/kernel.h:20:27: fout: asm/byteorder.h: Bestand of map bestaat niet
    include/linux/kernel.h:21:21: fout: asm/bug.h: Bestand of map bestaat niet
    include/linux/kernel.h:62:24: fout: asm/div64.h: Bestand of map bestaat niet
    include/linux/errno.h:4:23: fout: asm/errno.h: Bestand of map bestaat niet
    include/linux/prefetch.h:14:27: fout: asm/processor.h: Bestand of map bestaat niet
    include/linux/prefetch.h:15:23: fout: asm/cache.h: Bestand of map bestaat niet
    include/linux/list.h:7:24: fout: asm/system.h: Bestand of map bestaat niet
    include/linux/string.h:21:24: fout: asm/string.h: Bestand of map bestaat niet
    include/linux/thread_info.h:56:29: fout: asm/thread_info.h: Bestand of map bestaat niet
    include/linux/smp.h:36:21: fout: asm/smp.h: Bestand of map bestaat niet
    include/linux/stat.h:6:22: fout: asm/stat.h: Bestand of map bestaat niet
    include/linux/spinlock_types.h:13:33: fout: asm/spinlock_types.h: Bestand of map bestaat niet
    include/linux/spinlock.h:88:27: fout: asm/spinlock.h: Bestand of map bestaat niet
    include/linux/spinlock.h:364:24: fout: asm/atomic.h: Bestand of map bestaat niet
    include/linux/wait.h:26:25: fout: asm/current.h: Bestand of map bestaat niet
    include/linux/mmzone.h:20:22: fout: asm/page.h: Bestand of map bestaat niet
    include/linux/rwsem.h:22:65: fout: asm/rwsem.h: Bestand of map bestaat niet
    include/linux/topology.h:34:26: fout: asm/topology.h: Bestand of map bestaat niet
    include/linux/elf.h:7:21: fout: asm/elf.h: Bestand of map bestaat niet
    include/linux/module.h:20:23: fout: asm/local.h: Bestand of map bestaat niet
    include/linux/module.h:22:24: fout: asm/module.h: Bestand of map bestaat niet
    include/linux/device.h:26:24: fout: asm/device.h: Bestand of map bestaat niet
    include/linux/timex.h:170:23: fout: asm/timex.h: Bestand of map bestaat niet
    include/linux/kmemtrace.h:12:31: fout: trace/events/kmem.h: Bestand of map bestaat niet
    include/linux/auxvec.h:4:24: fout: asm/auxvec.h: Bestand of map bestaat niet
    include/linux/mm_types.h:16:21: fout: asm/mmu.h: Bestand of map bestaat niet
    include/linux/sched.h:65:24: fout: asm/ptrace.h: Bestand of map bestaat niet
    include/linux/sched.h:66:25: fout: asm/cputime.h: Bestand of map bestaat niet
    include/linux/ipc.h:21:24: fout: asm/ipcbuf.h: Bestand of map bestaat niet
    include/linux/sem.h:35:24: fout: asm/sembuf.h: Bestand of map bestaat niet
    include/linux/signal.h:4:24: fout: asm/signal.h: Bestand of map bestaat niet
    include/linux/signal.h:5:25: fout: asm/siginfo.h: Bestand of map bestaat niet
    include/linux/percpu.h:10:24: fout: asm/percpu.h: Bestand of map bestaat niet
    include/linux/seccomp.h:8:25: fout: asm/seccomp.h: Bestand of map bestaat niet
    include/linux/resource.h:71:26: fout: asm/resource.h: Bestand of map bestaat niet
    include/linux/io.h:22:20: fout: asm/io.h: Bestand of map bestaat niet
    include/linux/delay.h:14:23: fout: asm/delay.h: Bestand of map bestaat niet
    /home/stijn/pkgbuilds/phc-k8/src/phc-k8_v0.4.2/phc-k8.c:39:21: fout: asm/msr.h: Bestand of map bestaat niet
    include/acpi/platform/aclinux.h:64:22: fout: asm/acpi.h: Bestand of map bestaat niet
    include/linux/ioctl.h:4:23: fout: asm/ioctl.h: Bestand of map bestaat niet
    include/linux/fcntl.h:4:23: fout: asm/fcntl.h: Bestand of map bestaat niet
    'Fout' meaning 'error' and 'Bestand of map bestaat niet' 'File or directory does not exist'.
    This is how the PKGBUILD looks:
    # Contributor: fs4000 <matthias_dienstbier[at]yahoo[dot]de>
    pkgname=phc-k8-server
    pkgver=0.4.2
    _kernver="2.6.31.12-server"
    pkgrel=1
    pkgdesc="frequency driver for AMD K8 with undervolting feature"
    url="http://www.linux-phc.org"
    arch=('i686' 'x86_64')
    license=('GPL')
    [ `uname -r` = 2.6.32-ARCH ] && makedepends=('kernel26-headers=2.6.32')
    provides=('linux-phc')
    [ "$pkgname" = "phc-k8" ] && backup=('etc/modprobe.d/phc-k8.conf')
    install=phc-k8.install
    source=(phc-k8-$pkgver.tar.gz::$url/forum/download/file.php?id=83)
    depends=(kernel26server)
    build() {
    sed "s/depmod.*/depmod $_kernver/" -i ../$install
    cd phc-k8_v$pkgver
    sed -i 's# /etc/modprobe.d/phc-k8.conf# ${DESTDIR}/etc/modprobe.d/phc-k8.conf#' Makefile
    sed -i 's#\([^=]\) /lib/modules/#\1 ${DESTDIR}/lib/modules/#' Makefile
    sed -i 's/^\tdepmod $(KERNELVERSION) -a/#\tdepmod $(KERNELVERSION) -a/' Makefile
    make KERNELSRC=/usr/src/linux-$_kernver/ || return 1
    install -d "$pkgdir/etc/modprobe.d"
    make DESTDIR="$pkgdir" install || return 1
    if [ "$pkgname" = "phc-k8" ]; then
    install -d "$pkgdir/usr/share/doc/phc-k8/"
    install -m644 {Changelog,README} "$pkgdir/usr/share/doc/phc-k8/"
    else
    # delete the config if we build for another kernel
    rm -r "$pkgdir/etc"
    fi
    sha1sums=('3f526f90d0f0a2defa24802787546117fdc3e1e8')
    Any clues?

    It's a bash check ([), it tells the script to add a conditional makedepends (if the kernel has that name, add that package as a dependency to build). It's optional, so it doesn't do any harm.
    Thanks for looking though .

  • ATI drivers won't compile kernel modules, what other options?

    Just building my first Arch build on my desktop, I've got XFCE working, and ALSA (Finally after some troubleshooting and tweaking), but now I'm up to video drivers.
    I've just found out the hard way that FGLRX will not compile, I'm assuming because ATI drivers do not support Kernel 3.1.1. So I got rid of FGLRX and the ATI configuration tools. But now I have a dual head display, running on ati-dri (which I assume is just your run of the mill basic driver for ATI cards) and I'm a bit lost on what to look into in terms of using the 3D power of my ATI 4870, and also to set up my dual head displays, on other distros I used to just use the ATI tool and it wrote an xorg file for me, but now I've just got a cloned display.
    Halp?

    Thank you tomk, sorry to have wasted a thread on something that I could of found in the wiki, I'll keep it in mind next time.
    Going with the easiest and fastest option seeing as all options will give the same end result, that being using the unofficial catalyst repo. From what I understand the Arch wikis are frequently updated, so that method should work with the 3.1.1 kernel, correct?

  • VBox Guest Additions Kernel Modules

    Hey, semi-literate Linux user/Arch n00b here. I apologize in advance as I realize that this issue has been addressed in this forum previously, but after several hours of hunting, I have yet to find a proper solution. I am trying to run Arch64 as a guest in VirtualBox (host is Ubuntu 10.10, x86-64 if it matters). I have the system up and running, but I can't seem to get the Guest Additions going, as the system won't build the kernel modules. This is the terminal output while running the installer:
    Uncompressing VirtualBox 3.2.6 Guest Additions for Linux........
    VirtualBox Guest Additions installer
    Removing installed version 3.2.6 of VirtualBox Guest Additions...
    :: Building the VirtualBox Guest Additions kernel modules [FAIL]
    Your system does not seem to be set up to build kernel modules.
    Look at /var/log/vboxadd-install.log to find out what went wrong. Once you have corrected it, you can
    run
    /etc/init.d/vboxadd setup
    to build them.
    :: Doing non-kernel setup of the Guest Additions [DONE]
    :: Installing the Window System drivers [BUSY]
    :: Installing X.Org Server 1.8 modules [DONE]
    :: Setting up the Window System to use the Guest Additions [DONE]
    You may need to restart the hal service and the Window System (or just restart
    the guest system) to enable the Guest Additions.
    :: Installing graphics libraries and desktop services components [DONE]
    And this is the output of the log file:
    Makefile:23: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.. Stop.
    Creating user for the Guest Additions.
    Creating udev rule for the Guest Additions kernel module.
    Any help would be greatly appreciated.

    Guest additions for VirtualBox 4.0.4 are broken, in several ways. Try a newer build for them:
    http://www.virtualbox.org/download/test … r70281.iso
    It's working OK for me, while with the regular 4.0.4 additions I had numerous crashes on my XP guest.

  • [SOLVED] VMWare Player won't install

    Hello,
    I have a problem installing VMWare player on arch. (disclaimer: I have RTFM *and* searched and googled hehe)
    I'm trying to install  VMware-Player-2.5.1-126130.x86_64.bundle on the following machine:
    Linux 2.6.29-ARCH #1 SMP PREEMPT x86_64 AMD Phenom(tm) 9850 Quad-Core Processor AuthenticAMD GNU/Linux
    I was following the guide here: http://wiki.archlinux.org/index.php/Installing_VMware
    and somewhat here: http://forums.fedoraforum.org/showthread.php?p=1126993
    My problem is though when i run /usr/bin/vmplayer it complains that
    Unable to build kernel module
    See log file /tmp/vmware-root/setup-12218.log for details
    and wont do anything else. I've basicly followed the guide I listed above in its steps so I'm a little lost now.
    Any advice would be greatly appriciated as its for a university assigment im rapidly running out of time on heheh.
    Regards,
    Mike.
    Last edited by DrMikeDuke (2009-04-05 16:50:59)

    Thanks for your help so far, awesome!
    I got it to work but a little differently since it still wouldnt patch for me
    Anyhow Il post my solution here since i know I always hate visiting a
    SOLVED thread only to find noone said HOW
    So I move my file from binary to binary old
    (mv /usr/lib/vmware/modules/binary /usr/lib/vmware/modules/binary.old)
    then i go to my source directory
    (cd /usr/lib/vmware/modules/source)
    i untar everything in sight (:P)
    [root@TOMATO source]# ls
    vmblock-only vmci.tar vmnet-only vmppuser.tar
    vmblock.tar vmmon-only vmnet.tar vmware-workstation-2.6.29-v2.patch
    vmci-only vmmon.tar vmppuser-only vsock.tar
    then I used the scripts from here http://communities.vmware.com//thread/203231
    Finally I run step 6). vmware-modconfig --console --install-all
    And done!:D

  • [SOLVED] Building fglrx module for 3.11.3-1-ARCH kernel error

    I got this error today:
    2013-09-28 14:07:59
    Building fglrx module for 3.11.2-1-ARCH kernel ...
    OsVersion says: SMP=1
    file /proc/kallsyms says: SMP=1
    file /usr/lib/modules/3.11.2-1-ARCH/build/include/generated/autoconf.h says: SMP=1
    file /usr/lib/modules/3.11.2-1-ARCH/build/include/generated/autoconf.h says: MODVERSIONS=1
    file /usr/lib/modules/3.11.2-1-ARCH/build/arch/x86/include/asm/compat.h says: COMPAT_ALLOC_USER_SPACE=arch_compat_alloc_user_space
    make: Entering directory `/usr/src/linux-3.11.2-1-ARCH'
    CC [M] /tmp/catalyst.aHP3fa/firegl_public.o
    CC [M] /tmp/catalyst.aHP3fa/kcl_acpi.o
    CC [M] /tmp/catalyst.aHP3fa/kcl_agp.o
    CC [M] /tmp/catalyst.aHP3fa/kcl_debug.o
    CC [M] /tmp/catalyst.aHP3fa/kcl_ioctl.o
    CC [M] /tmp/catalyst.aHP3fa/kcl_io.o
    CC [M] /tmp/catalyst.aHP3fa/kcl_pci.o
    CC [M] /tmp/catalyst.aHP3fa/kcl_str.o
    CC [M] /tmp/catalyst.aHP3fa/kcl_iommu.o
    CC [M] /tmp/catalyst.aHP3fa/kcl.o
    CC [M] /tmp/catalyst.aHP3fa/kcl_wait.o
    LD [M] /tmp/catalyst.aHP3fa/fglrx.o
    Building modules, stage 2.
    MODPOST 1 modules
    CC /tmp/catalyst.aHP3fa/fglrx.mod.o
    LD [M] /tmp/catalyst.aHP3fa/fglrx.ko
    make: Leaving directory `/usr/src/linux-3.11.2-1-ARCH'
    Ok.
    2013-10-05 14:20:34
    Building fglrx module for 3.11.3-1-ARCH kernel ...
    Kernel header files are absent: directory /usr/lib/modules/3.11.3-1-ARCH/build doesn't exist! Game over
    2013-10-05 14:20:41
    Building fglrx module for 3.11.3-1-ARCH kernel ...
    Kernel header files are absent: directory /usr/lib/modules/3.11.3-1-ARCH/build doesn't exist! Game over
    I don't know why, and I do not know if I care.
    Last edited by patrickmaciel (2013-10-06 19:31:53)

    fazo96 wrote:I think it's because of the new kernel. Reinstalling is not a solution, it's avoiding the problem ;D
    Instead, I switched to catalyst-hook (I used catalyst) and upgraded to kernel 3.11.4, the latest version of xorg (there was a new one), gnome 3.10 and the module compiled perfectly, so now everything works on my system
    You right, but you know... I have a lot projects in queue and not have time to search and test evertying
    But, now... catalyst has installed successfully, but, I think isn't working 100%, because, when I click (for example), in a Google Chrome tab, and move to left/right, all tabs disappear or are blurry.
    Anyway, thanks.

  • [Solved] Catalyst fails to load kernel module

    I have just been through the Catalyst install guide, I installed from the Vi0L0 repos rather than building myself.
    Everything appeared to go fine, however fglrx fails to load when I reboot. The xorg log contains;
    fglrx(0): atiddxDriScreenInit failed. Probably kernel module missing or incompatible
    fglrx(0): **********************************************************
    fglrx(0): * DRI initialization failed                               
    fglrx(0): * kernel module (fglrx.ko) may be missing or incompatible
    fglrx(0): * 2D and 3D acceleration disabled                         
    fglrx(0): **********************************************************
    Is this recoverable? Or does this mean that the current Vi0L0 module has not been built for my kernel (3.11.5-1-ARCH)?
    Last edited by ~lynks (2013-11-03 16:16:00)

    This issue has now been resolved after the update to xorg 1.14
    lsmod | grep fglrx
    shows fglrx is not loaded, and:
    modprobe fglrx
    returns with;
    modprobe: ERROR: could not insert 'fglrx': Exec format error
    Does that indicate a 32/64 bit issue?
    This issue has now been resolved after the update to xorg 1.14
    Last edited by ~lynks (2013-11-03 16:15:48)

Maybe you are looking for

  • Flash 9.0.45 crash on Intel Mac OSX

    Date/Time: 2007-10-08 09:55:34.233 -0700 OS Version: 10.4.10 (Build 8R2218) Report Version: 4 Command: firefox-bin Path: /Applications/Firefox.app/Contents/MacOS/firefox-bin Parent: WindowServer [720] Version: 2.0.0.7 (2.0.0.7) PID: 1462 Thread: 0 Ex

  • I can't copy my itunes library to an external hard disk drive!!

    this is my first time at the forum and i dont find a better way to ask, i want to copy my itunes library to an external hard disk drive for have a back up, but when i try to copy it it appears this message "the item "itunes music" has 1 or more items

  • WebRowSet Problem  with database columns defined as TEXT??

    Hello, Can somebody help me on this subject. (http://forum.java.sun.com/thread.jspa?forumID=31&threadID=778586) I have the same problem with TEXT column when I try to populate the WebRowset. Thanks, Stephane

  • Xperia T2 Ultra Dual walkman gets paused

    I am facing the problem of walkman getting paused automatically and start playing again, from past 5 months and everytime the service centre people return it to me with a software update. I am stressed out by taking my phone back after every 10 days

  • Can i change the line item dimension for remodeling ?

    Hi everybody, I want to remodeling a specific dimension of my cube. But, it is a line item dimension and so, i can't add an other characteristic. There exist a manipulation to change the option "line item dimension" ? Thanks for your help ! Rodolphe.