Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-21-2021, 09:29 AM
|
#1
|
LQ Newbie
Registered: Sep 2021
Posts: 2
Rep: 
|
Nvidia 6150SE nForce 430 driver - kernel compilation error
Hi all:
im installing the factory driver of this video card in my Lubuntu 20.04.
i do all the recomended steps
at the kernell compilation screen it gives me this
DKMS make.log for nvidia-304.137 for kernel 5.4.0-84-generic (x86_64)
mar 21 sep 2021 09:28:17 -03
NVIDIA: calling KBUILD...
make -f ./scripts/Makefile.build obj=arch/x86/entry/syscalls all
make -f ./scripts/Makefile.build obj=scripts/basic
set -e; mkdir -p include/config/; trap "rm -f include/config/.kernel.release.tmp" EXIT; { echo "5.4.133$(sh ./scripts/setlocalversion .)"; } > include/config/.kernel.release.tmp; if [ ! -r include/config/kernel.release ] || ! cmp -s include/config/kernel.release include/config/.kernel.release.tmp; then : ' UPD include/config/kernel.release'; mv -f include/config/.kernel.release.tmp include/config/kernel.release; fi
rm -f .tmp_quiet_recordmcount
make -f ./scripts/Makefile.asm-generic obj=arch/x86/include/generated/uapi/asm \
generic=include/uapi/asm-generic
set -e; mkdir -p include/generated/uapi/linux/; trap "rm -f include/generated/uapi/linux/.version.h.tmp" EXIT; { if [ 133 -gt 255 ]; then echo \#define LINUX_VERSION_CODE 328959; else echo \#define LINUX_VERSION_CODE 328837; fi; echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + ((c) > 255 ? 255 : (c)))'; } > include/generated/uapi/linux/.version.h.tmp; if [ ! -r include/generated/uapi/linux/version.h ] || ! cmp -s include/generated/uapi/linux/version.h include/generated/uapi/linux/.version.h.tmp; then : ' UPD include/generated/uapi/linux/version.h'; mv -f include/generated/uapi/linux/.version.h.tmp include/generated/uapi/linux/version.h; fi
rm -f include/linux/version.h
make -f ./scripts/Makefile.build obj=arch/x86/tools relocs
make[3]: *** No hay ninguna regla para construir el objetivo 'arch/x86/tools/relocs_32.c', necesario para 'arch/x86/tools/relocs_32.o'. Alto.
make[2]: *** [arch/x86/Makefile:236: archscripts] Error 2
make[2]: *** Se espera a que terminen otras tareas....
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [Makefile:261: module] Error 1
make: *** [makefile:59: module] Error 2
i already blacklist the nouveau driver automatically with nvidia installer
Help me please im not an advanced user of linux
|
|
|
09-21-2021, 11:45 PM
|
#2
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE & OS/2 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 6,565
|
May I ask why you chose to do this with such an old IGP, long out of active support by NVidia? With this IGP, I use only FOSS, the nouveau kernel driver, with the (default) modesetting DIX driver.
|
|
1 members found this post helpful.
|
09-30-2021, 05:42 AM
|
#3
|
LQ Newbie
Registered: Sep 2021
Posts: 2
Original Poster
Rep: 
|
Hi, sorry for they delay answering and My poor english.
I was having internet problems that i already solved.
I'm gonna try with they Nouveau drivers and that configs and Tell You if it works, but in the begining it crashes at full screen and was the reason to try the factory drivers.
|
|
|
09-30-2021, 08:47 AM
|
#4
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
Quote:
No hay ninguna regla para construir el objetivo 'arch/x86/tools/relocs_32.c', necesario para 'arch/x86/tools/relocs_32.o'. Alto.
|
Translates too. en español. También se traduce.
Code:
There is no rule to construct the target 'arch / x86 / tools / relocs_32.c', necessary for 'arch / x86 / tools / relocs_32.o'. High.
Which a google search of leads to this. en español. Lo que una búsqueda en Google conduce a esto.
https://askubuntu.com/questions/2328...elocs-c-needed
https://www.google.com/search?client...cs_32.c%27%2C+
It suggests you need i386 headers installed those are for a 32bit system, yours is 64 bit so would need code for that OS variant to compile properly.
en español de nuevo.
Sugiere que necesita los encabezados i386 instalados, que son para un sistema de 32 bits, el suyo es de 64 bits, por lo que necesitaría un código para que esa variante del sistema operativo se compile correctamente.
|
|
|
09-30-2021, 10:38 AM
|
#5
|
Member
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi , Bunsen Labs, Mint LMDE, Zorin
Posts: 179
Rep: 
|
You cannot use NVidia drivers beyond 304.xx for this card. Nvidia stopped supporting it after Linux kernel 4.4 (or thereabouts). I also have a machine with this card, and the last Ubuntu or Ubuntu-based distro that allows installation of Nvidia driver 304, is Ubuntu 16. Supposedly, someone made a patch for Ubuntu 18, but installing it is complicated and probably not worth it.
Ubuntu 16 is out of support. however you can sign up for Extended Security Maintenance for Ubuntu 16, for fee. This will get you security support at least until 2024.
The best distro to use with this card is Bodhi 6. It will work fine on Nouveau drivers. Other light distros, such as Linux Lite, Lubuntu etc will not. There are of course even lighter distros, but Bodhi has a great desktop and works great out of the box. It is lightening fast. My 2009 computer boots in 10 seconds with it. It is an outstanding distro, probably the best light distro out there. I would give it a try.
Last edited by michael diemer; 09-30-2021 at 10:40 AM.
|
|
|
09-30-2021, 11:21 PM
|
#6
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE & OS/2 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 6,565
|
FOSS can work with the 6150SE:
Code:
# inxi -Sy
System:
Host: mcp61 Kernel: 5.10.0-8-amd64 x86_64 bits: 64 Desktop: Trinity R14.0.11
Distro: Debian GNU/Linux 11 (bullseye)
# cat /proc/cmdline
... nouveau.config=NvMSI=0 nouveau.noaccel=1 ...
# xrandr | egrep 'onnect|creen|\*' | grep -v disconn | sort -r
VGA-1 connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 474mm x 296mm
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 4096 x 4096
1680x1050 59.97*+ 74.89
# inxi -Gay
Graphics:
Device-1: NVIDIA C61 [GeForce 6150SE nForce 430] vendor: Micro-Star MSI
driver: nouveau v: kernel bus-ID: 00:0d.0 chip-ID: 10de:03d0 class-ID: 0300
Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting
unloaded: fbdev,vesa alternate: nouveau,nv display-ID: :0 screens: 1
Screen-1: 0 s-res: 1680x1050 s-dpi: 108 s-size: 395x246mm (15.6x9.7")
s-diag: 465mm (18.3")
Monitor-1: VGA-1 res: 1680x1050 hz: 60 dpi: 90 size: 474x296mm (18.7x11.7")
diag: 559mm (22")
OpenGL: renderer: llvmpipe (LLVM 11.0.1 128 bits) v: 4.5 Mesa 20.3.5
compat-v: 3.1 direct render: Yes
|
|
|
10-01-2021, 11:39 AM
|
#7
|
Member
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi , Bunsen Labs, Mint LMDE, Zorin
Posts: 179
Rep: 
|
mrmazda, yes nouveau will work ok with this card, provided the desktop is light enough. Bodhi's is based off Enlightenment and is very light. I tried Linux Lite, Lubuntu Xubuntu, Mate etc and none of them would work. The only other desktop that worked was Bunsen Labs, which uses open box. Debian probably as well, though I didn't try it. I settled on Bodhi because it is powerful, nice looking and easily configurable. So is Bunsen Labs, but configuring is a bit challenging for the typical user.
I also still have Ubuntu 16.04.7, with ESM. There however I have Nvidia enabled as it allows that driver to be installed. Ubuntu 18 does not, at least not without some tinkering.
By far the easiest way to deal with this card is to install Bodhi. Unless you like to spend lots of time in the terminal!
|
|
|
10-01-2021, 09:05 PM
|
#8
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE & OS/2 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 6,565
|
In case it went unnoticed, post #6 shows I'm running Trinity Desktop Environment, a fork of KDE3. Both work just fine on "ancient" hardware like this, and provide a lot more functionality than simpler window managers.
Also shown is it's running on only one nouveau driver, kernel/device. The display driver in use is the more modern, non-reverse-engineered (upstream default) modesetting DIX driver. Right now it's running without the nouveau.config=NvMSI=0 or nouveau.noaccel=1 kernel cmdline options, which for several years was necessary. I'm not sure when their need stopped.
|
|
1 members found this post helpful.
|
10-02-2021, 11:37 AM
|
#9
|
Member
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi , Bunsen Labs, Mint LMDE, Zorin
Posts: 179
Rep: 
|
Interesting, mrmazda. So I tried installing Q4OS 2.7, an older version which maybe might work on this hardware, and which used Trinity. I could only get as far as the Q4OS boot menu, where you choose to run live, install etc. But it just hung there, so I concluded my system couldn't handle the desktop. At least not without some serious tinkering. It may be that on my system there are other issues as well, but I didn't pursue it any further. Your post makes me wonder, however. If I get bored enough, maybe I'll try tinkering.
I'm of the school of thought that says, if you have old hardware, find a distro that works with it out of the box. Rather than tinkering around to see what else you can get to work with it. Would rather use the damn machine that fight with it!
BTW my specs: Gateway GT5656, video as above; 3Ghz CPU, dual-core AMD Athlon 64 X2 6000+, 6 GB memory.
|
|
|
10-02-2021, 01:38 PM
|
#10
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE & OS/2 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 6,565
|
The CPU in post #6 is Athlon II X2 240 with 2G RAM on MSI motherboard. That PC only has openSUSE (13.1, 15.0, 15.1, 15.2, 15.3, Tumbleweed) and Debian (10 & 11) installed. I use TDE also on Fedora and Mageia on other PCs. TDE is no fuss to install on any supported distro. TDE has user and devel mailing lists that are quite helpful. I install a minimal OS version with no DE, then add TDE. Usually I do NET installs, almost never install anything using live media.
|
|
|
10-02-2021, 01:53 PM
|
#11
|
Senior Member
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,659
|
I have an athlon 64 with on board nvidia 6100, and can confirm the last time ubuntu packaged nvidia-304 was for 16.04LTS. And the nvidia direct version does not work with kernel newer than 4.15 or current xorg.
There is a patch that make the official nvidia install script work with ubuntu 18.04. I did it myself and yeah it works better than nouveau for some games, but I had these weird lines that kept appearing on my screen, dunno how to describe, but enough that I reverted to nouveau.
I saw a thread in slackware section, someone is working on making it work with latest slackware.... https://www.linuxquestions.org/quest...ght=nvidia-304
Last edited by enigma9o7; 10-02-2021 at 02:00 PM.
|
|
|
All times are GMT -5. The time now is 12:58 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|