Arch drops me to a rescue shell after kernel update

Hello everyone,
I am an Arch newbie and glad if you hold my hand for a little on this one.
Last night I did my first
pacman -Syu
and among others it also updated my kernel to whatever kernel currently in the repositories is. After that I rebooted my Linux box and yes I forgot to update my /boot/efi/EFI/arch first; now it says it can't properly read from my /boot and drops me to a rescue shell.
I have a UEFI motherboard and during installation I followed the EFISTUB instructions in the wiki; using that everything booted flawlessly on my first attempt.
So far I managed to boot from my trusted SystemRescueCD. I can access the Arch documentation via web browser in an X11 environment and I can cleanly mount my partitions and chroot, but I am troubled by the output I am seeing. The obvious solution to my newbie problem would be to go through the EFISTUB instructions in the wiki again, but I have no clue where my boot file sources are. Check this:
root@sysresccd /root % mkdir /mnt/arch-root
root@sysresccd /root % mkdir /mnt/arch-root/boot
root@sysresccd /root % mount /dev/sdc3 /mnt/arch-root
root@sysresccd /root % mount /dev/sdc1 /mnt/arch-root/boot
root@sysresccd /root % ls -al /mnt/arch-root/boot
total 12
drwxr-xr-x 3 root root 4096 Jan 1 1970 .
drwxr-xr-x 20 root root 4096 Mar 6 19:11 ..
drwxr-xr-x 5 root root 4096 Feb 27 20:00 EFI
root@sysresccd /root % ls -al /mnt/arch-root/boot/EFI
total 20
drwxr-xr-x 5 root root 4096 Feb 27 20:00 .
drwxr-xr-x 3 root root 4096 Jan 1 1970 ..
drwxr-xr-x 2 root root 4096 Feb 27 19:55 arch
drwxr-xr-x 3 root root 4096 Feb 27 20:00 boot
drwxr-xr-x 3 root root 4096 Feb 27 19:51 refind
root@sysresccd /root % ls -al /mnt/arch-root/boot/EFI/arch
total 20576
drwxr-xr-x 2 root root 4096 Feb 27 19:55 .
drwxr-xr-x 5 root root 4096 Feb 27 20:00 ..
-rwxr-xr-x 1 root root 14291050 Feb 27 19:47 initramfs-arch-fallback.img
-rwxr-xr-x 1 root root 3083850 Feb 27 19:47 initramfs-arch.img
-rwxr-xr-x 1 root root 164 Feb 27 19:55 refind_linux.conf
-rwxr-xr-x 1 root root 3675776 Feb 27 19:46 vmlinuz-arch.efi
root@sysresccd /root % ls -al /mnt/arch-root/boot/EFI/boot
total 184
drwxr-xr-x 3 root root 4096 Feb 27 20:00 .
drwxr-xr-x 5 root root 4096 Feb 27 20:00 ..
-rwxr-xr-x 1 root root 154688 Feb 27 20:00 bootx64.efi
drwxr-xr-x 2 root root 4096 Feb 27 20:00 icons
-rwxr-xr-x 1 root root 17452 Feb 27 20:00 refind.conf
root@sysresccd /root % ls -al /mnt/arch-root/boot/EFI/refind
total 184
drwxr-xr-x 3 root root 4096 Feb 27 19:51 .
drwxr-xr-x 5 root root 4096 Feb 27 20:00 ..
drwxr-xr-x 2 root root 4096 Feb 27 19:51 icons
-rwxr-xr-x 1 root root 17452 Feb 27 19:50 refind.conf
-rwxr-xr-x 1 root root 154688 Feb 27 19:50 refind_x64.efi
root@sysresccd /root %
Why are there no vmlinuz-linux, initramfs-linux.img, and initramfs-linux-fallback.img in my /mnt/arch-root/boot ?
Why is there an EFI/* in my /mnt/arch-root/boot and not the efi/EFI/* I expect to find? It's as if one level of the file hierarchy is missing... if I mounted something incorrectly, I'd expect an empty mount point, but this phenomenon  of having something but not everything really puzzles me.
The rest seems ok as it was Feb27 when I did my intital installation of Arch and Mar6 when I did the pacman -Syu
Thanks for any help, I am really clueless right now.

Thanks for the reply.
I've already installed the virtualbox-archlinux-additions.
So after the kernel update there's nothing i need to do ?

Similar Messages

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

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

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

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

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

  • Lost network after kernel update

    Hi
    I have lost my network after kernel updating the kernel [2.6.35.7]
    I downgraded to kernel 2.6.35.6
    Serge

    krychle wrote:
    Hi,
    I'm just reporting that I had this issue today too. I rebooted my computer from Win7 to Arch64 and I was left without network. Also it doesn't work in windows after rebooting back. I thought that It is something with connection so I tried to recoonect cable and also tryied to swap it in switch/adsl gateway. It started working after several switches (not on 1st!) It looks like interface is repeating on and off. So I rebooted to Arch and it stops working again...
    I fixed it by reinstalling kernel26 package. But it is strange because it works yesterday, last thing what I did with kernel and modules was update of gc nvidia drivers... I don't know when I updated kernel last time
    I'm using same network driver as Karol - r8169
    lsmod | less
    mii                     3826  1 r8169
    I'm using this card as well.  I upgraded yesterday and I can't get wireless with WICD.  Windows and normal network daemon work fine.  I use kernel26.  What other info can I provide?  If a bug report needs to be filed, would it be WICD, kernel26 or other?
    Also, I forgot, but I'm not using normal Wicd, I'm using wicd-nogtk from AUR.  Krychle, are you using this also?
    Edit:  I think this has to do with the python update.  I updated wicd-nogtk and its good now.  I am online.
    Last edited by Anonymo (2010-10-19 18:10:23)

  • VMware player won't start after kernel update

    Hi,
    today I've updated to 3.9.6-1 kernel and all went good. So I wanted to start my vmware player to start a vm. Of course I've done the needed steps in the vmplayer wiki page to setup the new headers and stuff after kernel update for vmplayer. Also I've ran "vmware-patch -f" and ran trough. But still get an error when I wanted to start the player in the "/tmp/vmware-root/vmware-modconfig-11986.log":
    2013-06-16T13:03:51.680+01:00| vthread-3| I120: Log for VMware Workstation pid=11986 version=9.0.2 build=build-1031769 option=Release
    2013-06-16T13:03:51.680+01:00| vthread-3| I120: The process is 64-bit.
    2013-06-16T13:03:51.680+01:00| vthread-3| I120: Host codepage=UTF-8 encoding=UTF-8
    2013-06-16T13:03:51.680+01:00| vthread-3| I120: Host is Linux 3.9.6-1-ARCH 2013.04.01
    2013-06-16T13:03:51.680+01:00| vthread-3| I120: Msg_Reset:
    2013-06-16T13:03:51.680+01:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
    2013-06-16T13:03:51.680+01:00| vthread-3| I120: ----------------------------------------
    2013-06-16T13:03:51.680+01:00| vthread-3| I120: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
    2013-06-16T13:03:51.680+01:00| vthread-3| I120: Msg_Reset:
    2013-06-16T13:03:51.680+01:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/config": No such file or directory.
    2013-06-16T13:03:51.680+01:00| vthread-3| I120: ----------------------------------------
    2013-06-16T13:03:51.680+01:00| vthread-3| I120: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
    2013-06-16T13:03:51.680+01:00| vthread-3| I120: Msg_Reset:
    2013-06-16T13:03:51.680+01:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/preferences": No such file or directory.
    2013-06-16T13:03:51.680+01:00| vthread-3| I120: ----------------------------------------
    2013-06-16T13:03:51.680+01:00| vthread-3| I120: PREF Failed to load user preferences.
    2013-06-16T13:03:51.680+01:00| vthread-3| W110: Logging to /tmp/vmware-root/vmware-modconfig-11986.log
    2013-06-16T13:03:51.687+01:00| vthread-3| I120: Reading in info for the vmmon module.
    2013-06-16T13:03:51.687+01:00| vthread-3| I120: Reading in info for the vmnet module.
    2013-06-16T13:03:51.687+01:00| vthread-3| I120: Reading in info for the vmblock module.
    2013-06-16T13:03:51.687+01:00| vthread-3| I120: Reading in info for the vmci module.
    2013-06-16T13:03:51.687+01:00| vthread-3| I120: Reading in info for the vsock module.
    2013-06-16T13:03:51.687+01:00| vthread-3| I120: Setting vsock to depend on vmci.
    2013-06-16T13:03:51.687+01:00| vthread-3| I120: Created new pathsHash.
    2013-06-16T13:03:51.687+01:00| vthread-3| I120: Invoking modinfo on "vmmon".
    2013-06-16T13:03:51.689+01:00| vthread-3| I120: "/sbin/modinfo" exited with status 0.
    2013-06-16T13:03:51.689+01:00| vthread-3| I120: Invoking modinfo on "vmnet".
    2013-06-16T13:03:51.690+01:00| vthread-3| I120: "/sbin/modinfo" exited with status 0.
    2013-06-16T13:03:51.690+01:00| vthread-3| I120: Invoking modinfo on "vmblock".
    2013-06-16T13:03:51.691+01:00| vthread-3| I120: "/sbin/modinfo" exited with status 0.
    2013-06-16T13:03:51.691+01:00| vthread-3| I120: Invoking modinfo on "vmci".
    2013-06-16T13:03:51.693+01:00| vthread-3| I120: "/sbin/modinfo" exited with status 0.
    2013-06-16T13:03:51.693+01:00| vthread-3| I120: Invoking modinfo on "vsock".
    2013-06-16T13:03:51.696+01:00| vthread-3| I120: "/sbin/modinfo" exited with status 0.
    Maybe it has something to do with the last filesystem update?
    But I don't know what to do really and couldn't found anything on that.
    thanks

    sorry, found something now in another thread here. this fix works just fyi:
    kokoko3k wrote:
    Quick and dirty workaround to fully update your system
    sudo pacman -Suy #update everything
    sudo mkdir -p /usr/local/lib/gtkmm && cd /usr/local/lib/gtkmm
    sudo wget http://arm.konnichi.com/2013/01/05/extra/os/x86_64/gtkmm-2.24.2-2-x86_64.pkg.tar.xz
    #sudo wget http://arm.konnichi.com/2013/01/05/extra/os/i686/gtkmm-2.24.2-2-i686.pkg.tar.xz #The bug affects i686 too.
    sudo tar -xvf ./gtkmm-2.24.2-2-x86_64.pkg.tar.xz
    #sudo tar -xvf ./gtkmm-2.24.2-2-i686.pkg.tar.xz #The bug affects i686 too.
    LD_LIBRARY_PATH=/usr/local/lib/gtkmm/usr/lib/ vmplayer #start it with old libraries

  • After kernel update, anything i should do for my arch system in vbox

    Hi all:
    I've installed arch as a vbox guest system. The host system is windows 7.
    After Archlinux kernel updates, do i need to re-install the guest add-on modules ?
    or is there anything necessary after each kernel update ?
    Best Regards,

    Thanks for the reply.
    I've already installed the virtualbox-archlinux-additions.
    So after the kernel update there's nothing i need to do ?

  • Mounting issues after kernel update (2.6.25)

    After installing the recent kernel update, mounting has gone haywire. When I put in a cd (in either of my 2 drives) it doesn't mount. In thunar, when I click on the cd drive, it displays this error:
    mount: wrong fs type, bad option, bad superblock on /dev/sr0,
           missing codepage or other error
           In some cases useful info is found in syslog - try
           dmesg | tail  or so.
    I did dmesg | tail and I got this:
    EXT3-fs: mounted filesystem with ordered data mode.
    Adding 1044216k swap on /dev/sda5.  Priority:-1 extents:1 across:1044216k
    eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
    ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
    ivtv0: Encoder revision: 0x02060039
    [drm] Initialized drm 1.1.0 20060810
    ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
    PCI: Setting latency timer of device 0000:00:02.0 to 64
    [drm] Initialized i915 1.6.0 20060119 on minor 0
    UDF-fs: No VRS found
    Also, when booting a few minutes ago, it was stuck on the "checking filesystems" for a few minutes, when it usually does that step almost immediately. I also couldn't mount an iso, this is what happened:
    [root@eric-arch eric]# mount -o loop -t iso9660 /path/to/iso.iso /mnt/iso2
    mount: could not find any device /dev/loop#
    Note: I am not certain that it was caused by the kernel update, but that is the only thing I did to my machine before this started happening.
    Please help asap because I need to do schoolwork which is on a cd.

    jealma wrote:I know the solution to the /dev/loop-problem. The new 2.6.25 kernel has the loop device as a module. Please try a `modprobe loop`, that gives you a /dev/loop. I don't know whether that will be persistent after a reboot, so you may need to add "loop" to the modules-list in /etc/rc.conf.
    That worked, but I still have other issues with cd mounting, so I downgraded my kernel for now.

  • [Solved] Overheating/fan/sensors issues after kernel updates

    Hi all,
    I realise there has been a bit of correspondence on this already.  I'm after some advice for my specific situation:
    1. My laptop is an acer aspire 5315.  I has well understood overheating issues that arrise due to BIOS problems
    2. Fan control and temperature reporting worked perfectly with kernel 2.6.30, stopped working with 2.6.31 - I assume due to the well documented changes made in that release.  The temperature only seems to be read once - at boot.  sensors never reports a change after that; if the temperature is cold at boot the fan never get switched on.  Unfortunately this happens most often.
    3. I tried setting the recommended kernel option (can't relocate the post now).  It didn't help :-?
    4. I have tried upgrading the BIOS but the distribution from acer is a windows executable (won't run under freeDOS) and I do not have windows installed on this PC (not game to try under wine).
    5. I re-installed the old kernel from my pacman cache only to find that my wireless no longer works (fan works just fine though).
    I'm now totally stumped :-/
    I'd like to update my bios and go with the latest kernel but can't see a way without installing windows.
    This might be fixed in an ubuntu kernel release (https://bugs.launchpad.net/ubuntu/+sour … bug/453700) but I'd prefer not to do that switch... perhaps the same fix is coming to arch?
    I'd accept having to pin the kernel to an earlier version but neet to get the wireless working.
    help...
    edit: 
    I've now managed to get the kernel backdated correctly (so that wireless works as well as the fan) by re-installing the kernel and firmware together.
    Have configured pacman to igmore future kernel updates
    If anyone has any suggestions on howto update my bios I'd be very greatful.
    Last edited by drandre (2009-11-06 13:26:46)

    Hi,
    Got exactly the same issue, after running for a while laptop justs goes off... going to try to regress kernel until issue is resolved
    BIOS update does sound a bit extreme
    MrG

  • "Dirty" sound after Kernel update. [SOLVED]

    First of all my sound have always been "dirty" on Linux, like if the speakers/headphones where broken. However, earlier today I configured my sound for the first time on Arch and had a terrific sound! Perfect and clear. However, after I updated, my sound configuration was messed up and now, after re-configuring it, it has this "broken" sound again. Anything I can do about it?
    /Richard

    So I won't have to re-configure the sound again if I get kernel -8? Like 5 minutes after I got kernel -7 I saw there was a new update but with my recent problem with kernel -7 kept me from updating. My sound works almost perfectly it's just that there's this tiny buzzing sound in the background all the time.

  • [Solved] Nvidia after kernel update

    The nvidia wiki clearly states that: "Every time the kernel26 package is updated, it is a requirement to reinstall the nvidia package and rebooting afterwards. "
    But my question is, why? I mean, if the module was to be recompiled, that would make sense. But what does just reinstalling the driver accomplish? In my system, pacman -Ql nvidia shows:
    $ pacman -Ql nvidia
    nvidia /etc/
    nvidia /etc/modprobe.d/
    nvidia /etc/modprobe.d/nouveau_blacklist.conf
    nvidia /lib/
    nvidia /lib/modules/
    nvidia /lib/modules/2.6.35-ARCH/
    nvidia /lib/modules/2.6.35-ARCH/kernel/
    nvidia /lib/modules/2.6.35-ARCH/kernel/drivers/
    nvidia /lib/modules/2.6.35-ARCH/kernel/drivers/video/
    nvidia /lib/modules/2.6.35-ARCH/kernel/drivers/video/nvidia.ko
    From what I've read, I think the kernel update process copies the compiled modules into the proper folder (inside /lib) named by the kernel version. Should this not be the case with nvidia? If it is not, then is this why the reinstall is needed?
    Thanks in advance (and my apologies if I've glossed over something that's patently obvious --- while I've searched for the answer before posting, I am still quite the novice at tinkering with the kernel)
    EDIT: just after posting I've realized that maybe this post belongs in "Kernel and Hardware Issues" subforum. But the truth is this isn't really an "issue"... it's more a question from, well, a newbie :-)
    Last edited by gauthma (2010-09-28 21:53:04)

    gauthma wrote:
    Thank you for the feedback.
    ngoonee wrote:Of course, if you're using nvidia-beta or some other AUR nvidia driver, you need to reinstall it.
    Running the risk of asking what might be obvious to some, why?
    The driver speaks to the kernel. When the kernel updates, the language used might have changed in various ways. Since nvidia is closed-source, its not always obvious whether what has changed affects it. The same applies to xorg-server, when it updates you should recompile your nvidia driver. Its SOMETIMES not needed, but when it is, would you rather be solving it from the tty?
    quathma wrote:
    ngoonee wrote:That's what the wiki is referring to. Even if the kernel major version has not updated (for example 2.6.35.5 to 2.6.35.6 is only a minor version bump) the driver may need to be recompiled. Safer to just do it everytime and restart the machine.
    Now I'm confused. Are you saying that the safest approach is to recompile and (re)install the nvidia module after each kernel update? And does this only apply to modules from beta & AUR, or [extra] as well? And shouldn't all this issue of recompiling modules also apply to every other module installed in the system?
    Yes that's the safest approach. [extra] is taken care of by the devs, the simple way is to assume they'll bump it if needed (and you don't need to do anything).
    The same thing applies to almost any kernel module (AFAIK). It applies to virtualbox's modules, for sure, as well as phc-intel (the only other 2 external modules I use). Most kernel modules are actually compiled in to the kernel26 package anyway, so its not very many. I just automatically recompile the ones I use whenever I notice a kernel/xorg update.

  • DKMS - module not compiled after kernel update

    Hello all,
    I'm using a USB Wifi Adapter which has very bad support : D-Link DWA160 B2
    I have followed the instruction from this excellent guide to add the driver sources to DKMS, to get it compiled automatically after all kernel update:
    http://bernaerts.dyndns.org/linux/229-u … er-to-dkms
    Unfortunatly the 2 last kernel upgrade did not trigger the driver compile.
    There is no DKMS logs, and everything seems to be well configured.
    My DKMS conf file:
    /root/driver-dkms
    [root@purelight driver-dkms]# more dkms.conf
    MAKE="make KERNELDIR=/lib/modules/${kernelver}/build"
    CLEAN="make clean"
    BUILT_MODULE_NAME=rt5572sta
    BUILT_MODULE_LOCATION=os/linux/
    DEST_MODULE_LOCATION=/kernel/drivers/net/wireless/
    PACKAGE_NAME=rt5572sta
    PACKAGE_VERSION=2.601
    REMAKE_INITRD=no
    [root@purelight 2.601]# pwd
    /var/lib/dkms/rt5572sta/2.601
    [root@purelight 2.601]# ls -lsa
    total 24
    4 drwxr-xr-x 6 root root 4096 Oct 17 20:54 .
    4 drwxr-xr-x 3 root root 4096 Oct 17 20:54 ..
    4 drwxr-xr-x 3 root root 4096 Oct 6 20:44 3.5.4-1-ARCH
    4 drwxr-xr-x 3 root root 4096 Oct 9 20:43 3.5.6-1-ARCH
    4 drwxr-xr-x 3 root root 4096 Oct 17 20:54 3.6.2-1-ARCH
    4 drwxr-xr-x 11 root root 4096 Oct 17 20:54 build
    0 lrwxrwxrwx 1 root root 24 Oct 6 20:42 source -> /usr/src/rt5572sta-2.601
    [root@purelight 2.601]# dkms build -m rt5572sta -v 2.601
    Module rt5572sta/2.601 already built for kernel 3.6.2-1-ARCH/4
    It seems that there is nothing relevant in the logs:
    [root@purelight log]# grep dkms /var/log/*
    auth.log:Oct 17 20:52:53 purelight sudo: syl : TTY=pts/2 ; PWD=/var/lib/dkms/rt5572sta/2.601 ; USER=root ; COMMAND=/usr/sbin/dkms build -m rt5572sta -v 2.601
    auth.log:Oct 17 20:54:14 purelight sudo: syl : TTY=pts/2 ; PWD=/var/lib/dkms/rt5572sta/2.601 ; USER=root ; COMMAND=/usr/sbin/dkms install -m rt5572sta -v 2.601
    pacman.log:[2012-10-06 20:42] Running 'pacman -S dkms'
    pacman.log:[2012-10-06 20:42] installed dkms (2.2.0.3-12)
    Any help would be nice, thanks!

    Unia wrote:
    Are you using systemd? If so, you might have to reboot twice. The catalyst-dkms package (video driver for amd cards) in [community] currently has the same problems. I'd suggest for you to read the last few pages in that thread to see background information:
    https://bbs.archlinux.org/viewtopic.php?id=57084&p=177
    Yes I do use systemd. Since I'm using a quite recent installation, it was included by default.
    At the next kernel upgrade I'll try this trick of reboot twice, and see if it works.
    Cheers!

  • Broadcom-wl-dkms not reinstalled after kernel update

    I use broadcom-wl-dkms for my wireless card (Broadcom BCM4352 rev 03). All works well, until the kernel is updated.
    I expected dkms to rebuild the package automatically, but apparently something goes wrong in the process: after every one of the last few kernel updates, the module was correctly rebuilt on reboot, but not re-installed.
    root@tank ~ # dkms status
    broadcom-wl, 6.30.223.248, 3.19.2-1-ARCH, x86_64: installed
    broadcom-wl, 6.30.223.248, 3.19.3-3-ARCH, x86_64: installed
    broadcom-wl, 6.30.223.248, 4.0.1-1-ARCH, x86_64: installed
    broadcom-wl, 6.30.223.248, 4.0.2-1-ARCH, x86_64: installed
    broadcom-wl, 6.30.223.248, 4.0.3-1-ARCH, x86_64: built
    Running
    root@tank ~ # dkms install broadcom-wl/6.30.223.248
    wl:
    Running module version sanity check.
    - Original module
    - No original module exists within this kernel
    - Installation
    - Installing to /usr/lib/modules/4.0.3-1-ARCH/kernel/drivers/net/wireless/
    depmod....
    DKMS: install completed.
    does the trick, but ideally I wouldn't have to do that.
    Looking at dkms logs, I get that:
    May 17 20:41:10 tank systemd[1]: Starting Dynamic Kernel Modules System...
    May 17 20:41:10 tank dkms[443]: Kernel preparation unnecessary for this kernel. Skipping...
    May 17 20:41:10 tank dkms[443]: Kernel preparation unnecessary for this kernel. Skipping...
    May 17 20:41:10 tank dkms[443]: Building module:
    May 17 20:41:10 tank dkms[443]: cleaning build area...
    May 17 20:41:10 tank dkms[443]: Building module:
    May 17 20:41:13 tank dkms[443]: cleaning build area....
    May 17 20:41:13 tank dkms[443]: make KERNELRELEASE=4.0.3-1-ARCH KVERSION=4.0.3-1-ARCH....
    May 17 20:41:16 tank dkms[443]: make KERNELRELEASE=4.0.3-1-ARCH -C /usr/lib/modules/4.0.3-1-ARCH/build M=/var/lib/dkms/broadcom-w
    May 17 20:41:16 tank dkms[443]: cleaning build area....
    May 17 20:41:19 tank dkms[443]: cleaning build area....
    May 17 20:41:19 tank dkms[443]: Kernel cleanup unnecessary for this kernel. Skipping...
    May 17 20:41:19 tank dkms[443]: DKMS: build completed.
    May 17 20:41:19 tank dkms[443]: steamos-xpad.ko:
    May 17 20:41:19 tank dkms[443]: Running module version sanity check.
    May 17 20:41:19 tank dkms[443]: .
    May 17 20:41:19 tank dkms[443]: Kernel cleanup unnecessary for this kernel. Skipping...
    May 17 20:41:19 tank dkms[443]: DKMS: build completed.
    May 17 20:41:19 tank dkms[443]: wl.ko:
    May 17 20:41:19 tank dkms[443]: Running module version sanity check.
    May 17 20:41:20 tank dkms[443]: - Original module
    May 17 20:41:20 tank dkms[443]: - Original module
    May 17 20:41:20 tank dkms[443]: - No original module exists within this kernel
    May 17 20:41:20 tank dkms[443]: - No original module exists within this kernel
    May 17 20:41:20 tank dkms[443]: - Installation
    May 17 20:41:20 tank dkms[443]: - Installation
    May 17 20:41:20 tank dkms[443]: - Installing to /usr/lib/modules/4.0.3-1-ARCH/kernel/drivers/input/joystick/
    May 17 20:41:20 tank dkms[443]: - Installing to /usr/lib/modules/4.0.3-1-ARCH/kernel/drivers/net/wireless/
    May 17 20:41:23 tank dkms[443]: depmod...depmod....
    May 17 20:41:23 tank dkms[443]: DKMS: install completed.
    May 17 20:41:23 tank dkms[443]: .(bad exit status: 1)
    May 17 20:41:23 tank dkms[443]: -------- Uninstall Beginning --------
    May 17 20:41:23 tank dkms[443]: Module: broadcom-wl
    May 17 20:41:23 tank dkms[443]: Version: 6.30.223.248
    May 17 20:41:23 tank dkms[443]: Kernel: 4.0.3-1-ARCH (x86_64)
    May 17 20:41:23 tank dkms[443]: -------------------------------------
    May 17 20:41:23 tank dkms[443]: Status: Before uninstall, this module version was ACTIVE on this kernel.
    May 17 20:41:23 tank dkms[443]: wl.ko:
    May 17 20:41:23 tank dkms[443]: - Uninstallation
    May 17 20:41:23 tank dkms[443]: - Deleting from: /usr/lib/modules/4.0.3-1-ARCH/kernel/drivers/net/wireless/
    May 17 20:41:23 tank dkms[443]: - Original module
    May 17 20:41:23 tank dkms[443]: - No original module was found for this module on this kernel.
    May 17 20:41:23 tank dkms[443]: - Use the dkms install command to reinstall any previous module version.
    May 17 20:41:26 tank dkms[443]: depmod....
    May 17 20:41:26 tank dkms[443]: /usr/sbin/dkms: line 1873: echo: write error: Broken pipe
    May 17 20:41:26 tank dkms[443]: /usr/sbin/dkms: line 1875: echo: write error: Broken pipe
    May 17 20:41:26 tank dkms[443]: /usr/sbin/dkms: line 1873: echo: write error: Broken pipe
    May 17 20:41:26 tank dkms[443]: /usr/sbin/dkms: line 1875: echo: write error: Broken pipe
    May 17 20:41:26 tank dkms[443]: /usr/sbin/dkms: line 1873: echo: write error: Broken pipe
    May 17 20:41:26 tank dkms[443]: /usr/sbin/dkms: line 1875: echo: write error: Broken pipe
    May 17 20:41:26 tank dkms[443]: /usr/sbin/dkms: line 1873: echo: write error: Broken pipe
    May 17 20:41:26 tank dkms[443]: /usr/sbin/dkms: line 1875: echo: write error: Broken pipe
    May 17 20:41:26 tank dkms[443]: DKMS: uninstall completed.
    May 17 20:41:26 tank dkms[443]: Error! Problems with depmod detected. Automatically uninstalling this module.
    May 17 20:41:26 tank dkms[443]: DKMS: Install Failed (depmod problems). Module rolled back to built state.
    May 17 20:41:26 tank systemd[1]: Started Dynamic Kernel Modules System.
    Apart from telling me that the broadcom-wl install failed, I don't see much in there.
    Any clue on what's going on? Thanks!
    Last edited by Gyscos (2015-05-18 08:25:32)

    The open source driver might work or might not. For me it was extremely unreliable and slow. Use the broadcom-wl driver or b43 like ugjk suggests.The wl driver is in aur.

  • Nvidia problem after kernel update

    I moved from 2.6.15 to 2.6.16 with ABS and now my nvidia isn't working.
    When I run pacman -S nvidia, I see:
    INSTALLATION FAILED
    => You have to shutdown X-server to finish installation! You have to rerun pacman -s nvidia
    And I am sure that I've shutdown my X, I even removed /tmp/.X0-lock
    Can anyone help me 

    :? I don't understand, I have my kernel sources at /usr/src/linux-2.6.16-ARCH and I have /lib/modules/linux-2.6.16-ARCH but the ABS is /var/abs/testing/kernels/kernel26/pkg/lib/modules/2.6.16-ARCH
    The logfile talks about /opt/nvidia but I dont have that
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Fri Mar 31 10:42:51 2006
    option status:
    license pre-accepted : true
    update : false
    force update : false
    expert : false
    uninstall : false
    driver info : false
    no precompiled interface: true
    no ncurses color : false
    query latest driver ver : false
    OpenGL header files : false
    no questions : true
    silent : false
    no backup : false
    kernel module only : false
    sanity : false
    add this kernel : false
    no runlevel check : true
    no network : true
    no ABI note : false
    no RPMs : false
    force tls : (not specified)
    force compat32 tls : (not specified)
    X install prefix : /usr
    OpenGL install prefix : /usr
    compat32 install prefix : (not specified)
    installer install prefix: /usr
    utility install prefix : /usr
    kernel name : (not specified)
    kernel include path : (not specified)
    kernel source path : (not specified)
    kernel output path : (not specified)
    kernel install path : (not specified)
    proc mount point : /proc
    ui : none
    tmpdir : /tmp
    ftp mirror : ftp://download.nvidia.com
    RPM file list : (not specified)
    Using built-in stream user interface
    -> License accepted by command line option.
    -> Not probing for precompiled kernel interfaces.
    -> Performing CC test with CC="cc".
    -> Kernel source path: '/lib/modules/2.6.16-ARCH/build'
    -> Kernel output path: '/lib/modules/2.6.16-ARCH/build'
    -> Performing rivafb check.
    -> Performing nvidiafb check.
    -> Cleaning kernel module build directory.
    executing: 'cd ./usr/src/nv; make clean'...
    rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
    agp.o os-interface.o os-registry.o nvidia.mod.o
    rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
    rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
    rm -f -f stprof stprof.o symtab.h
    rm -f -rf .tmp_versions
    -> Building kernel module:
    executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.16-ARCH/bui
    ld SYSOUT=/lib/modules/2.6.16-ARCH/build'...
    NVIDIA: calling KBUILD...
    make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.16-ARCH/build SUBDIRS=/opt/
    nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv modules
    mkdir -p /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/.tmp_versions
    make -f scripts/Makefile.build obj=/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg
    0/usr/src/nv
    echo #define NV_COMPILER "`cc -v 2>&1 | tail -n 1`" > /opt/nvidia/NVIDIA-
    Linux-x86-1.0-8178-pkg0/usr/src/nv/nv_compiler.h
    cc -Wp,-MD,/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/.nv.o.d
    -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include -D__KERNEL__
    -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototyp
    es -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -f
    omit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i
    686 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-point
    er-sign -I/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv -Wall -Wimpl
    icit -Wreturn-type -Wswitch -Wformat -W
    char-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -f
    no-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAM
    ES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1
    -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MU
    LTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_CHANGE_PAGE_ATT
    R_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"
    -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /opt/nvidia/NVIDIA-Linux-x86-1.0
    -8178-pkg0/usr/src/nv/nv.o /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/sr
    c/nv/nv.c
    In file included from include/linux/list.h:7,
    from include/linux/wait.h:23,
    from include/asm/semaphore.h:41,
    from include/linux/sched.h:20,
    from include/linux/module.h:10,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv-linux.h:47,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv.c:14:
    include/linux/prefetch.h: In function 'prefetch_range':
    include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arith
    metic
    In file included from include/linux/dmapool.h:14,
    from include/linux/pci.h:522,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv-linux.h:71,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv.c:14:
    include/asm/io.h: In function 'check_signature':
    include/asm/io.h:258: warning: wrong type argument to increment
    In file included from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv.c:14:
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv-linux.h:715:2: warn
    ing: #warning "conftest.sh failed, assuming remap_page_range(4)!"
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c: In function 'nvo
    s_get_agp_device_by_class':
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c:503: warning: imp
    licit declaration of function 'pci_find_class'
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c:503: warning: ass
    ignment makes pointer from integer without a cast
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c:517: warning: ass
    ignment makes pointer from integer without a cast
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c: In function 'nv_
    kern_mmap':
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c:1983: warning: im
    plicit declaration of function 'remap_page_range'
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c: In function 'nvo
    s_count_devices':
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c:3646: warning: as
    signment makes pointer from integer without a cast
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c:3652: warning: as
    signment makes pointer from integer without a cast
    cc -Wp,-MD,/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/.nv-vm.o.
    d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include -D__KERNE
    L__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prot
    otypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2
    -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -marc
    h=i686 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-po
    inter-sign -I/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv -Wall -Wi
    mplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpo
    inter-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wn
    o-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -
    DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEV
    EL=8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV
    _PM_MESSAGE_T_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(
    s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(n
    vidia)" -c -o /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv-vm.o
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv-vm.c
    In file included from include/linux/list.h:7,
    from include/linux/wait.h:23,
    from include/asm/semaphore.h:41,
    from include/linux/sched.h:20,
    from include/linux/module.h:10,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv-linux.h:47,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv-vm.c:14:
    include/linux/prefetch.h: In function 'prefetch_range':
    include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arith
    metic
    In file included from include/linux/dmapool.h:14,
    from include/linux/pci.h:522,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv-linux.h:71,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv-vm.c:14:
    include/asm/io.h: In function 'check_signature':
    include/asm/io.h:258: warning: wrong type argument to increment
    In file included from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv-vm.c:14:
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv-linux.h:715:2: warn
    ing: #warning "conftest.sh failed, assuming remap_page_range(4)!"
    cc -Wp,-MD,/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/.os-agp.o
    .d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include -D__KERN
    EL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pro
    totypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2
    -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -mar
    ch=i686 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-p
    ointer-sign -I/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv -Wall -W
    implicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wp
    ointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -W
    no-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM
    -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLE
    VEL=8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DN
    V_PM_MESSAGE_T_PRESENT -D
    NV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAM
    E=KBUILD_STR(os_agp)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /opt/nvid
    ia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/os-agp.o /opt/nvidia/NVIDIA-Lin
    ux-x86-1.0-8178-pkg0/usr/src/nv/os-agp.c
    In file included from include/linux/list.h:7,
    from include/linux/wait.h:23,
    from include/asm/semaphore.h:41,
    from include/linux/sched.h:20,
    from include/linux/module.h:10,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv-linux.h:47,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    os-agp.c:24:
    include/linux/prefetch.h: In function 'prefetch_range':
    include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arith
    metic
    In file included from include/linux/dmapool.h:14,
    from include/linux/pci.h:522,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv-linux.h:71,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    os-agp.c:24:
    include/asm/io.h: In function 'check_signature':
    include/asm/io.h:258: warning: wrong type argument to increment
    In file included from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    os-agp.c:24:
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv-linux.h:715:2: warn
    ing: #warning "conftest.sh failed, assuming remap_page_range(4)!"
    cc -Wp,-MD,/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/.os-inter
    face.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include -D
    __KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstri
    ct-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding
    -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2
    -march=i686 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -
    Wno-pointer-sign -I/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv -Wa
    ll -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -W
    parentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -W
    sign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -D
    MODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION
    =0 -DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPG
    ART_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODUL
    E -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KBUI
    LD_MODNAME=KBUILD_STR(nvidia)" -c -o /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-p
    kg0/usr/src/nv/os-interface.o /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr
    /src/nv/os-interface.c
    In file included from include/linux/list.h:7,
    from include/linux/wait.h:23,
    from include/asm/semaphore.h:41,
    from include/linux/sched.h:20,
    from include/linux/module.h:10,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv-linux.h:47,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    os-interface.c:26:
    include/linux/prefetch.h: In function 'prefetch_range':
    include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arith
    metic
    In file included from include/linux/dmapool.h:14,
    from include/linux/pci.h:522,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv-linux.h:71,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    os-interface.c:26:
    include/asm/io.h: In function 'check_signature':
    include/asm/io.h:258: warning: wrong type argument to increment
    In file included from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    os-interface.c:26:
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv-linux.h:715:2: warn
    ing: #warning "conftest.sh failed, assuming remap_page_range(4)!"
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/os-interface.c: In fun
    ction 'os_set_mlock_capability':
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/os-interface.c:1375: e
    rror: 'struct task_struct' has no member named 'rlim'
    make[3]: *** [/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/os-inter
    face.o] Error 1
    make[2]: *** [_module_/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv]
    Error 2
    NVIDIA: left KBUILD.
    nvidia.ko failed to build!
    make[1]: *** [mdl] Error 1
    make: *** [module] Error 2
    -> Error.
    ERROR: Unable to build the NVIDIA kernel module.
    ERROR: Installation has failed. Please see the file
    '/var/log/nvidia-installer.log' for details. You may find suggestions
    on fixing installation problems in the README available on the Linux
    driver download page at www.nvidia.com.

  • VirtualBox does not start correctly after kernel update

    Just recently I have been unable to start VirtualBox after a kernel update. That is to say it seems to be running, but displays nothing.
    The following processes are listed: VirtualBox, VBoxSVC, VBoxSVC, VBoxXPCOMPCD
    The following modules are loaded: vboxdrv, vboxnetflt, vboxnetadp
    Yesterday, when the same thing happened, I reinstalled VirtualBox and it worked correctly again.
    I recently upgraded to systemd which has caused me some other problems, so that might have something to do with it
    Cheers
    Andrew
    * Arch x86_64 up to date, NVidia proprietary drivers, AMD processor

    Updated - Rebooted (systemd does hang on reboot or shutdown but turned PC off and restarted)
    Confirmed that vbox modules are loaded:
    vboxnetflt             16807  0
    vboxnetadp             18419  0
    vboxdrv              1823469  2 vboxnetadp,vboxnetflt
    Started VirtualBox - nothing displayed.
    ps -el shows
    0 S   501  1036   614  0  80   0 - 111245 futex_ ?       00:00:00 VirtualBox
    0 S   501  1050     1  0  80   0 - 29408 poll_s ?        00:00:00 VBoxXPCOMIPCD
    0 S   501  1056     1  0  80   0 - 53178 futex_ ?        00:00:00 VBoxSVC
    output as above
    $ uname -a
    Linux ezcool 3.6.4-1-ARCH #1 SMP PREEMPT Mon Oct 29 09:49:00 CET 2012 x86_64 GNU/Linux
    # pacman -Qi linux
    Name : linux
    Version : 3.6.4-1
    URL : http://www.kernel.org/
    Licenses : GPL2
    Groups : base
    Provides : kernel26=3.6.4
    Depends On : coreutils linux-firmware kmod mkinitcpio>=0.7
    Optional Deps : crda: to set the correct wireless channels of your country
    Required By : nvidia virtualbox-host-modules
    Conflicts With : kernel26
    Replaces : kernel26
    Installed Size : 61124.00 KiB
    Packager : Tobias Powalowski <[email protected]>
    Architecture : x86_64
    Build Date : Mon 29 Oct 2012 09:55:27 CET
    Install Date : Wed 31 Oct 2012 12:28:40 CET
    Install Reason : Explicitly installed
    Install Script : Yes
    Description : The linux kernel and modules
    # pacman -Qi virtualbox-host-modules
    Name : virtualbox-host-modules
    Version : 4.2.4-2
    URL : http://virtualbox.org
    Licenses : GPL
    Groups : None
    Provides : None
    Depends On : linux>=3.6 linux<3.7
    Optional Deps : None
    Required By : virtualbox
    Conflicts With : virtualbox-modules
    Replaces : virtualbox-modules
    Installed Size : 168.00 KiB
    Packager : Evangelos Foutras <[email protected]>
    Architecture : x86_64
    Build Date : Mon 29 Oct 2012 17:23:20 CET
    Install Date : Wed 31 Oct 2012 12:29:06 CET
    Install Reason : Installed as a dependency for another package
    Install Script : Yes
    Description : Host kernel modules for VirtualBox
    Kill all VBox processes, VBoxSVC does not quit but is marked (defunct)
    Reload modules
    Confirm modules loaded
    vboxnetflt             16807  0
    vboxnetadp             18419  0
    vboxdrv              1823469  2 vboxnetadp,vboxnetflt
    Start VirtualBox - nothing
    pacman -Rdd virtualbox-host-modules
    pacman -S virtualbox-host-modules
    modprobe vboxdrv
    Start VirtualBox - nothing
    pacman -R virtualbox virtualbox-host-modules
    pacman -S virtualbox virtualbox-host-modules
    useradd -G vboxusers
    Start VirtualBox - nothing
    The problem seems to be something to do with nspr-2. I am getting multiple errors in the journal:
    Oct 31 14:16:46 ezcool kernel: INFO: task nspr-2:1007 blocked for more than 120 seconds.
    Oct 31 14:16:46 ezcool kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    Oct 31 14:16:46 ezcool kernel: nspr-2 D 0000000000000246 0 1007 1 0x00000000
    Oct 31 14:16:46 ezcool kernel: ffff8803d67b9d68 0000000000000082 ffff8803d65b0810 ffff8803d67b9fd8
    Oct 31 14:16:46 ezcool kernel: ffff8803d67b9fd8 ffff8803d67b9fd8 ffff8804194a58b0 ffff8803d65b0810
    Oct 31 14:16:46 ezcool kernel: ffff880300000041 ffffffff8119df46 ffff88042fffdb08 0000000000000001
    Oct 31 14:16:46 ezcool kernel: Call Trace:
    Oct 31 14:16:46 ezcool kernel: [<ffffffff8119df46>] ? mntput+0x26/0x40
    Oct 31 14:16:46 ezcool kernel: [<ffffffff811251cc>] ? __alloc_pages_nodemask+0x16c/0x960
    Oct 31 14:16:46 ezcool kernel: [<ffffffff81491a09>] schedule+0x29/0x70
    Oct 31 14:16:46 ezcool kernel: [<ffffffff81491cd7>] schedule_preempt_disabled+0x27/0x40
    Oct 31 14:16:46 ezcool kernel: [<ffffffff81490368>] __mutex_lock_slowpath+0x148/0x340
    Oct 31 14:16:46 ezcool kernel: [<ffffffff81490576>] mutex_lock+0x16/0x30
    Oct 31 14:16:46 ezcool kernel: [<ffffffffa001cbfb>] show_product+0x2b/0x60 [usbcore]
    Oct 31 14:16:46 ezcool kernel: [<ffffffff8132cc90>] dev_attr_show+0x20/0x60
    Oct 31 14:16:46 ezcool kernel: [<ffffffff8112146e>] ? __get_free_pages+0xe/0x50
    Oct 31 14:16:46 ezcool kernel: [<ffffffff811ef969>] sysfs_read_file+0xa9/0x190
    Oct 31 14:16:46 ezcool kernel: [<ffffffff8117f785>] vfs_read+0xa5/0x180
    Oct 31 14:16:46 ezcool kernel: [<ffffffff8117f8aa>] sys_read+0x4a/0xa0
    Oct 31 14:16:46 ezcool kernel: [<ffffffff81499ded>] system_call_fastpath+0x1a/0x1f
    Any ideas?

Maybe you are looking for