Page: 1, 2  Next

Failed to install Nvidia graphics card - sgfxi - Error: 196
kelvinyh001
Status: Interested
Joined: 17 Jan 2013
Posts: 10
Reply Quote
Hi guys,

I tried using sgfxi to install Nvidia driver. But got an Error: 196
The driver package NVIDIA-Linux-x86_64-313.18.run failed to extract and has been deleted.

Log:
START sgfxi LOGGING:
=========================================================
Script started: 2013-01-17-22:35:09
Video Card Information: NVIDIA Corporation GT216 [GeForce GT 220] (rev a2)
Video Card Type: 10de
Video Card Number: 0a20
Xorg Version: 1.13
Installing driver to kernel: 3.5.0-17-generic
sgfxi script version: 4.20.18
sgfxi start options:
SYSTEM_BASE: ubuntu
SYSTEM_CODENAME:
DISTRIB_CODENAME: nadia
DISTRIB_ID: linuxmint
DISTRIB_RELEASE: 14
SIS: linuxmint-nadia-64
BITS: 64
FG_DISTRIB_CODENAME:
FG_DISTRIB_ID: Ubuntu
APT_TYPE: apt-get
=========================================================
X is Running: true
Current Runlevel: 2
Connection is live (0=true): 0
=========================================================
INSTALL_TO_KERNEL:
KERNEL_FULL: 3.5.0-17-generic
KERNEL_BASE: 3
KERNEL_NUMBER: 3.5
KERNEL_MATH: 5
B_IS_XEN: true
Function: create_x_conf - Primary: Start
xorg is present, no xorg.conf file
Function: x_is_running - Utility: Start
xIsRunning: true
Function: x_is_running - Utility: End
Function: start_stop_x - Utility: Start
Args: stop
default runlevel:
current runlevel: 2
dmanCommand: stop gdm
Function: x_is_running - Utility: Start
xIsRunning: true
Function: x_is_running - Utility: End
Final X kill reports worked: true
Function: x_is_running - Utility: Start
xIsRunning: true
Function: x_is_running - Utility: End
The final X kill has failed.
Function: start_stop_x - Utility: End
Function: x_is_running - Utility: Start
xIsRunning: true
Function: x_is_running - Utility: End
ERROR: (214) Cannot create your new /etc/X11/xorg.conf because X cannot be killed.
Please let the script maintainer know.
=========================================================
START sgfxi LOGGING:
=========================================================
Script started: 2013-01-17-22:36:05
Video Card Information: NVIDIA Corporation GT216 [GeForce GT 220] (rev a2)
Video Card Type: 10de
Video Card Number: 0a20
Xorg Version: 1.13
Installing driver to kernel: 3.5.0-17-generic
sgfxi script version: 4.20.18
sgfxi start options:
SYSTEM_BASE: ubuntu
SYSTEM_CODENAME:
DISTRIB_CODENAME: nadia
DISTRIB_ID: linuxmint
DISTRIB_RELEASE: 14
SIS: linuxmint-nadia-64
BITS: 64
FG_DISTRIB_CODENAME:
FG_DISTRIB_ID: Ubuntu
APT_TYPE: apt-get
=========================================================
X is Running: true
Current Runlevel: 2
Connection is live (0=true): 0
=========================================================
INSTALL_TO_KERNEL:
KERNEL_FULL: 3.5.0-17-generic
KERNEL_BASE: 3
KERNEL_NUMBER: 3.5
KERNEL_MATH: 5
B_IS_XEN: true
Function: create_x_conf - Primary: Start
xorg is present, no xorg.conf file
Function: x_is_running - Utility: Start
xIsRunning: true
Function: x_is_running - Utility: End
Function: start_stop_x - Utility: Start
Args: stop
default runlevel:
current runlevel: 2
dmanCommand: stop gdm
Function: x_is_running - Utility: Start
xIsRunning: true
Function: x_is_running - Utility: End
Final X kill reports worked: true
Function: x_is_running - Utility: Start
xIsRunning: false
Function: x_is_running - Utility: End
Function: start_stop_x - Utility: End
Function: x_is_running - Utility: Start
xIsRunning: true
Function: x_is_running - Utility: End
ERROR: (214) Cannot create your new /etc/X11/xorg.conf because X cannot be killed.
Please let the script maintainer know.
=========================================================
START sgfxi LOGGING:
=========================================================
Script started: 2013-01-17-22:39:33
Video Card Information: NVIDIA Corporation GT216 [GeForce GT 220] (rev a2)
Video Card Type: 10de
Video Card Number: 0a20
Xorg Version: 1.13
Installing driver to kernel: 3.5.0-17-generic
sgfxi script version: 4.20.18
sgfxi start options:
SYSTEM_BASE: ubuntu
SYSTEM_CODENAME:
DISTRIB_CODENAME: nadia
DISTRIB_ID: linuxmint
DISTRIB_RELEASE: 14
SIS: linuxmint-nadia-64
BITS: 64
FG_DISTRIB_CODENAME:
FG_DISTRIB_ID: Ubuntu
APT_TYPE: apt-get
=========================================================
X is Running: true
Current Runlevel: 2
Connection is live (0=true): 0
=========================================================
INSTALL_TO_KERNEL:
KERNEL_FULL: 3.5.0-17-generic
KERNEL_BASE: 3
KERNEL_NUMBER: 3.5
KERNEL_MATH: 5
B_IS_XEN: true
Function: create_x_conf - Primary: Start
xorg is present, no xorg.conf file
=========================================================
START sgfxi LOGGING:
=========================================================
Script started: 2013-01-17-22:40:12
Video Card Information: NVIDIA Corporation GT216 [GeForce GT 220] (rev a2)
Video Card Type: 10de
Video Card Number: 0a20
Xorg Version: 1.13
Installing driver to kernel: 3.5.0-17-generic
sgfxi script version: 4.20.18
sgfxi start options:
SYSTEM_BASE: ubuntu
SYSTEM_CODENAME:
DISTRIB_CODENAME: nadia
DISTRIB_ID: linuxmint
DISTRIB_RELEASE: 14
SIS: linuxmint-nadia-64
BITS: 64
FG_DISTRIB_CODENAME:
FG_DISTRIB_ID: Ubuntu
APT_TYPE: apt-get
=========================================================
X is Running: true
Current Runlevel: 2
Connection is live (0=true): 0
=========================================================
INSTALL_TO_KERNEL:
KERNEL_FULL: 3.5.0-17-generic
KERNEL_BASE: 3
KERNEL_NUMBER: 3.5
KERNEL_MATH: 5
B_IS_XEN: true
Function: create_x_conf - Primary: Start
xorg is present, no xorg.conf file
Function: x_is_running - Utility: Start
xIsRunning: true
Function: x_is_running - Utility: End
Function: start_stop_x - Utility: Start
Args: stop
default runlevel:
current runlevel: 2
dmanCommand: stop gdm
Function: x_is_running - Utility: Start
xIsRunning: true
Function: x_is_running - Utility: End
Final X kill reports worked: true
Function: x_is_running - Utility: Start
xIsRunning: true
Function: x_is_running - Utility: End
The final X kill has failed.
Function: start_stop_x - Utility: End
Function: x_is_running - Utility: Start
xIsRunning: false
Function: x_is_running - Utility: End

Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.

