Author Topic: [Solved] New Failure netbooting MD -- nVidia driver related  (Read 5456 times)

MDH1966

  • Veteran
  • ***
  • Posts: 103
    • View Profile
[Solved] New Failure netbooting MD -- nVidia driver related
« on: January 19, 2011, 02:45:59 am »
Snapshot 23614 - Core running well--core has integrated Intel GPU.  I successfully netbooted a laptop that did not have an nVidia GPU.  I built my MD with an Intel core 2 duo, 4 GB ram, nVidia Geforce 9400GT.  It boots until it tries to install the nVidia driver then it says that it has missing dependencies for 195 and reboots.  It reboots and starts the process all over.  The screen goes by quicker than I can see what it is really saying.  I dropped a 20 GB HD in the MD and installed Kubuntu 8.10 and I can successfully install the 195 drivers.  This also lets me know the the computer functions correctly. All I have found in the forum so far refers to this -- http://svn.linuxmce.org/trac.cgi/changeset/23588.  I checked and my install script seems to be okay.  This MD is the only computer I have with an nVidia GPU.
Any thoughts?
Thanks,
M.
« Last Edit: January 21, 2011, 02:50:36 am by MDH »

MDH1966

  • Veteran
  • ***
  • Posts: 103
    • View Profile
Re: New Failure netbooting MD -- nVidia driver related
« Reply #1 on: January 20, 2011, 05:24:42 am »
Update...unmet dependencies for nvidia-glx. According to what is echoed on the screen during the install, the current driver is nothing, the preferred driver is 195.36.15, and it does an apt-get install but it ends up missing the nvidia kernel source, libvdpau, and nvidia settings and Python-software-properties is missing a dependency as well but I didn't get what it was. All these are on the core it just doesn't use them since it has Intel graphics. I can edit the /usr/pluto/diskless/83/usr/pluto/bin/nvidia-install.sh script to read the following:

# Install the driver if needed
   if [[ "$current_driver" != "$preferred_driver" ]]; then
      echo "installing NEW driver $preferred_driver!"
      Log "$LogFile" "installing NEW driver $preferred_driver!"
      INSTALLED="0" (changed to "0" from "1")
      # apt-get install -y $preferred_driver (commented out this line so it wouldn't try to install)
   else

By changing the INSTALLED to "0", it didn't go into the reboot and since it didn't try to install the drivers, it didn't need to. At least this way, I have the media director up and running but it's not the right way.
Is this a repository issue? Is there a better way for me to resolve this?

Thanks,

M.

MDH1966

  • Veteran
  • ***
  • Posts: 103
    • View Profile
Re: New Failure netbooting MD -- nVidia driver related
« Reply #2 on: January 20, 2011, 01:55:02 pm »
Update--again.  :-)
I found revision 23635 for the nvidia-install.sh on the svn (thanks merkur2k). I grabbed it and put it in the appropriate place.  It did two things, it allowed the MD to complete installation even though it couldn't install the nvidia drivers. It also created the file nvidia-install.log. Here is the output of that log.

Quote
== Begin NVidia driver installation (Thu Jan 20 06:53:15 EST 2011) ==
Card Detected: 01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:0641] (rev a1)
PCI_ID Detected: 0641
LMCE prefers driver nvidia-glx-195
installing NEW driver nvidia-glx-195!
== End NVidia driver installation (Thu Jan 20 06:53:16 EST 2011) ==
== Begin NVidia driver installation (Thu Jan 20 06:54:58 EST 2011) ==
Card Detected: 01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:0641] (rev a1)
PCI_ID Detected: 0641
LMCE prefers driver nvidia-glx-195
installing NEW driver nvidia-glx-195!
== End NVidia driver installation (Thu Jan 20 06:55:01 EST 2011) ==
== Begin NVidia driver installation (Thu Jan 20 07:05:06 EST 2011) ==
Card Detected: 01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:0641] (rev a1)
PCI_ID Detected: 0641
LMCE prefers driver nvidia-glx-195
installing NEW driver nvidia-glx-195!
Unable to install driver:
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
== End NVidia driver installation (Thu Jan 20 07:06:09 EST 2011) ==

apt-get -f install doesn't seem to do anything.  I don't know how to do it on the MD because I can't get to the KDE desktop from there.  I can only get to the desktop on the core and it doesn't do anything there.

Thanks,

M.

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: New Failure netbooting MD -- nVidia driver related
« Reply #3 on: January 20, 2011, 02:11:09 pm »
On the core, do a
Code: [Select]
chroot /usr/pluto/diskless/<id-of-md>
apt-get -f install
exit

and post the results.

MDH1966

  • Veteran
  • ***
  • Posts: 103
    • View Profile
Re: New Failure netbooting MD -- nVidia driver related
« Reply #4 on: January 20, 2011, 02:21:30 pm »
Thanks posde.  I did what you said and here is the output.

Code: [Select]
harper@dcerouter:~$ sudo su
dcerouter_1:/home/harper# chroot /usr/pluto/diskless/96
root@dcerouter:/# apt-get -f install                   
Reading package lists... Done                         
Building dependency tree                               
Reading state information... Done                     
Correcting dependencies... Done                       
The following extra packages will be installed:       
  iso-codes                                           
Suggested packages:                                   
  isoquery                                             
The following NEW packages will be installed:         
  iso-codes                                           
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.                             
Need to get 1501kB of archives.                               
After this operation, 7836kB of additional disk space will be used.
Do you want to continue [Y/n]? Y                                   
WARNING: The following packages cannot be authenticated!           
  iso-codes                                                       
Authentication warning overridden.                                 
Get:1 http://old-releases.ubuntu.com intrepid/main iso-codes 3.2-1 [1501kB]
Fetched 1501kB in 49s (30.3kB/s)                                                                                                                           
perl: warning: Setting locale failed.                                                                                                                     
perl: warning: Please check that your locale settings:
        LANGUAGE = "",
        LC_ALL = (unset),
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 80391 files and directories currently installed.)
Unpacking iso-codes (from .../iso-codes_3.2-1_all.deb) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up iso-codes (3.2-1) ...
Setting up python-software-properties (0.68.1) ...

Setting up software-properties-gtk (0.68.1) ...

root@dcerouter:/#


Does this help?

Thanks,

M.

MDH1966

  • Veteran
  • ***
  • Posts: 103
    • View Profile
Re: New Failure netbooting MD -- nVidia driver related
« Reply #5 on: January 21, 2011, 02:54:16 am »
On the core, do a
Code: [Select]
chroot /usr/pluto/diskless/<id-of-md>
apt-get -f install
exit

and post the results.


That seemed to do the trick. After this, I had it re-run the AV Wizard.  Once I did that, it rechecked for the nVidia driver and installed it correctly this time.  I guess it was the iso-codes that was the broken dependency.

Thanks posde.

<M>