/srv/irclogs.ubuntu.com/2017/06/09/#ubuntu-server.txt

kuwerHello!00:47
kuwerI want to install a driver for my nvidia geforce 8400 cs video card00:47
kuwerI am following this tutorial http://ubuntuguide.net/install-latest-nvidia-graphics-drivers-in-ubuntu-linux but it seems different00:48
kuwerPerhaps it was donne for an older ubuntu server version00:48
kuwerCould someone help me please?00:48
kuwerI already downloaded NVIDIA-Linux-x86_64-340.102.run file from nvidia website00:48
sarnoldkuwer: that guide looks eight years old or so. it's probably fair to ignore it entirely.01:08
patdk-l2I always thought you just install the normal nvidia package and be done with it01:09
patdk-l2unless you want to do something odd, like use cuba in your applications for like bitcoin01:09
patdk-l2then your going have hell and be mostly on your own, cause that crap is not fun01:09
kuwerpatdk-l2: well, yes. I need Cuba, OpenCL01:09
sarnoldI don't think anyone does bitcoin mining on gpus anymore01:09
patdk-l2atleast I gave up on it, and it takes a lot to do that01:09
patdk-l2sarnold, I know a guy that just setup 12 amd video cards for it this week01:10
kuwerI am not mining bitcoins but other coinis01:10
sarnoldpatdk-l2: yikes01:10
kuweryeah, Bytecoin, Ethereum, well there is hundreds01:10
sarnoldthis wiki page suggests 'sudo ubuntu-drivers devices' is a good starting point https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia01:11
sarnoldwhat's funny is it jumps from that right into installing nvidia-nnn   -- maybe nvidia users are forced to install the new driver updates by hand? dunno..01:11
patdk-l2they have to01:11
sarnoldanyway based on this wiki the first thing I'd try is "apt-get install nvidia-375"01:11
patdk-l2cause the ones in ubuntu don't have the cuba stuff in them01:12
patdk-l2get a intel phi :)01:12
kuwerThe correct driver for my video card is NVIDIA-Linux-x86_64-340.10201:12
kuwerI could use wget http://us.download.nvidia.com/XFree86/Linux-x86_64/340.102/NVIDIA-Linux-x86_64-340.102.run01:15
kuwerchmod u+x NVIDIA-Linux-x86_64-190.42-pkg2.run01:15
kuwerups01:15
kuwerchmod u+x 340.102/NVIDIA-Linux-x86_64-340.102.run01:16
kuwerchmod u+x NVIDIA-Linux-x86_64-340.102.run01:16
kuwersudo apt-get install linux-headers-$(uname -r) build-essential01:16
kuwerIs that necessary?01:16
sarnoldprobably; you have to compile portions of the drivers on your system01:17
kuwerHow about https://askubuntu.com/questions/66328/how-do-i-install-the-latest-nvidia-drivers-from-the-run-file01:20
kuwerUsed chmod +x driver01:28
kuwerthen sudo ./driver.run01:28
kuwerAnd http://imgur.com/a/Vk5iu01:29
sarnoldkuwer: pastebin the logfile?01:29
sarnold(the pastebinit tool from the pastebinit package can make that easy)01:29
kuwersarnold: this is the log file01:29
sarnoldis that the WHOLE log file? or just the last few lines?01:30
kuwerlast few lines01:30
sarnoldgood good :) pastebin the whole thing and then we might stand a chance of spotting the error01:31
kuwerhow can I send out from the server this line?01:31
sarnoldapt-get install pastebinit ; pastebinit /var/log/nvidia-installers.log01:32
kuwerpaste.ubuntu.com/2481222401:33
kuwerPerhaps this driver was not meant to server01:34
sarnoldWARNING: You do not appear to have an NVIDIA GPU supported by the 340.102 NVIDIA Linux graphics driver installed in this system01:34
sarnoldare you sure that your card is supported by this driver/ I hear they are aggressive about dropping support for 'old' hardware01:35
kuwerThis is not the latest driver01:36
kuwerI went to nvidia and check for my video card model driver01:36
kuwerAnd this is the one it pointed me to01:36
kuwerAs http://imgur.com/a/vHo8c01:38
kuwerMaybe I should Run 'make oldconfig && make prepare' on kernel src to fix it.";01:39
sarnoldI don't think that would help01:40
sarnoldkuwer: the patches on https://gist.github.com/tpruzina look promising01:43
sarnoldkuwer: from your pastebin, the actual errors are starting on lines 3588 and then in 359801:44
sarnoldall look like hotplug cpu related01:44
sarnoldkuwer: so try making the same changes that the patch that disables the hotplug support ..01:44
kuwerWell, something I got to say is I am running this Ubuntu Server on a VirtualBox machine just to test.01:45
patdk-l2dunno how that would work01:46
kuwerProbably I will be doing the same procedure soon on a ssd driver I am waiting01:46
kuwerI don´t think there is path for my driver version01:51
sarnolddid you pass the pci through?01:52
kuwerwhat do you mean, sorry01:52
sarnoldin order to use devices inside vms you have to use pci passthrough01:53
sarnoldI've never tried it before01:53
kuwerOh, not really.01:54
kuwerLet me check that01:54
kuwerNot sure where to set PCIE01:58
kuwerChecking01:58
kuwerDon´t think my BIOS has BIOS that has the IOMMU02:10
=== zzz is now known as zero
=== zero is now known as zzz
=== med_ is now known as Guest6511
=== JanC_ is now known as JanC
lordievader[m]Good morning07:42
jamespagecoreycb: checklist via PPA for pike b2 - https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/2808/+packages09:12
=== ogra_ is now known as ogra
=== ogra_ is now known as ogra
=== ogra is now known as ogra_
zuljamespage:  looks like you need zunclient now13:03
jamespagezul: and some13:03
jamespagezul: https://launchpad.net/ubuntu/artful/+queue?queue_state=0&queue_text=python13:03
zulahaha13:03
hashwagonHey nacc, do you have any example of a preseed copy? A file copy from USB/CDROM to the newly installed system if possible. Google isn't being useful to me.15:19
nacchashwagon: https://help.ubuntu.com/lts/installation-guide/example-preseed.txt down at the advanced options15:24
nacchashwagon: that's how you run any old shell command15:25
naccmwhudson: jamespage: is it expected that there is no python-celery-sphinx? I think the new celery is loading a module from it, but there's only python3-celery-sphinx, afaict15:26
naccs/celery-sphinx/sphinx-celery/15:26
tomreynhashwagon: a more complex example: https://github.com/gc3-uzh-ch/openstack-tools/blob/master/etc/ubuntu-preseed.cfg#L48915:26
nacctomreyn: nice, thanks!15:27
tomreynand here you got a copy https://lists.ubuntu.com/archives/ubuntu-installer/2007-December/000130.html15:27
tomreynoops this one doesn't work, sorry15:28
tomreynthis one uses 'cp' an is said to work https://help.ubuntu.com/community/InstallCDCustomization/PreseedExamples15:31
jamespagenacc: hmm that's odd15:38
jamespageI would expect both versions15:38
* jamespage looks15:38
hashwagontomreyn, nacc, thanks guys.15:45
mwhudsonnacc: no idea15:51
naccjamespage: yeah, it's surprising to me -- i also only see python3 in debian (afaict)16:08
naccmwhudson: np, thanks16:08
jamespagenacc: apparently that's right but I have no idea why there is no py216:09
jamespagemaybe the maintainer was being visionary!16:09
naccjamespage: yeah, and i think celery won't build without the py2 -- or I have to dig a bit into the internals16:10
naccjamespage: i'm looking to see if it's easy to add -- it seems like it's unexpected to only be py2 (and the debian side is just a trival stdeb generated thing (it seems). I wonder if it's just oversight16:27
naccjamespage: http://paste.ubuntu.com/24816633/ it builds. I'm verifying the autopkgtest now16:57
naccjamespage: tests pass, and it is exactly what fails with celery (import'ing sphinx_celery) :)17:03
hashwagonIs it normal for a 16.04 server preceed install to have GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" in /etc/default/grub? This prevents me from booting to a tty unless I remove quiet and splash.17:52
hashwagonsed command to resolve that: http://downloads.linux.hpe.com/SDR/project/minnow/current/Ubuntu_16.04_RAID1_preseed.cfg - odd behavior though..17:56
jerichowasahoaxI created a new apache2 vhost at a specific subdomain, and now my default vhost is being clobbered. What gives?18:19
compdoccreator typo18:21
jerichowasahoaxThe vhost in question: https://paste.pound-python.org/show/aZwN2OyZqjb3ee74YiZQ/18:21
jerichowasahoaxNote there are no wildcards in that vhost, and yet it's answering to ALL requests, not just ones directed at mantis.lavacano.net18:22
jerichowasahoaxI've currently disabled that site configuration.18:22
jerichowasahoaxGoogle says something about a NameVirtualHost directive but it doesn't appear to actually do anything18:23
sarnold"If multiple virtual hosts contain the best matching IP address and port, the server selects from these virtual hosts the best match based on the requested hostname. If no matching name-based virtual host is found, then the first listed virtual host that matched the IP address will be used. As a consequence, the first listed virtual host for a given IP address and port combination is the default virtual host for that IP and port combi18:25
sarnoldhttps://httpd.apache.org/docs/2.4/mod/core.html#virtualhost18:25
sarnoldthat's my guess..18:25
jerichowasahoaxsarnold: Assuming 000-default.conf is parsed before 100-mantis.conf, then *:80 should come first and take priority, no?18:26
sarnoldhttps://httpd.apache.org/docs/2.4/vhosts/ suggests using apachectl -S  to dump the parsed configuration as a useful troubleshooting tip18:26
sarnoldjerichowasahoax: I'd hope so :)18:26
tomreynjerichowasahoax: instead of <VirtualHost mantis.lavacano.net:80> you'd usually use <VirtualHost 149.56.132.23:80>18:29
tomreynusing hostnames there is "not recommended"18:29
tomreynhttps://httpd.apache.org/docs/2.4/mod/core.html#virtualhost18:29
jerichowasahoaxtomreyn: But that IP address points to a couple different FQDNs, as I'm sure you noticed while you were checking my DNS records18:30
tomreynjerichowasahoax: if you mean the alias, there's only one18:30
tomreynmantis.lavacano.net is an alias for andariel.lavacano.net.18:30
jerichowasahoaxtomreyn: Not the CNAME, the IP itself18:30
jerichowasahoaxtomaw: and andariel.lavacano.net when contacted directly should be serving different content18:31
jerichowasahoaxer18:31
tomreynoh your mean PTR records?18:31
jerichowasahoaxtomreyn: see above18:31
tomreynthat's what ServerName is for18:31
tomreynsee the example in the docs i pointed to18:32
jerichowasahoaxServerName isn't working either18:32
tomreynVirtualHost uses an ip address, ServerName an FQDN18:32
jerichowasahoaxor now it is18:32
* jerichowasahoax makes a mental note: any virtualhost that isn't <VirtualHost *:80> is practically invalid18:33
tomreynif thisis a general statement then i'd disagree18:34
jerichowasahoaxi know the technical explanation is "explicitly defined addresses take priority over wildcards"18:34
jerichowasahoaxwhich is why "mantis.lavacano.net" was clobbering things18:34
jerichowasahoaxbut if I don't overgeneralize I'll just keep screwing that up over and over and over18:34
tomreynVirtualHost defines the ip address + port to service this ServerName FQDN on.18:35
jerichowasahoaxtomreyn: apachectl -S was putting "149.56.132.23:80" over "*:80"18:35
sarnoldahh because it's more specific..18:35
jerichowasahoaxsarnold: yes18:35
sarnoldsigh stupid complicated mess18:35
jerichowasahoaxto be fair, the google results and docs weren't entirely clear on exactly what i was trying to put where18:36
jerichowasahoaxall they really said was "VirtualHost some.domain.com" and "VirtualHost some.domain2.com"18:36
jerichowasahoaxit didn't occur to me that they were assuming those names had different addresses18:37
SuperLagDo you folks have any recommendations to *automatically* do some kernel cleanup, so /boot doesn't keeep filling up?19:39
SuperLagit'd be nice to only keep 2-3 kernels...19:39
compdochow about: sudo apt autoremove19:39
sarnoldSuperLag: do you have /etc/kernel/postinst.d/apt-auto-removal on your system? it should auto-generate a list of packages to keep in /etc/apt/apt.conf.d/01autoremove-kernels that works with /etc/apt/apt.conf.d/01autoremove19:41
SuperLagsarnold: I wasn't aware of that. I'll investigate.19:42
SuperLagthank you, btw!19:42
=== unreal_ is now known as unreal
=== oerheks_ is now known as oerheks

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!