(EE)
Please consult the The X.Org Foundation support
at wiki.x.org
for help.
(EE)
touch created xorg.conf file because it was missing, X -configure error.
xorg xorg.conf file generated
Function: create_x_conf - Primary: End
Function: check_package_manager_updated - Utility: Start
sizeWorking: 37
Function: check_package_manager_updated - Utility: End
Function: check_supported_driver - Utility: Start
Function: check_supported_driver - Utility: End
Function: set_cpu_data - Utility: Start
BITS: 64 - arch: _64
Function: set_cpu_data - Utility: End
Function: set_driver_install_version - Primary: Start
Function: check_supported_driver - Utility: Start
Args: last-check
Function: check_supported_driver - Utility: End
Function: print_information_continue - Utility: Start
Args: standard The graphics installer will be installing the nvidia driver: 313.18
Function: print_information_continue - Utility: End
Installing this driver: 313.18
Function: set_driver_install_version - Primary: End
Function: driver_support_tests - Utility: Start
Args: supported-driver
Function: driver_support_tests - Utility: End
Function: check_kernel_headers - Utility: Start
Function: check_package_status - Utility: Start
Args: linux-headers-3.5.0-17-generic i
Package Version: 3.5.0-17.28
Function: check_package_status - Utility: End
Function: check_package_status - Utility: Start
Args: linux-headers-3.5.0-17-generic c
Package Version: 3.5.0-17.28
Function: check_package_status - Utility: End
headerName: linux-headers-3.5.0-17-generic
headerInstalled: 3.5.0-17.28
headerAvailable: 3.5.0-17.28
headerFile:
Function: check_kernel_headers - Utility: End
nvidiaPackages:

fglrxPackages:

