Posts: 14
lfever
Joined: 15 Mar 2009
#1
I installed antiX 13.2 64bit Luddite and am trying to install and load the nvidia video driver. I have tried Ctrl+Alt+F1 logging in as root then using smxi, sgfxi or sgfxi -f and after many lines of text scrolling by I get the following:
ERROR: (230) Could not detect gcc version: /usr/bin/gcc-4.8, or it is not installed. Please let the script maintainer, this may be a bug in the script.

Any ideas as to what is causing this error before trying to install nvidia drivers per instructions given here:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://wiki.debian.org/NvidiaGraphicsDrivers"
linktext was:"https://wiki.debian.org/NvidiaGraphicsDrivers"
====================================


Here is the info on my graphics card:
$ lspci -nn | grep VGA
05:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF119 [GeForce GT 610] [10de:104a] (rev a1)

I would appreciate any help in solving this problem.

Thanks
Last edited by lfever on 23 May 2014, 22:32, edited 1 time in total.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2

Code: Select all

$ apt-cache policy gcc
gcc:
  Installed: 4:4.7.2-1
  Candidate: 4:4.7.2-1
  Version table:
 *** 4:4.7.2-1 0
        500 http://ftp.us.debian.org/debian/ wheezy/main i386 Packages
        100 /var/lib/dpkg/status
I don't have nvidia on this rig.

Code: Select all

$ inxi -Fxz
System:    Host: biker Kernel: 3.14.3-dreamlinux-liquorix i686 (32 bit gcc: 4.6.2) 
           Desktop: IceWM 1.3.7 Distro: antiX-13_386-full Luddite 01 June 2013 
Machine:   Mobo: IBM model: 26474MU
           Bios: IBM v: 1AET64WW (1.20 ) date: 10/18/2006
CPU:       Single core Mobile Intel Pentium III - M (-UP-) cache: 512 KB
           flags: (pae sse) bmips: 1598 clocked at 798 MHz
Graphics:  Card: S3 SuperSavage IX/C SDR bus-ID: 01:00.0
           Display Server: X.Org 1.12.4 drivers: savage (unloaded: fbdev,vesa)
           Resolution: 1024x768@60.0hz
           GLX Renderer: Gallium 0.4 on softpipe
           GLX Version: 2.1 Mesa 8.0.5 Direct Rendering: Yes
Audio:     Card Intel 82801CA/CAM AC'97 Audio Controller 
           driver: snd_intel8x0 ports: 1c00 18c0 bus-ID: 00:1f.5 
           Sound: ALSA v: k3.14.3-dreamlinux-liquorix
Network:   Card-1: Intel 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller
           driver: e100 v: 3.5.24-k2-NAPI port: 6400 bus-ID: 02:08.0
           IF: eth0 state: down mac: <filter>
           Card-2: Ralink RT2800 802.11n PCI
           driver: rt2800pci v: 2.3.0 bus-ID: 07:00.0
           IF: wlan1 state: up mac: <filter>
Drives:    HDD Total Size: 80.0GB (29.7% used)
           ID-1: /dev/sda model: ST980815A size: 80.0GB
Partition: ID-1: / size: 73G used: 22G (31%) fs: ext4 dev: /dev/sda1 
           ID-2: swap-1 size: 1.12GB used: 0.00GB (0%) fs: swap dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 54.0C mobo: 47.0C 
           Fan Speeds (in rpm): cpu: 0 
Info:      Processes: 106 Uptime: 7 min Memory: 367.7/1006.6MB 
           Init: SysVinit runlevel: 5 Gcc sys: 4.7.2 
           Client: Shell (bash 4.2.371) inxi: 2.1.28
Which makes me wonder? Did you do a md5sum of the AntiX you downloaded before burning image or making a bootable usb?

When I did install on one of my boxes with the Nvidia graphics chip. sgfxi found my chip and driver which was a 3 series driver I think, can't remember presently.

