Discover which kernel modules correspond to your specific hardware

Here is a bash script to probe your hardware, then come up with a list of kernel modules you may wish to compile into a custom kernel tailored for specific machine!
#/bin/bash
# Script by graysky based on some code found in http://www.kroah.com/lkn/ chapter 7
# Purpose: probe system for devices controlled by modules and list them via name
# Email: graysky <echo Z3JheXNreUBhcmNobGludXgudXMK | base64 -d>
##### edit this to point to the path containing your kernel source
kernelsource="/path/to/kernel/source"
clear && echo "Probing... wait a sec"
[ -f /tmp/list ] && rm -f /tmp/list
for i in `find /sys/ -name modalias -exec cat {} \;`; do
/sbin/modprobe --config /dev/null --show-depends $i 2>/dev/null >> /tmp/list ;
done
# clean up list
rev /tmp/list | cut -f 1 -d '/' | rev | sort -u | sed -e ':a;N;$!ba;s/\n//g' -e 's/.ko.gz//g' > /tmp/list2
[ -f /tmp/list3 ] && rm -f /tmp/list3
for i in $(cat /tmp/list2); do
echo "--------------- $i ---------------" >> /tmp/list3
echo " " >> /tmp/list3
find $kernelsource -type f -name Makefile | xargs grep $i | grep CONFIG_ | sed -re 's/^.+\$//' >> /tmp/list3
echo " " >> /tmp/list3
sed -i -re 's/(.+)=.+$/\1/' -i -e 's/[()+]//g' /tmp/list3
done
rm -f /tmp/list /tmp/list2
echo "Done!"
echo "To see a list of potential kernel config options for your specific hardware"
echo "less /tmp/list3"
Sample output:
--------------- ata_generic ---------------
CONFIG_ATA_GENERIC
--------------- crc-itu-t ---------------
CONFIG_CRC_ITU_T
--------------- drm_kms_helper ---------------
CONFIG_DRM_KMS_HELPER
--------------- ehci-hcd ---------------
CONFIG_USB_EHCI_HCD
--------------- evdev ---------------
CONFIG_INPUT_EVDEV
Last edited by graysky (2011-06-12 15:32:18)

Took a stab at refactoring this, since it interests me... came up with:
#!/bin/bash
# uses information gathered from /sys and a kernel source directory to
# determine what kernel config options are needed
kernver=${1:-$(uname -r)}
kernelsource=/home/noclaf/build/kernel26-rampage/src/linux-2.6.39.1
if [[ ! -f $kernelsource/Kbuild ]]; then
printf "error: \`%s' doesn't exist or isn't a valid kernel source directory\n" "$kernelsource"
exit 1
fi
# scan system buses
IFS=$'\n' read -r -d '' -a mods < <(find /sys/devices -name modalias -exec sort -zu {} + |
xargs -0 modprobe -aRS "${kernver:-$(uname -r)}" | sort -u)
# include root device filesystem
mods+=("$(findmnt / -uno fstype)")
# grab mdadm info if its available
if [[ -x $(type -P mdadm) ]]; then
mods+=($(mdadm -Esv /dev/[hrsv]d* /dev/{ida,cciss,ataraid,mapper}/* |
sed -n 's/.*level=\([^ ]\+\) .*/\1/p' |
sed 's/\<raid[456]\>/raid456/g' | sort -u))
fi
# scrape the kernel source for CONFIG_ options
find "$kernelsource" -name Makefile -exec grep -ZFf <(printf '%s.o\n' "${mods[@]}") {} + |
grep -Eoz 'CONFIG_[[:upper:][:digit:]_]+' | sort
Last edited by falconindy (2011-06-12 21:12:43)