Function: check_run_package_tools - Primary: Start
Function: check_run_package_tools - Primary: End
Function: set_download_info - Primary: Start
download url: ftp://download.nvidia.com/XFree86/Linux-x86_64/313.18/ - driver file: NVIDIA-Linux-x86_64-313.18
Function: set_download_info - Primary: End
Function: test_module_build_ok - Primary: Start
Args: return
returnValue: 1
Error Data: No Driver Run Package:
Function: download_extract_driver - Primary: Start
Args: ftp://download.nvidia.com/XFree86/Linux-x86_64/313.18/ NVIDIA-Linux-x86_64-313.18
Function: pre_extract_clean_set_up - Utility: Start
Args: NVIDIA-Linux-x86_64-313.18
Function: pre_extract_clean_set_up - Utility: End
Creating directory NVIDIA-Linux-x86_64-313.18
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 313.18...........................................................................................................................................................
Function: download_extract_driver - Primary: End
Function: set_install_directory - set to: /usr/src/sgfxi-downloads/NVIDIA-Linux-x86_64-313.18
Function: run_driver_patches - Primary: Start
Function: run_driver_patches - Primary: End
Function: x_start_stop_master - Primary: Start
Args: stop
Function: start_stop_x - Utility: Start
Args: stop
default runlevel:
current runlevel: 2
dmanCommand: stop gdm
Function: x_is_running - Utility: Start
xIsRunning: true
Function: x_is_running - Utility: End
Final X kill reports worked: true
Function: x_is_running - Utility: Start
xIsRunning: true
Function: x_is_running - Utility: End
The final X kill has failed.
Function: start_stop_x - Utility: End
Function: x_start_stop_master - Primary: End
Function: check_driver_install_tools - Primary: Start
Function: check_package_status - Utility: Start
Args: module-assistant i
Package Version:
Function: check_package_status - Utility: End
Function: check_package_status - Utility: Start
Args: module-assistant c
Package Version: 0.11.4
Function: check_package_status - Utility: End
Function: install_package - Utility: Start
Args: module-assistant
Function: update_package_manager - Utility: Start
Args: update
Update apt-get successful
Function: update_package_manager - Utility: End
Install command for apt-get: install - Extra args:
Function: install_package - Utility: End
Function: check_package_status - Utility: Start
Args: build-essential i
Package Version:
Function: check_package_status - Utility: End
Function: check_package_status - Utility: Start
Args: build-essential c
Package Version: 11.5ubuntu3
Function: check_package_status - Utility: End
Function: install_package - Utility: Start
Args: build-essential
Function: update_package_manager - Utility: Start
Args: update
Function: update_package_manager - Utility: End
Install command for apt-get: install - Extra args:
Function: install_package - Utility: End
Function: check_driver_install_tools - Primary: End
Function: prep_install - Primary: Start
Function: prep_install - Primary: End
Function: preinstall_cleanup - Primary: Start
Pre Remove: nvidia.ko files:

Function: list_installed_packages - Utility: Start
Args: nvidia (libkwinnvidiahack|libgl1-nvidia-glx-ia32|modalias|libvdpau|nvidia-bl-dkms|nvidia-cg-toolkit|nvidia-common)
packageList:
Function: list_installed_packages - Utility: End
Post Purge/Remove: nvidia.ko files:

Function: remove_module - Primary: Start
Args: nvidia
operation outcome: unset
Function: remove_module - Primary: End
Function: remove_module - Primary: Start
Args: nouveau
FATAL: Module nouveau is in use.
operation outcome: failed
Function: set_modesetting_off - Primary: End
Function: add_grub_nomodeset_blacklist_item - Utility: Start
Args: nouveau
Function: get_active_grub_files - Utility: Start
grub files: /boot/grub/grub.cfg /etc/default/grub
Function: get_active_grub_files - Utility: End
/boot/grub/grub.cfg file updated to add nouveau nomodeset: /boot/grub/grub.cfg /etc/default/grub
File /etc/default/grub updated to add nouveau nomodeset: /etc/default/grub
File /etc/default/grub updated to add nouveau nouveau.modeset=0: /etc/default/grub
Function: add_grub_nomodeset_blacklist_item - Utility: End
Function: add_modprobe_d_blacklist_item - Utility: Start
Args: nouveau
file updated to add nouveau blacklist: /etc/modprobe.d/kms-sg-blacklist.conf
Function: add_modprobe_d_blacklist_item - Utility: End
Function: update_initramfs - Primary: Start
Args: remove-nouveau
Function: update_initramfs - Primary: End
Function: update_xorgconf_driver_version - Utility: Start
Function: update_xorgconf_driver_version - Utility: End
Function: reboot_now_question - Primary: Start
Args: nouveau modeset-off


I'm running Linux Mint.

Any ideas? Pls help.

Thank you.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
show inxi -bxxx after upgrading inxi to latest version with: inxi -U

Make sure to update first , mint uses an ancient inxi for some inexplicable reason.

The errors are clear enough, your gdm isn't getting killed. Among other errors.

Hopefully mint hasn't adopted some kind of login that can't be killed, but it may just be a new syntax or something for the login manager.

I tested the download/extract part of the new driver install and that works fine, so whatever issue you are having is not related to that I believe.
Back to top
kelvinyh001
Status: Interested
Joined: 17 Jan 2013
Posts: 10
Reply Quote
Feel free to let me know what is needed.