Anyhows. Give us a inxi report like I gave and let us know you did a md5sum of downloaded iso so as to
make sure you did not get a corrupted downloaded iso file.
Posts: 1,028
SamK
Joined: 21 Aug 2011
#3
lfever wrote:I installed antiX 13.2 64bit Luddite and am trying to install and load the nvidia video driver.
[...]
Any ideas as to what is causing this error...
It sounds like you hit the bug that is mentioned in the antiX wiki.

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antix.mepis.com/index.php?title=Main_Page"
linktext was:"http://antix.mepis.com/index.php?title=Main_Page"
====================================

Scroll down to the section headed 12 November 2013 and have a look at the bug-fix kernel that is described there.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#4
I do believe samK's post is correct.

here's a video on installing a new kernel, in case you are interested.

Posts: 14
lfever
Joined: 15 Mar 2009
#5
First of all thanks to everyone for your replies. I don't have much hair left but I have success!

Let me see if I can explain this so it makes sense __{{emoticon}}__

This is a triple boot machine, Winsux, MX14 and antiX 13.2 installed in that order. After trying to install the nvidia graphics driver several times and by a couple of different methods I decided to reinstall antiX. This threw the original installation out of order.

In my searches to try and solve my problem, I had read about the need to upgrade the kernel in order to install nvidia drivers and I did so through the command line. I updated grub and went on my merry way.

I come to find out that the new kernel was not loading and after going through all of your suggestions it was dolphin_oracle's video that shed some light on the matter. I noticed after viewing the first several lines of his menu.lst that my menu.lst looked peculiar, his was like this:

default 0
timeout 10
color cyan/blue white/blue
foreground ffffff
background 0639a1
gfxmenu /boot/grub/message

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

Mine was like this:

timeout 10
color cyan/blue white/blue
foreground ffffff
background 0639a1
gfxmenu /boot/grub/message

title antiX-13.2
root (hd1,6)
kernel /boot/vmlinuz-3.7.10-antix.5-amd64-smp root=/dev/sdb7 quiet nouveau.modeset=0 nomodeset
initrd /boot/initrd.img-3.7.10-antix.5-amd64-smp
boot

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

Further down the Menu.lst I had:

title Debian GNU/Linux, kernel 3.7.10-antix.7-amd64-smp
root (hd1,6)
kernel /boot/vmlinuz-3.7.10-antix.7-amd64-smp root=UUID=8425d391-6a28-4acd-a0e4-73cb24d8016e ro nomodeset nouveau.modeset=0
initrd /boot/initrd.img-3.7.10-antix.7-amd64-smp

title Debian GNU/Linux, kernel 3.7.10-antix.7-amd64-smp (init-3)
root (hd1,6)
kernel /boot/vmlinuz-3.7.10-antix.7-amd64-smp root=UUID=8425d391-6a28-4acd-a0e4-73cb24d8016e ro nomodeset nouveau.modeset=0 3
initrd /boot/initrd.img-3.7.10-antix.7-amd64-smp

title Debian GNU/Linux, kernel 3.7.10-antix.5-amd64-smp
root (hd1,6)
kernel /boot/vmlinuz-3.7.10-antix.5-amd64-smp root=UUID=8425d391-6a28-4acd-a0e4-73cb24d8016e ro nomodeset nouveau.modeset=0
initrd /boot/initrd.img-3.7.10-antix.5-amd64-smp

I commented out as such:

# title antiX-13.2
# root (hd1,6)
# kernel /boot/vmlinuz-3.7.10-antix.5-amd64-smp root=/dev/sdb7 quiet nouveau.modeset=0 nomodeset
# initrd /boot/initrd.img-3.7.10-antix.5-amd64-smp
# boot

Added default 0

Updated grub and rebooted, new kernel still did not load. I decided to take a break from this dilemma and booted up into MX14 to do some exploring. I happened to open up Grub Customizer to look around, not making any changes I went to close and I was notified there were changes made and was given the option to save them or not, so I made a backup of the Grub list and saved the changes. Ah ha __{{emoticon}}__ back to antiX and guess what? Yep the new kernel loaded __{{emoticon}}__ I ran sgfxi again, followed the dotted lines and the nvidia driver installed and loaded. Yippie!!!!

Well that's my story and I'm sticking to it!! __{{emoticon}}__

EDIT: Original install order was Windows, antiX then MX-14