ASM module for kernel 2.4.21-27EL

Does anybody know from where I can download ASM module (RPM or source) for kernel 2.4.21-27EL . I managed to install ocfs module with that kernel using ENBD - project for network shared storage, but the ASM module for kernels 2.4.21x is compiled for 2.4.21-19
the source supports only 2.4.19...
Any idea anybody?

Hi, please send me the error log file,
Thanks.
Message was edited by:
Serch-NET

Similar Messages

  • Need Help with Oracleasm - a kernel module for the ASM library

    I am a beginner, trying to install Oracle RAC. I have a system with SuSE Linx 11 (64 bit) loaded. I need to get the correct ASMLib packages needed for installing ASM. I think I got the following packages that are needed for installing ASM
    1) oracleasmlib- the ASM libraries (oracleasmlib-2.0.4-1.SLE11.x86_64.rpm)
    2) oracleasm-support- utilities needed to administer ASMLib (oracleasm-support-2.1.3-1.SLE11.x86_64.rpm)
    I am unable to find the third package.
    3) Oracleasm - a kernel module for the ASM library
    I looked at my kernel version it says "2.6.27.19-5-default". I am not sure where I can get the above third package. If you have an answer/know ase share your thoughts.
    Thank You

    Hi!
    Don't use ASMLib, it will be no longer available, it will only came in Oracle Unbreakable Kernel for Linux 6.
    The easly way to set the permissions on your devices is with a /etc/init.d script that do the job.
    Here is an example:
    #! /bin/bash
    # chkconfig: 2345 25 19
    # description: Set ASM Permissions on to devices at boot.
    case "$1" in
    start)
    /bin/chown oracle:oinstall /dev/sdb1
    /bin/chmod 0660 /dev/sdb1
    stop)
    #do nothing
    status)
    ls -l /dev/sdb1
    echo "Usage: $0 {start|stop|status}"
    exit 1
    esac
    exit o
    You need to replace the /dev/sdb1 for your acctual partitions.
    Please check the Docs to be sure that you meet all pre-reqs.
    http://docs.oracle.com/cd/E11882_01/relnotes.112/e23558/toc.htm
    http://docs.oracle.com/cd/E11882_01/install.112/e22489/toc.htm
    http://docs.oracle.com/cd/E11882_01/install.112/e24321/toc.htm
    Hope it's helps.
    Best Regards,
    Julio

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

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

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

  • Unable to compile module for Intel VTUNE with 3.16.4-1 kernel

    I am currently running  3.16.4-1-ARCH #1 and I tried to compile the kernel module for Intel Vtune XE 2013 (r17).
    Unluckily, GCC stops reporting the following errors:
    /opt/intel/vtune_amplifier_xe_2013/sepdk/src/vtsspp/collector.c: In function ‘vtss_target_new’:
    /opt/intel/vtune_amplifier_xe_2013/sepdk/src/vtsspp/collector.c:985:35: error: ‘VSYSCALL_START’ undeclared (first use in this function)
    addr = (unsigned long)VSYSCALL_START;
    ^
    /opt/intel/vtune_amplifier_xe_2013/sepdk/src/vtsspp/collector.c:985:35: note: each undeclared identifier is reported only once for each function it appears in
    /opt/intel/vtune_amplifier_xe_2013/sepdk/src/vtsspp/collector.c:986:36: error: ‘VSYSCALL_MAPPED_PAGES’ undeclared (first use in this function)
    size = (unsigned long)(VSYSCALL_MAPPED_PAGES * PAGE_SIZE)
    As the source code points out:
    #include <asm/fixmap.h> /* VSYSCALL_START */
    The missing symbols are expected to be found under /usr/lib/modules/3.16.4-1-ARCH/build/arch/x86/include/asm/fixmap.h, but it seems that they are not present anymore.
    Grepping the headers could not help at all.
    What am I missing here ?

    It looks like the macros:
    VSYSCALL_START
    VSYSCALL_SIZE
    VSYSCALL_END
    VSYSCALL_MAPPED_PAGES
    got dropped after v3.15
    I wonder if I need to downgrade.

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

  • Virtualbox doesn't compiles "vboxdrv" module for 2.6.24 kernel

    I installed Virtualbox, however I cannot launch any OS because the vboxdrv module doesn't exists for the latest kernel (I found another module for the 2.6.23 kernel); so the GUI says that I should execute this:
    /etc/init.d/vboxdrv setup
    However that file doesn't exists. I already tried to uninstall virtualbox and reinstalling from pacman, but still no luck.
    What should I do? Is this a bug?
    Thanks in advance.

    I think that's where the confusion  is.  When I got the package from AUR it had:
    -rw-r--r-- 1 ralvez users  217 2008-01-08 15:58 interfaces
    -rw-r--r-- 1 ralvez users 3596 2008-01-20 11:38 PKGBUILD
    -rwx------ 1 ralvez users  174 2007-12-30 04:23 vbox_build_module
    -rw-r--r-- 1 ralvez users 2384 2007-12-30 07:39 vbox.install
    -rw-r--r-- 1 ralvez users 2179 2007-12-30 07:31 vboxnet.patch
    So the patch file is there (in bold text) ... and is not executable is a text file. That's why I'm asking if I have to do something with it to make the whole thing work.
    Since it is just a plain text file if I try to use it as an upgrade patch it fails with error:
    loading package data... error: error while reading package vboxnet.patch: Unrecognized archive format: Invalid or incomplete multibyte or wide character
    error: failed to add target 'vboxnet.patch'
    So, I'm stuck. I see no way to solve the problem.
    R.
    Edit: On re-reading your post I wonder what package from core are you referring to? I was under the impression that when we use AUR we are "fetching" files not from core but form the AUR source.
    Am I wrong?
    Last edited by ralvez (2008-02-13 22:50:31)

  • Kernel module for D30 TPM Chip Linux?

    Seems that Linux does not recognize the TPM chip. Could it be that there is no module for it in Linux Kernel? I Thought D30 supports RHEL6?
    Manufacturer: LENOVO
    Product Name: 422916G
    Version: ThinkStation D30
    BIOS Revision: 0.37
    Solved!
    Go to Solution.

    Sorry for the noise. Issue is fixed. Needed to install kernel-modules-extras package for tpm_tis kernel module

  • [SOLVED] Can't build fglrx module for 3.4.5-1-ARCH kernel

    Hello everyone!
    I updated my system using
        pacman -Syu --ignore glibc
    everything was good, I rebooted and my fglrx module isn't working!
    I tried:
        sudo catalyst_build_module
        Building fglrx module for 3.4.5-1-ARCH kernel ...
        Failed!!! Check out log: /var/log/catalyst-install.log
    Here is log
    Here is quote from it: Kernel header files are absent: directory /lib/modules/3.3.4-1-ARCH/build doesn't exist! Game over
    But I have the latest versions linux and linux-headers packages.
    Help please. Thanks.
    Last edited by metalex (2012-07-20 14:53:37)

    Yes, this is my problem, I  did all from here, but I still can't update glibc.
    grep '^lib/' /var/lib/pacman/local/*/files 
    output:
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/ld-2.16.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/ld-linux-x86-64.so.2
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libBrokenLocale-2.16.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libBrokenLocale.so.1
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libSegFault.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libanl-2.16.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libanl.so.1
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libc-2.16.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libc.so.6
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libcidn-2.16.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libcidn.so.1
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libcrypt-2.16.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libcrypt.so.1
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libdl-2.16.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libdl.so.2
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libm-2.16.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libm.so.6
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libmemusage.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnsl-2.16.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnsl.so.1
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_compat-2.16.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_compat.so.2
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_db-2.16.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_db.so.2
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_dns-2.16.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_dns.so.2
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_files-2.16.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_files.so.2
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_hesiod-2.16.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_hesiod.so.2
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_nis-2.16.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_nis.so.2
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_nisplus-2.16.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_nisplus.so.2
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libpcprofile.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libpthread-2.16.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libpthread.so.0
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libresolv-2.16.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libresolv.so.2
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/librt-2.16.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/librt.so.1
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libthread_db-1.0.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libthread_db.so.1
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libutil-2.16.so
    /var/lib/pacman/local/glibc-2.16.0-1/files:lib/libutil.so.1
    /var/lib/pacman/local/lib32-glibc-2.15-10/files:lib/
    /var/lib/pacman/local/lib32-glibc-2.15-10/files:lib/ld-linux.so.2
    I don't know what to do with lib32-glibc...

  • Compiling STREAM module for 64-bit kernel

    Hi,
    I am trying to compile a STREAM module for Solaris. The results I get when I execute "isalist" and "isainfo -kv" are:
    -"sparcv9+vis sparcv9 sparcv8plus+vis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc"
    -"64-bit sparcv9 kernel modules"
    The host is a Ultra5_10 with SunOS 5.7 sun4u sparc.
    First I tried to compile the module with gcc 2.8.1 but altough the compilation apparentelly finisihed OK I did not get to load the module. Later I read that, gcc so far does not generate binaries for 64-bit sparc.
    So I installed the Sun WorkShop 5 environment (try version) and I tried to compile my sources with the following line:"cc -D_KERNEL -xarch=v9 -xcode=abs32 -xregs=no%appl -x03 -I. -I/usr/include -c mymodule.c"
    but I get a huge list of errors such as:
    "/usr/include/sys/thread.h/, line73:warning: volatile is a keyworkd in
    ANSI C"
    "/usr/include/sys/thread.h/, line 73:sintax error before or at:volatile"
    so if I compile adding the directire "-D_ASM" to the previous line, the list of errors descreases to 2 lines:
    "/usr/include/sys/kstat.h, line 52: sintax error before or at: hrtime_t"
    "/usr/include/sys/kstat.h, line 52: cannot recover from previous errors".
    I have also tried adding directives such as: -D_LP64 -D__sparcv9 -D_POSIX_C_SOURCE, -D_XOPEN_SOURCE but I do not get to compile it successfully.
    Could someone be so kind to give me a clue of what I am doing wrong, and what should I do in order to compile it??.
    The header files I have included right now in my ".c" are:
    #include <sys/stream.h>
    #include <sys/conf.h>
    #include <sys/modctl.h>
    #include <sys/kmem.h>
    #include <sys/cmn_err.h>
    #include <sys/ddi.h>
    #include <sys/sunddi.h>
    If I do not add the directives -I. -I/usr/include to the compile line above I get the following error:
    "/usr/include/sys/modctl.h, line 185: major, argument mismatch"
    "/usr/include/sys/cred.h, line 51: sintax error before or at: uint_t"
    But this is because the environment it is taken the /usr/ucbinclude as default include path instead of the "/usr/include". �which one should I consider?.
    Thank in advance for your support.
    Looking forward to hearing from you.
    (could you please send to me the answeres to this e-mail:[email protected]??)
    Regards
    Elena

    HI,
    Maybe a file I can edit that says to run the Garmin stuff in 32-bit mode?
    Right or control click the Garmin application (or utility) then click: Get Info
    In the Get Info window under the General tab, if it can be enabled you should see:
    Open in 32-bit mode.
    Activity Monitor (Applications/Utilities) shows all apps running in 64 bit. If it doesn't have 64 bit under Kind on the right, then it's running in 32 bit mode.
    Carolyn

  • Nvidia module for custom kernel

    Hi all. I've compiled a custom kernel using abs according to the instructions on the wiki, but I'm having a hard time installing the nvidia module using the instructions on the Nvidia page of the wiki. The install always aborts complaining of not being able to find the kernel source. I do have the kernel-headers installed:
    [root@myhost greg]# pacman -Ss linux-headers
    core/linux-headers 3.1.5-1 [installed]
        Header files and scripts for building modules for linux kernel
    I've also edited the nvidia.install and PKGBUILD files to point to the correct version file:
    [greg@myhost ~]$ cat /lib/modules/3.1.5-1-test/extramodules/version
    3.1.5-1-test
    I've really searched hard, but can find no remedy. Any ideas?
    Thanks in advance.

    From what I can see, the only installable package that was built is linux-test-3.1.5-1-x86_64.pkg.tar.xz. That's with the PKGBUILD file supplied from /var/abs/core/linux as per the wiki.
    Last edited by pressman57 (2011-12-18 21:50:00)

  • CIFS Kernel module for Ideatab S6000L

    I just bought an Ideatab S6000L and I tried to mount my share as a local folder using CIFS. After some research it seems some modules are missing. I tried with modules from other version (for example in this topic http://forums.lenovo.com/t5/Idea-Android-based-Tablets/CIFS-Kernel-Module-can-t-mount-CIFS-share-on-...
    It didn't work and I don't know how to build thoses modules for this specific version, could someone provide me thoses modules or help me to build them please?

    Thank you for your response
    I'm thinking of returning my tablet, this is something I really needed.
    So in summary, all of the lenovo tablet have this problem and the module can't be built on some of them?

  • [Solved] Can not build modules for VMware Player after kernel updates

    I have a problem generating the modules for VMware Player after kernel updates. I am using  VMware Player version 5.02 (without patches) and the softlink according to the Wiki.
    When I start the installation of the modules from the GUI, the program just closes. Running vmware-modconfig in the CLI generates the following log file:
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: Log for VMware Workstation pid=7478 version=9.0.2 build=build-1031769 option=Release
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: The process is 64-bit.
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: Host codepage=UTF-8 encoding=UTF-8
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: Host is Linux 3.8.10-1-ARCH 2012.11.29
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: Msg_Reset:
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": Datei oder Verzeichnis nicht gefunden.
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: ----------------------------------------
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: Msg_Reset:
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/config": Datei oder Verzeichnis nicht gefunden.
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: ----------------------------------------
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
    2013-04-29T09:49:27.891+01:00| vthread-3| W110: Logging to /tmp/vmware-root/vmware-modconfig-7478.log
    2013-04-29T09:49:27.892+01:00| vthread-3| W110: Icon name must be set.
    Interestingly, after deinstallation and reinstallation the VMWare Player works fine.
    Any hint, what's going wrong?
    Last edited by Thomas_Do (2013-08-07 07:25:51)

    Today, (Kernel  3.10.5-1, VMware Player version 5.02 with kernel patches) the modules could successful be generated from the CLI:
    vmware-modconfig --console --install-all
    Solved (somehow).

  • Should modules for different kernels differ?

    I'm trying to build acpi_call-git from the AUR. The build seems to go rather too smoothly. I uninstalled a custom kernel (which I only have for debugging) which leaves the standard Arch and Arch LTS kernels installed. I have the headers installed for both kernels:
    $ pacman -Qs linux-[lts-]*headers
    local/linux-headers 3.11.4-1
    Header files and scripts for building modules for Linux kernel
    local/linux-lts-headers 3.10.15-1
    Header files and scripts for building modules for Linux-lts kernel
    What is confusing me is that the package seems to build identical modules for the two kernels and I am not sure whether that's right:
    $ diff pkg/acpi_call-git/usr/lib/modules/extramodules-3.11-ARCH/acpi_call.ko.gz pkg/acpi_call-git/usr/lib/modules/extramodules-3.10-lts/acpi_call.ko.gz
    $ echo $?
    0
    Shouldn't there be a difference between the two? That is, I know that you typically need modules which match the kernel - otherwise the modules can't be loaded. So presumably if building module M for kernel K1 produces M1, and building module M for kernel K2 produces M2, then M1 cannot be identical with M2.
    Is there a problem here or am I just horribly confused?

    If the kernel functions (especially the specifications) used by acpi_call haven't changed, then the module could indeed be the same for both kernels.
    You'd have to check the kernel commits for acpi related changes to be sure.

  • Script to easily build modules for custom kernels

    I got bored, and thought of this ages ago. I have no use for it now, but i'm sure someone else will.
    run:
    abs-module $modulename $kernel
    $modulename is any kernel module that's available in /var/abs, so if you have some that arent in a default abs, put em in /var/abs/local and they will be spotted by this.
    $kernel is the name of the kernel that you want to compile for. this can be found with 'uname -r'. If $kernel is not specified, then it will default to what you are running now.
    this will only work for module packages that have a variable called _kernver which sets the kernel it will be compiled for. I know all the winmodems, ATi and drivers I maintain do, not sure about some of the others. nvidia won't work.
    #! /bin/bash
    # Set the variables up
    module="$1"
    kernel="$2"
    pacman="1"
    current="`uname -r`"
    # Check things
    if [ -z "$module" ]; then
    echo "No module specified"
    return 1
    fi
    if [ -z "$kernel" ]; then
    echo "No kernel specified, building for: $current"
    kernel="$current"
    fi
    if [ ! -e "/lib/modules/$kernel/build" ]; then
    echo "Specified kernel is not installed"
    return 1
    fi
    # Check if module exists
    origdir="`find /var/abs -type d -name $module`"
    if [ -z "$origdir" ]; then
    echo "Specified module does not exist"
    return 1
    fi
    # Prepare to build
    newdir="/var/abs/local/$module-$kernel"
    if [ -d "$newdir" ]; then
    rm -rf "$newdir"
    fi
    cp -R $origdir $newdir
    cd $newdir
    source PKGBUILD
    if [ -z "$_kernver" ]; then
    echo "PKGBUILD does not have $_kernver."
    return 1
    fi
    sed "s/$_kernver/$kernel/g" -i PKGBUILD
    sed "s/pkgname=$pkgname/pkgname=$pkgname-$kernel/g" -i PKGBUILD
    # Build!
    makepkg
    # Post build messages/install
    if [ $? = 0 ]; then
    package="`find $newdir -name *pkg.tar.gz`"
    # variable is at top
    if [ "$pacman" = "1" ]; then
    pacman -U $package
    else
    echo "Package is ready to install: $package"
    fi
    else
    echo "Build failed"
    fi
    sorry if there's any stupid bash in there, i'm tired. and yeah, I know it's a tad verbose and spacy, but it seems to works fine.
    James

    Iphitus > I'm looking 4 something like your script that will allow me to load spca5xx when running my custom kernelbeyond
    Unfortunetely spca5xx seems not to be manageable by your abs-module script, as its PKGBUILD doesn't have a variable called _kernver.
    Log :
    /usr/bin/abs-make-module spca5xx
    No kernel specified, building for: 2.6.17-beyond-LLEWELLYN
    PKGBUILD does not have .
    /usr/bin/abs-make-module: line 52: return: can only `return' from a function or sourced script
    sed: -e expression #1, char 0: no previous regular expression
    ==> Making package: spca5xx-2.6.17-beyond-LLEWELLYN 0.60.00-2 (Sun Jul 23 11:44:52 CEST 2006)
    ==> Validating source files with MD5sums
        spca5xx-20060501.tar.gz ... Passed
    ==> Extracting Sources...
    ==>     tar --use-compress-program=gzip -xf spca5xx-20060501.tar.gz
    tar: spca5xx-20060501/drivers: implausibly old time stamp 1970-01-01 01:00:00
    ==> Starting build()...
    ./PKGBUILD: line 13: cd: /var/abs/local/spca5xx-2.6.17-beyond-LLEWELLYN/src/spca5xx-2.6.17-beyond-LLEWELLYN-20060501: No such file or directory
    make: *** No targets specified and no makefile found.  Stop.
    ==> ERROR: Build Failed.  Aborting...
    Build failed

  • Problem inserting module for my dvb-s2 card on any kernel after 2.6.35

    Firstly these drivers contain some proprietary bits so I have to download them from here. Basically it's some modified version of the cx23885 module from the mainline kernel.
    Secondly here is a 10 page discussion on the TBS forums about this driver and getting it to work with kernels after 2.6.35.
    Card is TBS 6891.
    These proprietary drivers seem to be working with other distros such as Fedora and Ubuntu as witnessed in the previously linked thread, but, for some reason when I try and insert the module on my Arch Linux x86_64 box I get the following error.
    # modprobe cx23885
    FATAL: Error inserting cx23885 (/lib/modules/2.6.38-ARCH/kernel/drivers/media/video/cx23885/cx23885.ko): Unknown symbol in module, or unknown parameter (see dmesg)
    # dmesg|tail -n1
    [ 2373.648484] cx23885: Unknown symbol v4l2_i2c_new_subdev_cfg (err 0)
    So I was wondering if anyone might be able to help with this. Maybe Fedora or Ubuntu have kernel config options different to Arch that I could try. Or kernel/v4l patches I could try.
    Last edited by frontwheelskid (2011-06-08 10:48:01)

    "cody" has replied in the tbs forums with information to get this compiled and working with arch linux:
    it seems though on ArchLinux you need to do one extra step before 'make install':
    # rm -rf /lib/modules/<kernel_version>/kernel/drivers/media/
    for example:
    # rm -rf /lib/modules/2.6.39-ARCH/kernel/drivers/media/
    because otherwise the existing V4L modules in ArchLinux mixed up in a wrong way with the one installed by TBS Linux driver package.
    I hope this info shortens other peoples searches!
    Ali.

Maybe you are looking for