Thanks!

:: Code ::
CPU~Quad core Intel Core2 Quad CPU Q6600 (-MCP-) clocked at 2000.000 Mhz Kernel~3.5.0-17-generic x86_64 Up~45 min Mem~1132.3/3953.5MB HDD~636.1GB(1.9% used) Procs~156 Client~Shell inxi~1.8.27 
oo3-G41MT-S2 oo3 # inxi -bxxx
System:    Host: oo3-G41MT-S2 Kernel: 3.5.0-17-generic x86_64 (64 bit, gcc: 4.7.2)
           Desktop: Cinnamon 1.6.7  dm: gdm Distro: Linux Mint 14 Nadia
Machine:   Mobo: Gigabyte model: G41MT-S2 Bios: Award version: F7 date: 08/03/2011
CPU:       Quad core Intel Core2 Quad CPU Q6600 (-MCP-) clocked at 2000.00 MHz
Graphics:  Card: NVIDIA GT216 [GeForce GT 220] bus-ID: 01:00.0 chip-ID: 10de:0a20
           X.org: 1.13.0 driver: nvidia tty size: 134x64 Advanced Data: N/A for root
Network:   Card: Atheros AR8151 v1.0 Gigabit Ethernet
           driver: atl1c ver: 1.0.1.0-NAPI port: df00 bus-ID: 03:00.0 chip-ID: 1969:1073
Drives:    HDD Total Size: 636.1GB (1.9% used)
Info:      Processes: 157 Uptime: 47 min Memory: 1146.1/3953.5MB Runlevel: 2 Gcc sys: 4.7.2
           Client: Shell (bash 4.2.37) inxi: 1.8.27

Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
show this: ls /run

There may be an issue between gdm and cinnamon desktop, or it may be that you are actually using another display manager login thing of unknown variety.

Also as regular user, not root, show: inxi -Gx
Back to top
kelvinyh001
Status: Interested
Joined: 17 Jan 2013
Posts: 10
Reply Quote
oo3-G41MT-S2 oo3 # ls /run
acpid.pid crond.pid lock plymouth sendsigs.omit.d upstart-socket-bridge.pid
acpid.socket crond.reboot motd pm-utils shm upstart-udev-bridge.pid
atd.pid cups mount pppconfig sshd user
avahi-daemon dbus network resolvconf sshd.pid utmp
console gdm NetworkManager.pid rsyslogd.pid udev
ConsoleKit gdm.pid nm-dhclient-eth0.conf samba udisks
console-kit-daemon.pid initramfs nm-dns-dnsmasq.conf sdp udisks2

oo3-G41MT-S2 oo3 # inxi -Gx
Graphics: Card: NVIDIA GT216 [GeForce GT 220] bus-ID: 01:00.0
X.org: 1.13.0 driver: nvidia tty size: 134x64 Advanced Data: N/A for root
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
dont' show inxi as root, it tells you you are doing that.

in a console, as regular user, not root, show it. regular user has a $ sign at the prompt, root has a #.

I'm wondering if this is an upstart issue, I don't use it and have never seen it, maybe it has different commands or something.

Get out of X, and then run this command as root: service gdm stop
and note what happens, what errors if any.
Back to top
kelvinyh001
Status: Interested
Joined: 17 Jan 2013
Posts: 10
Reply Quote
oo3@oo3-G41MT-S2 ~ $ inxi -Gx
Graphics: Card: NVIDIA GT216 [GeForce GT 220] bus-ID: 01:00.0 X.Org: 1.13.0 driver: nvidia Resolution: 1920x1080@60.0hz
GLX Renderer: GeForce GT 220/PCIe/SSE2 GLX Version: 3.3.0 NVIDIA 304.43 Direct Rendering: Yes
Back to top
kelvinyh001
Status: Interested
Joined: 17 Jan 2013
Posts: 10
Reply Quote
it shows:
gdm stop/waiting
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
upstart.ubuntu.com/cookbook/

yes, there's something holding it, but the service command is still working, that's good to know.

I took a quick look at that upstart thing from ubuntu but it's too long to get a hold of.

See if you can find someone in mint/ubuntu who can tell you in plain simple commands
a: how to stop/start gdm
b: if gdm says: waiting, what to do then

also, when you ran that command out of x as root, did it in fact kill gdm? Or did it not?

You can see which by doing this:

service gdm stop && echo success || echo failure

that will check the return code from the operation requested. If it says failure, that means that gdm did not in fact shutdown as requested.
Back to top
kelvinyh001
Status: Interested
Joined: 17 Jan 2013
Posts: 10
Reply Quote
You can see which by doing this:

service gdm stop && echo success || echo failure

Stop: Unknown instance: failure
Back to top
Display posts from previous:   
Page: 1, 2  Next
All times are GMT - 8 Hours