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.

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 closing a VI?

    Hi there,
    I am a very inexperienced labview user, so this question may be a walk in the park for you pros. What is the proper method for closing a VI? I want a particular VI to close upon a certain occurence. When I use a property node to close the front panel, then an invoke node to abort the VI with a static reference. I sometimes get a message dialog in the upper left corner of the screen that says "Resetting VI: [Vi's name].vi" at which point labview freezes, and must be closed externally from the Windows task manager. I know that using the "abort" can leave certain references open, so I close these references upon completion of every cycle... What is the proper method of closing a VI?
    Thanks a bunch,
    Ryan

    Hi Ryan,
    The correct method for closing your VI is dependent on how you have chosen to
    open it.  Like Jhoskins, I think the LabVIEW community will better be able
    to assist you if you post what you've already tried.
    If you have tried to dynamically load your VI using a Call by Reference Node,
    you will need to use an Open VI Reference and a Close Reference.  Please
    take a look at the Dynamic Load Example from the NI Example Finder.  You
    can find this by searching for VI Server in the Example Finder. 
    I have attached a figure that shows this Open, Run, Close paradigm in the
    Dynamic Load Example.
    Message Edited by cphuong on 04-17-2007 10:43 AM
    Regards,
    Ching P.
    DAQ and Academic Hardware R&D
    National Instruments
    Attachments:
    Open_Run_Close.JPG ‏88 KB

  • [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?

  • 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)

  • Proper Method for updating Virtualbox on linux-ck? [SOLVED]

    Running linux-ck on sandybridge, here are installed packages:
    linux-ck-sandybridge 3.19.1-1
    linux-ck-sandybridge-headers 3.19.1-1
    virtualbox 4.3.26-1
    virtualbox-ck-guest-modules-sandybridge 4.3.24-2
    virtualbox-ck-host-modules-sandybridge 4.3.24-2
    virtualbox-ext-oracle 4.3.26-1
    virtualbox-guest-iso 4.3.26-1
    virtualbox-host-dkms 4.3.26-1
    kernel information:
    3.19.1-1-ck #1 x86_64
    After updating Virtualbox, I am receiving this error:
    RTR3InitEx failed with rc=-1912 (rc=-1912)
    The VirtualBox kernel modules do not match this version of VirtualBox. Reload the modules or if you don't use our stock kernel execute
    'dkms autoinstall'
    Which of course would traditionally mean that I must re-compile virtualbox kernel modules. In the old Arch days, that was:
    /etc/rc.d/xbovdrv setup
    I'm a bit confused by both the Virtualbox wiki page as well as the linux-ck page; my understanding is that the linux-ck repo contains updates modules for virtualbox, and that these automatically update (thereby removing the need to use dkms). However, I am fully updated and I am still getting this error (after reloading kernel modules and rebooting).
    I've also tried running:
    dkms install vboxhost/4.3.26
    As root, but it only reports that, "Module vboxhost/4.3.26 already installed on kernel 3.19.1-1-ck/x86_64"
    I'm sure this is my bad, but I'm afraid after two hours of reading the wiki and this forum, I am still quite lost. I'd appreciate any help - let me know if there is anything else I can tell you all that will help!
    Thanks
    Last edited by yochaigal (2015-03-20 14:43:12)

    No idea why your system has /etc/rc.d/* ... if you're using [repo-ck] I have been be compiling 3.19.2 and just rebuilt the vbox packages updating them to 4.3.26.  There was a short delay since I had to rebuild against the new kernel.  Anyway, just:
    pacman -Syyu

  • "Failed to load the NVIDIA kernel module" [SOLVED]

    Hi, I've just done a fresh install of Arch64 and I'm having problems with NVIDIA driver from the repo.
    xorg, xf86-input-evdev -- INSTALLED
    nvidia, nvidia-utils, lib32-nvidia-utils -- INSTALLED (version 256.44-1)
    nouveau -- NOT INSTALLED
    here goes the log files:
    uname -a
    Linux desktop 2.6.32-lts #1 SMP Wed Aug 4 22:02:05 UTC 2010 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ AuthenticAMD GNU/Linux
    lspci | grep VGA
    00:05.0 VGA compatible controller: nVidia Corporation C51PV [GeForce 6150] (rev a2)
    /etc/X11/xorg.conf (generated when I ran "nvidia-xconfig"):
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 256.44 ([email protected]) Thu Jul 29 01:52:55 PDT 2010
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    EndSection
    Section "Files"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    HorizSync 28.0 - 33.0
    VertRefresh 43.0 - 72.0
    Option "DPMS"
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    /var/Xorg.0.log
    This is a pre-release version of the X server from The X.Org Foundation.
    It is not supported in any way.
    Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
    Select the "xorg" product for bugs you find in this release.
    Before reporting bugs in pre-release versions please check the
    latest version in the X.Org Foundation git repository.
    See http://wiki.x.org/wiki/GitPage for git access instructions.
    [ 142.066]
    X.Org X Server 1.8.1.902 (1.8.2 RC 2)
    Release Date: 2010-06-21
    [ 142.084] X Protocol Version 11, Revision 0
    [ 142.091] Build Operating System: Linux 2.6.34-ARCH x86_64
    [ 142.098] Current Operating System: Linux desktop 2.6.32-lts #1 SMP Wed Aug 4 22:02:05 UTC 2010 x86_64
    [ 142.106] Kernel command line: BOOT_IMAGE=/vmlinuz26-lts root=/dev/disk/by-uuid/9eb5ef94-284b-4b7e-b824-5c6b0f329fe8 ro quiet
    [ 142.116] Build Date: 21 June 2010 12:01:49PM
    [ 142.125]
    [ 142.135] Current version of pixman: 0.18.2
    [ 142.145] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 142.167] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 142.204] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Aug 6 21:15:02 2010
    [ 142.218] (==) Using config file: "/etc/X11/xorg.conf"
    [ 142.232] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 142.246] (==) ServerLayout "Layout0"
    [ 142.246] (**) |-->Screen "Screen0" (0)
    [ 142.246] (**) | |-->Monitor "Monitor0"
    [ 142.246] (**) | |-->Device "Device0"
    [ 142.246] (**) |-->Input Device "Keyboard0"
    [ 142.246] (**) |-->Input Device "Mouse0"
    [ 142.246] (==) Automatically adding devices
    [ 142.246] (==) Automatically enabling devices
    [ 142.246] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
    [ 142.246] Entry deleted from font path.
    [ 142.246] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 142.246] Entry deleted from font path.
    [ 142.246] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
    [ 142.246] Entry deleted from font path.
    [ 142.246] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
    [ 142.246] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 142.246] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
    [ 142.246] (WW) Disabling Keyboard0
    [ 142.246] (WW) Disabling Mouse0
    [ 142.246] (II) Loader magic: 0x7ce880
    [ 142.246] (II) Module ABI versions:
    [ 142.246] X.Org ANSI C Emulation: 0.4
    [ 142.246] X.Org Video Driver: 7.0
    [ 142.246] X.Org XInput driver : 9.0
    [ 142.246] X.Org Server Extension : 3.0
    [ 142.252] (--) PCI:*(0:0:5:0) 10de:0240:1043:81cd nVidia Corporation C51PV [GeForce 6150] rev 162, Mem @ 0xfc000000/16777216, 0xd0000000/268435456, 0xfb000000/16777216, BIOS @ 0x????????/131072
    [ 142.252] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 142.252] (II) LoadModule: "extmod"
    [ 142.252] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
    [ 142.253] (II) Module extmod: vendor="X.Org Foundation"
    [ 142.253] compiled for 1.8.1.902, module version = 1.0.0
    [ 142.253] Module class: X.Org Server Extension
    [ 142.253] ABI class: X.Org Server Extension, version 3.0
    [ 142.253] (II) Loading extension MIT-SCREEN-SAVER
    [ 142.253] (II) Loading extension XFree86-VidModeExtension
    [ 142.253] (II) Loading extension XFree86-DGA
    [ 142.253] (II) Loading extension DPMS
    [ 142.253] (II) Loading extension XVideo
    [ 142.253] (II) Loading extension XVideo-MotionCompensation
    [ 142.253] (II) Loading extension X-Resource
    [ 142.253] (II) LoadModule: "dbe"
    [ 142.253] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
    [ 142.253] (II) Module dbe: vendor="X.Org Foundation"
    [ 142.253] compiled for 1.8.1.902, module version = 1.0.0
    [ 142.253] Module class: X.Org Server Extension
    [ 142.253] ABI class: X.Org Server Extension, version 3.0
    [ 142.253] (II) Loading extension DOUBLE-BUFFER
    [ 142.253] (II) LoadModule: "glx"
    [ 142.253] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 142.269] (II) Module glx: vendor="NVIDIA Corporation"
    [ 142.269] compiled for 4.0.2, module version = 1.0.0
    [ 142.269] Module class: X.Org Server Extension
    [ 142.269] (II) NVIDIA GLX Module 256.44 Thu Jul 29 01:47:53 PDT 2010
    [ 142.269] (II) Loading extension GLX
    [ 142.269] (II) LoadModule: "record"
    [ 142.269] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
    [ 142.269] (II) Module record: vendor="X.Org Foundation"
    [ 142.269] compiled for 1.8.1.902, module version = 1.13.0
    [ 142.269] Module class: X.Org Server Extension
    [ 142.269] ABI class: X.Org Server Extension, version 3.0
    [ 142.269] (II) Loading extension RECORD
    [ 142.269] (II) LoadModule: "dri"
    [ 142.270] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
    [ 142.270] (II) Module dri: vendor="X.Org Foundation"
    [ 142.270] compiled for 1.8.1.902, module version = 1.0.0
    [ 142.270] ABI class: X.Org Server Extension, version 3.0
    [ 142.270] (II) Loading extension XFree86-DRI
    [ 142.270] (II) LoadModule: "dri2"
    [ 142.270] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 142.270] (II) Module dri2: vendor="X.Org Foundation"
    [ 142.270] compiled for 1.8.1.902, module version = 1.2.0
    [ 142.270] ABI class: X.Org Server Extension, version 3.0
    [ 142.270] (II) Loading extension DRI2
    [ 142.270] (II) LoadModule: "nvidia"
    [ 142.270] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 142.271] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 142.271] compiled for 4.0.2, module version = 1.0.0
    [ 142.271] Module class: X.Org Video Driver
    [ 142.288] (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
    [ 142.303] (EE) NVIDIA: system's kernel log for additional error messages.
    [ 142.319] (II) UnloadModule: "nvidia"
    [ 142.319] (II) Unloading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 142.319] (EE) Failed to load module "nvidia" (module-specific error, 0)
    [ 142.335] (EE) No drivers available.
    [ 142.351]
    Fatal server error:
    [ 142.384] no screens found
    [ 142.400]
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 142.469] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [ 142.488]
    find / -name "*nvidia*"
    /lib/modules/2.6.34-ARCH/kernel/drivers/video/backlight/mbp_nvidia_bl.ko
    /lib/modules/2.6.34-ARCH/kernel/drivers/video/nvidia
    /lib/modules/2.6.34-ARCH/kernel/drivers/video/nvidia/nvidiafb.ko
    /lib/modules/2.6.34-ARCH/kernel/drivers/video/nvidia.ko
    /lib/modules/2.6.32-lts/kernel/drivers/video/backlight/mbp_nvidia_bl.ko
    /lib/modules/2.6.32-lts/kernel/drivers/video/nvidia
    /lib/modules/2.6.32-lts/kernel/drivers/video/nvidia/nvidiafb.ko
    /etc/OpenCL/vendors/nvidia.icd
    /etc/X11/xorg.conf.d/20-nvidia.conf
    /usr/lib/libnvidia-cfg.so.1
    /usr/lib/libnvidia-glcore.so.256.44
    /usr/lib/vdpau/libvdpau_nvidia.so.256.44
    /usr/lib/vdpau/libvdpau_nvidia.so
    /usr/lib/vdpau/libvdpau_nvidia.so.1
    /usr/lib/tls/libnvidia-tls.so.256.44
    /usr/lib/libnvidia-cfg.so.256.44
    /usr/lib/libnvidia-cfg.so
    /usr/lib/libnvidia-tls.so.256.44
    /usr/lib/xorg/modules/drivers/nvidia_drv.so
    /usr/lib/libnvidia-compiler.so.256.44
    /usr/share/licenses/nvidia
    /usr/share/licenses/lib32-nvidia-utils
    /usr/share/licenses/nvidia-utils
    /usr/share/applications/nvidia-settings.desktop
    /usr/share/man/man1/nvidia-smi.1.gz
    /usr/share/man/man1/nvidia-settings.1.gz
    /usr/share/man/man1/nvidia-xconfig.1.gz
    /usr/share/doc/nvidia
    /usr/share/doc/nvidia-utils
    /usr/share/pixmaps/nvidia-settings.png
    /usr/bin/nvidia-bug-report.sh
    /usr/bin/nvidia-settings
    /usr/bin/nvidia-smi
    /usr/bin/nvidia-xconfig
    /usr/src/linux-2.6.34-ARCH/include/config/backlight/mbp/nvidia.h
    /usr/src/linux-2.6.34-ARCH/include/config/fb/nvidia
    /usr/src/linux-2.6.34-ARCH/include/config/fb/nvidia.h
    /usr/src/linux-2.6.32-lts/include/config/backlight/mbp/nvidia.h
    /usr/src/linux-2.6.32-lts/include/config/fb/nvidia
    /usr/src/linux-2.6.32-lts/include/config/fb/nvidia.h
    /opt/lib32/usr/lib/libvdpau_nvidia.so.256.44
    /opt/lib32/usr/lib/libvdpau_nvidia.so
    /opt/lib32/usr/lib/libnvidia-glcore.so.256.44
    /opt/lib32/usr/lib/tls/libnvidia-tls.so.256.44
    /opt/lib32/usr/lib/libvdpau_nvidia.so.1
    /opt/lib32/usr/lib/libnvidia-tls.so.256.44
    /opt/lib32/usr/lib/libnvidia-compiler.so.256.44
    /var/lib/pacman/local/nvidia-256.44-1
    /var/lib/pacman/local/nvidia-utils-256.44-1
    /var/lib/pacman/local/lib32-nvidia-utils-256.44-1
    /var/lib/pacman/sync/extra/nvidia-173xx-utils-173.14.27-1
    /var/lib/pacman/sync/extra/nvidia-173xx-173.14.27-1
    /var/lib/pacman/sync/extra/nvidia-256.44-1
    /var/lib/pacman/sync/extra/nvidia-utils-256.44-1
    /var/lib/pacman/sync/community/nvidia-cg-toolkit-2.2-4
    /var/lib/pacman/sync/community/lib32-nvidia-utils-256.44-1
    /var/cache/pacman/pkg/nvidia-utils-256.44-1-x86_64.pkg.tar.xz
    /var/cache/pacman/pkg/nvidia-256.44-1-x86_64.pkg.tar.xz
    /var/cache/pacman/pkg/lib32-nvidia-utils-256.44-1-x86_64.pkg.tar.xz
    Do you have any idea of what should be done to fix it? I don't want to use NVIDIA driver from their site neither nouveau, I want to use the one from the repo. If you know how to solve it, instead of only pointing the solution, also tell why this is happening, it will help me and other people with the same problem too!
    If you need additional information please ask me.
    Thanks!!
    Last edited by ILoveJapaneseGirls (2010-08-07 03:09:55)

    karol, I'll try to add the section you wrote to the xorg.conf, but first I want to show the log of the crash:
    /var/log/Xorg.0.log
    [ 69.813]
    This is a pre-release version of the X server from The X.Org Foundation.
    It is not supported in any way.
    Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
    Select the "xorg" product for bugs you find in this release.
    Before reporting bugs in pre-release versions please check the
    latest version in the X.Org Foundation git repository.
    See http://wiki.x.org/wiki/GitPage for git access instructions.
    [ 69.858]
    X.Org X Server 1.8.1.902 (1.8.2 RC 2)
    Release Date: 2010-06-21
    [ 69.882] X Protocol Version 11, Revision 0
    [ 69.890] Build Operating System: Linux 2.6.34-ARCH x86_64
    [ 69.899] Current Operating System: Linux desktop 2.6.34-ARCH #1 SMP PREEMPT Wed Aug 4 14:31:56 CEST 2010 x86_64
    [ 69.910] Kernel command line: BOOT_IMAGE=/vmlinuz26 root=/dev/disk/by-uuid/9eb5ef94-284b-4b7e-b824-5c6b0f329fe8 ro quiet
    [ 69.921] Build Date: 21 June 2010 12:01:49PM
    [ 69.933]
    [ 69.944] Current version of pixman: 0.18.2
    [ 69.957] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 69.982] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 70.025] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Aug 6 22:35:08 2010
    [ 70.057] (==) Using config file: "/etc/X11/xorg.conf"
    [ 70.072] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 70.117] (==) ServerLayout "Layout0"
    [ 70.117] (**) |-->Screen "Screen0" (0)
    [ 70.117] (**) | |-->Monitor "Monitor0"
    [ 70.117] (**) | |-->Device "Device0"
    [ 70.117] (**) |-->Input Device "Keyboard0"
    [ 70.117] (**) |-->Input Device "Mouse0"
    [ 70.117] (==) Automatically adding devices
    [ 70.118] (==) Automatically enabling devices
    [ 70.145] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
    [ 70.145] Entry deleted from font path.
    [ 70.145] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 70.145] Entry deleted from font path.
    [ 70.145] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
    [ 70.145] Entry deleted from font path.
    [ 70.168] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
    [ 70.168] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 70.168] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
    [ 70.168] (WW) Disabling Keyboard0
    [ 70.168] (WW) Disabling Mouse0
    [ 70.168] (II) Loader magic: 0x7ce880
    [ 70.168] (II) Module ABI versions:
    [ 70.168] X.Org ANSI C Emulation: 0.4
    [ 70.168] X.Org Video Driver: 7.0
    [ 70.168] X.Org XInput driver : 9.0
    [ 70.168] X.Org Server Extension : 3.0
    [ 70.185] (--) PCI:*(0:0:5:0) 10de:0240:1043:81cd nVidia Corporation C51PV [GeForce 6150] rev 162, Mem @ 0xfc000000/16777216, 0xd0000000/268435456, 0xfb000000/16777216, BIOS @ 0x????????/131072
    [ 70.186] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 70.186] (II) LoadModule: "extmod"
    [ 70.200] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
    [ 70.211] (II) Module extmod: vendor="X.Org Foundation"
    [ 70.211] compiled for 1.8.1.902, module version = 1.0.0
    [ 70.211] Module class: X.Org Server Extension
    [ 70.211] ABI class: X.Org Server Extension, version 3.0
    [ 70.211] (II) Loading extension MIT-SCREEN-SAVER
    [ 70.211] (II) Loading extension XFree86-VidModeExtension
    [ 70.211] (II) Loading extension XFree86-DGA
    [ 70.211] (II) Loading extension DPMS
    [ 70.211] (II) Loading extension XVideo
    [ 70.211] (II) Loading extension XVideo-MotionCompensation
    [ 70.211] (II) Loading extension X-Resource
    [ 70.211] (II) LoadModule: "dbe"
    [ 70.211] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
    [ 70.218] (II) Module dbe: vendor="X.Org Foundation"
    [ 70.218] compiled for 1.8.1.902, module version = 1.0.0
    [ 70.219] Module class: X.Org Server Extension
    [ 70.219] ABI class: X.Org Server Extension, version 3.0
    [ 70.219] (II) Loading extension DOUBLE-BUFFER
    [ 70.219] (II) LoadModule: "glx"
    [ 70.219] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 71.100] (II) Module glx: vendor="NVIDIA Corporation"
    [ 71.111] compiled for 4.0.2, module version = 1.0.0
    [ 71.111] Module class: X.Org Server Extension
    [ 71.111] (II) NVIDIA GLX Module 256.44 Thu Jul 29 01:47:53 PDT 2010
    [ 71.111] (II) Loading extension GLX
    [ 71.111] (II) LoadModule: "record"
    [ 71.111] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
    [ 71.125] (II) Module record: vendor="X.Org Foundation"
    [ 71.125] compiled for 1.8.1.902, module version = 1.13.0
    [ 71.125] Module class: X.Org Server Extension
    [ 71.125] ABI class: X.Org Server Extension, version 3.0
    [ 71.125] (II) Loading extension RECORD
    [ 71.125] (II) LoadModule: "dri"
    [ 71.126] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
    [ 71.140] (II) Module dri: vendor="X.Org Foundation"
    [ 71.140] compiled for 1.8.1.902, module version = 1.0.0
    [ 71.140] ABI class: X.Org Server Extension, version 3.0
    [ 71.140] (II) Loading extension XFree86-DRI
    [ 71.140] (II) LoadModule: "dri2"
    [ 71.140] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 71.140] (II) Module dri2: vendor="X.Org Foundation"
    [ 71.140] compiled for 1.8.1.902, module version = 1.2.0
    [ 71.140] ABI class: X.Org Server Extension, version 3.0
    [ 71.140] (II) Loading extension DRI2
    [ 71.140] (II) LoadModule: "nvidia"
    [ 71.141] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 71.187] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 71.189] compiled for 4.0.2, module version = 1.0.0
    [ 71.189] Module class: X.Org Video Driver
    [ 71.207] (II) NVIDIA dlloader X Driver 256.44 Thu Jul 29 01:24:51 PDT 2010
    [ 71.207] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 71.207] (--) using VT number 7
    [ 71.260] (II) Primary Device is: PCI 00@00:05:0
    [ 71.269] (II) Loading sub module "fb"
    [ 71.269] (II) LoadModule: "fb"
    [ 71.269] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 71.281] (II) Module fb: vendor="X.Org Foundation"
    [ 71.281] compiled for 1.8.1.902, module version = 1.0.0
    [ 71.281] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 71.281] (II) Loading sub module "wfb"
    [ 71.281] (II) LoadModule: "wfb"
    [ 71.281] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 71.289] (II) Module wfb: vendor="X.Org Foundation"
    [ 71.289] compiled for 1.8.1.902, module version = 1.0.0
    [ 71.289] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 71.289] (II) Loading sub module "ramdac"
    [ 71.289] (II) LoadModule: "ramdac"
    [ 71.289] (II) Module "ramdac" already built-in
    [ 71.309] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
    [ 71.309] (==) NVIDIA(0): RGB weight 888
    [ 71.309] (==) NVIDIA(0): Default visual is TrueColor
    [ 71.309] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [ 71.309] (**) NVIDIA(0): Enabling RENDER acceleration
    [ 71.309] (II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
    [ 71.309] (II) NVIDIA(0): enabled.
    [ 72.040] (II) NVIDIA(0): NVIDIA GPU GeForce 6150 (C51) at PCI:0:5:0 (GPU-0)
    [ 72.040] (--) NVIDIA(0): Memory: 262144 kBytes
    [ 72.040] (--) NVIDIA(0): VideoBIOS: 05.51.22.33.07
    [ 72.040] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
    [ 72.040] (--) NVIDIA(0): Connected display device(s) on GeForce 6150 at PCI:0:5:0:
    [ 72.040] (--) NVIDIA(0): LG Electronics L196WTQ (DFP-0)
    [ 72.040] (--) NVIDIA(0): LG Electronics L196WTQ (DFP-0): 310.0 MHz maximum pixel clock
    [ 72.040] (--) NVIDIA(0): LG Electronics L196WTQ (DFP-0): Internal Dual Link TMDS
    [ 72.044] (II) NVIDIA(0): Assigned Display Device: DFP-0
    [ 72.044] (==) NVIDIA(0):
    [ 72.044] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
    [ 72.044] (==) NVIDIA(0): will be used as the requested mode.
    [ 72.044] (==) NVIDIA(0):
    [ 72.044] (II) NVIDIA(0): Validated modes:
    [ 72.044] (II) NVIDIA(0): "nvidia-auto-select"
    [ 72.044] (II) NVIDIA(0): Virtual screen size determined to be 1440 x 900
    [ 72.045] (--) NVIDIA(0): DPI set to (89, 87); computed from "UseEdidDpi" X config
    [ 72.045] (--) NVIDIA(0): option
    [ 72.045] (==) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
    [ 72.045] (--) Depth 24 pixmap format is 32 bpp
    [ 72.052] (II) NVIDIA(0): Initialized GPU GART.
    [ 72.055] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
    [ 72.055] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
    [ 72.055] (II) NVIDIA(0): configuration option may not be set correctly. When the
    [ 72.055] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
    [ 72.055] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
    [ 72.055] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
    [ 72.055] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
    [ 72.055] (II) NVIDIA(0): Config Options in the README.
    [ 72.056] (II) NVIDIA(0): Setting mode "nvidia-auto-select"
    [ 72.178] (EE) NVIDIA(0): Failed to allocate primary buffer: out of memory.
    [ 72.178] (EE) NVIDIA(0): *** Aborting ***
    [ 72.178]
    Fatal server error:
    [ 72.178] AddScreen/ScreenInit failed for driver 0
    [ 72.178]
    [ 72.178]
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 72.178] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [ 72.178]
    As it's mentioned, it may be a problem of ACPI.
    About the lib32-nvidia-utils, I just installed because it's written in the wiki http://wiki.archlinux.org/index.php/NVIDIA#Installing: "Note: On 64 bit systems, For 32-bit programs to take advantage of nvidia-utils you must also install the equivalent lib32 package (for example lib32-nvidia-utils)."

  • [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

  • 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 .

  • 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)

  • VMware keeps Rebuilding Kernel Modules [Solved]

    Hi, and thanks. After the last kernel upgrade everytime I start vmware player the first instance to run will rebuild the kernel modules and there is a warning icon next to the "Blocking File System" entry in the build list. I am using the latest kernel 3.4.2.2-Arch, my vmware player is version 4.0.2 build-591240. It runs fine after it rebuilds but the warning icon has me concerned. Does anyone know what this is? Do I have to move up a vmware version?
    thanks in advance for your help.
    --jerry
    Last edited by jk121960 (2012-06-27 20:04:08)

    If anyone is interested, here is the complete console output when I run the player.
    $ vmplayer
    Logging to /tmp/vmware-citmkd/modconfig-9164.log
    HostinfoReadDistroFile: could not open file/etc/redhat-release: 2
    HostinfoReadDistroFile: could not open file/etc/redhat_version: 2
    HostinfoReadDistroFile: could not open file/etc/sun-release: 2
    HostinfoReadDistroFile: could not open file/etc/SuSE-release: 2
    HostinfoReadDistroFile: could not open file/etc/novell-release: 2
    HostinfoReadDistroFile: could not open file/etc/sles-release: 2
    HostinfoReadDistroFile: could not open file/etc/debian_version: 2
    HostinfoReadDistroFile: could not open file/etc/debian_release: 2
    HostinfoReadDistroFile: could not open file/etc/mandrake-release: 2
    HostinfoReadDistroFile: could not open file/etc/mandriva-release: 2
    HostinfoReadDistroFile: could not open file/etc/mandrakelinux-release: 2
    HostinfoReadDistroFile: could not open file/etc/turbolinux-release: 2
    HostinfoReadDistroFile: could not open file/etc/fedora-release: 2
    HostinfoReadDistroFile: could not open file/etc/gentoo-release: 2
    HostinfoReadDistroFile: could not open file/etc/nld-release: 2
    HostinfoReadDistroFile: could not open file/etc/lsb-release: 2
    HostinfoReadDistroFile: could not open file/etc/annvix-release: 2
    HostinfoReadDistroFile: Cannot work with empty file.
    HostinfoReadDistroFile: could not open file/etc/arklinux-release: 2
    HostinfoReadDistroFile: could not open file/etc/aurox-release: 2
    HostinfoReadDistroFile: could not open file/etc/blackcat-release: 2
    HostinfoReadDistroFile: could not open file/etc/cobalt-release: 2
    HostinfoReadDistroFile: could not open file/etc/conectiva-release: 2
    HostinfoReadDistroFile: could not open file/etc/immunix-release: 2
    HostinfoReadDistroFile: could not open file/etc/knoppix_version: 2
    HostinfoReadDistroFile: could not open file/etc/lfs-release: 2
    HostinfoReadDistroFile: could not open file/etc/linuxppc-release: 2
    HostinfoReadDistroFile: could not open file/etc/mklinux-release: 2
    HostinfoReadDistroFile: could not open file/etc/pld-release: 2
    HostinfoReadDistroFile: could not open file/etc/slackware-version: 2
    HostinfoReadDistroFile: could not open file/etc/slackware-release: 2
    HostinfoReadDistroFile: could not open file/etc/e-smith-release: 2
    HostinfoReadDistroFile: could not open file/etc/release: 2
    HostinfoReadDistroFile: could not open file/etc/tinysofa-release: 2
    HostinfoReadDistroFile: could not open file/etc/ultrapenguin-release: 2
    HostinfoReadDistroFile: could not open file/etc/UnitedLinux-release: 2
    HostinfoReadDistroFile: could not open file/etc/va-release: 2
    HostinfoReadDistroFile: could not open file/etc/yellowdog-release: 2
    HostinfoOSData: Error: no distro file found
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmmon.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Machine Monitor.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmnet.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Networking Driver.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    ERROR: Module vmblock not found.
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmci.ko
    supported: external
    license: GPL v2
    version: 9.1.18.0
    description: VMware Virtual Machine Communication Interface (VMCI).
    author: VMware, Inc.
    srcversion: F659B534EA5CC5FFD4A08BF
    alias: pci:v000015ADd00000740sv*sd*bc*sc*i*
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    parm: disable_host:Disable driver host personality - (default=0) (bool)
    parm: disable_guest:Disable driver guest personality - (default=0) (bool)
    parm: disable_msi:Disable MSI use in driver - (default=0) (bool)
    parm: disable_msix:Disable MSI-X use in driver - (default=0) (bool)
    filename: /lib/modules/3.4.4-2-ARCH/misc/vsock.ko
    supported: external
    alias: vmware_vsock
    license: GPL v2
    version: 9.1.1.0
    description: VMware Virtual Socket Family
    author: VMware, Inc.
    srcversion: 5A37036862692504058A712
    depends: vmci
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmmon.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Machine Monitor.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmnet.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Networking Driver.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    ERROR: Module vmblock not found.
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmci.ko
    supported: external
    license: GPL v2
    version: 9.1.18.0
    description: VMware Virtual Machine Communication Interface (VMCI).
    author: VMware, Inc.
    srcversion: F659B534EA5CC5FFD4A08BF
    alias: pci:v000015ADd00000740sv*sd*bc*sc*i*
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    parm: disable_host:Disable driver host personality - (default=0) (bool)
    parm: disable_guest:Disable driver guest personality - (default=0) (bool)
    parm: disable_msi:Disable MSI use in driver - (default=0) (bool)
    parm: disable_msix:Disable MSI-X use in driver - (default=0) (bool)
    filename: /lib/modules/3.4.4-2-ARCH/misc/vsock.ko
    supported: external
    alias: vmware_vsock
    license: GPL v2
    version: 9.1.1.0
    description: VMware Virtual Socket Family
    author: VMware, Inc.
    srcversion: 5A37036862692504058A712
    depends: vmci
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmmon.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Machine Monitor.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmnet.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Networking Driver.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    ERROR: Module vmblock not found.
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmci.ko
    supported: external
    license: GPL v2
    version: 9.1.18.0
    description: VMware Virtual Machine Communication Interface (VMCI).
    author: VMware, Inc.
    srcversion: F659B534EA5CC5FFD4A08BF
    alias: pci:v000015ADd00000740sv*sd*bc*sc*i*
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    parm: disable_host:Disable driver host personality - (default=0) (bool)
    parm: disable_guest:Disable driver guest personality - (default=0) (bool)
    parm: disable_msi:Disable MSI use in driver - (default=0) (bool)
    parm: disable_msix:Disable MSI-X use in driver - (default=0) (bool)
    filename: /lib/modules/3.4.4-2-ARCH/misc/vsock.ko
    supported: external
    alias: vmware_vsock
    license: GPL v2
    version: 9.1.1.0
    description: VMware Virtual Socket Family
    author: VMware, Inc.
    srcversion: 5A37036862692504058A712
    depends: vmci
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmmon.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Machine Monitor.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmnet.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Networking Driver.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    ERROR: Module vmblock not found.
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmci.ko
    supported: external
    license: GPL v2
    version: 9.1.18.0
    description: VMware Virtual Machine Communication Interface (VMCI).
    author: VMware, Inc.
    srcversion: F659B534EA5CC5FFD4A08BF
    alias: pci:v000015ADd00000740sv*sd*bc*sc*i*
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    parm: disable_host:Disable driver host personality - (default=0) (bool)
    parm: disable_guest:Disable driver guest personality - (default=0) (bool)
    parm: disable_msi:Disable MSI use in driver - (default=0) (bool)
    parm: disable_msix:Disable MSI-X use in driver - (default=0) (bool)
    filename: /lib/modules/3.4.4-2-ARCH/misc/vsock.ko
    supported: external
    alias: vmware_vsock
    license: GPL v2
    version: 9.1.1.0
    description: VMware Virtual Socket Family
    author: VMware, Inc.
    srcversion: 5A37036862692504058A712
    depends: vmci
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmmon.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Machine Monitor.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmnet.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Networking Driver.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    ERROR: Module vmblock not found.
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmci.ko
    supported: external
    license: GPL v2
    version: 9.1.18.0
    description: VMware Virtual Machine Communication Interface (VMCI).
    author: VMware, Inc.
    srcversion: F659B534EA5CC5FFD4A08BF
    alias: pci:v000015ADd00000740sv*sd*bc*sc*i*
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    parm: disable_host:Disable driver host personality - (default=0) (bool)
    parm: disable_guest:Disable driver guest personality - (default=0) (bool)
    parm: disable_msi:Disable MSI use in driver - (default=0) (bool)
    parm: disable_msix:Disable MSI-X use in driver - (default=0) (bool)
    filename: /lib/modules/3.4.4-2-ARCH/misc/vsock.ko
    supported: external
    alias: vmware_vsock
    license: GPL v2
    version: 9.1.1.0
    description: VMware Virtual Socket Family
    author: VMware, Inc.
    srcversion: 5A37036862692504058A712
    depends: vmci
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    (vmware-gksu:9164): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'.
    (vmware-gksu:9164): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
    (vmware-gksu:9164): Pango-WARNING **: Failed to load Pango module '/usr/lib/vmware/libconf/lib/pango/1.6.0/modules/pango-basic-fc.so' for id 'BasicScriptEngineFc'
    (vmware-gksu:9164): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'.
    (vmware-gksu:9164): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
    (vmware-gksu:9164): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'.
    (vmware-gksu:9164): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
    (vmware-gksu:9164): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'.
    (vmware-gksu:9164): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
    (vmware-gksu:9164): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'.
    (vmware-gksu:9164): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
    (vmware-gksu:9164): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'.
    (vmware-gksu:9164): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
    (vmware-gksu:9164): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'.
    (vmware-gksu:9164): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
    (vmware-gksu:9164): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'.
    (vmware-gksu:9164): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
    (vmware-gksu:9164): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'.
    (vmware-gksu:9164): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
    (vmware-gksu:9164): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'.
    (vmware-gksu:9164): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
    (vmware-gksu:9164): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'.
    (vmware-gksu:9164): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
    (vmware-gksu:9164): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'.
    (vmware-gksu:9164): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
    (vmware-gksu:9164): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'.
    (vmware-gksu:9164): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
    (vmware-gksu:9164): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'.
    (vmware-gksu:9164): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
    Logging to /tmp/vmware-root/modconfig-9275.log
    HostinfoReadDistroFile: could not open file/etc/redhat-release: 2
    HostinfoReadDistroFile: could not open file/etc/redhat_version: 2
    HostinfoReadDistroFile: could not open file/etc/sun-release: 2
    HostinfoReadDistroFile: could not open file/etc/SuSE-release: 2
    HostinfoReadDistroFile: could not open file/etc/novell-release: 2
    HostinfoReadDistroFile: could not open file/etc/sles-release: 2
    HostinfoReadDistroFile: could not open file/etc/debian_version: 2
    HostinfoReadDistroFile: could not open file/etc/debian_release: 2
    HostinfoReadDistroFile: could not open file/etc/mandrake-release: 2
    HostinfoReadDistroFile: could not open file/etc/mandriva-release: 2
    HostinfoReadDistroFile: could not open file/etc/mandrakelinux-release: 2
    HostinfoReadDistroFile: could not open file/etc/turbolinux-release: 2
    HostinfoReadDistroFile: could not open file/etc/fedora-release: 2
    HostinfoReadDistroFile: could not open file/etc/gentoo-release: 2
    HostinfoReadDistroFile: could not open file/etc/nld-release: 2
    HostinfoReadDistroFile: could not open file/etc/lsb-release: 2
    HostinfoReadDistroFile: could not open file/etc/annvix-release: 2
    HostinfoReadDistroFile: Cannot work with empty file.
    HostinfoReadDistroFile: could not open file/etc/arklinux-release: 2
    HostinfoReadDistroFile: could not open file/etc/aurox-release: 2
    HostinfoReadDistroFile: could not open file/etc/blackcat-release: 2
    HostinfoReadDistroFile: could not open file/etc/cobalt-release: 2
    HostinfoReadDistroFile: could not open file/etc/conectiva-release: 2
    HostinfoReadDistroFile: could not open file/etc/immunix-release: 2
    HostinfoReadDistroFile: could not open file/etc/knoppix_version: 2
    HostinfoReadDistroFile: could not open file/etc/lfs-release: 2
    HostinfoReadDistroFile: could not open file/etc/linuxppc-release: 2
    HostinfoReadDistroFile: could not open file/etc/mklinux-release: 2
    HostinfoReadDistroFile: could not open file/etc/pld-release: 2
    HostinfoReadDistroFile: could not open file/etc/slackware-version: 2
    HostinfoReadDistroFile: could not open file/etc/slackware-release: 2
    HostinfoReadDistroFile: could not open file/etc/e-smith-release: 2
    HostinfoReadDistroFile: could not open file/etc/release: 2
    HostinfoReadDistroFile: could not open file/etc/tinysofa-release: 2
    HostinfoReadDistroFile: could not open file/etc/ultrapenguin-release: 2
    HostinfoReadDistroFile: could not open file/etc/UnitedLinux-release: 2
    HostinfoReadDistroFile: could not open file/etc/va-release: 2
    HostinfoReadDistroFile: could not open file/etc/yellowdog-release: 2
    HostinfoOSData: Error: no distro file found
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmmon.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Machine Monitor.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmnet.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Networking Driver.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    ERROR: Module vmblock not found.
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmci.ko
    supported: external
    license: GPL v2
    version: 9.1.18.0
    description: VMware Virtual Machine Communication Interface (VMCI).
    author: VMware, Inc.
    srcversion: F659B534EA5CC5FFD4A08BF
    alias: pci:v000015ADd00000740sv*sd*bc*sc*i*
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    parm: disable_host:Disable driver host personality - (default=0) (bool)
    parm: disable_guest:Disable driver guest personality - (default=0) (bool)
    parm: disable_msi:Disable MSI use in driver - (default=0) (bool)
    parm: disable_msix:Disable MSI-X use in driver - (default=0) (bool)
    filename: /lib/modules/3.4.4-2-ARCH/misc/vsock.ko
    supported: external
    alias: vmware_vsock
    license: GPL v2
    version: 9.1.1.0
    description: VMware Virtual Socket Family
    author: VMware, Inc.
    srcversion: 5A37036862692504058A712
    depends: vmci
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmmon.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Machine Monitor.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmnet.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Networking Driver.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    ERROR: Module vmblock not found.
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmci.ko
    supported: external
    license: GPL v2
    version: 9.1.18.0
    description: VMware Virtual Machine Communication Interface (VMCI).
    author: VMware, Inc.
    srcversion: F659B534EA5CC5FFD4A08BF
    alias: pci:v000015ADd00000740sv*sd*bc*sc*i*
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    parm: disable_host:Disable driver host personality - (default=0) (bool)
    parm: disable_guest:Disable driver guest personality - (default=0) (bool)
    parm: disable_msi:Disable MSI use in driver - (default=0) (bool)
    parm: disable_msix:Disable MSI-X use in driver - (default=0) (bool)
    filename: /lib/modules/3.4.4-2-ARCH/misc/vsock.ko
    supported: external
    alias: vmware_vsock
    license: GPL v2
    version: 9.1.1.0
    description: VMware Virtual Socket Family
    author: VMware, Inc.
    srcversion: 5A37036862692504058A712
    depends: vmci
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmmon.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Machine Monitor.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmnet.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Networking Driver.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    ERROR: Module vmblock not found.
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmci.ko
    supported: external
    license: GPL v2
    version: 9.1.18.0
    description: VMware Virtual Machine Communication Interface (VMCI).
    author: VMware, Inc.
    srcversion: F659B534EA5CC5FFD4A08BF
    alias: pci:v000015ADd00000740sv*sd*bc*sc*i*
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    parm: disable_host:Disable driver host personality - (default=0) (bool)
    parm: disable_guest:Disable driver guest personality - (default=0) (bool)
    parm: disable_msi:Disable MSI use in driver - (default=0) (bool)
    parm: disable_msix:Disable MSI-X use in driver - (default=0) (bool)
    filename: /lib/modules/3.4.4-2-ARCH/misc/vsock.ko
    supported: external
    alias: vmware_vsock
    license: GPL v2
    version: 9.1.1.0
    description: VMware Virtual Socket Family
    author: VMware, Inc.
    srcversion: 5A37036862692504058A712
    depends: vmci
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmmon.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Machine Monitor.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmnet.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Networking Driver.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    ERROR: Module vmblock not found.
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmci.ko
    supported: external
    license: GPL v2
    version: 9.1.18.0
    description: VMware Virtual Machine Communication Interface (VMCI).
    author: VMware, Inc.
    srcversion: F659B534EA5CC5FFD4A08BF
    alias: pci:v000015ADd00000740sv*sd*bc*sc*i*
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    parm: disable_host:Disable driver host personality - (default=0) (bool)
    parm: disable_guest:Disable driver guest personality - (default=0) (bool)
    parm: disable_msi:Disable MSI use in driver - (default=0) (bool)
    parm: disable_msix:Disable MSI-X use in driver - (default=0) (bool)
    filename: /lib/modules/3.4.4-2-ARCH/misc/vsock.ko
    supported: external
    alias: vmware_vsock
    license: GPL v2
    version: 9.1.1.0
    description: VMware Virtual Socket Family
    author: VMware, Inc.
    srcversion: 5A37036862692504058A712
    depends: vmci
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmmon.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Machine Monitor.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmnet.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Networking Driver.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    ERROR: Module vmblock not found.
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmci.ko
    supported: external
    license: GPL v2
    version: 9.1.18.0
    description: VMware Virtual Machine Communication Interface (VMCI).
    author: VMware, Inc.
    srcversion: F659B534EA5CC5FFD4A08BF
    alias: pci:v000015ADd00000740sv*sd*bc*sc*i*
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    parm: disable_host:Disable driver host personality - (default=0) (bool)
    parm: disable_guest:Disable driver guest personality - (default=0) (bool)
    parm: disable_msi:Disable MSI use in driver - (default=0) (bool)
    parm: disable_msix:Disable MSI-X use in driver - (default=0) (bool)
    filename: /lib/modules/3.4.4-2-ARCH/misc/vsock.ko
    supported: external
    alias: vmware_vsock
    license: GPL v2
    version: 9.1.1.0
    description: VMware Virtual Socket Family
    author: VMware, Inc.
    srcversion: 5A37036862692504058A712
    depends: vmci
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmmon.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Machine Monitor.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmnet.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Networking Driver.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    ERROR: Module vmblock not found.
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmci.ko
    supported: external
    license: GPL v2
    version: 9.1.18.0
    description: VMware Virtual Machine Communication Interface (VMCI).
    author: VMware, Inc.
    srcversion: F659B534EA5CC5FFD4A08BF
    alias: pci:v000015ADd00000740sv*sd*bc*sc*i*
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    parm: disable_host:Disable driver host personality - (default=0) (bool)
    parm: disable_guest:Disable driver guest personality - (default=0) (bool)
    parm: disable_msi:Disable MSI use in driver - (default=0) (bool)
    parm: disable_msix:Disable MSI-X use in driver - (default=0) (bool)
    filename: /lib/modules/3.4.4-2-ARCH/misc/vsock.ko
    supported: external
    alias: vmware_vsock
    license: GPL v2
    version: 9.1.1.0
    description: VMware Virtual Socket Family
    author: VMware, Inc.
    srcversion: 5A37036862692504058A712
    depends: vmci
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    Stopping VMware services:
    VMware Authentication Daemon done
    VM communication interface socket family done
    Virtual machine communication interface done
    Virtual machine monitor done
    Blocking file system done
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-root/modules/vmmon-only'
    make -C /lib/modules/3.4.4-2-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/linux-3.4.4-2-ARCH'
    CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
    CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driver.o
    CC [M] /tmp/vmware-root/modules/vmmon-only/linux/hostif.o
    CC [M] /tmp/vmware-root/modules/vmmon-only/common/memtrack.o
    CC [M] /tmp/vmware-root/modules/vmmon-only/common/apic.o
    CC [M] /tmp/vmware-root/modules/vmmon-only/common/cpuid.o
    CC [M] /tmp/vmware-root/modules/vmmon-only/common/vmx86.o
    CC [M] /tmp/vmware-root/modules/vmmon-only/common/task.o
    CC [M] /tmp/vmware-root/modules/vmmon-only/common/hashFunc.o
    CC [M] /tmp/vmware-root/modules/vmmon-only/common/comport.o
    CC [M] /tmp/vmware-root/modules/vmmon-only/common/phystrack.o
    CC [M] /tmp/vmware-root/modules/vmmon-only/vmcore/moduleloop.o
    LD [M] /tmp/vmware-root/modules/vmmon-only/vmmon.o
    Building modules, stage 2.
    MODPOST 1 modules
    CC /tmp/vmware-root/modules/vmmon-only/vmmon.mod.o
    LD [M] /tmp/vmware-root/modules/vmmon-only/vmmon.ko
    make[1]: Leaving directory `/usr/src/linux-3.4.4-2-ARCH'
    make -C $PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= postbuild
    make[1]: Entering directory `/tmp/vmware-root/modules/vmmon-only'
    make[1]: `postbuild' is up to date.
    make[1]: Leaving directory `/tmp/vmware-root/modules/vmmon-only'
    cp -f vmmon.ko ./../vmmon.o
    make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-root/modules/vmnet-only'
    make -C /lib/modules/3.4.4-2-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/linux-3.4.4-2-ARCH'
    CC [M] /tmp/vmware-root/modules/vmnet-only/driver.o
    CC [M] /tmp/vmware-root/modules/vmnet-only/hub.o
    CC [M] /tmp/vmware-root/modules/vmnet-only/userif.o
    CC [M] /tmp/vmware-root/modules/vmnet-only/netif.o
    CC [M] /tmp/vmware-root/modules/vmnet-only/bridge.o
    CC [M] /tmp/vmware-root/modules/vmnet-only/filter.o
    CC [M] /tmp/vmware-root/modules/vmnet-only/procfs.o
    CC [M] /tmp/vmware-root/modules/vmnet-only/smac_compat.o
    CC [M] /tmp/vmware-root/modules/vmnet-only/smac.o
    CC [M] /tmp/vmware-root/modules/vmnet-only/vnetEvent.o
    CC [M] /tmp/vmware-root/modules/vmnet-only/vnetUserListener.o
    LD [M] /tmp/vmware-root/modules/vmnet-only/vmnet.o
    Building modules, stage 2.
    MODPOST 1 modules
    CC /tmp/vmware-root/modules/vmnet-only/vmnet.mod.o
    LD [M] /tmp/vmware-root/modules/vmnet-only/vmnet.ko
    make[1]: Leaving directory `/usr/src/linux-3.4.4-2-ARCH'
    make -C $PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= postbuild
    make[1]: Entering directory `/tmp/vmware-root/modules/vmnet-only'
    make[1]: `postbuild' is up to date.
    make[1]: Leaving directory `/tmp/vmware-root/modules/vmnet-only'
    cp -f vmnet.ko ./../vmnet.o
    make: Leaving directory `/tmp/vmware-root/modules/vmnet-only'
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-root/modules/vmblock-only'
    make -C /lib/modules/3.4.4-2-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/linux-3.4.4-2-ARCH'
    CC [M] /tmp/vmware-root/modules/vmblock-only/linux/dbllnklst.o
    CC [M] /tmp/vmware-root/modules/vmblock-only/linux/dentry.o
    CC [M] /tmp/vmware-root/modules/vmblock-only/linux/block.o
    CC [M] /tmp/vmware-root/modules/vmblock-only/linux/file.o
    CC [M] /tmp/vmware-root/modules/vmblock-only/linux/module.o
    CC [M] /tmp/vmware-root/modules/vmblock-only/linux/super.o
    CC [M] /tmp/vmware-root/modules/vmblock-only/linux/filesystem.o
    CC [M] /tmp/vmware-root/modules/vmblock-only/linux/stubs.o
    CC [M] /tmp/vmware-root/modules/vmblock-only/linux/inode.o
    CC [M] /tmp/vmware-root/modules/vmblock-only/linux/control.o
    /tmp/vmware-root/modules/vmblock-only/linux/filesystem.c: In function 'FsOpReadSuper':
    /tmp/vmware-root/modules/vmblock-only/linux/filesystem.c:528:4: error: implicit declaration of function 'd_alloc_root' [-Werror=implicit-function-declaration]
    /tmp/vmware-root/modules/vmblock-only/linux/filesystem.c:528:15: warning: assignment makes pointer from integer without a cast [enabled by default]
    cc1: some warnings being treated as errors
    make[2]: *** [/tmp/vmware-root/modules/vmblock-only/linux/filesystem.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[1]: *** [_module_/tmp/vmware-root/modules/vmblock-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-3.4.4-2-ARCH'
    make: *** [vmblock.ko] Error 2
    make: Leaving directory `/tmp/vmware-root/modules/vmblock-only'
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-root/modules/vmci-only'
    make -C /lib/modules/3.4.4-2-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/linux-3.4.4-2-ARCH'
    CC [M] /tmp/vmware-root/modules/vmci-only/linux/driver.o
    CC [M] /tmp/vmware-root/modules/vmci-only/linux/vmciKernelIf.o
    CC [M] /tmp/vmware-root/modules/vmci-only/common/vmciDatagram.o
    CC [M] /tmp/vmware-root/modules/vmci-only/common/vmciDriver.o
    CC [M] /tmp/vmware-root/modules/vmci-only/common/vmciResource.o
    CC [M] /tmp/vmware-root/modules/vmci-only/common/vmciContext.o
    CC [M] /tmp/vmware-root/modules/vmci-only/common/vmciHashtable.o
    CC [M] /tmp/vmware-root/modules/vmci-only/common/vmciEvent.o
    CC [M] /tmp/vmware-root/modules/vmci-only/common/vmciQueuePair.o
    CC [M] /tmp/vmware-root/modules/vmci-only/common/vmciDoorbell.o
    CC [M] /tmp/vmware-root/modules/vmci-only/common/vmciQPair.o
    CC [M] /tmp/vmware-root/modules/vmci-only/common/vmciRoute.o
    CC [M] /tmp/vmware-root/modules/vmci-only/driverLog.o
    /tmp/vmware-root/modules/vmci-only/linux/driver.c: In function '__check_disable_host':
    /tmp/vmware-root/modules/vmci-only/linux/driver.c:2498:1: warning: return from incompatible pointer type [enabled by default]
    /tmp/vmware-root/modules/vmci-only/linux/driver.c: In function '__check_disable_guest':
    /tmp/vmware-root/modules/vmci-only/linux/driver.c:2501:1: warning: return from incompatible pointer type [enabled by default]
    /tmp/vmware-root/modules/vmci-only/linux/driver.c: In function '__check_disable_msi':
    /tmp/vmware-root/modules/vmci-only/linux/driver.c:2504:1: warning: return from incompatible pointer type [enabled by default]
    /tmp/vmware-root/modules/vmci-only/linux/driver.c: In function '__check_disable_msix':
    /tmp/vmware-root/modules/vmci-only/linux/driver.c:2507:1: warning: return from incompatible pointer type [enabled by default]
    LD [M] /tmp/vmware-root/modules/vmci-only/vmci.o
    Building modules, stage 2.
    MODPOST 1 modules
    CC /tmp/vmware-root/modules/vmci-only/vmci.mod.o
    LD [M] /tmp/vmware-root/modules/vmci-only/vmci.ko
    make[1]: Leaving directory `/usr/src/linux-3.4.4-2-ARCH'
    make -C $PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= postbuild
    make[1]: Entering directory `/tmp/vmware-root/modules/vmci-only'
    make[1]: `postbuild' is up to date.
    make[1]: Leaving directory `/tmp/vmware-root/modules/vmci-only'
    cp -f vmci.ko ./../vmci.o
    make: Leaving directory `/tmp/vmware-root/modules/vmci-only'
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-root/modules/vmci-only'
    make -C /lib/modules/3.4.4-2-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/linux-3.4.4-2-ARCH'
    Building modules, stage 2.
    MODPOST 1 modules
    make[1]: Leaving directory `/usr/src/linux-3.4.4-2-ARCH'
    make -C $PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= postbuild
    make[1]: Entering directory `/tmp/vmware-root/modules/vmci-only'
    make[1]: `postbuild' is up to date.
    make[1]: Leaving directory `/tmp/vmware-root/modules/vmci-only'
    cp -f vmci.ko ./../vmci.o
    make: Leaving directory `/tmp/vmware-root/modules/vmci-only'
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-root/modules/vsock-only'
    make -C /lib/modules/3.4.4-2-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/linux-3.4.4-2-ARCH'
    CC [M] /tmp/vmware-root/modules/vsock-only/linux/af_vsock.o
    CC [M] /tmp/vmware-root/modules/vsock-only/linux/vsockAddr.o
    CC [M] /tmp/vmware-root/modules/vsock-only/linux/notifyQState.o
    CC [M] /tmp/vmware-root/modules/vsock-only/linux/util.o
    CC [M] /tmp/vmware-root/modules/vsock-only/linux/stats.o
    CC [M] /tmp/vmware-root/modules/vsock-only/linux/notify.o
    CC [M] /tmp/vmware-root/modules/vsock-only/driverLog.o
    LD [M] /tmp/vmware-root/modules/vsock-only/vsock.o
    Building modules, stage 2.
    MODPOST 1 modules
    CC /tmp/vmware-root/modules/vsock-only/vsock.mod.o
    LD [M] /tmp/vmware-root/modules/vsock-only/vsock.ko
    make[1]: Leaving directory `/usr/src/linux-3.4.4-2-ARCH'
    make -C $PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= postbuild
    make[1]: Entering directory `/tmp/vmware-root/modules/vsock-only'
    make[1]: `postbuild' is up to date.
    make[1]: Leaving directory `/tmp/vmware-root/modules/vsock-only'
    cp -f vsock.ko ./../vsock.o
    make: Leaving directory `/tmp/vmware-root/modules/vsock-only'
    Starting VMware services:
    Virtual machine monitor done
    Virtual machine communication interface done
    VM communication interface socket family done
    Blocking file system done
    Virtual ethernet done
    VMware Authentication Daemon done
    Shared Memory Available done
    filename: /lib/modules/3.4.4-2-ARCH/misc/vmmon.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Machine Monitor.
    author: VMware, Inc.
    depends:
    vermagic: 3.4.4-2-ARCH SMP preempt mod_unload modversions
    No value set for `/system/http_proxy/use_http_proxy'
    No value set for `/system/proxy/mode'
    No value set for `/system/http_proxy/use_http_proxy'
    No value set for `/system/proxy/mode'
    No value set for `/system/http_proxy/use_http_proxy'
    No value set for `/system/proxy/mode'
    $
    Last edited by med1972 (2012-07-01 00:41:46)

  • Replacement function modules/method for obsolete Funtion Modules in ECC 6.0

    We are working on Upgrade Project and need your help in finding the replacement Function module/ Methods for following obsolete Function Modules:
       1.   GET_FIELDTAB
       2.   WS_EXCEL
       3.  HR_DISPLAY_BASIC_LIST
       4.  LOG_SYSTEM_GET_RFC_DESTINATION
       5.  HELPSCREEN_NA_CREATE
       6. TR_RELEASE_COMM
    Thank in Advance.
    Sarita.
    Edited by: Sarita Yalamati on Mar 28, 2008 1:23 PM

    Hi sarita,
    for GET_FIELDTAB use 'DDIF_NAMETAB_GET'..here is sample code
      CALL FUNCTION 'GET_FIELDTAB'
           EXPORTING
                LANGU               = SY-LANGU
                TABNAME             = C_STRUCTURE_NAME
                WITHTEXT            = ' '
           TABLES
                FIELDTAB            = IDFIES
           EXCEPTIONS
               INTERNAL_ERROR      = 01
                NO_TEXTS_FOUND      = 02
                TABLE_HAS_NO_FIELDS = 03
                TABLE_NOT_ACTIV     = 04.
    Replacement :
    CALL FUNCTION 'DDIF_NAMETAB_GET'
      EXPORTING
        TABNAME           =  C_STRUCTURE_NAME
      ALL_TYPES         = ' '
      LFIELDNAME        = ' '
      GROUP_NAMES       = ' '
      UCLEN             =
    IMPORTING
      X030L_WA          =
      DTELINFO_WA       =
      TTYPINFO_WA       =
      DDOBJTYPE         =
      DFIES_WA          =
      LINES_DESCR       =
    TABLES
      X031L_TAB         =
       DFIES_TAB         = IDFIES
    EXCEPTIONS
       NOT_FOUND         = 1
       OTHERS            = 2
    For WS_EXCEL  use GUI_DOWNLOAD.. here is sample code
    CALL FUNCTION 'WS_EXCEL'
    EXPORTING
       FILENAME            = 'D:\FILE1.xls'
      SYNCHRON            = ' '
      TABLES
        DATA                = itab
    EXCEPTIONS
       UNKNOWN_ERROR       = 1
       OTHERS              = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Repalcement :
    data : l_filename type string.
    l_filename  = 'D:\FILE1.xls'.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
      BIN_FILESIZE                    =
        FILENAME                        = l_filename
      FILETYPE                        = 'ASC'
    IMPORTING
      FILELENGTH                      =
      TABLES
        DATA_TAB                        = itab
      FIELDNAMES                      =
    EXCEPTIONS
       FILE_WRITE_ERROR                = 1
       NO_BATCH                        = 2
       GUI_REFUSE_FILETRANSFER         = 3
       INVALID_TYPE                    = 4
       NO_AUTHORITY                    = 5
       UNKNOWN_ERROR                   = 6
       HEADER_NOT_ALLOWED              = 7
       SEPARATOR_NOT_ALLOWED           = 8
       FILESIZE_NOT_ALLOWED            = 9
       HEADER_TOO_LONG                 = 10
       DP_ERROR_CREATE                 = 11
       DP_ERROR_SEND                   = 12
       DP_ERROR_WRITE                  = 13
       UNKNOWN_DP_ERROR                = 14
       ACCESS_DENIED                   = 15
       DP_OUT_OF_MEMORY                = 16
       DISK_FULL                       = 17
       DP_TIMEOUT                      = 18
       FILE_NOT_FOUND                  = 19
       DATAPROVIDER_EXCEPTION          = 20
       CONTROL_FLUSH_ERROR             = 21
       OTHERS                          = 22
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE
      EXPORTING
        DOCUMENT               = 'D:\FILE1.xls'
       APPLICATION            =
       PARAMETER              =
       DEFAULT_DIRECTORY      =
       MAXIMIZED              =
       MINIMIZED              =
       SYNCHRONOUS            =
        OPERATION              = 'OPEN'
      EXCEPTIONS
        CNTL_ERROR             = 1
        ERROR_NO_GUI           = 2
        BAD_PARAMETER          = 3
        FILE_NOT_FOUND         = 4
        PATH_NOT_FOUND         = 5
        FILE_EXTENSION_UNKNOWN = 6
        ERROR_EXECUTE_FAILED   = 7
        SYNCHRONOUS_FAILED     = 8
        NOT_SUPPORTED_BY_GUI   = 9
        others                 = 10
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • Open() Entry point For STREAMS Kernel Module

    Hi,
    I have a STREMS Kernel module having concept of read & write queue.
    we know there is a inbuilt concept of queue_t structure for STREAMS module, my query is " when queue_t structure get memory as we pass queue_t * as one of argument in open() call ".
    When queue_t get memory for STREAMS module.

    Do a search here othere have have had that probem and they have been fixed.

  • Proper method for interactive video

    Hi.  It's been a while since I've used Flash/Actionscript, and I've been having trouble figuring out the proper way to do this.  I'm hoping someone here can outline the proper methods.
    Basically, I'm creating a Flash project where it will play a video, then at a certain point, stop and display some buttons, and then go to the appropriate video based on what button was pressed.  Sort of a choose your own adventure type of thing.
    Without knowing the current/ideal way of doing it, how I tried it was by having the first video (embedded into the project) on one layer, and at the end of that video, I have a stop()  on another (script) layer (on the last frame of the video in the timeline), and I had the buttons (which appear on top of the video) on another layer at that same frame.  So, in theory, it plays the video, hits the last frame, stops the timeline, and waits for one of the buttons to be clicked.  Each button triggers and gotoAndPlay(), which takes the timeline to one of the other two videos that are located one after the other, after the first video, on the same (video) layer.
    Problem is, I have a bit of a catch-22...  I was aware that there would be sync issues between the video and it's audio (addressed by doing the audio as Sync or something in the audio properties)... however, I was suprised to see that the video does not maintain sync with the other layers (script).   So, what happens is that it plays the video, but SEEMS to play it faster than the script layer, so it reaches the end of the video before reaching the (identical frame) location of the actionscript.  As a result, the video loops, and the stop() is hit sometime during the start of the second playing of the video.  The buttons act similar, appearing sometime AFTER the point in the video where they should.
    I had embedded the video with the assumption that this would give me hard sync between it and the timeline, since it's physically there in the timeline, and you can see the frame at which it ends... and I thought then putting a stop() on that frame (but on a different layer), would guarantee that the stop code gets hit at the same time the end of the video was.
    I've tried a number of things, like putting the actionscript code on the frame after the video on the same layer, figuring a single layer can't go out of sync with itself... but that didn't work either.
    Looking into it, I saw that one option was to not embed the video, but to have it reference an external file (which, supposedly, would result in no sync issues).  But, in doing that, I'm not aware of how the rest of the timeline would know when the video has reached certain spots of the video.
    I'm sure the proper method is entirely different from what I'm doing, but I'm not familiar with other methods.  I'm hoping someone can outline the proper procedures (in as much detail as possible, since I probably won't know about much of what you are explaining).
    Keep in mind, again that this is basically what I want to do:
    -Play video 1
    -Stop timeline, display buttons, wait for response
    -Based on which button is pressed, jump in the timeline to video 2 or 3 (...I'm assuming all the vids will be on one layer, one after the other, with a label at the start of each one)
    Hope you can help.  Thanks.

    Hi, kglad.  Conceptually, I understand, but I'm totally new to most of these things.  I've worked with actionscript and flash in general, but am still very green when it comes to things like event listeners and some of the more technical coding.
    I've been frustrated with the tutorial vids I've been finding, as they are often very generic (...5 minutes of video, only to show you how to load the component onto the stage, then point to a video).  But, I did finally find one that seemed to address more detail.  It's the ActionScript 3 Video Basics tutorial on gotoandlearn.com.  All very techy code, which goes right over my head, but at least it's seemingly usable and relevant.  I just don't like using coding/methods I don't fully understand, as then you are helpless if something goes wrong.
    In answer to your question, what I'm after (in more detail) is this:
    -A video plays (Intro video)
    -After that video, a looping video plays, with buttons (Scene selection thumbnails) on top of it (Selection menu with looping background)
    -Clicking on one of the scene thumbnails then goes to the scene player section
    -Scene plays, and when it reaches the end of the clip, two buttons appear, and it waits (parked on last frame of the video via a stop() command)
    -Pressing button A jumps the timeline ahead 2 frames to the A video (which is located right after the initial scene video, right after the stop()), and that video plays, and stops at the end (via another stop() command.
    -Pressing button B jumps the timeline ahead many frames (past that second A video, over to the B video, which is the third clip on the video timeline, consisting of the initial scene, the A clip, and now the B clip), plays that and stops.
    Now, I am 90% sure that the way I am currently doing this is inefficient, obsolete, and to anyone half-decent at Flash authoring, completely wrong... but it's the only way I currently know.
    I've done the above like this:
    Timeline has the first (Intro) video embedded, then the second (Scene Selection loop), with a label ('Loop') at the first frame, and a gotoAndPlay('Loop') on the last, with the graphics and code for the scene selection thumbnail buttons occupying the duration/span of that loop clip, on a different layer.
    I have a MovieScreen movieclip, which has a series of one frame movieclips within it.  Each of those movieclips is the full video of a scene.  Think of the MovieScreen mc as a sort of Jukebox, containing a series of 1 frame 'records' (those being a movieclip that contains the video of each scene).  Pressing one of the thumbnail Scene buttons in the Scene Selection simply moves the MovieScreen movieclip timeline to the appropriate 'record' (frame containing the appropriate movieclip that contains the scene you selected), and jumps the main timeline (via a gotoAndPlay()) out of that Scene Selection loop, to the next frame after it, which is a 'Selection made' clip (an exit animation), which plays, and then parks on the 'Play Scene' section.
    The Play Scene frame of the main timeline simplly contains the Moviescreen movieclip, which (at this point) has had its own timeline jumped to the appropriate 'record' (movieclip within it), and that movieclip plays.  This is my (probably laughably incorrect, yet functioning) method to have a global 'movie player' frame in the main timeline, but have it able to play any of the available videos, rather than having a moviescreen for each scene.
    Certainly, I'd assume there is a far better way to do this, most likely with pure actionscript, where the scenes are called up, and things are dynamically generated... but, again, I don't know how to do that sort of thing.
    My first attempt had me embedding the videos directly into the timeline, which had the benefit of having the clip literally there on the timelines, taking up the literal amount of frames, and being visible during the timeline editing.  Problem is, it wouldn't play in sync with the rest of the layers (which was a real surprise, as I assumed that the whole point of embedding it would be to lock it to the timeline).  So, my codes/graphics that were placed on other frames at the end of the video clip's timeline layer didn't trigger in sync with the end of the clip (...which still puzzles me).
    My second attempt had the videos being called on as external clips, but that also had its share of problems, plus without the clips physically on the timeline, I had no way to know when the clip ended (...assuming I was to have the actionscript/graphics on a particular frame in the timeline... which I suspect now is wrong thinking).
    My third attempt used the FLV component.  First of all, the videos where about half the size that they should have been, plus where positioned half off the screen.  Today, I managed to figure out how to remedy that, so that works.  However, I soon realized that when placed on the stage, the resulting element on the timeline was an infinite duration, and not representitive of the duration of the clip, like an embedded vid would be... So, again, I had the problem of how to know when the clip ended, and where to place the script/graphics in the timeline.
    Researching a bit more today, I see that you can read metadata from a clip, which may be relevant to triggering a stop() or a loop back or a gotoAndPlay()...although I'm not entirely sure how it would all work.  I couldn't see an obvious way to loop a clip (from the FLV Playback properties).  So, even though I suspect this is the proper way to be doing this, I'm completely lost on how to utilize it.
    As well, I've been reading that the current version of the FLV Playback component has an issue with seamless looping... in that it supposedly can't.  So, that's yet another problem.
    Sorry for the novel, but I wanted to give everyone the full info on what I'm doing and what troubles I'm facing here.  Sorry too for being green on this.  I'd be happy to watch/read some tutorials on this, but really haven't found anything that either addresses things more than just 'load it onto the stage and select the video location', or ones that are the opposite end of the spectrum, and are way over my head.

  • What is the proper method for cleaning up EventWaitHandle?

    Hi all,
    I'm working on inter-process communication between applications running on the same machine. More specifically I have a primary application that is connected to multiple industrial machines collecting data from each.
    I want to create secondary applications that consume this data. I intend on using MemoryMappedFile to share the information. I've tested the MMF part and it works fine.
    I'm at the point where I want to notify the client applications when new data is available by using an EventWaitHandle. I create the handle as follows.
    handle = new EventWaitHandle(false, EventResetMode.AutoReset, ClientName);
    In the client application I use WaitOne inside a thread for the event notification. This too works well.
    private void MonitorForSignal()
    running = true;
    bool signaled;
    while (running)
    signaled = handle.WaitOne();
    if (signaled)
    if (!handle.SafeWaitHandle.IsClosed)
    //Do something
    I create the thread as follows:
    monitor = new Thread(MonitorForSignal);
    monitor.IsBackground = true;
    running = true;
    monitor.Start();
    My concern is that I may be creating an orphaned thread or a memory leak when I close the client application. So I implemented IDisposable in my client class and do the following.
    protected virtual void Dispose(bool disposing)
    if (disposing)
    // free managed resources
    // free native resources here if there are any
    running = false;
    handle.Close();
    handle.Dispose();
    monitor.Abort();
    I believe this does indeed free the resources, but I've read that Thread.Abort is "bad". Before I implemented IDisposable I did some testing in a couple of WinForm applications, one acting as the host and one as the client. I noticed that I could
    close the client and subsequently Set the EventWaitHandle in the host application and this line of code in the client would fire in the debugger.
    signaled = handle.WaitOne();
    This made me worry that I wasn't properly cleaning up my thread objects.
    Below is the entire client for reference. What I'm really asking is how do I properly clean up the MonitorForSignal thread and the EventWaitHandle in the client?
    public class ClientA : IDisposable
    bool running;
    string clientName;
    EventWaitHandle handle;
    Thread monitor;
    private void MonitorForSignal()
    running = true;
    bool signaled;
    while (running)
    signaled = handle.WaitOne();
    if (signaled)
    if (!handle.SafeWaitHandle.IsClosed)
    //Do something
    private void ProcessData()
    //Do Something
    public ClientA(string ClientName)
    if (ClientName == null || ClientName == string.Empty)
    throw new ArgumentException("Cannot be null or empty.", "ClientName");
    clientName = ClientName;
    handle = new EventWaitHandle(false, EventResetMode.AutoReset, ClientName);
    monitor = new Thread(MonitorForSignal);
    monitor.IsBackground = true;
    running = true;
    monitor.Start();
    #region IDispose
    ~ClientA()
    Dispose(false);
    public void Dispose()
    Dispose(true);
    GC.SuppressFinalize(this);
    protected virtual void Dispose(bool disposing)
    if (disposing)
    // free managed resources
    // free native resources here if there are any
    running = false;
    handle.Close();
    handle.Dispose();
    monitor.Abort();
    #endregion
    Regards,

    Hi Michael,
    Does this code cause the thread to spin?
    while (!handle.WaitOne())
    //TODO: Do work
    Thread.Sleep(1000);
    I was hoping not to spin thus the EventWaitHandle. As for the named handle, I am building multiple applications that need to have inter-process communication, all running on the same machine.
    I think I can update my class to use your recommendation for the dispose method, specifically using handle.Set
    However, I would update the MonitorForSignal as follows:
    bool _closing = false;
    private void MonitorForSignal()
    running = true;
    bool signaled;
    while (running)
    signaled = handle.WaitOne();
    if (signaled && !_closing )
    if (!handle.SafeWaitHandle.IsClosed)
    if (NewData != null)
    NewData();
    And the dispose as follows:
    protected virtual void Dispose(bool disposing)
    if (disposing && handle!=null)
    running = false;
    _closing = true;
    handle.Set();
    if (!monitor.Join(5000))
    monitor.Abort();
    monitor = null;
    handle.Dispose();
    handle = null;
    // free managed resources
    // free native resources here if there are any
    This allows me to skip over the "Do Work" part which should only be done when Signaled from another application. Your suggestion to use handle.Set() in the dispose method coupled with adding the bool _closing allows me to get past the EventWaitHandle
    and also skip the work when closing.
    Also by setting "running" to false in the dispose, the thread will naturally end after the wait handle has been set.
    Thanks for suggesting the Thread.Join, that does seem allot more graceful. When I tested these changes it was blazing fast. In the previous code when I called monitor.Abort the application would hang for about a second. 
    Do you think the changes capture the intent of your suggestions?
    Regards,

Maybe you are looking for