Similar Messages

  • Which kernel module for Intel PRO/100 S Desktop Adapt

    Which kernel module I should load for support LAN Card "Intel® PRO/100 S Desktop Adapter" Board ID "751767-004" , Based on Controller 82550

    Finded in /usr/src/linux-2.6.5/drivers/net/Kconfig
    config E100
        tristate "Intel(R) PRO/100+ support"
        depends on NET_PCI && PCI
        select MII
        ---help---
          This driver supports Intel(R) PRO/100 family of adapters, which
          includes:
          Controller  Adapter Name                       Board IDs
          82558       PRO/100+ PCI Adapter               668081-xxx,
          689661-xxx
          82558       PRO/100+ Management Adapter        691334-xxx,
          701738-xxx,
          721383-xxx
          82558       PRO/100+ Dual Port Server Adapter  714303-xxx,
          711269-xxx,
          A28276-xxx
          82558       PRO/100+ PCI Server Adapter        710550-xxx
          82550       PRO/100 S Server Adapter           752438-xxx
          82559                                          A56831-xxx,
          A10563-xxx,
          A12171-xxx,
          A12321-xxx,
          A12320-xxx,
          A12170-xxx
          748568-xxx
          748565-xxx
          82550       PRO/100 S Desktop Adapter          751767-xxx
          82559                                          748592-xxx,
          A12167-xxx,
          A12318-xxx,
          A12317-xxx,
          A12165-xxx,
          748569-xxx
          82559       PRO/100+ Server Adapter            729757-xxx
          82559       PRO/100 S Management Adapter       748566-xxx,
          748564-xxx
          82550       PRO/100 S Dual Port Server Adapter A56831-xxx
          82551       PRO/100 M Desktop Adapter          A80897-xxx
          PRO/100 S Advanced Management Adapter
          747842-xxx,
          745171-xxx
          CNR         PRO/100 VE Desktop Adapter         A10386-xxx,
          A10725-xxx,
          A23801-xxx,
          A19716-xxx
          PRO/100 VM Desktop Adapter         A14323-xxx,
          A19725-xxx,
          A23801-xxx,
          A22220-xxx,
          A23796-xxx
          To verify that your adapter is supported, find the board ID number
          on the adapter. Look for a label that has a barcode and a number
          in the format 123456-001 (six digits hyphen three digits). Match
          this to the list of numbers above.
          For more information on how to identify your adapter, go to the
          Adapter & Driver ID Guide at:
          http://support.intel.com/support/networ … /21397.htm
          For the latest Intel PRO/100 network driver for Linux, see:
          http://appsr.intel.com/scripts-df/support_intel.asp
          More specific information on configuring the driver is in
          <file:Documentation/networking/e100.txt>.
          To compile this driver as a module, choose M here and read
          <file:Documentation/networking/net-modules.txt>.  The module
          will be called e100.

  • Which kernel module should I use for Marvell Yukon 88E8001?

    Which kernel module should I use for Marvell Yukon 88E8001?
    a. sky2
    b. skge
    c. sk98lin

    I found this in the kernel''s /driver/net/Kconfig:
    config SKGE
    tristate "New SysKonnect GigaEthernet support"
    depends on PCI
    select CRC32
    ---help---
    This driver support the Marvell Yukon or SysKonnect SK-98xx/SK-95xx
    and related Gigabit Ethernet adapters. It is a new smaller driver
    with better performance and more complete ethtool support.
    It does not support the link failover and network management
    features that "portable" vendor supplied sk98lin driver does.
    This driver supports adapters based on the original Yukon chipset:
    Marvell 88E8001, Belkin F5D5005, CNet GigaCard, DLink DGE-530T,
    Linksys EG1032/EG1064, 3Com 3C940/3C940B, SysKonnect SK-9871/9872.
    It does not support the newer Yukon2 chipset: a separate driver,
    sky2, is provided for Yukon2-based adapters.
    To compile this driver as a module, choose M here: the module
    will be called skge. This is recommended.
    Looks like your module is "skge"

  • Which kernel modules are needed for Elantech touchpad?

    I've compiled a very minimal kernel for my system, which works just fine, I get booted into XFCE etc. and the keyboard works in the virtual consoles, but my (Elantech) touchpad does not function. Here is the lsmod from the standard kernel where the touchpad does work:
    Module Size Used by
    nvidia 7817056 26
    ipv6 248388 10
    aes_generic 26944 0
    aes_i586 32896 1
    cpufreq_ondemand 7180 1
    ext2 62472 1
    fuse 42260 2
    pcmcia 32556 0
    sdhci 15364 0
    mmc_core 43524 1 sdhci
    ohci1394 28848 0
    yenta_socket 23052 3
    ieee1394 79800 1 ohci1394
    rsrc_nonstatic 11008 1 yenta_socket
    pcmcia_core 32664 3 pcmcia,yenta_socket,rsrc_nonstatic
    firewire_ohci 16128 0
    firewire_core 36544 1 firewire_ohci
    crc_itu_t 2304 1 firewire_core
    psmouse 36496 0
    serio_raw 5636 0
    rtc_cmos 7584 0
    rtc_core 15496 1 rtc_cmos
    rtc_lib 2944 1 rtc_core
    tpm_infineon 7976 0
    tpm 12320 1 tpm_infineon
    tpm_bios 6272 1 tpm
    i2c_i801 8848 0
    i2c_core 19328 2 nvidia,i2c_i801
    pcspkr 2944 0
    container 3840 0
    video 16016 5
    output 3200 1 video
    sg 26640 0
    intel_agp 21780 0
    agpgart 27352 2 nvidia,intel_agp
    thermal 13084 0
    evdev 9344 7
    fan 3844 0
    button 6544 0
    battery 10756 2
    ac 4612 0
    snd_seq_oss 29440 0
    snd_seq_midi_event 6528 1 snd_seq_oss
    snd_seq 47056 4 snd_seq_oss,snd_seq_midi_event
    snd_seq_device 6924 2 snd_seq_oss,snd_seq
    arc4 2176 2
    ecb 3072 2
    snd_hda_intel 289952 3
    snd_hwdep 7300 1 snd_hda_intel
    snd_pcm_oss 37024 0
    snd_pcm 68996 2 snd_hda_intel,snd_pcm_oss
    snd_timer 19204 2 snd_seq,snd_pcm
    snd_page_alloc 8072 2 snd_hda_intel,snd_pcm
    snd_mixer_oss 14464 2 snd_pcm_oss
    snd 44772 13 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
    soundcore 6368 2 snd
    iwl3945 84968 0
    mac80211 117132 1 iwl3945
    cfg80211 11528 1 mac80211
    r8169 26244 0
    acpi_cpufreq 11420 1
    freq_table 3984 2 cpufreq_ondemand,acpi_cpufreq
    processor 29400 4 thermal,acpi_cpufreq
    ext3 121992 1
    jbd 43412 1 ext3
    mbcache 6912 2 ext2,ext3
    sr_mod 14884 0
    cdrom 33824 1 sr_mod
    sd_mod 22656 5
    pata_acpi 5248 0
    ehci_hcd 32524 0
    uhci_hcd 22672 0
    usbcore 125292 3 ehci_hcd,uhci_hcd
    ata_piix 14724 4
    ata_generic 5252 0
    libata 138352 3 pata_acpi,ata_piix,ata_generic
    I've activated serio_raw and psmouse in the kernel, but what am I overlooking thats preventing the touchpad to work?
    Last edited by HyperBaton (2008-03-09 15:00:32)

    need to bump this thread i guess.
    i also have a elantech touchpad on my zepto 3215w, and ive found this: http://arjan.opmeer.net/elantech/
    the only available driver for elantech touchpads for linux.
    i have kernel 2.6.25-arch now, also heard theres a 2.6.26 up n coming. can this patch be implemented in these kernels in some way?
    and i dont know anything about kernel stuff so.. a helping hand would be nice on how to do it if its possible.

  • [SOLVED] Loading Kernel Modules with Options

    Hi,
    I am trying to load the nf_conntrack_ftp kernel module on boot. I followed the Arch Wiki's article on kernel module loading [0] and created a file in /etc/modules-load.d/ called nf_conntrack_ftp.conf:
    /etc/modules-load.d/nf_conntrack_ftp.conf wrote:# Load the nf_conntrack_ftp kernel module at boot
    nf_conntrack_ftp
    This loads the nf_conntrack_ftp module on boot just fine; unfortunately the module uses the default FTP port (21) and I need it to run on a different port (6621). When I try to dynamically load nf_conntrack_ftp using modprobe nf_conntrack_ftp ports=6621 it loads just fine and according to systools has the port set correctly. However, if I try to set the port anywhere in /etc/modules-load.d/ I always get an error message during boot saying:
    Failed to start Load Kernel Modules. See 'systemctl status systemd-modules-load.service' for details.
    Looking at the systemctl status message as recommended by the error message on boot doesn't yield anything useful:
    systemctl status systemd-modules-load.service wrote:
    systemd-modules-load.service - Load Kernel Modules
       Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
       Active: failed (Result: exit-code) since Sun 2014-02-09 16:46:13 EST; 11min ago
         Docs: man:systemd-modules-load.service(8)
               man:modules-load.d(5)
      Process: 287 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
    Main PID: 287 (code=exited, status=1/FAILURE)
    Feb 09 16:46:13 babylon5 systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
    Feb 09 16:46:13 babylon5 systemd[1]: Failed to start Load Kernel Modules.
    Feb 09 16:46:13 babylon5 systemd[1]: Unit systemd-modules-load.service entered failed state.
    I have tried to set the "ports=6621" module option in multiple ways ...
    1. As part of the same nf_conntrack_ftp.conf file in /etc/modules-load.d/:
    /etc/modules-load.d/nf_conntrack_ftp.conf wrote:
    # Load the nf_conntrack_ftp kernel module at boot
    nf_conntrack_ftp
    options nf_conntrack_ftp ports=6621
    2. As a separate test.conf file in /etc/modules-load.d/:
    /etc/modules-load.d/nf_conntrack_ftp.conf wrote:# Load the nf_conntrack_ftp kernel module at boot
    nf_conntrack_ftp
    /etc/modules-load.d/test.conf wrote:options nf_conntrack_ftp ports=6621
    3. I even tried just adding "ports=6621" to the end of the nf_conntrack_ftp.conf file in /etc/modules-load.d/:
    /etc/modules-load.d/nf_conntrack_ftp.conf wrote:# Load the nf_conntrack_ftp kernel module at boot
    nf_conntrack_ftp ports=6621
    None of these worked. The moment there is "options nf_conntrack_ftp ports=6621" in any file in /etc/modules-load.d/ I get the error message on boot and the kernel module won't get loaded.
    What am I missing / doing wrong? Is it not possible to set kernel module parameters on boot? Does nf_conntrack_ftp need to be loaded by the initramfs, i.e. do I need to add the modconf hook to my /etc/mkinitcpio.conf?
    Thanks,
    Marek
    [0] https://wiki.archlinux.org/index.php/Kernel_modules
    Last edited by marco1475 (2014-02-09 22:54:26)

    Raynman wrote:
    marco1475 wrote:[0] https://wiki.archlinux.org/index.php/Kernel_modules
    Read this again, specifically the section about setting options, paying close attention to directory names.
    D'oh! Thanks for pointing that out, what a stupid oversight on my part:
    The files that tell the system which kernel modules to load go into /etc/modules-load.d/.
    The files that tell the system which parameters to pass to the kernel modules when loading them go into /etc/modprobe.d/.
    Now that each file is where it belongs everything works.

  • How do I install / update a specific kernel module?

    Hi
    I'm trying to update an existing kernel module. I can download it and it comes with a pretty easy to use Makefile based on http://www.kernel.org/doc/Documentation … odules.txt. The Makefile installs the newly created module into /lib/modules/$kernelversion/extra. I have some questions regarding this behavior:
    * The Makefile creates a *.ko whereas arch uses compressed *.ko.gz modules. Do I have to compress the built module before installing it?
    * Is the default install path (/extra) right? What about the module that already exists in /kernel/drivers/xxxx? Should I leave the new one in extra and remove the old one, or just replace the old one directly (backup not withstanding)?
    Regards,
    can

    Never heard of the /extra dir in this context. AFAIK the correct way to do this is to place the updated module in /lib/modules/$kernelversion/updates (create the updates dir if it's not already there). This way, the older version remains in place, but the version in /updates takes precedence.

  • Larch "couldn't find kernel modules"/"unexpected kernel files"

    Hey guys,
    I'm using `larch` to build an Arch Linux live ISO. I made it through the Installation part, however I can't get through "Larchify" (whatever that means). Here's the log:
    ##Initializing larchify process
    >>rm -f /home/Kiwi7/larch_build/.larch/system.sqf
    >?0
    >>rm -rf /home/Kiwi7/larch_build/.larch/larchify
    >?0
    >>mkdir -p /home/Kiwi7/larch_build/.larch/larchify/overlay
    >?0
    ##Seeking kernel information
    ##(WARNING): More than one kernel found:
    vmlinuz-linux-aufs_friendly
    vmlinuz-linux
    ##(WARNING): No kernel version file (/home/Kiwi7/larch_build/etc/mkinitcpio.d/linux-aufs_friendly.kver)
    ##Unexpected kernel files at /home/Kiwi7/larch_build/lib/modules/extramodules-3.12-aufs_friendly
    ?>WARNING:
    You seem to have installed a package containing modules
    which aren't compatible with your kernel (see log).
    Please check that this won't cause problems.
    Maybe you need the corresponding package for your kernel?
    Continue building?
    ??YES
    #>Yes
    ##Unexpected kernel files at /home/Kiwi7/larch_build/lib/modules/extramodules-3.13-ARCH
    ?>WARNING:
    You seem to have installed a package containing modules
    which aren't compatible with your kernel (see log).
    Please check that this won't cause problems.
    Maybe you need the corresponding package for your kernel?
    Continue building?
    ??YES
    #>Yes
    ##(WARNING): More than one kernel module directory found:
    3.12.6-1-aufs_friendly
    3.13.4-1-ARCH
    !>Couldn't find kernel modules
    Please help me out.

    Kiwi7 wrote:I can't get through "Larchify" (whatever that means).
    Hmm... personally I would never run any command without understanding what it does, but it's your funeral, I guess.
    Apart from that, are you sure larch is still compatible with Arch? It's nearly four years since the last update in the larch git repo, and as I'm sure you know, Arch changes frequently. I'd suggest you try to contact the developer directly.

  • Missing kernel modules in 2.6.35.12

    I'm building the LTS kernel 2.6.35.12 and have noticed several key modules are completely missing: lirc_i2c and lirc_dev.  If I compare the confg from ARCH 2.6.35 to that of ARCH 2.6.37, I see that the entire section within the config that builds these is missing.  I know for a fact that there are supported under 2.6.35 because I have been using this same setup since 2.6.26 just fine.
    Here is a bit from 2.6.37's config that shows where these are:
    # Texas Instruments shared transport line discipline
    CONFIG_ST_BT=m
    CONFIG_ADIS16255=m
    CONFIG_FB_XGI=m
    CONFIG_LIRC_STAGING=y
    CONFIG_LIRC_BT829=m
    CONFIG_LIRC_I2C=m
    CONFIG_LIRC_IGORPLUGUSB=m
    CONFIG_LIRC_IMON=m
    CONFIG_LIRC_IT87=m
    This section for 2.6.37 is found:
    -> Device Drivers
    -> Staging drivers (STAGING [=y])
    -> Exclude Staging drivers from being built (STAGING_EXCLUDE_BUILD [=n])     
    -> Linux Infrared Remote Control IR receiver/transmitter drivers (LIRC_STAGING [=y])
    Again, under 2.6.35 there is no corresponding entry for the "Linux Infrared Remote Control IR receiver/transmitter drivers" but again, I know that my remote worked back when Arch had 2.6.35.x in [core].
    Thoughts as to how to enable building them under the LTS 2.6.35.x is appreciated!

    iphitus wrote:Kernel modules for 2.6 have a .ko NOT .o filename.
    The included makefile is written for a 2.6 kernel and produces a .o, and Gentoo used to mix the two, although Gentoo is hardly the golden standard.
    Please ensure that you use the included makefiles and installation options included with the driver and run depmod -a after installing.
    Both the vanilla kernel and the pkgbuild include the source and makefile unchanged in the correct place. Both are patched correctly as per the included readme.
    If the driver is precompiled and has no make options, then it will *not* work under any circumstances.
    I don't think I can precompile it, since it depends on about a dozen headers from include/scsi, which all have compile-time macros set by the kernel's makefiles. Even if I could track down every #ifdef and set the macro by hand, I wouldn't want to.
    What driver is it? It would help us identify your problem much more easily.
    Areca ARC1210 Source driver. Before you spend any time on this particular module, I should reiterate that I don't think there's anything wrong with the module itself, I was just looking for a minimum effort method to install the module, preferably without a custom kernel. I don't see this as a very likely option anymore, so more than likely I will use the pkgbuild I wrote for the purpose.

  • IPMI kernel modules not loading - no ipmi device

    My HP ML110 G5 has a IPMI device that worked but somewhen (I can't say when) it stopped working.
    Proof that they exist in th machine with dmidecode:
    Handle 0x0025, DMI type 38, 18 bytes
    IPMI Device Information
        Interface Type: KCS (Keyboard Control Style)
        Specification Version: 2.0
        I2C Slave Address: 0x10
        NV Storage Device: Not Present
        Base Address: 0x0000000000000CA2 (I/O)
        Register Spacing: Successive Byte Boundaries
    I quite soon found out that the ipmi kernel modules are not loaded so I tried to load them with modprobe:
    modprobe ipmi_msghandler
    modprobe ipmi_devintf
    modprobe ipmi_si
    no error, no response, no modules loaded (check with lsmod).
    There are descriptions (http://en.onoclea.com/bits/hp-microserver-remote-access-card-ipmi-on-linux.html, http://wiki.adamsweet.org/doku.php?id=ipmi_on_linux) how to load the ipmi_si module with manual parameters. Tried, no error, no response, no modules loaded (check with lsmod).

    Zancarius wrote:
    Sounds to me like the firmware for whatever reason isn't being installed in the appropriate location.
    I checked out the PKGBUILD for b43-firmware (which I'm assuming is what you installed), and it appears to be using b43-fwcutter presumably to snag the appropriate files and place them in /usr/lib/firmware:
    # Application
    b43-fwcutter -w ""${pkgdir}"/usr/lib/firmware/" linux/wl_apsta.o
    Does the PKGBUILD generate any errors? Did you check /usr/lib/firmware for the firmware for your wireless? Worst case, you could probably try running b43-fwcutter manually and see what it does. Maybe it has some verbose/debug option you could use, too.
    The firmware is installed to the correct directory and the PKGBUILD doesn't generate any errors. I've tried b43-fwcutter manually as well to no avail. Even if that were the case though it doesn't explain why the new kernel also rejects the usbnet, ath9k, and b44 modules. Basically I'm stuck on this old(ish) kernel until this is fixed if I want any sort of network connectivity.
    Xyne wrote:This is a long shot, but if you have a separate boot partition, check that it is actually mounted. If not, backup/remove the contents /boot, mount the partition and rebuild the kernel image
    I do not have a separate boot partition on this machine. And the mtime of the initramfs images is certainly current.
    Last edited by airencracken (2012-07-22 17:41:56)

  • Questions: On NVIDIA Kernel module and install process

    Hi everyone,
    I have a PCIe 7600 GT card, and trying to get it to work in its full power.
    So far I have not succeeded, and condemned to run in VESA mode. But have one more try to do following the advisory of upgrading kernel and reinstalling the Nvidia driver.
    I have few questions though:
    - I know my kernel as 2.6.15-ARCH (from the dir in /usr/src), but in the above mentioned advisory, there were more digits after ("2.6.16.14-1"). Where in my system, I can locate those micro version numbers, if I need to?
    - My not-yet-working Nvidia driver insrtall (from [testing]) left a kernel module with "agp" in the name. Is it the way it should be, taking into account that I have a PCIe card? Or is this pointing to an install problem?
    - I have browsed the stuff in the 8756 vintage of the Nvidia driver, and noticed that there are references to X11R6 which I do not have (have an  X R7 Xorg). Which one of  the driver-install-script or Arch-PKGBUILD-file has the intelligence to place the files correctly in R6 and R7 installs?
    - The 8756 text also refers to nvidia-xconfig utility, and I did use it in my 64-bit Gentoo install. In my Arch install it is no where to be found. Again,  is this pointing to an install problem?
    Thanks,

    1.
    pacman -Q kernel26
    will give you the minor numbers
    2. no clue
    3. the 8751 driver works fine with xorg 7, so i presume the new one should work also.
    4. no clue
    as an alternative to VESA :
    pacman -S xf86-video-nv
    this will install the open source nvidia driver. It supports only 2D acceleration, but should improve your screen a lot over standard VESA.
    put
    Driver "nv"
    in your device section in xorg.conf to enable it.

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

  • [SOLVED] pacman -Syu on 10/17/2012, systemd can't load kernel modules

    Ok, I did a [pacman -Syu] on my laptop, and everything went well. So I decided to upgrade my PC as well, did a reboot and then couldn't ssh into it.
    Had to access the machine, and found
    # systemctl --failed
    UNIT LOAD ACTIVE SUB JOB DESCRIPTION
    [email protected] loaded failed failed dhcpcd on eth0
    httpd.service loaded failed failed Apache Web Server
    systemd-modules-load.service loaded failed failed Load Kernel Modules
    LOAD = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB = The low-level unit activation state, values depend on unit type.
    JOB = Pending job for the unit.
    3 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    so it failed to load kernel modules...
    # systemctl status systemd-modules-load.service
    systemd-modules-load.service - Load Kernel Modules
    Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
    Active: failed (Result: exit-code) since Wed, 17 Oct 2012 18:27:11 -0400; 45min ago
    Docs: man:systemd-modules-load.service(8)
    man:modules-load.d(5)
    Process: 102 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
    CGroup: name=systemd:/system/systemd-modules-load.service
    Oct 17 18:27:11 MyHost systemd[1]: Failed to start Load Kernel Modules.
    Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
    ... then I checked network devices
    # ip addr
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
    valid_lft forever preferred_lft forever
    # ip addr show dev eth0
    Device "eth0" does not exist.
    ... then the modules; and I saw that none appeared for the Ethernet...
    # lspci -v | grep Ethernet -A8
    00:07.0 Bridge: NVIDIA Corporation MCP61 Ethernet (rev a2)
    Subsystem: Hewlett-Packard Company Device 2a6c
    Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 5
    Memory at fe02d000 (32-bit, non-prefetchable) [size=4K]
    I/O ports at fc00 [size=8]
    Capabilities: [44] Power Management version 2
    Capabilities: [50] MSI: Enable- Count=1/8 Maskable+ 64bit+
    Capabilities: [6c] HyperTransport: MSI Mapping Enable- Fixed+
    ... whereas they did for other devices
    # lspci -v | grep Kernel
    Kernel driver in use: ohci_hcd
    Kernel driver in use: ehci_hcd
    Kernel driver in use: sata_nv
    Kernel driver in use: sata_nv
    Kernel driver in use: pcieport
    Kernel driver in use: pcieport
    Kernel driver in use: pcieport
    Kernel driver in use: nouveau
    I'm guessing it's probably something with the new image after the pgrade, but I don't know which module to load nor do I
    understand why systemd isn't loading the modules when it was working stable enough to act as a headless server before. However, I've only been a week or so with systemd and might have overlooked something in the configs. Any help or insight would be greatly appreciated. Please. I'm desperate.
    Last edited by confusion-is-my-sedative (2012-10-26 21:30:01)

    Yep, I got that far, and tried the same advice from a different user with a 'tee' command which did the same thing, but unfortunately the forcedeth module can't be loaded because its in a different directory than the 'uname -r' specification allows modprobe to search for. I posted my attempts here: https://bbs.archlinux.org/viewtopic.php?pid=1181940

  • Is a kernel DSDT like a Loadable Kernel Module?

    Hi all.  In the middle of trying to resurrect a (shhh)Mandriva distro,,, well the data and programs from it.
    During archLinux install there is a prompt "Do you need support for booting the lernel with a custom DSDT file?
    Poked around the web and found some scraps of info that suggest a DSDT may be like a Loadable Kernel Module?
    Anyone clarify this?
    And is there a problem if I say "YES"?
    Reason I ask? I replaced a failed mobo and the new one has an Attansic L1 Ethernet adapter which appears not supported in the current kernel.
    There is a driver available at http://atl1.sourceforge.net - does this need to have DSDT enabled?

    A dsdt is not a kernel module. It is an acronym for Differentiated System Description Table. It is used by acpi to retrieve informations about your system (in particular those aspects involved in power management). In most cases, the default DSDT file is fine, and you do not need a custom DSDT file. However, ACPI is broken for some systems and fixed or experimental DSDT tables are provided as a replacement of the default one. You can also find howtos to make your own DSDT table fixing common mistakes. One of these howtos is in the gentoo wiki. However, you need to fix it only is if it is broken, and if you have no symptoms just answer 'no' at that question, which is related to the inclusion of the custom DSDT in an initrd. However, also if you answer 'YES' nothing will be broken for this.
    There is no relation with modules-drivers external to the default kernel.
    Last edited by patroclo7 (2007-02-04 18:59:50)

  • Kernel Modules

    I get this output when I run a script finding all my modules:
    agpgart.ko
    amd74xx.ko
    ata_generic.ko
    button.ko
    cdrom.ko
    ehci-hcd.ko
    evdev.ko
    fan.ko
    fb_ddc.ko
    forcedeth.ko
    hid.ko
    i2c-algo-bit.ko
    i2c-core.ko
    i2c-nforce2.ko
    ide-core.ko
    ide-pci-generic.ko
    ieee1394.ko
    k8temp.ko
    libata.ko
    nvidia.ko
    nvidiafb.ko
    ohci-hcd.ko
    ohci1394.ko
    pata_acpi.ko
    pata_amd.ko
    pci_hotplug.ko
    pcspkr.ko
    processor.ko
    sata_nv.ko
    scsi_mod.ko
    sd_mod.ko
    serio_raw.ko
    shpchp.ko
    snd-hda-intel.ko
    snd-hwdep.ko
    snd-page-alloc.ko
    snd-pcm.ko
    snd-pcsp.ko
    snd-timer.ko
    snd.ko
    soundcore.ko
    sr_mod.ko
    thermal.ko
    usb-storage.ko
    usbcore.ko
    usbhid.ko
    vgastate.ko
    So now what do I do? I am trying to compile a custom, slim, bloatless kernel.
    Last edited by haxit (2009-03-01 01:15:01)

    just few pointers regarding this:
    agpgart.ko -- AGP support
    amd74xx.ko -- AMD IDE support
    ata_generic.ko -- generic ATA driver
    button.ko -- power button?
    cdrom.ko -- erm...
    ehci-hcd.ko -- USB
    evdev.ko -- input devices through the kernel
    fan.ko -- fan control/readings via ACPI???
    fb_ddc.ko -- framebuffer support/info reading module?
    forcedeth.ko -- you have an nVidia chipset with an ethernet port, I guess
    hid.ko -- human interface device support (mouse, FI)
    i2c-algo-bit.ko
    i2c-core.ko
    i2c-nforce2.ko -- I2C is a serial bus, and has been used for ages. Apparently your chipset needs it.
    ide-core.ko
    ide-pci-generic.ko -- ??? Not using libata or something?
    ieee1394.ko -- got Firewire?
    k8temp.ko -- Athlon64?
    libata.ko -- the good stuff
    nvidia.ko -- you evil sheep, you! (OK, so I use the binary driver, too...)
    nvidiafb.ko -- new framebuffer.
    ohci-hcd.ko -- USB again?
    ohci1394.ko -- Firewire again?
    pata_acpi.ko
    pata_amd.ko  -- drive controller stuff again
    pci_hotplug.ko -- for all of the three people with big-iron servers that use it? Or is it good for suspend/resume, or something? I dunno, but I don't put it in
    pcspkr.ko -- I disable this one. Only my BIOS should be beeping at me.
    processor.ko
    sata_nv.ko -- again, nVidia drive controller
    scsi_mod.ko -- you need this for all the SATA stuff to work right, I'm pretty sure
    sd_mod.ko -- ditto
    serio_raw.ko -- *shrug* raw serial I/O
    shpchp.ko -- some kind of hotplug thingie?
    snd-hda-intel.ko -- you have HDA sound onboard.
    snd-hwdep.ko
    snd-page-alloc.ko
    snd-pcm.ko
    snd-pcsp.ko -- same as the main kernel one, I leave it out. Sometimes ALSA likes to make it the default, too, for no good reason.
    snd-timer.ko
    snd.ko
    soundcore.ko
    sr_mod.ko -- I *think* this is needed for burners these days. In general, don't skimp in the SCSI support in the config (you don't need tape or media changer support, of course)
    thermal.ko
    usb-storage.ko
    usbcore.ko
    usbhid.ko -- HID again
    vgastate.ko -- usually a dependency for framebuffer stuff, but I'm not sure beyond that
    agpgart.ko -- AGP support
    actually this one is potentially a performance culprit when using nvidia drivers. kernel agp is really bad. If you have installed nvidia binary driver, you don't need this one even with AGP card. If you have PCI/PCIE card, this is a waste.
    nvidiafb.ko -- new framebuffer.
    nope this one is for nVidia Riva128 (pretty old video card)
    ohci-hcd.ko -- USB again?
    there are three different USB controllers: OHCI, UHCi, EHCI
    you can't simply disable one of these. all depends on hardware setup: if you have OHCI and UHCI then you need both. So "again" is not again, but system requirement.
    run
    lspci -v | grep HCI
    to see which controllers do you have
    scsi_mod.ko -- you need this for all the SATA stuff to work right, I'm pretty sure
    no, you don't. But you need to check your hardware dependencies. I have SATA, and the only SCSI stuff loaded is SG and SD
    sometimes you will see several modules which have partially the same name. e.g. firewire or usb or snd. all of these might be required for firewire (Assuming that you are using firewire at all) or sound to work. Sometimes the overlap.
    my modules take only 2.6MB:
    du -sh /lib/modules/2.6.28.7-slim
    2.6M    /lib/modules/2.6.28.7-slim
    without nvidia driver (this one alone is 7.6MB)
    does this speed up kernel? Only to some extend and in fact only particular modules will slow down boot time. In my case PCMCIA is slowing down kernel.
    O.k. so what about disk space?
    Are you kidding? default Arch kernel modules take 69MB and current disks are what? several (tenths, hundreds) GB? So this is no argument really.
    So what about RAM?
    You will be much better off trimming down your DM (KDE or Gnome) than kernel assuming that you are using one of these, however even small WM can be trimmed down. These two (KDE and Gnome) are pigs, but you can easily cut some fat without loosing usability.
    So why I did this? not to gain anything. Out of curiosity really
    there is a lot of tools that may help:
    lspci
    lsusb
    cpuinfo
    for example that may help.
    Last edited by broch (2009-03-02 15:11:07)

  • [Solved]Failed to start Load Kernel Modules

    When I boot up Arch it says that it Failed to start Load Kernel Modules and when I get into my Desktop, the screen is tearing.
    Using the latest kernel with i3wm
    my systemctl status systemd-modules-load
    ● systemd-modules-load.service - Load Kernel Modules
    Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
    Active: failed (Result: exit-code) since Sat 2014-09-20 17:28:06 PDT; 5min ago
    Docs: man:systemd-modules-load.service(8)
    man:modules-load.d(5)
    Process: 144 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
    Main PID: 144 (code=exited, status=1/FAILURE)
    Sep 20 17:28:06 green systemd-modules-load[144]: Failed to insert 'fglrx': Invalid argument
    Sep 20 17:28:06 green systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
    Sep 20 17:28:06 green systemd[1]: Failed to start Load Kernel Modules.
    Sep 20 17:28:06 green systemd[1]: Unit systemd-modules-load.service entered failed state.
    Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
    Last edited by Green (2014-09-21 07:31:08)

    anatolik wrote:
    It looks like it is unable to load fglrx.
    Do you have any fglrx specific configuration? Do you have anything in your /etc/modprobe.d ?
    Could it be that fglrx is compiled for previous versions of kernel and this is a problem?
    I don't have any specific fglrx configuration and in /etc/modprobe.d/ I have a file called modprobe.conf that contains
    blacklist radeon
    fglrx
    I dont think fglrx was compiled for previous versions of the kernel because I used the kernel that the latest release contained. My kernel version is 3.16.3-1.
    Last edited by Green (2014-09-21 05:44:03)

Maybe you are looking for

  • Split and incorrect view of folders

    Am running up-to-date LR 5. Migrated files from Windows Vista to iMac a year+ ago. The view of the Folders is split. This issue started after the migration to Mac. I'll try to show the file structure that LR displays. > Pictures     > Lightroom photo

  • Apple TV showing only "Summary" and "Photos" under devices.

    My ITunes is only showing "Summary" and "Photos" tabs when highlighted under Devices. No Music or Movie tab, thus I am unable to transfer iTunes purchases to watch on my TV. After reading many posts on this topic, I read this post: "you have your itu

  • Hot backup without rman

    i read someweher but confusion,i paste it here When that happens,the non-Oracle tool might read a block in a half-updated state, so that the block which is copied to the backup media might only have been updated in its first half, while the second ha

  • Form disappears when clicking search help multiple times

    Hi All, I have created an interactive adobe form with Web dynpro application. We have multiple multiple search helps (custom and standard) on the form. when the user clicks on any search helps multiple times (4-5 times), the whole form disappears. Pl

  • Code Style one character indent after a comment line

    I have a problem with "Code Style" formatting undesirably. Any time I put a comment (//) line into my code the next line is indented one space. I can't find any setting in "Code Style" that alters this. I end up doing a lot of manual format editing t