Installing 12.04.5 headless multiple GPU server/CUDA6.0 - 12.10 not supported anymore

Discussion in 'Installation/Configuration' started by danhansen@denmark, Aug 14, 2014.

  1. danhansen@denmark

    danhansen@denmark Member HowtoForge Supporter

    Hello friends ;)

    I've been running a few headless multiple GPU boinc servers on 12.10/CUDA5.5 because of the "bug" in the 12.04.4 update. But, 12.10 is not supported any more. https://developer.nvidia.com/cuda-toolkit-55-archive
    I noticed that there's no warning at CUDA6.0/Ubuntu 12.04.5 so I tried to build the system using these. Everything went pretty well until I got to this command (which worked fine in 12.10/CUDA5.5). Please help me edit or correct this command so that it can be done. Here's the command and the errors which appeared:

    Code:
    
    # apt-get install linux-image-extra-$(uname -r) x11-xserver-utils mesa-utils
    
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    
    E: Unable to locate package linux-image-extra-3.13.0-32-generic
    E: Couldn't find any package by regex 'linux-image-extra-3.13.0-32-generic'
    
    
    Here's a few additional commands I use, so that you can maybe get an idea of what I'm doing:

    Code:
    
    [...]
    
    #19 # apt-get install linux-image-extra-$(uname -r) x11-xserver-utils mesa-utils   <----- errors because of this command
    
    #20 # modprobe nvidia
    
    #21 # nvidia-xconfig --enable-all-gpus
    
    #22  cp /etc/X11/XF86Config /etc/X11/xorg.conf
    
    [...]
    
    
    Looking forward to hear from anyone ;)

    .
     
  2. srijan

    srijan New Member HowtoForge Supporter

  3. danhansen@denmark

    danhansen@denmark Member HowtoForge Supporter

    Content of /etc/apt/sources.list

    Hi Srijan,


    Thanks for helping my friend ;)

    It doesn't seem to be in the file. Here's the content of /etc/apt/sources.list
    As I wrote earlier on, I've got 3 systems running 12.10/CUDA5.5 which works just fine. Should I list /etc/apt/sources.list from one of those systems, so that we can compare it? Or doesn't these lines have to be in 12.10 to work?

    Content of /etc/apt/sources.list:

    Code:
    # vi /etc/apt/sources.list
    
    deb http://dk.archive.ubuntu.com/ubuntu/ precise main restricted
    deb-src http://dk.archive.ubuntu.com/ubuntu/ precise main restricted
    
    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://dk.archive.ubuntu.com/ubuntu/ precise-updates main restricted
    deb-src http://dk.archive.ubuntu.com/ubuntu/ precise-updates main restricted
    
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team. Also, please note that software in universe WILL NOT receive any
    ## review or updates from the Ubuntu security team.
    deb http://dk.archive.ubuntu.com/ubuntu/ precise universe
    deb-src http://dk.archive.ubuntu.com/ubuntu/ precise universe
    deb http://dk.archive.ubuntu.com/ubuntu/ precise-updates universe
    deb-src http://dk.archive.ubuntu.com/ubuntu/ precise-updates universe
    
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    ## security team.
    deb http://dk.archive.ubuntu.com/ubuntu/ precise multiverse
    deb-src http://dk.archive.ubuntu.com/ubuntu/ precise multiverse
    deb http://dk.archive.ubuntu.com/ubuntu/ precise-updates multiverse
    deb-src http://dk.archive.ubuntu.com/ubuntu/ precise-updates multiverse
    
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    deb http://dk.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
    deb-src http://dk.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
    
    deb http://security.ubuntu.com/ubuntu precise-security main restricted
    deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
    deb http://security.ubuntu.com/ubuntu precise-security universe
    deb-src http://security.ubuntu.com/ubuntu precise-security universe
    deb http://security.ubuntu.com/ubuntu precise-security multiverse
    deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
    
    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository.
    ## This software is not part of Ubuntu, but is offered by Canonical and the
    ## respective vendors as a service to Ubuntu users.
    # deb http://archive.canonical.com/ubuntu precise partner
    # deb-src http://archive.canonical.com/ubuntu precise partner
    
    ## Uncomment the following two lines to add software from Ubuntu's
    ## 'extras' repository.
    ## This software is not part of Ubuntu, but is offered by third-party
    ## developers who want to ship their latest software.
    # deb http://extras.ubuntu.com/ubuntu precise main
    # deb-src http://extras.ubuntu.com/ubuntu precise main
    
    
     
  4. srijan

    srijan New Member HowtoForge Supporter

    Hi Dan,

    Your 12.04 don't seem to be upgraded with the latest kernel. Do one trick, first upgrade the system to latest one with latest updates. Use

    Further check with this command if you have linux-image-generic latest installed use:
    Then try to install linux-image-extra
     
  5. danhansen@denmark

    danhansen@denmark Member HowtoForge Supporter

    Hi Srijan,


    Regarding the update & upgrade command I does these several times during the Boinc Server installation. I'm pretty sure i did this more times than necassary, but I'll do it again right now of course ;)

    The ToDo changes the "stamp" or "version number" or what its called, or I think it does.

    Code:
    # lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 12.04.5 LTS
    Release:        12.04
    Codename:       precise
    
    Code:
    # uname -a
    Linux beaufort 3.13.0-32-generic #57~precise1-Ubuntu SMP Tue Jul 15 03:51:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
    
    Code:
    # cat /proc/version
    Linux version 3.13.0-32-generic (buildd@phianna) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #57~precise1-Ubuntu SMP Tue Jul 15 03:51:20 UTC 2014
    


    Result of update & upgrade:

    Code:
    # apt-get upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages have been kept back:
      linux-headers-generic-lts-trusty linux-image-generic-lts-trusty
    0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
    


    Regarding "apt-get upgrade linux-image-generic" I'll try that right away!!

    Here's a copy of relevant stuff in my ToDo as it was when I installed the 12.10 system.:

    Code:
    Headless Ubuntu Server 12.10 64bit Multiple Boinc Server:
    SOLVED! 11.03.2014 Kl. 04:51
    
    [...]
    # apt-get install build-essential linux-headers-`uname -r`
    # wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1210/x86_64/cuda-repo-ubuntu1210_5.5-0_amd64.deb
    # dpkg -i cuda-repo-ubuntu1210_5.5-0_amd64.deb
    # apt-get update
    # apt-get install cuda-5-5
    # export CUDA_HOME=/usr/local/cuda-5.5
    # export LD_LIBRARY_PATH=${CUDA_HOME}/lib64
    # PATH=${CUDA_HOME}/bin:${PATH}
    # export PATH
    
    # reboot -h now
    # apt-get install linux-image-extra-$(uname -r) x11-xserver-utils mesa-utils
    # modprobe nvidia
    # nvidia-xconfig --enable-all-gpus
    # cp /etc/X11/XF86Config /etc/X11/xorg.conf
    
    Install Boinc!
    

    Result of "apt-get upgrade linux-image-generic":


    Code:
    # apt-get upgrade linux-image-generic
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages have been kept back:
      linux-headers-generic-lts-trusty linux-image-generic-lts-trusty
    0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
    
     
    Last edited: Aug 14, 2014

Share This Page