LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 09-21-2021, 09:29 AM   #1
maxibanez77
LQ Newbie
 
Registered: Sep 2021
Posts: 2

Rep: Reputation: Disabled
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
 
Old 09-21-2021, 11:45 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,877
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
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.
Old 09-30-2021, 05:42 AM   #3
maxibanez77
LQ Newbie
 
Registered: Sep 2021
Posts: 2

Original Poster
Rep: Reputation: Disabled
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.
 
Old 09-30-2021, 08:47 AM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
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.
 
Old 09-30-2021, 10:38 AM   #5
michael diemer
Member
 
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi 6, Debian 11 LXDE
Posts: 158

Rep: Reputation: Disabled
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.
 
Old 09-30-2021, 11:21 PM   #6
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,877
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
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
 
Old 10-01-2021, 11:39 AM   #7
michael diemer
Member
 
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi 6, Debian 11 LXDE
Posts: 158

Rep: Reputation: Disabled
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!
 
Old 10-01-2021, 09:05 PM   #8
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,877
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
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.
Old 10-02-2021, 11:37 AM   #9
michael diemer
Member
 
Registered: Jul 2016
Location: Maine, USA
Distribution: Bodhi 6, Debian 11 LXDE
Posts: 158

Rep: Reputation: Disabled
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.
 
Old 10-02-2021, 01:38 PM   #10
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,877
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
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.
 
Old 10-02-2021, 01:53 PM   #11
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,401

Rep: Reputation: 561Reputation: 561Reputation: 561Reputation: 561Reputation: 561Reputation: 561
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nouveau/nvidia problems - adapter 6150SE, kernel=3.10.14 perbh Slackware 11 10-21-2013 06:15 AM
Puppy 430 -frugal install. difficulty -'pup-430.sfs (not found) message' Benny7440 Puppy 10 10-27-2009 06:52 PM
[SOLVED] how much ram to put in xorg.conf for nvidia nforce 430 hoodooman Linux - Hardware 3 12-07-2007 08:38 AM
suse 10.1 x86-64: installation of nvidia drivers for onboard nForce 430 failed... jojolx Linux - Hardware 0 08-18-2006 07:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration