Cryptsetup luks without kernel module (static kernel)

If I have all required drivers and kernel code built into the static kernel image I still need an initrd for cryptdevice=device don't I?
When I build custom kernels I disable module support with all other stuff I don't use or need and failed to boot archlinux luks root partition without modules support.
How can I do that?

Tried booting a custom kernel without module support and besides mkinitcpio finishing with errors and the kernel image not booting properly by not loading enough drivers to boot no other kernel whatsoever (reinstall or not) booted on that arch install afterwards. Found no cause and had to format the install. Now I cannot install because this is on a 32-bit efi mac mini and the steps to modify the iso to boot don't produce a working iso.
Last edited by cm (2014-01-30 22:08:30)

Similar Messages

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

  • Automatic recompiling of kernel module after kernel update.

    Hello everyone,
    i tried to search for it but without success...
    my question is - is it possible to set it up somehow that aur package would recompile after kernel update?
    The package I would like to rebuild is rt3090 which is module for my wifi card. It is very annoying to rebuild it manually. I know that my fglrx module does it automaticaly but how to set it?
    Thank all of you for any advise.

    Thank you :-) It looks ok, I will try DKMS as soon as I get some free time. If there was any problem, I would tell you.
    BTW: I use catalyst mainly because of saving energy management, which is of course better for my netbook. My card is too new to be fully supported by the opensource driver.
    EDIT:
    I solved the situation by upgrading my system, I tried in-kernel module rt2800pci. In the previous kernels it didn't work well with my crappy ralink rt3090 wifi card, but that's been improved :-) so I do not need rebuild the package anymore even because this module isn't compatible with newest kernel.
    I also learnt how to write my own hook from archwiki (https://wiki.archlinux.org/index.php/Mkinitcpio) so if the new module didn't work I would try it.
    The final solution = replace module rt3090sta by rt2800pci.
    Thanks! Arch has very powerful community :-)
    Last edited by h@lf@rk (2012-06-02 18:34:17)

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

  • Vbox Kernel Module and .24

    Hi,
    does someone else have the problem that he isn't able to build the virtualbox kernel module with the .24 kernel?
    [root@arch holger]# vbox_build_module
    Building Virtualbox-1.5.2 kernel modules for kernel 2.6.24-ARCH #1 SMP PREEMPT Sun Feb 10 15:21:33 UTC 2008
    for f in . linux r0drv r0drv/linux; do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
    rm -rf .vboxdrv* .tmp_ver* vboxdrv.* Module.symvers Modules.symvers
    make KBUILD_VERBOSE=1 -C /lib/modules/2.6.24-ARCH/build SUBDIRS=/opt/VirtualBox-1.5.2/src SRCROOT=/opt/VirtualBox-1.5.2/src modules
    make[1]: Entering directory `/usr/src/linux-2.6.24-ARCH'
    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 missing."; \
    echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
    echo; \
    /bin/false)
    mkdir -p /opt/VirtualBox-1.5.2/src/.tmp_versions ; rm -f /opt/VirtualBox-1.5.2/src/.tmp_versions/*
    make -f scripts/Makefile.build obj=/opt/VirtualBox-1.5.2/src
    gcc -m32 -Wp,-MD,/opt/VirtualBox-1.5.2/src/linux/.SUPDrv-linux.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.2.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-x86/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/lib/modules/2.6.24-ARCH/build/include -I/opt/VirtualBox-1.5.2/src/ -I/opt/VirtualBox-1.5.2/src/include -I/opt/VirtualBox-1.5.2/src/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_X86 -DVBOX_WITHOUT_IDT_PATCHING -DUSE_NEW_OS_INTERFACE_FOR_MM -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /opt/VirtualBox-1.5.2/src/linux/SUPDrv-linux.o /opt/VirtualBox-1.5.2/src/linux/SUPDrv-linux.c
    In file included from /opt/VirtualBox-1.5.2/src/include/iprt/types.h:72,
    from /opt/VirtualBox-1.5.2/src/include/VBox/types.h:21,
    from /opt/VirtualBox-1.5.2/src/SUPDRV.h:26,
    from /opt/VirtualBox-1.5.2/src/linux/SUPDrv-linux.c:22:
    include/linux/types.h:40: Fehler: Redefinition des typedef »uintptr_t«
    /opt/VirtualBox-1.5.2/src/include/iprt/stdint.h:118: Fehler: Vorherige Deklaration von »uintptr_t« war hier
    In Datei, eingefügt von include/linux/thread_info.h:33,
    von include/linux/preempt.h:9,
    von include/linux/spinlock.h:49,
    von /opt/VirtualBox-1.5.2/src/SUPDRV.h:87,
    von /opt/VirtualBox-1.5.2/src/linux/SUPDrv-linux.c:22:
    include/linux/bitops.h:6:1: Warnung: »BIT« redefiniert
    In Datei, eingefügt von /opt/VirtualBox-1.5.2/src/include/VBox/cdefs.h:20,
    von /opt/VirtualBox-1.5.2/src/SUPDRV.h:25,
    von /opt/VirtualBox-1.5.2/src/linux/SUPDrv-linux.c:22:
    /opt/VirtualBox-1.5.2/src/include/iprt/cdefs.h:1042:1: Warnung: dies ist die Stelle der vorherigen Definition
    make[2]: *** [/opt/VirtualBox-1.5.2/src/linux/SUPDrv-linux.o] Fehler 1
    make[1]: *** [_module_/opt/VirtualBox-1.5.2/src] Fehler 2
    make[1]: Leaving directory `/usr/src/linux-2.6.24-ARCH'
    make: *** [vboxdrv] Fehler 2

    ise wrote:Solution is here: http://bbs.archlinux.org/viewtopic.php?id=43709
    or install virtualbox-modules from aur

  • How to compile a kernel module without recompiling the whole kernel?

    Hi,
    I'm pretty sure my question is a bit newbish, still I haven't been able to found any information/solution to my problem in 3days.
    The kernel I use doesn't come with the module I need for my hardware and I would like to know if there's a way to compile it without having to make a new kernel myself (since compiling the kernel takes ages on my machine).
    Even if your answer is a "Let me Google that for you", I'm so desperate that I'll be happy to see it.
    Thank you all in advance for your answers!

    Do you have a /proc/config.gz that you could use? Otherwise I don't know. I mean, many modules should be compilable simply with the system-installed kernel headers, but not all native modules might follow that rule.
    Unfortunatel most of what you find on the web talks about how to create new modules which can be compild against the installed kernel tree, not about how to compile one of the native kernel modules against it.
    Actually, try what those links suggest.
    Skip the configuration part, and just do:
    make -C /lib/modules/`uname -r`/build M=$(PWD)/drivers/video modules
    (maybe `make -C /lib/modules/`uname -r`/build M=$(PWD)/drivers/video clean` first )
    EDIT: Meh, that uses your config and won't build that driver... there must be some way though
    EDIT2: Try:
    make -C /lib/modules/`uname -r`/build M=$(PWD)/drivers/video modules CONFIG_FB_VT8623=m CONFIG_FB_SVGALIB=m
    The problem though is, that they might have removed some of the dependencies of the module, so if it doesn't compile, you'll have to recompile the kernel.
    Good thing is though, you can use their .config as base (found in /usr/src/linux-..../.config)
    You can also check if your config "supports" your module by putting it into the kernel source tree, running `make menuconfig` and typing /8623 and pressing enter.
    The last line in that screen should read:
    Selects: <list of options>
    As long as all of those options are either =y or =m, you're good. SVGALIB can be =n because it's part of drivers/video/ and you can compile it together with  your module.
    Last edited by Blµb (2012-03-02 15:14:16)

  • Failed load Kernel Modules | fglrx exec Format Error

    Hello
    after I started my computer this morning it won't load fglrx anymore.
    Yesterday everything worked just fine. But I can still start the xserver without any problem.
    systemctl status systemd-modules-load.serivce outputs:
    systemd-modules-load.service - Load Kernel Modules
       Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
       Active: failed (Result: exit-code) since Tue 2013-08-20 10:59:28 CEST; 20min ago
         Docs: man:systemd-modules-load.service(8)
               man:modules-load.d(5)
      Process: 113 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
    Aug 20 10:59:28 orz-aa-0 systemd-modules-load[113]: Failed to insert 'fglrx': Exec format error
    Aug 20 10:59:28 orz-aa-0 systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
    Aug 20 10:59:28 orz-aa-0 systemd[1]: Failed to start Load Kernel Modules.
    Aug 20 10:59:28 orz-aa-0 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.
    and modprobe fglrx outputs:
    modprobe: ERROR: could not insert 'fglrx': Exec format error
    Installed are:
    catalyst 13.8-1
    catalyst-utils 13.8-1
    lib32-catalyst-utils 13.8-1
    xorg-bdftopcf 1.0.4-1
    xorg-font-util 1.3.0-1
    xorg-font-utils 7.6-3
    xorg-fonts-alias 1.0.3-1
    xorg-fonts-encodings 1.0.4-3
    xorg-fonts-misc 1.0.1-2
    xorg-luit 1.1.1-1
    xorg-mkfontdir 1.0.7-1
    xorg-mkfontscale 1.1.1-1
    xorg-server 1.14.2-2
    xorg-server-common 1.14.2-2
    xorg-setxkbmap 1.3.0-1
    xorg-twm 1.0.7-1
    xorg-xauth 1.0.7-1
    xorg-xclock 1.0.6-1
    xorg-xhost 1.0.6-1
    xorg-xinit 1.3.2-3
    xorg-xkbcomp 1.2.4-1
    xorg-xmodmap 1.0.7-1
    xorg-xrdb 1.0.9-2
    xorg-xset 1.2.2-2
    I'm really a newbie to arch linux and would appreciate any help.
    Thanks in advance.
    surrz
    Last edited by surrz (2013-08-20 10:53:28)

    I grepped /var/log/Xorg.0.log as suggested by the wiki, here's the results:
    sudo grep '(EE)' /var/log/Xorg.0.log
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 19.890] (EE) fglrx(0): atiddxDriScreenInit failed. Probably kernel module missing or incompatible.
    [fiendfan1@arch ~]$ grep '(WW)' /var/log/Xorg.0.log
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 19.150] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 19.150] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
    [ 19.150] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 19.150] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 19.586] (WW) Falling back to old probe method for fglrx
    [ 19.710] (WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
    [ 19.812] (WW) fglrx(0): board is an unknown third party board, chipset is supported
    [ 19.889] (WW) fglrx(0): Dynamic Surface Resizing cannot be enabled
    [ 19.890] (WW) fglrx(0): ***********************************************************
    [ 19.890] (WW) fglrx(0): * DRI initialization failed *
    [ 19.890] (WW) fglrx(0): * kernel module (fglrx.ko) may be missing or incompatible *
    [ 19.890] (WW) fglrx(0): * 2D and 3D acceleration disabled *
    [ 19.890] (WW) fglrx(0): ***********************************************************
    [ 19.908] (WW) fglrx(0): Textured Video not supported without DRI enabled.
    [ 20.014] (WW) fglrx(0): Option "VendorName" is not used
    [ 20.014] (WW) fglrx(0): Option "ModelName" is not used
    [ 20.425] (WW) evdev: USB USB Keykoard: ignoring absolute axes.
    I don't know what any of this means, anyone have any ideas?

  • [S]Systemd can't start Load Kernel Modules after upgrade to Linux 4.0

    After upgrading from linux 3.19.3-3 to 4.0.1-1 I've been having a bit of an issue. At that same time I upgraded readline (6.3.006-1 → 6.3.008-1), linux-firmware (20150206.17657c3-1 → 20150410.ec89525-1), nvidia (349.16-1 → 349.16-2) , wpa_suplican (2.4-1 → 1:2.3-1), and  arpack (3.1.5-1 → 3.2.0-1). There may be some typos there since I'm copying by hand. Normally this wouldn't be much of a problem because I have been, priory to a few weeks ago, really good about back ups and would just roll my OS back 15 minutes. But things like that tend to fly out the window when the semester gets heavy. My last snapshot was on May 22nd, which I could still use, but would rather not. Also, it seems like a good idea to try to actual fix things for a change.
    [edit] I should mention that this upgrade was run April 30th.[/edit]
    When I finished booting the system after the upgrade, I got an error message during boot “systemd[1]: Failed to start Load Kernel Modules.” When it finished booting I run “dmesg -l err” to confirm that I'm not having a bad day dream or something. I'm also still seeing the errors that I described in this thread. Don't know if the two are related. I also noticed, when I was logging in, that it said that my stystem was still using the old kernel. Indeed, according to “uname -r” I'm still using 3.19.3-3-ARCH.
    The closest thing to experience I have with this is when I forget to mount /boot before upgrading linux, so I made sure /boot was mounted and rand “sudo pacman -S linux” to reinstall, but this didn't help. Just to check I ran “ls /lib/modules” and see the directorys “4.0.1-1-ARCH” and “extramodules-4.0-ARCH” as I would expect after a succesful upgrade of the kernel.
    Running “systemctl –failed, shows that in addition to systemd-modules-load.service, lm_sensors.service has also failed. I somehow expect lm_sensors depends on systemd-modules-load. I tried “systemctl restart systemd-modules-load”, but was rewarded with a message telling me that it failed. The “journalctl -xe” log has the lines
    systemd[1]: system-modules-load[1799]: Failed to look up alias 'sg': Function not implemented
    systemd[1]: system-modules-load[1799]: Failed to look up alias 'nfs': Function not implemented
    Looking at the Wiki for Systemd under troubleshooting it actually has an example of trying to work through this exact issue. Following that I tried
    journalctl _PID=1799
    systemd[1]: system-modules-load[1799]: Failed to look up alias 'sg': Function not implemented
    systemd[1]: system-modules-load[1799]: Failed to look up alias 'nfs': Function not implemented
    which I already mentioned. At this point that bit of the Wiki stopped being useful.
    Looking up on Google Failed to look up alias 'nfs': Function not implemented returned this thread from two years ago. Running “lsmod |grep sg” or $lsmod |grep nfs” returns nothing, but it also returns nothing on this laptop I'm using as well, so I don't imagine that is useful. Also, “# grep nfs /lib/modules/4.0.1-1-ARCH/modules.alias” returns a “Nosuch file or directory” error.
    Searching for something on 'sg' turned up https://bbs.archlinux.org/viewtopic.php?id=165361, which was also not useful.
    As a sort of last resort I tried https://wiki.archlinux.org/index.php/Do … the_kernel
    I reboot and boot into my fallback installation, running 3.19.3-3, mount the partition with my main Arch on it, and arch-chroot into it.
    I downgraded linux, and nvidia, exited chroot, and rebooted hoping to the Great Bacon that I didn't do anything too damaging. After all, my back ups are more than a week out of date.
    This worked. I'm still getting those annyoing (they are only annoying right?) error messages I mentioned earlier. My system seems fine, if somewhat out of date.
    Still, the question remains, “why did that happen, and how do I actually fix it?”
    [edit2=solution]
    There were two problems. First, my grub.cfg entry was pointing to the wrong UUID. I fixed this by regenerating it. Then I noticed the UUID in the grub menu itself (during the boot prosses) did not match what was in grub.cfg. To fix this I reinstalled grub.
    Last edited by nstgc (2015-05-05 12:07:30)

    Well, I took snapshots, not back ups but they work well enough for this, and rsynced /boot/ to where it use to be, moved/renamed the subvolume boot, and commented out the appropriate line in fstab. I also deleted that other /boot from before. I unmount /boot, and regenerate my grub.cfg. If my machine still boots, I'll try for an upgrade.
    grub.cfg now looks like
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_msdos
    insmod part_msdos
    insmod part_msdos
    insmod btrfs
    set root='hd4,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos1 --hint-efi=hd4,msdos1 --hint-baremetal=ahci4,msdos1 --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint-bios=hd5,msdos4 --hint-efi=hd5,msdos4 --hint-baremetal=ahci5,msdos4 3873d8ba-9472-4d92-ab0d-e94574bd0eae
    else
    search --no-floppy --fs-uuid --set=root 3873d8ba-9472-4d92-ab0d-e94574bd0eae
    fi
    font="/arch/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
    # Fallback normal timeout code in case the timeout_style feature is
    # unavailable.
    else
    set timeout=5
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-3873d8ba-9472-4d92-ab0d-e94574bd0eae' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod part_msdos
    insmod part_msdos
    insmod btrfs
    set root='hd4,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos1 --hint-efi=hd4,msdos1 --hint-baremetal=ahci4,msdos1 --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint-bios=hd5,msdos4 --hint-efi=hd5,msdos4 --hint-baremetal=ahci5,msdos4 3873d8ba-9472-4d92-ab0d-e94574bd0eae
    else
    search --no-floppy --fs-uuid --set=root 3873d8ba-9472-4d92-ab0d-e94574bd0eae
    fi
    echo 'Loading Linux linux ...'
    linux /arch/boot/vmlinuz-linux root=UUID=3873d8ba-9472-4d92-ab0d-e94574bd0eae rw rootflags=subvol=arch quiet
    echo 'Loading initial ramdisk ...'
    initrd /arch/boot/intel-ucode.img /arch/boot/initramfs-linux.img
    submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-3873d8ba-9472-4d92-ab0d-e94574bd0eae' {
    menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-3873d8ba-9472-4d92-ab0d-e94574bd0eae' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod part_msdos
    insmod part_msdos
    insmod btrfs
    set root='hd4,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos1 --hint-efi=hd4,msdos1 --hint-baremetal=ahci4,msdos1 --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint-bios=hd5,msdos4 --hint-efi=hd5,msdos4 --hint-baremetal=ahci5,msdos4 3873d8ba-9472-4d92-ab0d-e94574bd0eae
    else
    search --no-floppy --fs-uuid --set=root 3873d8ba-9472-4d92-ab0d-e94574bd0eae
    fi
    echo 'Loading Linux linux ...'
    linux /arch/boot/vmlinuz-linux root=UUID=3873d8ba-9472-4d92-ab0d-e94574bd0eae rw rootflags=subvol=arch quiet
    echo 'Loading initial ramdisk ...'
    initrd /arch/boot/intel-ucode.img /arch/boot/initramfs-linux.img
    menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-3873d8ba-9472-4d92-ab0d-e94574bd0eae' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod part_msdos
    insmod part_msdos
    insmod btrfs
    set root='hd4,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos1 --hint-efi=hd4,msdos1 --hint-baremetal=ahci4,msdos1 --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint-bios=hd5,msdos4 --hint-efi=hd5,msdos4 --hint-baremetal=ahci5,msdos4 3873d8ba-9472-4d92-ab0d-e94574bd0eae
    else
    search --no-floppy --fs-uuid --set=root 3873d8ba-9472-4d92-ab0d-e94574bd0eae
    fi
    echo 'Loading Linux linux ...'
    linux /arch/boot/vmlinuz-linux root=UUID=3873d8ba-9472-4d92-ab0d-e94574bd0eae rw rootflags=subvol=arch quiet
    echo 'Loading initial ramdisk ...'
    initrd /arch/boot/intel-ucode.img /arch/boot/initramfs-linux-fallback.img
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Windows Vista (loader) (on /dev/sdd2)' --class windows --class os $menuentry_id_option 'osprober-chain-30F403F0F403B75E' {
    insmod part_gpt
    insmod ntfs
    set root='hd3,gpt2'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt2 --hint-efi=hd3,gpt2 --hint-baremetal=ahci3,gpt2 30F403F0F403B75E
    else
    search --no-floppy --fs-uuid --set=root 30F403F0F403B75E
    fi
    chainloader +1
    menuentry 'Windows Vista (loader) (on /dev/sdd4)' --class windows --class os $menuentry_id_option 'osprober-chain-FE2648382647EFE7' {
    insmod part_gpt
    insmod ntfs
    set root='hd3,gpt4'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt4 --hint-efi=hd3,gpt4 --hint-baremetal=ahci3,gpt4 FE2648382647EFE7
    else
    search --no-floppy --fs-uuid --set=root FE2648382647EFE7
    fi
    chainloader +1
    menuentry 'Arch (on /dev/sdd5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-832bcc8d-836e-4b4e-8d9c-0a19f5bcf7dd' {
    insmod part_gpt
    insmod ext2
    set root='hd3,gpt5'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt5 --hint-efi=hd3,gpt5 --hint-baremetal=ahci3,gpt5 832bcc8d-836e-4b4e-8d9c-0a19f5bcf7dd
    else
    search --no-floppy --fs-uuid --set=root 832bcc8d-836e-4b4e-8d9c-0a19f5bcf7dd
    fi
    linux /boot/vmlinuz-linux root=/dev/sdd5
    initrd /boot/initramfs-linux.img
    submenu 'Advanced options for Arch (on /dev/sdd5)' $menuentry_id_option 'osprober-gnulinux-advanced-832bcc8d-836e-4b4e-8d9c-0a19f5bcf7dd' {
    menuentry 'Arch (on /dev/sdd5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--832bcc8d-836e-4b4e-8d9c-0a19f5bcf7dd' {
    insmod part_gpt
    insmod ext2
    set root='hd3,gpt5'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,gpt5 --hint-efi=hd3,gpt5 --hint-baremetal=ahci3,gpt5 832bcc8d-836e-4b4e-8d9c-0a19f5bcf7dd
    else
    search --no-floppy --fs-uuid --set=root 832bcc8d-836e-4b4e-8d9c-0a19f5bcf7dd
    fi
    linux /boot/vmlinuz-linux root=/dev/sdd5
    initrd /boot/initramfs-linux.img
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    ### BEGIN /etc/grub.d/60_memtest86+ ###
    if [ "${grub_platform}" == "pc" ]; then
    menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
    search --fs-uuid --no-floppy --set=root --hint-bios=hd4,msdos1 --hint-efi=hd4,msdos1 --hint-baremetal=ahci4,msdos1 --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 --hint-bios=hd5,msdos4 --hint-efi=hd5,msdos4 --hint-baremetal=ahci5,msdos4 3873d8ba-9472-4d92-ab0d-e94574bd0eae
    linux16 /arch/boot/memtest86+/memtest.bin
    fi
    ### END /etc/grub.d/60_memtest86+ ###
    It seems as if the lines you mentioned, Scimmia, have changed. I'll take that as a good sign.
    [edit] System still boots. Trying for the upgrade.
    [edit2] Still can't use Linux 4.0. I'm getting the same errors as before.
    [edit3] Successfully downgraded.
    [edit4] I looked through /etc/mkinitcpio.conf and there isn't anything in there that isn't in my laptop's. I don't know if this will help, but here is the output of "pacman -Q"
    a52dec 0.7.4-8
    aalib 1.4rc5-10
    abs 2.4.4-2
    accountsservice 0.6.40-1
    acl 2.2.52-2
    adobe-source-han-sans-jp-fonts 1.002-1
    adwaita-icon-theme 3.16.0-1
    alsa-lib 1.0.29-1
    alsa-plugins 1.0.29-2
    alsa-utils 1.0.29-1
    alsi 0.4.7-1
    arch-install-scripts 15-1
    arch-wiki-docs 20150219-1
    arch-wiki-lite 20150219-2
    archlinux-keyring 20150212-1
    arpack 3.2.0-1
    aspell 0.60.6.1-2
    asunder 2.7-1
    at-spi2-atk 2.16.0-1
    at-spi2-core 2.16.0-1
    atk 2.16.0-1
    atkmm 2.22.7-1
    attr 2.4.47-1
    autoconf 2.69-2
    automake 1.15-1
    avahi 0.6.31-15
    awesome 3.5.6-1
    bash 4.3.033-1
    bash-completion 2.1-5
    bc 1.06.95-1
    bcache-tools 1.0.8-1
    bigpkg 0.4.0-2
    binutils 2.25-2
    bison 3.0.4-1
    blas 3.5.0-1
    bluez 5.30-1
    bluez-libs 5.30-1
    bonnie++ 1.97-1
    boost 1.58.0-1
    boost-libs 1.58.0-1
    btrfs-progs 3.19.1-1
    bullet 2.82-1
    bzip2 1.0.6-5
    ca-certificates 20150402-1
    ca-certificates-cacert 20140824-2
    ca-certificates-mozilla 3.18-3
    ca-certificates-utils 20150402-1
    cabextract 1.4-3
    cairo 1.14.2-1
    cairo-clock 0.3.4-4
    cairo-dock 3.4.1-1
    cairo-dock-plug-ins 3.4.1-1
    cairomm 1.10.0-3
    calibre 2.27.0-1
    cantarell-fonts 0.0.16-2
    caribou 0.4.18.1-1
    cddb-py 1.4-7
    cdparanoia 10.2-5
    cdrdao 1.2.3-7
    cdrtools 3.01a28-1
    celt 0.11.3-2
    cfv 1.18.3-6
    cheese 3.16.1-1
    chmlib 0.40-4
    chromaprint 1.1-2
    chromium 42.0.2311.135-1
    chromium-pepper-flash 1:17.0.0.169-3
    cifs-utils 6.4-1
    cinnamon-desktop 2.4.2-1
    cinnamon-translations 2.4.4-1
    clementine 1.2.3-5
    clucene 2.3.3.4-8
    clutter 1.22.0-2
    clutter-gst2 2.0.14-1
    clutter-gtk 1.6.0-2
    cmus 2.6.0-4
    cogl 1.20.0-1
    colord 1.2.9-2
    colord-gtk 0.1.26-2
    compositeproto 0.4.2-3
    confuse 2.7-3
    coreutils 8.23-1
    cracklib 2.9.4-1
    cryptsetup 1.6.6-1
    cups 2.0.2-4
    cups-filters 1.0.68-1
    cups-pk-helper 0.2.5-1
    curl 7.42.0-1
    damageproto 1.2.1-3
    db 5.3.28-2
    dbus 1.8.16-2
    dbus-glib 0.102-2
    dconf 0.24.0-1
    desktop-file-utils 0.22-1
    device-mapper 2.02.116-1
    dhclient 4.3.2-1
    dhcpcd 6.8.1-1
    dia 0.97.3-1
    dialog 1:1.2_20150225-1
    dictd 1.12.1-4
    diffutils 3.3-2
    ding-libs 0.4.0-3
    djvulibre 3.5.27-1
    dnssec-anchors 20150403-1
    dotconf 1.3-4
    dri2proto 2.8-2
    dri3proto 1.0-1
    dvd+rw-tools 7.1-5
    dvdisaster 0.72.6-1
    e2fsprogs 1.42.12-2
    ecryptfs-utils 106-1
    ed 1.11-1
    efl 1.13.2-1
    elementary 1.13.2-1
    elfutils 0.161-3
    enca 1.16-1
    enchant 1.6.0-5
    enlightenment 0.19.4-1
    evas_generic_loaders 1.13.2-1
    evince 3.16.0-1
    exempi 2.2.2-1
    exfat-utils 1.1.1-1
    exif-py 1.2.0-1
    exiv2 0.24-1
    expac 4-3
    expat 2.1.0-4
    extcalc 0.9.3_1-3
    faac 1.28-5
    faad2 2.7-4
    fakeroot 1.20.2-1
    fbreader 0.99.4-4
    ffmpeg 1:2.6.2-1
    fftw 3.3.4-1
    file 5.22-1
    file-roller 3.16.1-1
    filesystem 2015.02-1
    findutils 4.4.2-6
    firefox 37.0.2-1
    fixesproto 5.0-3
    flac 1.3.1-1
    flashplugin 11.2.202.457-1
    flex 2.5.39-1
    fltk 1.3.3-4
    fluidsynth 1.1.6-4
    fontconfig 2.11.1-1
    fontsproto 2.1.3-1
    foomatic-db 3:20150308-1
    foomatic-db-engine 3:20150308-1
    freetype2 2.5.5-1
    fribidi 0.19.6-2
    fsarchiver 0.6.19-1
    fuse 2.9.3-2
    fuse-exfat 1.1.0-1
    gawk 4.1.2-1
    gc 7.4.2-2
    gcc-fortran 4.9.2-4
    gcc-libs-multilib 4.9.2-4
    gcc-multilib 4.9.2-4
    gconf 3.2.6-3
    gcr 3.15.92-1
    gd 2.1.1-2
    gdb 7.9-1
    gdbm 1.11-1
    gdk-pixbuf2 2.31.3-1
    geany 1.24.1-1
    gemrb 0.8.2-1
    geoclue 0.12.99-2
    geoclue2 2.2.0-2
    geocode-glib 3.16.0-1
    gettext 0.19.4-1
    ghostscript 9.16-1
    giflib 5.1.1-1
    git 2.3.7-1
    gjs 1.43.3-1
    glew 1.12.0-1
    glib-networking 2.44.0-2
    glib2 2.44.0-1
    glibc 2.21-3
    glibmm 2.44.0-1
    glproto 1.4.17-1
    glu 9.0.0-3
    gmime 2.6.20-2
    gmp 6.0.0-2
    gnome-bluetooth 3.16.1-1
    gnome-color-manager 3.16.0-1
    gnome-control-center 3.16.1-2
    gnome-desktop 1:3.16.1-1
    gnome-dictionary 3.16.1-1
    gnome-disk-utility 3.16.0-1
    gnome-menus 3.13.3-1
    gnome-online-accounts 3.16.0-2
    gnome-session 3.16.0-1
    gnome-settings-daemon 3.16.1-1
    gnome-shell 3.16.1-2
    gnome-shell-extensions 3.16.1-1
    gnome-system-monitor 3.16.0-1
    gnome-themes-standard 3.16.0-1
    gnome-tweak-tool 3.16.1-1
    gnome-video-effects 0.4.1-1
    gnupg 2.1.3-3
    gnuplot 5.0.0-2
    gnutls 3.4.0-1
    gobject-introspection 1.44.0-1
    gobject-introspection-runtime 1.44.0-1
    google-chrome 42.0.2311.135-1
    gparted 0.22.0-1
    gpgme 1.5.4-1
    gpm 1.20.7-4
    graphite 1:1.2.4-1
    grep 2.21-2
    grilo 0.2.12-1
    groff 1.22.3-3
    grsync 1.2.5-1
    grub 1:2.02.beta2-5
    gsettings-desktop-schemas 3.16.1-1
    gsfonts 20150122-1
    gsm 1.0.13-8
    gssproxy 0.4.1-1
    gst-libav 1.4.5-1
    gst-plugins-bad 1.4.5-2
    gst-plugins-base 1.4.5-1
    gst-plugins-base-libs 1.4.5-1
    gst-plugins-good 1.4.5-2
    gst-plugins-ugly 1.4.5-2
    gstreamer 1.4.5-1
    gstreamer0.10 0.10.36-4
    gstreamer0.10-base 0.10.36-3
    gstreamer0.10-base-plugins 0.10.36-3
    gstreamer0.10-good 0.10.31-6
    gstreamer0.10-good-plugins 0.10.31-6
    gstreamer0.10-python 0.10.22-2
    gstreamer0.10-ugly 0.10.19-14
    gstreamer0.10-ugly-plugins 0.10.19-14
    gthumb 3.4.0-1
    gtk-update-icon-cache 2.24.27-1
    gtk2 2.24.27-1
    gtk3 3.16.2-1
    gtkmm 2.24.4-1
    gtkmm3 3.16.0-1
    guile 2.0.11-2
    gvfs 1.24.1-1
    gvfs-mtp 1.24.1-1
    gzip 1.6-1
    hal-info 0.20091130-2
    harfbuzz 0.9.40-2
    harfbuzz-icu 0.9.40-2
    haveged 1.9.1-2
    hdparm 9.45-1
    hdsentinel 0.8-2
    help2man 1.46.4-1
    hicolor-icon-theme 0.13-1
    hplip 3.15.4-1
    hspell 1.2-2
    htmlcxx 0.85-4
    htop 1.0.3-2
    hunspell 1.3.3-1
    hwids 20150129-1
    hwinfo 21.10.1.1-1
    hwloc 1.10.1-1
    hyphen 2.8.8-1
    i3-wm 4.10.2-1
    i3lock 2.6-1
    i3status 2.9-1
    i7z 0.27.2.git1-1
    iana-etc 2.30-4
    icedtea-web 1.5.2-1
    icu 55.1-1
    imagemagick 6.9.1.0-1
    imagewriter 1.10.1420800585.134a9b3-1
    imlib2 1.4.7-1
    inetutils 1.9.2-2
    innoextract 1.4-0
    inputproto 2.3.1-1
    intel-tbb 4.3_20150209-1
    intel-ucode 20150121-1
    inxi 2.2.19-1
    iproute2 3.19.0-1
    iptables 1.4.21-3
    iputils 20121221-3
    ipython 3.1.0-1
    iso-codes 3.57-1
    jack 0.124.1-3
    jansson 2.7-1
    jasper 1.900.1-13
    java-environment-common 2-2
    java-runtime-common 2-2
    jdk7-openjdk 7.u79_2.5.5-1
    jfsutils 1.1.15-4
    jmtpfs 0.5-1
    jre7-openjdk 7.u79_2.5.5-1
    jre7-openjdk-headless 7.u79_2.5.5-1
    js 24.2.0-1
    js17 17.0.0-1
    json-c 0.12-2
    json-glib 1.0.2-1
    jsoncpp 1.4.4-1
    julia 2:0.3.7-1
    julia-docs 2:0.3.7-1
    kbd 2.0.2-1
    kbproto 1.0.7-1
    keyutils 1.5.9-1
    kmod 20-1
    krb5 1.13.1-1
    kvirc 4.2.0-4
    lame 3.99.5-2
    lapack 3.5.0-1
    lcms 1.19-5
    lcms2 2.6-1
    ldb 1.1.20-1
    ldns 1.6.17-2
    less 471-1
    lgogdownloader-git 20150310-1
    lib32-acl 2.2.52-2
    lib32-alsa-lib 1.0.29-1
    lib32-alsa-plugins 1.0.29-2
    lib32-atk 2.16.0-1
    lib32-attr 2.4.47-1
    lib32-bzip2 1.0.6-2
    lib32-cairo 1.14.2-1
    lib32-curl 7.41.0-1
    lib32-db 5.3.28-2
    lib32-e2fsprogs 1.42.12-1
    lib32-elfutils 0.161-2
    lib32-expat 2.1.0-2
    lib32-fakeroot 1.20.2-1
    lib32-flac 1.3.1-1
    lib32-flashplugin 11.2.202.457-1
    lib32-fontconfig 2.11.1-1
    lib32-freetype2 2.5.5-1
    lib32-gcc-libs 4.9.2-4
    lib32-gdk-pixbuf2 2.31.3-2
    lib32-gettext 0.19.4-1
    lib32-giflib 5.1.1-1
    lib32-glew 1.12.0-1
    lib32-glib2 2.44.0-1
    lib32-glibc 2.21-2
    lib32-glu 9.0.0-2
    lib32-gmp 6.0.0-1
    lib32-gnutls 3.4.0-2
    lib32-gsm 1.0.13-9
    lib32-gtk2 2.24.27-1
    lib32-harfbuzz 0.9.40-2
    lib32-icu 55.1-1
    lib32-jack 0.124.1-1
    lib32-json-c 0.12-1
    lib32-keyutils 1.5.9-1
    lib32-krb5 1.13.1-1
    lib32-lcms2 2.6-1
    lib32-libaio 0.3.110-1
    lib32-libasyncns 0.8-7
    lib32-libcanberra 0.30-4
    lib32-libcap 2.24-1
    lib32-libcl 1.1-1
    lib32-libcups 2.0.2-2
    lib32-libdbus 1.8.16-1
    lib32-libdrm 2.4.60-1
    lib32-libffi 3.2.1-1
    lib32-libgcrypt 1.6.3-1
    lib32-libgpg-error 1.18-1
    lib32-libice 1.0.9-1
    lib32-libidn 1.30-1
    lib32-libjpeg-turbo 1.4.0-1
    lib32-libldap 2.4.40-1
    lib32-libltdl 2.4.5-1
    lib32-libnl 3.2.25-1
    lib32-libogg 1.3.2-1
    lib32-libpcap 1.6.2-1
    lib32-libpciaccess 0.13.4-1
    lib32-libpng 1.6.16-1
    lib32-libpulse 6.0-1
    lib32-libsamplerate 0.1.8-2
    lib32-libsm 1.2.2-1
    lib32-libsndfile 1.0.25-3
    lib32-libssh2 1.5.0-1
    lib32-libtasn1 4.4-1
    lib32-libtiff 4.0.3-3
    lib32-libtxc_dxtn 1.0.1-5
    lib32-libusb 1.0.19-1
    lib32-libvorbis 1.3.5-1
    lib32-libx11 1.6.3-1
    lib32-libxau 1.0.8-1
    lib32-libxcb 1.11-1
    lib32-libxcomposite 0.4.4-2
    lib32-libxcursor 1.1.14-1
    lib32-libxdamage 1.1.4-2
    lib32-libxdmcp 1.1.2-1
    lib32-libxext 1.3.3-1
    lib32-libxfixes 5.0.1-1
    lib32-libxft 2.3.2-1
    lib32-libxi 1.7.4-1
    lib32-libxinerama 1.1.3-1
    lib32-libxml2 2.9.2-1
    lib32-libxmu 1.1.2-1
    lib32-libxrandr 1.4.2-1
    lib32-libxrender 0.9.8-1
    lib32-libxshmfence 1.2-1
    lib32-libxslt 1.1.28-2
    lib32-libxt 1.1.4-1
    lib32-libxtst 1.2.2-1
    lib32-libxxf86vm 1.1.4-1
    lib32-llvm-libs 3.6.0-1
    lib32-mesa 10.5.4-1
    lib32-mpg123 1.22.1-1
    lib32-ncurses 5.9-3
    lib32-nettle 3.1.1-1
    lib32-nspr 4.10.8-1
    lib32-nss 3.18-1
    lib32-nvidia-libgl 349.16-1
    lib32-nvidia-utils 349.16-1
    lib32-openal 1.16.0-1
    lib32-openssl 1.0.2.a-1
    lib32-p11-kit 0.23.1-2
    lib32-pango 1.36.8-1
    lib32-pcre 8.36-1
    lib32-pixman 0.32.6-1
    lib32-portaudio 19_20140130-1
    lib32-readline 6.3.008-1
    lib32-sdl 1.2.15-6
    lib32-soundtouch 1.8.0-1
    lib32-sqlite 3.8.9-1
    lib32-systemd 219-1
    lib32-tdb 1.3.4-1
    lib32-util-linux 2.26.1-1
    lib32-v4l-utils 1.6.0-1
    lib32-wayland 1.7.0-1
    lib32-wxgtk 3.0.2-4
    lib32-xz 5.2.1-1
    lib32-zlib 1.2.8-1
    libabw 0.1.1-1
    libaio 0.3.110-1
    libao 1.2.0-1
    libarchive 3.1.2-8
    libart-lgpl 2.3.21-3
    libass 0.12.1-1
    libassuan 2.2.0-1
    libasyncns 0.8-5
    libatasmart 0.19-3
    libatomic_ops 7.4.2-1
    libavc1394 0.5.4-2
    libbluray 0.8.0-1
    libbsd 0.7.0-1
    libcaca 0.99.beta18-2
    libcanberra 0.30-5
    libcanberra-pulse 0.30-5
    libcap 2.24-2
    libcap-ng 0.7.4-1
    libcddb 1.3.2-4
    libcdio 0.93-1
    libcdio-paranoia 10.2+0.93+1-1
    libcdr 0.1.1-2
    libcl 1.1-4
    libcroco 0.6.8-2
    libcue 1.4.0-4
    libcups 2.0.2-4
    libdaemon 0.14-3
    libdatrie 0.2.8-1
    libdbus 1.8.16-2
    libdca 0.0.5-4
    libdrm 2.4.60-2
    libdv 1.0.0-6
    libdvbpsi 1:1.1.2-1
    libdvdcss 1.3.0-1
    libdvdnav 5.0.2-1
    libdvdread 5.0.1-1
    libe-book 0.1.2-2
    libebml 1.3.1-1
    libedit 20150325_3.1-1
    libepoxy 1.2-2
    libetonyek 0.1.1-1
    libev 4.19-1
    libevdev 1.4.2-1
    libevent 2.0.22-1
    libexif 0.6.21-2
    libffi 3.2.1-1
    libfontenc 1.1.3-1
    libftdi-compat 0.20-1
    libgcrypt 1.6.3-2
    libgcrypt15 1.5.4-4
    libgdm 3.16.1.1-1
    libgee 0.18.0-1
    libglade 2.6.4-5
    libgme 0.6.0-3
    libgnome-keyring 3.12.0-2
    libgnomekbd 3.6.0-2
    libgpg-error 1.19-1
    libgpod 0.8.3-4
    libgssglue 0.4-2
    libgsystem 2015.1-1
    libgtop 2.30.0-1
    libgusb 0.2.4-1
    libgweather 3.16.1-1
    libgxps 0.2.2-3
    libibus 1.5.10-1
    libical 1.0.1-2
    libice 1.0.9-1
    libid3tag 0.15.1b-8
    libidn 1.30-1
    libiec61883 1.2.0-4
    libimobiledevice 1.2.0-1
    libinput 0.14.1-1
    libirman 0.4.5-4
    libjpeg-turbo 1.4.0-1
    libkate 0.4.1-5
    libksba 1.3.3-1
    liblastfm 1.0.9-1
    libldap 2.4.40-2
    liblqr 0.4.2-1
    libmaa 1.3.2-2
    libmad 0.15.1b-7
    libmatroska 1.4.2-1
    libmediainfo 0.7.73-1
    libmikmod 3.3.7-1
    libmm-glib 1.4.6-1
    libmms 0.6.4-1
    libmng 2.0.2-3
    libmodplug 0.8.8.5-1
    libmp4v2 2.0.0-3
    libmpc 1.0.3-1
    libmpcdec 1.2.6-4
    libmpeg2 0.5.1-5
    libmspub 0.1.2-2
    libmtp 1.1.8-1
    libmwaw 0.3.4-1
    libmygpo-qt 1.0.8-1
    libndp 1.4-1
    libnewt 0.52.18-2
    libnl 3.2.25-1
    libnm-glib 1.0.0-2
    libnotify 0.7.6-1
    liboauth 1.0.3-1
    libodfgen 0.1.3-1
    libofa 0.9.3-5
    libogg 1.3.2-1
    libomxil-bellagio 0.9.3-1
    libpagemaker 0.0.2-1
    libpaper 1.1.24-7
    libpcap 1.6.2-1
    libpciaccess 0.13.4-1
    libpipeline 1.4.0-1
    libplist 1.12-1
    libpng 1.6.16-1
    libproxy 0.4.11-5
    libpulse 6.0-1
    libpwquality 1.2.3-1
    libquvi 0.9.4-3
    libquvi-scripts 0.9.20131130-2
    libqzeitgeist 0.8.0-4
    libraw 0.16.0-3
    libraw1394 2.1.0-2
    libreoffice-fresh 4.4.2-1
    librevenge 0.0.2-1
    librpcsecgss 0.19-8
    librsvg 1:2.40.9-1
    libsamplerate 0.1.8-3
    libsasl 2.1.26-7
    libseccomp 2.2.0-1
    libsecret 0.18-1
    libshout 1:2.3.1-2
    libsidplay 1.36.59-6
    libsigc++ 2.4.1-1
    libsigsegv 2.10-2
    libsm 1.2.2-2
    libsndfile 1.0.25-3
    libsodium 1.0.2-1
    libsoup 2.50.0-1
    libspectre 0.2.7-2
    libsrtp 15.1c9bd90-3
    libssh 0.6.5-1
    libssh2 1.5.0-1
    libsystemd 219-6
    libtar 1.2.20-2
    libtasn1 4.4-1
    libteam 1.14-2
    libthai 0.1.21-1
    libtheora 1.1.1-3
    libtiff 4.0.3-5
    libtiger 0.3.4-4
    libtirpc 0.2.5-1
    libtool 2.4.6-1
    libtxc_dxtn 1.0.1-6
    libunibreak 1.1-1
    libunistring 0.9.5-1
    libunwind 1.1-2
    libupnp 1.6.19-1
    libusb 1.0.19-1
    libusb-compat 0.1.5-1
    libusbmuxd 1.0.10-1
    libutempter 1.1.6-2
    libutil-linux 2.26.1-3
    libva 1.5.1-1
    libvdpau 1.1-1
    libvisio 0.1.1-2
    libvisual 0.4.0-5
    libvorbis 1.3.5-1
    libvpx 1.4.0-2
    libwacom 0.11-1
    libwbclient 4.2.1-1
    libwebp 0.4.3-1
    libwmf 0.2.8.4-12
    libwpd 0.10.0-1
    libwpg 0.3.0-1
    libwps 0.3.1-1
    libx11 1.6.3-1
    libx264 2:144.20150223-1
    libx86 1.1-4
    libx86emu 1.1.23.1-1
    libxau 1.0.8-2
    libxaw 1.0.13-1
    libxcb 1.11-1
    libxcomposite 0.4.4-2
    libxcursor 1.1.14-2
    libxdamage 1.1.4-2
    libxdg-basedir 1.2.0-3
    libxdmcp 1.1.2-1
    libxext 1.3.3-1
    libxfixes 5.0.1-1
    libxfont 1.5.1-1
    libxft 2.3.2-1
    libxi 1.7.4-1
    libxinerama 1.1.3-2
    libxkbcommon 0.5.0-1
    libxkbcommon-x11 0.5.0-1
    libxkbfile 1.0.9-1
    libxklavier 5.4-1
    libxml2 2.9.2-2
    libxmu 1.1.2-1
    libxp 1.0.3-1
    libxpm 3.5.11-1
    libxrandr 1.4.2-2
    libxrender 0.9.9-1
    libxshmfence 1.2-1
    libxslt 1.1.28-3
    libxss 1.2.2-2
    libxt 1.1.5-1
    libxtst 1.2.2-1
    libxv 1.0.10-1
    libxvmc 1.0.9-1
    libxxf86dga 1.1.4-1
    libxxf86vm 1.1.4-1
    libyaml 0.1.6-1
    libzen 0.4.31-1
    libzip 0.11.2-1
    licenses 20140629-1
    links 2.9-1
    linux 3.19.3-3
    linux-api-headers 3.18.5-1
    linux-firmware 20150410.ec89525-1
    lirc 1:0.9.2.a-1
    llvm-libs 3.6.0-5
    lm_sensors 3.3.5-1
    logrotate 3.8.9-1
    lpsolve 5.5.2.0-3
    lrzip 0.621-1
    lua 5.2.4-1
    lua-bitop 1.0.2-5
    lua-expat 1.3.0-1
    lua-lgi 0.8.0-2
    lua-socket 3.0rc1-4
    lua51 5.1.5-4
    luajit 2.0.3-3
    lvm2 2.02.116-1
    lxdream 0.9.1-3
    lz4 128-1
    lzo 2.09-1
    m4 1.4.17-1
    make 4.1-1
    man-db 2.7.1-1
    man-pages 3.83-1
    mcomix 1.01-1
    mcpp 2.7.2-5
    mdadm 3.3.2-1
    memtest86+ 5.01-1
    mencoder 37379-3
    mesa 10.5.4-1
    metamorphose2 0.8.3-2
    mime-types 9-1
    minitube 2.4-1
    mjpegtools 2.1.0-1
    mkinitcpio 18-2
    mkinitcpio-busybox 1.21.1-2
    mkvtoolnix-cli 7.8.0-3
    mobile-broadband-provider-info 20120614-2
    morituri-git 0.2.3.r3.gb1d685f-1
    mozilla-common 1.4-4
    mpfr 3.1.2.p11-1
    mpg123 1.22.1-1
    mplayer 37379-3
    mtdev 1.1.5-1
    mutagen 1.28-1
    mutter 3.16.1.1-1
    ncurses 5.9-7
    nemo 2.4.5-1
    neon 0.30.1-1
    net-snmp 5.7.3-1
    netctl 1.10-2
    nettle 3.1.1-1
    network-manager-applet 1.0.0-2
    networkmanager 1.0.0-2
    nfs-utils 1.3.2-6
    nfsidmap 0.26-1
    nm-connection-editor 1.0.0-2
    npth 1.2-1
    nspr 4.10.8-1
    nss 3.18-3
    ntfs-3g 2015.3.14-1
    nvidia 349.16-1
    nvidia-libgl 349.16-1
    nvidia-utils 349.16-1
    ogmtools 1.5-5
    openal 1.16.0-1
    opencore-amr 0.1.3-2
    openjpeg 1.5.2-1
    openmpi 1.8.4-1
    openresolv 3.6.1-1
    openssh 6.8p1-2
    openssl 1.0.2.a-1
    opus 1.1-1
    orc 0.4.23-1
    os-prober 1.64-1
    p11-kit 0.23.1-2
    p7zip 9.38.1-3
    package-query 1.5-2
    pacman 4.2.1-1
    pacman-mirrorlist 20150315-1
    pacmatic 20150126-1
    pam 1.1.8-5
    pambase 20130928-1
    pango 1.36.8-1
    pangomm 2.36.0-1
    par2cmdline-tbb 20141125-1
    parallel 20150322-1
    parted 3.2-2
    patch 2.7.5-1
    pciutils 3.3.1-1
    pcmciautils 018-7
    pcre 8.36-2
    pcsx2-git 1.3.1.r978.1aebca3-1
    perl 5.20.2-1
    perl-clone 0.37-2
    perl-data-dump 1.22-1
    perl-dbi 1.633-1
    perl-encode-locale 1.04-1
    perl-error 0.17023-1
    perl-file-basedir 0.07-1
    perl-file-listing 6.04-2
    perl-file-which 1.09-4
    perl-html-parser 3.71-3
    perl-html-tagset 3.20-4
    perl-http-cookies 6.01-2
    perl-http-daemon 6.01-2
    perl-http-date 6.02-2
    perl-http-message 6.06-2
    perl-http-negotiate 6.01-2
    perl-ipc-system-simple 1.25-1
    perl-libwww 6.08-1
    perl-locale-gettext 1.05-11
    perl-lwp-mediatypes 6.02-2
    perl-net-http 6.07-1
    perl-uri 1.67-1
    perl-www-robotrules 6.02-2
    perl-xml-libxml 2.0121-1
    perl-xml-namespacesupport 1.11-3
    perl-xml-sax 0.99-4
    perl-xml-sax-base 1.08-3
    phonon-qt4 4.8.3-1
    phonon-qt4-gstreamer 4.8.2-1
    phoronix-test-suite 5.6.0-1
    php 5.6.8-2
    pinentry 0.9.1-1
    pixman 0.32.6-1
    pkg-config 0.28-2
    pkgfile 15-1
    pms 1.90.1-1
    podofo 0.9.3-1
    polkit 0.112-2
    poppler 0.32.0-1
    poppler-glib 0.32.0-1
    poppler-qt5 0.32.0-1
    popt 1.16-7
    portaudio 19_20140130-1
    presentproto 1.0-1
    printproto 1.0.5-3
    procps-ng 3.3.10-2
    protobuf 2.6.1-1
    psmisc 22.21-2
    pth 2.0.7-5
    pulseaudio 6.0-1
    pulseaudio-alsa 2-3
    pv 1.6.0-1
    pygobject-devel 3.16.1-1
    pygobject2-devel 2.28.6-11
    pygtk 2.24.0-5
    pyqt4-common 4.11.3-4
    pyqt5-common 5.4.1-2
    python 3.4.3-2
    python-dateutil 2.4.1-1
    python-dbus 1.2.0-4
    python-dbus-common 1.2.0-4
    python-gmpy2 2.0.5-2
    python-gobject 3.16.1-1
    python-html2text 2015.4.14-1
    python-matplotlib 1.4.3-2
    python-mpmath 0.19-1
    python-nose 1.3.6-1
    python-numexpr 2.4.3-1
    python-numpy 1.9.2-2
    python-pandas 0.16.0-2
    python-pygments 2.0.2-2
    python-pyparsing 2.0.3-1
    python-pyqt4 4.11.3-4
    python-pyqt5 5.4.1-2
    python-pytz 2015.2-1
    python-pyzmq 14.5.0-2
    python-scipy 0.15.1-2
    python-setuptools 1:15.2-1
    python-sip 4.16.7-1
    python-six 1.9.0-1
    python-sympy 0.7.6-2
    python-tornado 4.1.0-2
    python-xdg 0.25-2
    python2 2.7.9-1
    python2-apsw 3.8.9-1
    python2-atspi 2.16.0-1
    python2-beaker 1.7.0-1
    python2-cairo 1.10.0-2
    python2-chardet 2.3.0-1
    python2-cherrypy 3.6.0-1
    python2-cssselect 0.9.1-2
    python2-cssutils 1.0-2
    python2-dateutil 2.4.1-1
    python2-dbus 1.2.0-4
    python2-dnspython 1.12.0-1
    python2-gobject 3.16.1-1
    python2-gobject2 2.28.6-11
    python2-html5lib 0.999-5
    python2-lxml 3.4.4-1
    python2-mako 1.0.1-1
    python2-markupsafe 0.23-2
    python2-mechanize 0.2.5-4
    python2-netifaces 0.10.4-1
    python2-pillow 2.8.1-1
    python2-psutil 2.2.1-2
    python2-pycdio 0.20-3
    python2-pygments 2.0.2-2
    python2-pyqt5 5.4.1-2
    python2-setuptools 1:15.2-1
    python2-sip 4.16.7-1
    python2-six 1.9.0-1
    python2-xdg 0.25-2
    qca 2.0.3-5
    qca-ossl 2.0.0-7
    qjson 0.8.1-3
    qpdf 5.1.2-1
    qt4 4.8.6-5
    qt5-base 5.4.1-4
    qt5-declarative 5.4.1-4
    qt5-location 5.4.1-4
    qt5-script 5.4.1-4
    qt5-sensors 5.4.1-4
    qt5-svg 5.4.1-4
    qt5-tools 5.4.1-4
    qt5-translations 5.4.1-4
    qt5-webchannel 5.4.1-4
    qt5-webkit 5.4.1-4
    qt5-xmlpatterns 5.4.1-4
    qtchooser 48-1
    qtwebkit 2.3.4-1
    randrproto 1.4.1-1
    raptor 2.0.15-2
    rasqal 1:0.9.32-1
    readline 6.3.008-1
    recode 3.6-8
    recordproto 1.14.2-2
    redland 1:1.0.17-2
    reflector 2014.11-1
    reiserfsprogs 3.6.24-1
    renderproto 0.11.1-3
    resourceproto 1.2.0-3
    rest 0.7.93-1
    rhash 1.3.3-1
    rng-tools 5-3
    rpcbind 0.2.3-1
    rsync 3.1.1-2
    rtkit 0.11-5
    rtmpdump 20140918-2
    ruby 2.2.2-1
    s-nail 14.8.0-1
    sbc 1.3-1
    schroedinger 1.0.11-2
    scrnsaverproto 1.2.2-2
    sdcv 0.4.2-8
    sdl 1.2.15-7
    sdl_image 1.2.12-3
    sdl_mixer 1.2.12-4
    sdl_net 1.2.8-2
    sdl_ttf 2.0.11-3
    sed 4.2.2-3
    sg3_utils 1.40-1
    shadow 4.2.1-3
    shared-color-targets 0.1.5-1
    shared-mime-info 1.4-1
    sip 4.16.7-1
    slang 2.3.0-1
    smartmontools 6.3-2
    smbclient 4.2.1-1
    smpeg 0.4.5-1
    snappy 1.1.1-1
    sound-theme-freedesktop 0.8-2
    soundtouch 1.8.0-1
    spandsp 0.0.6-1
    speech-dispatcher 0.8.1-1
    speedtest-cli 0.3.1-1
    speex 1.2rc2-1
    speexdsp 1.2rc3-1
    spotify 0.9.17.1-1
    spotify-gnome-git 20141010-1
    sqlite 3.8.9-1
    startup-notification 0.12-4
    steam 1.0.0.49-3
    sudo 1.8.13-1
    suitesparse 4.4.4-1
    sysfsutils 2.1.0-9
    systemd 219-6
    systemd-sysvcompat 219-6
    t1lib 5.1.2-5
    taglib 1.9.1-1
    talloc 2.1.2-1
    tar 1.28-1
    tdb 1.3.4-1
    telepathy-glib 0.24.1-1
    telepathy-logger 0.8.1-1
    telepathy-mission-control 5.16.3-1
    terminology 0.8.0-1
    tevent 0.9.24-1
    texinfo 5.2-3
    texlive-bin 2014.34260-7
    texlive-core 2014.36709-1
    texlive-langchinese 2014.35921-1
    texlive-langcjk 2014.0-1
    texlive-langjapanese 2014.36466-1
    texlive-langkorean 2014.36573-1
    texlive-latexextra 2014.36706-1
    texlive-pictures 2014.36605-1
    texlive-science 2014.36659-1
    texmaker 4.4.1-1
    thin-provisioning-tools 0.4.1-1
    thunderbird 31.6.0-2
    tinyxml 2.6.2-3
    tmux 1.9_a-2
    totem-plparser 3.10.4-1
    transmission-gtk 2.84-1
    tsmuxer 1.10.6-14
    ttf-dejavu 2.34-2
    ttf-ms-fonts 2.0-10
    tzdata 2015d-1
    udisks2 2.1.5-1
    unrar 1:5.2.7-1
    unzip 6.0-10
    upower 0.99.2-2
    usbutils 008-1
    util-linux 2.26.1-3
    v4l-utils 1.6.2-1
    vi 1:050325-4
    videoproto 2.3.2-1
    vim 7.4.712-1
    vim-latexsuite 20130126-2
    vim-runtime 7.4.712-1
    vlc 2.2.1-2
    vte-common 0.40.0-2
    vte3 0.40.0-2
    wavpack 4.70.0-2
    wayland 1.7.0-1
    webkit2gtk 2.8.1-1
    webkitgtk 2.4.8-2
    webrtc-audio-processing 0.1-2
    wesnoth 1.12.2-2
    wesnoth-data 1.12.2-1
    wget 1.16.3-1
    which 2.21-1
    wildmidi 0.3.8-1
    wine 1.7.42-2
    winetricks 20141130-1
    wireless_tools 30.pre9-1
    wpa_supplicant 1:2.3-1
    wxgtk 3.0.2-4
    wxgtk2.8 2.8.12.1-3
    wxpython 3.0.2.0-1
    wxpython2.8 2.8.12.1-1
    x265 1.6-1
    xboxdrv 0.8.5-3
    xcb-proto 1.11-1
    xcb-util 0.4.0-1
    xcb-util-cursor 0.1.2-1
    xcb-util-image 0.4.0-1
    xcb-util-keysyms 0.4.0-1
    xcb-util-renderutil 0.3.9-1
    xcb-util-wm 0.4.1-1
    xdg-su 1.2.3-1
    xdg-utils 1.1.0.git20150323-1
    xdiskusage 1.51-1
    xextproto 7.3.0-1
    xf86-input-evdev 2.9.2-1
    xf86dgaproto 2.1-3
    xf86driproto 2.1.1-3
    xf86vidmodeproto 2.3.1-3
    xfsprogs 3.2.2-1
    xineramaproto 1.2.1-3
    xkeyboard-config 2.14-1
    xorg-appres 1.0.4-1
    xorg-bdftopcf 1.0.5-1
    xorg-font-util 1.3.1-1
    xorg-font-utils 7.6-4
    xorg-fonts-alias 1.0.3-1
    xorg-fonts-encodings 1.0.4-4
    xorg-fonts-misc 1.0.3-3
    xorg-iceauth 1.0.7-1
    xorg-mkfontdir 1.0.7-2
    xorg-mkfontscale 1.1.2-1
    xorg-server 1.17.1-5
    xorg-server-common 1.17.1-5
    xorg-server-devel 1.17.1-5
    xorg-server-utils 7.6-4
    xorg-sessreg 1.1.0-1
    xorg-setxkbmap 1.3.1-1
    xorg-util-macros 1.19.0-1
    xorg-xauth 1.0.9-1
    xorg-xbacklight 1.2.1-1
    xorg-xcmsdb 1.0.5-1
    xorg-xgamma 1.0.6-1
    xorg-xhost 1.0.7-1
    xorg-xinit 1.3.4-2
    xorg-xinput 1.6.1-1
    xorg-xkbcomp 1.3.0-1
    xorg-xmessage 1.0.4-2
    xorg-xmodmap 1.0.9-1
    xorg-xrandr 1.4.3-1
    xorg-xrdb 1.1.0-1
    xorg-xrefresh 1.0.5-1
    xorg-xset 1.2.3-1
    xorg-xsetroot 1.1.1-2
    xproto 7.0.27-1
    xscreensaver 5.32-1
    xvidcore 1.3.3-1
    xz 5.2.1-1
    yajl 2.1.0-1
    yaourt 1.5-1
    zenity 3.14.0-1
    zeromq 4.0.5-1
    zita-alsa-pcmi 0.2.0-2
    zita-resampler 1.3.0-3
    zlib 1.2.8-3
    zvbi 0.2.35-1
    zziplib 0.13.62-2
    [edit5] My /etc/modules-load.d directory is empty by the way, and "sudo /usr/lib/systemd/systemd-modules-load" returns nothing. Note, this is all while running Linux 3.19, but I believe it should demonstrate that I don't have any special modules running. Or so I believe.
    Last edited by nstgc (2015-05-04 13:16:09)

  • Unable to load the kernel module 'nvidia.ko' [SOLVED]

    After my most recent kernel upgrade, I can't get my GUI to run. I've tried reinstalling the nvidia driver to no avail.
    Any insight would be greatly appreciated. I'm using a GeForce 8400 GS
    cat /var/log/nvidia-installer.log
    ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
    frequently when this kernel module was built against the wrong or
    improperly configured kernel sources, with a version of gcc that differs
    from the one used to build the target kernel, or if a driver such as
    rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
    obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU
    installed in this system is not supported by this NVIDIA Linux graphics
    driver release.
    Please see the log entries 'Kernel module load error' and 'Kernel
    messages' at the end of the file '/var/log/nvidia-installer.log' for
    more information.
    -> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
    -1 No such device
    -> Kernel messages:
    NVRM: This can occur when a driver such as nouveau, rivafb,
    NVRM: nvidiafb, or rivatv was loaded and obtained ownership of
    NVRM: the NVIDIA device(s).
    NVRM: Try unloading the conflicting kernel module (and/or
    NVRM: reconfigure your kernel without the conflicting
    NVRM: driver(s)), then try loading the NVIDIA kernel module
    NVRM: again.
    NVRM: No NVIDIA graphics adapter probed!
    NVRM: The NVIDIA probe routine was not called for 1 device(s).
    NVRM: This can occur when a driver such as nouveau, rivafb,
    NVRM: nvidiafb, or rivatv was loaded and obtained ownership of
    NVRM: the NVIDIA device(s).
    NVRM: Try unloading the conflicting kernel module (and/or
    NVRM: reconfigure your kernel without the conflicting
    NVRM: driver(s)), then try loading the NVIDIA kernel module
    NVRM: again.
    NVRM: No NVIDIA graphics adapter probed!
    NVRM: The NVIDIA probe routine was not called for 1 device(s).
    NVRM: This can occur when a driver such as rivafb, nvidiafb or
    NVRM: rivatv was loaded and obtained ownership of the NVIDIA
    NVRM: device(s).
    NVRM: Try unloading the rivafb, nvidiafb or rivatv kernel module
    NVRM: (and/or reconfigure your kernel without rivafb/nvidiafb
    NVRM: support), then try loading the NVIDIA kernel module again.
    NVRM: No NVIDIA graphics adapter probed!
    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.
    Last edited by wsims (2010-06-22 15:06:04)

    if you used the packages from repos, the blacklist is done automatically in nvidia,
    $ pacman -Qo /etc/modprobe.d/nouveau_blacklist.conf
    /etc/modprobe.d/nouveau_blacklist.conf is owned by nvidia 195.36.31-1
    $ cat /etc/modprobe.d/nouveau_blacklist.conf
    blacklist nouveau
    but i guess you just want to mess your system by using unsupported and very bad ways and you are way smarter than the devs if you used that installer
    Last edited by wonder (2010-06-22 14:10:01)

  • [Solved] Failed to initialize the NVIDIA kernel module

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

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

  • Trouble building kernel module for sensor support

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

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

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

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

  • Problems with Intel 4965AGN and iwlagn kernel module

    Hi everyone.
    I having a couple of issues since my last kernel upgrade (2.6.27.5-1) and wanted to check if its my problem or if it is some kind of bug, before reporting it to the tracker.
    I have the iwlagn (or iwl4965, as it is the same) kernel module in the MODULES array in /etc/rc.conf. Even tried removing it from there and leaving all the work to the module autodetect. No changes.
    This is my dmesg | grep iwl output after boot:
    iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
    iwlagn: Copyright(c) 2003-2008 Intel Corporation
    iwlagn 0000:0b:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    iwlagn 0000:0b:00.0: setting latency timer to 64
    iwlagn: Detected Intel Wireless WiFi Link 4965AGN REV=0x4
    iwlagn: Tunable channels: 11 802.11bg, 13 802.11a channels
    iwlagn 0000:0b:00.0: PCI INT A disabled
    phy0: Selected rate control algorithm 'iwl-agn-rs'
    iwlagn: Failed to register hw (error -2)
    iwlagn: probe of 0000:0b:00.0 failed with error -2
    I do have the firmaware (iwlwifi-4965-ucode) installed and enabled "firmware" in the mkinitcipio.conf image.
    I have to do the following to get it working:
    modprobe -r iwlagn
    modprobe iwlagn
    After which the output of dmesg | grep iwl is the following (added a line to split the reload of the module):
    iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
    iwlagn: Copyright(c) 2003-2008 Intel Corporation
    iwlagn 0000:0b:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    iwlagn 0000:0b:00.0: setting latency timer to 64
    iwlagn: Detected Intel Wireless WiFi Link 4965AGN REV=0x4
    iwlagn: Tunable channels: 11 802.11bg, 13 802.11a channels
    iwlagn 0000:0b:00.0: PCI INT A disabled
    phy0: Selected rate control algorithm 'iwl-agn-rs'
    iwlagn: Failed to register hw (error -2)
    iwlagn: probe of 0000:0b:00.0 failed with error -2
    ///////////////////// this is added after reload of iwlagn ///////////////
    iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
    iwlagn: Copyright(c) 2003-2008 Intel Corporation
    iwlagn 0000:0b:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    iwlagn 0000:0b:00.0: setting latency timer to 64
    iwlagn: Detected Intel Wireless WiFi Link 4965AGN REV=0x4
    iwlagn: Tunable channels: 11 802.11bg, 13 802.11a channels
    phy0: Selected rate control algorithm 'iwl-agn-rs'
    iwlagn 0000:0b:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    firmware: requesting iwlwifi-4965-2.ucode
    Registered led device: iwl-phy0:radio
    Registered led device: iwl-phy0:assoc
    Registered led device: iwl-phy0:RX
    For what i can tell... the module seems to be loading to soon. Could this be the problem?
    On the other hand, it happened a couple of times that I just lost the device (the module quit working in the middle of a session).
    Any ideas?
    ps. I already reinstalled the previous kernel without results. Remade the kernel26.img changing options (HOOKS) and modified the order of services in the DAEMONS array, to no avail.

    Nope. I'm still having problems.
    Replaced NetworkManager with ntcfg2, but no changes so far.
    Here is the kernel package I have installed:
    core/kernel26 2.6.27.6-1 (x86-64)
    Keep having to reload the module:
    modprobe -r iwlagn
    modprobe iwlagn
    Output from dmesg | grep iwlagn seems to be the same:
    [23:06:57 crow]$ dmesg | grep iwl
    sda:<6>iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
    iwlagn: Copyright(c) 2003-2008 Intel Corporation
    iwlagn 0000:0b:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    iwlagn 0000:0b:00.0: setting latency timer to 64
    iwlagn: Detected Intel Wireless WiFi Link 4965AGN REV=0x4
    iwlagn: Tunable channels: 11 802.11bg, 13 802.11a channels
    iwlagn 0000:0b:00.0: PCI INT A disabled
    phy0: Selected rate control algorithm 'iwl-agn-rs'
    iwlagn: Failed to register hw (error -2)
    iwlagn: probe of 0000:0b:00.0 failed with error -2
    iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
    iwlagn: Copyright(c) 2003-2008 Intel Corporation
    iwlagn 0000:0b:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    iwlagn 0000:0b:00.0: setting latency timer to 64
    iwlagn: Detected Intel Wireless WiFi Link 4965AGN REV=0x4
    iwlagn: Tunable channels: 11 802.11bg, 13 802.11a channels
    phy0: Selected rate control algorithm 'iwl-agn-rs'
    iwlagn 0000:0b:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    firmware: requesting iwlwifi-4965-2.ucode
    Registered led device: iwl-phy0:radio
    Registered led device: iwl-phy0:assoc
    Registered led device: iwl-phy0:RX
    Registered led device: iwl-phy0:TX
    My loaded modules: lsmod
    [23:12:15 crow]$ lsmod | grep iwl
    iwlagn 102148 0
    iwlcore 86084 1 iwlagn
    rfkill 12068 2 iwlcore
    led_class 6408 1 iwlcore
    mac80211 182184 2 iwlagn,iwlcore
    cfg80211 29840 3 iwlagn,iwlcore,mac80211
    On the other hand, I found someone with the same problem in the Poland Arch Linux Forums:
    http://forum.archlinux.pl/viewtopic.php?pid=31341
    But I dont understand if the second person is giving its setup (and has it working) or if it is reporting problems too.
    No one else is having issues with this wireless card?

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

Maybe you are looking for