« first day (3471 days earlier)      last day (1491 days later) » 
00:00 - 14:0014:00 - 22:00

2:26 PM
@FaheemMitha download from anywhere? I thought that isn't a wise thing to do in general
 
@AdamL from the non-free repository in Debian
In a little more detail: edit /etc/apt/sources.list, add contrib non-free at the end of lines ending with main, then run sudo apt install apt-file, sudo apt update, and then look for packages providing the firmware files you need with apt-file search
 
2:45 PM
so here's a question. My system had an nvidia driver installed and working fine 24 hours ago. I've since completely messed up the driver situation. Is it possible to "boot to a previous kernel" from the command line such that I'll restore the old kernel with the proper driver?
this seems to be what I want: superuser.com/questions/93170/…
 
@duhaime The main issue I see with that approach is that you won't be able to access the remote system at all if you make any mistake that makes it unable to boot.
 
ya, it seems pretty drastic
I'm just not really sure what to try
my goal is pretty simple: I just want to configure a proper nvidia driver on an ubuntu 18.04 machine: askubuntu.com/questions/1225886/…
 
(I've only briefly read your question on Ask Ubuntu and your messages in this chat).
 
ah okay
then you have discovered that I have gotten myself into a quandary
 
@duhaime Have you also updated the kernel since yesterday?
(in contrast to just having installed/uninstalled nvidia drivers).
 
3:02 PM
@DKBose That's sounds like a good idea. I just did the same thing.
 
I'm not sure what updates the kernel
 
@duhaime Remote experimentation is tricky. Is it not possible to get local access to the machine?
 
I have rebooted, does that update the kernel?
not at the moment, as we're forbidden from entering the lab
I only have ssh access presently
maybe I could climb in through the chimney
 
@duhaime Check your logs for kernel updates. Also driver updates.
The probability of locking yourself out of the machine is unfortunately quite high.
 
I'm happy to do so but I'm not sure which logs to poke around in or how driver updates are signified in the logs
I don't want that!
I'd rather go slow and steady
 
3:05 PM
@duhaime /var/log/apt/history.log. And with integers appended.
@duhaime I mean, it is a high possibility no matter what you do. I once talked someone through a remote downgrade of his Debian system (or possibly Ubuntu). So it's possible. But it was definitely a bit tense.
 
@duhaime No, upgrading the whole system would. (I'm not on Ubuntu (nor Debian), so I'm not sure about the actual commands; basically, apt update and then apt upgrade. Did you run something like this?).
 
wow that's intense...
I've run apt upgrade a few times in the past day, yes
I also listed the output of apt list --installed: gist.github.com/duhaime/3e252eb6b752c4a30e18f5be88c9e747
I've broken down and called nvidia for support, but everyone's OOO for #covid
 
3:54 PM
@duhaime What's intense?
@duhaime You're rather more likely to get help here than from Nvidia.
 
yes I think so
you talking someone through a downgrade of their Debian system from afar
is intense!
 
@duhaime Oh, that. Well, I personally didn't have anything on the line, so I didn't mind.
 
haha
 
The most difficult part was getting him to follow instructions. He kept going off and doing whatever entered his head.
@duhaime That's a lot of stuff.
You should try to isolate what's important. I suggest making notes. I always find that helpful.
 
for sure, I'm a minimalist by nature, I'm just not sure what's important to others
this seems hugely relevant: gist.githubusercontent.com/duhaime/…
 
3:58 PM
@duhaime Everything related to the NVIDIA graphics drivers, and the kernel.
I think you can probably throw away everything else.
So did you manage to get those drivers to install? Or strip down the system sufficiently that no NVIDIA drivers were installed?
 
does stack overflow support the show/hide details syntax like github markdown does? so I could keep the gory details for the insatiable but keep them tidy and out of sight?
 
Actually, post dpkg -l | grep nvidia. That shouldn't be too long.
@duhaime There is some kind of censoring mechanism for spoilers. Rarely used here, though.
 
that gives:
```
ii libnvidia-cfg1-440:amd64 440.64.00-0ubuntu1 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-common-440 440.64.00-0ubuntu1 all Shared files used by the NVIDIA libraries
rc libnvidia-compute-390:i386 390.116-0ubuntu0.18.04.1 i386 NVIDIA libcompute package
ii libnvidia-compute-440:amd64 440.64.00-0ubuntu1 amd64 NVIDIA libcompute package
 
Probably someone here knows how to do it. Or you could search.
 
@duhaime What do you think you did to mess up the driver situation? Your logs show you have installed/uninstalled several things. What step did start it all?
 
4:01 PM
well problems arose when I installed Cuda 10.0
 
@duhaime Ah, well that's not too long a list. That should definitely be part of any question. And also check your kernels.
 
what information should I provide from the kernels?
installing Cuda 10.0 made my cuda version incompatible with my driver -- I got the driver version mismatch error
 
dpkg -l | grep linux-image
 
so then I tried to upgrade the driver
that gives:
rc linux-image-4.15.0-48-generic 4.15.0-48.51 amd64 Signed kernel image generic
rc linux-image-4.15.0-74-generic 4.15.0-74.84 amd64 Signed kernel image generic
rc linux-image-4.15.0-76-generic 4.15.0-76.86 amd64 Signed kernel image generic
rc linux-image-4.15.0-88-generic 4.15.0-88.88 amd64 Signed kernel image generic
 
@duhaime You definitely need to install matching drivers.
 
4:03 PM
can you see a driver mismatch?
 
@duhaime You might as well clean up the rc stuff.
 
I'm happy to do so, but am totally out of my depths here
how can I clean up the rc items?
 
@duhaime No. But I don't know the drivers either.
 
could someone who knew the drivers spot the mismatch?
 
@duhaime apt-get purge <anything that is rc>. Don't touch anything else, or bad things will happen.
@duhaime You should have everything written down in an orderly way. Can you post your question again?
 
4:05 PM
sure but I'm really not sure what should be included :/
 
@duhaime It needs to tell the story. Include relevant information.
 
I'm wondering if I should try removing all nvidia drivers and installing afresh, as the nvidia error log plainly informs me that the driver install failed: gist.githubusercontent.com/duhaime/…
 
@duhaime Yes, that sounds reasonable. Unless it makes your system crash. But you should be clear what you are trying to install. And also confirm it works with your card
 
@duhaime That log is relevant, yes. It suggests to look at /var/lib/dkms/nvidia/410.48/build/make.log and /var/log/nvidia-installer.log. What is the content of those files?
 
There's also this:
> WARNING: Unable to determine the path to install the libglvnd EGL vendor library config files. Check that you have pkg-config and the libglvnd development libraries installed, or specify a path with --glvnd-egl-config-path.
Will install libEGL vendor library config file to /usr/share/glvnd/egl_vendor.d
Though with Debian binary files, dependencies should be taken care of. That's one of the many reasons to use them.
What does dpkg -l | grep libglvnd show?
Oh, and one other file to look at is the Xorg log file.
 
4:17 PM
hmm, there is no /var/lib/dkms/nvidia/410.48/build/make.log. The installer log is the file linked above (gist.githubusercontent.com/duhaime/…) -- it references iself
dpkg -l | grep libglvnd returns:
ii  libglvnd-core-dev:amd64                    1.0.0-2ubuntu2.3                                 amd64        Vendor neutral GL dispatch library -- core development files
ii  libglvnd-dev:amd64                         1.0.0-2ubuntu2.3                                 amd64        Vendor neutral GL dispatch library -- development files
ii  libglvnd0:amd64                            1.0.0-2ubuntu2.3                                 amd64        Vendor neutral GL dispatch library
 
Hang on a sec. Why is the nvidia-installer running? I thought you were only installing debs.
If you downloaded something from Nvidia's site and tried to install it, that's a sure prescription for disaster.
Or at least failure.
 
ah yes, I had tried both
 
For one thing, it will install stuff locally, and you won't know it's there.
@duhaime Now you tell us.
 
sorry! I had tried both yesterday, and am not sure what to do at present
the installer log said I should disable nouveau, reboot, then try the installer again
 
@duhaime A good start would be to get rid of the local Nvidia installation.
 
@duhaime Avoid installers.
 
ah okay
 
At least for system stuff.
 
why are the packages preferable to installers?
 
Unless you're an expert, you'll just make a mess.
 
4:27 PM
I certainly have done that
 
@duhaime Ok. Could you please check what is on the "Kernel modules" line in the blocks following "VGA compatible controller: NVIDIA..." in the output of lspci -k?
 
@duhaime Oh, goodness. Lots of reasons.
In your current case, the most compelling reason is that you can't easily tell what you have installed.
If you do a local install, that is.
 
sure thing, I see:
43:00.0 VGA compatible controller: NVIDIA Corporation Device 1e02 (rev a1)
Subsystem: NVIDIA Corporation Device 12a3
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
 
Tim
@StephenKitt: Happy Friday. Will using Debian make me a better software programmer than using Ubuntu? Thanks.
 
@duhaime But the "Kernel driver in use" line still shows no nvidia, right?
 
4:31 PM
ah that's right
that seems like a nice way to see if the driver is being used
 
@duhaime That is my favorite one, better ways may exists of course.
 
but in the output from that command I do see:

43:00.3 Serial bus controller [0c80]: NVIDIA Corporation Device 1ad7 (rev a1)
Subsystem: NVIDIA Corporation Device 12a3
Kernel driver in use: nvidia-gpu
Kernel modules: i2c_nvidia_gpu
does that mean the nvidia-gpu driver is being used by ?something? on the serial bus?
 
4:48 PM
@duhaime Considering you've probably done a local NVDIA installation, I think it would be best if you got rid of everything nvidia related, including any local installations, and start over.
You could also clean up your kernels a bit while you're about it.
 
I'm totally game to do this
The trouble is I had attempted to do just this before, and evidently failed profoundly
let's start with the kernel cleaning bit, how should I clean them up?
 
@duhaime Attempted to do what?
@duhaime apt-get purge <pkg with rc in front>
Only those, nothing else. It's a minor issue, though.
I'd also strongly recommending writing down whatever you are going to do before doing it.
I'd also recommend putting that under version control.
Trying to figure out the local install may be tricky. It's hard to know where an installer will decide to put things.
 
well I need to come back to this in a few hours. Thank you for trying to help me debug what's going on
 
@duhaime Sorry for not really having been of help.
 
not at all, you certainly helped me find a command that shows the driver is not being used
these system level problems are very hard to diagnose--much harder than most application-level problems I encounter
 
5:48 PM
@duhaime A few things you may find useful: according to the doc on download.nvidia.com, nvidia-installer should have a --uninstall option meant to restore the system to its pre-install state. Though I'm afraid it likely won't work as expected if you also installed nvidia-related stuff using apt after having run nvidia-installer.
When in doubt, to know where a loaded module comes from, you can use modinfo (searching for the filename line, e.g. modinfo | grep '^filename') and then use dpkg -S /path/to/file to search for the package which owns that file.
 
6:12 PM
@fra-san That's a good point. I'd run the uninstall option to get rid of the local files. It should be fine if the plan is just to remove all NVIDIA related stuff.
@fra-san Or dlocate.
 
6:28 PM
@FaheemMitha Thanks. I've been using Ubuntu for a while a few years ago (never Debian), but sadly I'm not familiar with even the most basic commands anymore.
 
7:08 PM
@duhaime Some basics: There are two drivers for nvidia cards: nouveau and nvidia. Both mutually incompatible. If one is loaded the other most of the time doesn't work.
@duhaime If you want nvidia: The installed kernel defines the number of the Nvidia driver to use (if it exists). Here is the search page from Nvidia: nvidia.com/Download/index.aspx?lang=en-us
@duhaime
DO NOT DOWNLOAD THOSE, I am linking only to find out what is available from NVIDIA.
@duhaime
says that the driver number should be 440.82 (you had installed 435.21 before borking it (your words)).
@duhaime The exact path to install any of those drivers is usually complex, convoluted and prone to error. Sometimes I think that NVIDIA wants it that way for Linux. You need expert help, I can not stress that enough. Find someone that knows and follow his (and only his) advice.
@duhaime However, I have the impression that using a card for computing (anything) makes it unable to provide video (I might be very wrong, as I am very lost on this area). So, maybe, on installing CUDA you will have everything you actually need.
@duhaime I still believe that you need a full re-install, you have tried everything that is out there making the problem even more complex that it needed to be and creating additional problems.
@duhaime Is there anyone that could physically access the computer and insert an Ubuntu live pen-drive? If it works on a live distro it will work on the installed system. Just an idea .... :-)
@duhaime In any case keep the problem at askubuntu.com, not here, Please. People versed on such issues usually live there, not here.
@duhaime And, good luck. :-)
@Kusalananda Yes, the intr option has been deprecated since kernel 2.6. But, did you know that soft has this warning on the manual ?? :
NB: A so-called "soft" timeout can cause silent data corruption in certain cases.
@Kusalananda Ah, yes, thanks: *Also, @Isaac, good modification of your answer there. +1 *
It becomes easy to correct a mistake when one is told which one is it.
 
@Isaac OpenBSD uses another NFS implementation, but I would expect there to be data corruption if the a softmounted NFS mount goes away for an extended period (triggering the timeout). It's akin to pulling a disk out of a running system.
 
7:27 PM
@Kusalananda There is no more detail of which corruption would occur. A truncated file because it got forcefully stopped in the middle of a copy doesn't sound like "silent corruption" to me. But I really don't remember all the details. The alternative is hard but that blocks for quite long (as long as the server takes to recover).
 
7:38 PM
@Kusalananda [This answer](https://serverfault.com/a/9506/427450)
To this question: What are the advantages/disadvantages of hard versus soft mounts in UNIX?
Seems to apply to UNIX, doesn't it ?
 
@Isaac Yes, it does.
 
@Kusalananda The key issue seems to be: "if your NFS driver caches data"
 
I don't know how much caching is happening. Haven't read the manuals lately.
There is file attribute and name caching mentioned in OpenBSD's mount_nfs manual, but no mentioning of caching of data.
 
@Kusalananda I suppose that that is a very fine issue and that that is not very much relevant to a personal way to backup data. But worth knowing in any case.
@Kusalananda change fine to small, probably conveys better my meaning.
 
8:24 PM
@fra-san dlocate is just a cached version of dpkg -S. It's usually faster.
 
Tim
8:37 PM
@StephenKitt Stephen, do you mean that Debian Stable will not upgrade an application package, e.g. not upgrading Wine 3.0 to Wine 3.1 or higher? Will not upgrade Linux kernel from hypothetically 1.1 to 1.2?
2 days ago, by Stephen Kitt
The “stable” releases don’t get much in the way of updates; only fixes for security issues, shipped continuously, and fixes for serious bugs, which are shipped periodically in point releases. Fixes are normally backported to the version of the package which shipped initially in any given release; there are exceptions, e.g. for Chromium and Firefox ESR.
 
@Tim I believe that this is true.
 
Tim
I have always heard that Debian Stable and Ubuntu LTS are comparable. I am using Ubuntu LTS, and by apt update and apt upgrade I can always get higher versions of Linux kernel and application packages. So how are Debian Stable and Ubuntu LTS comparable?
 
9:16 PM
The good people on the NVIDIA boards got me straightened out! One love
 
@duhaime Glad to hear that!
Is your problem solved, then?
 
@Tim In stable It depends. If some security update or serious bug require the use of a new version to correct the problem, then, any package will get upgraded (updated to the new version). In the specific case of Wine, yes, wine will most of the time will be retained at the version that shiped with the original release of Debian. The kernel, for sure will remain static (in version number, not in the binary file) for the whole life of stable.
@Tim However, testing will get upgraded packages quite quickly since their release from the developer.
In any case, many times (within reason) a newer package could be installed from backports or even from sid (be careful, very careful in this case).
 
00:00 - 14:0014:00 - 22:00

« first day (3471 days earlier)      last day (1491 days later) »