Nvidia: Legacy Driver Debian 9.0 Stretch Kernel 4.9 Bug Interface

Current is a UNFIXED Bug on Debian 9.0 Stretch which makes impossible to easy install DKMS Nvidia-Legacy Drivers 304/340 for older Geforce Cards

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852152

To run nouveau on upgrade 8.0 to 9.0 go to /etc/modprobe.d and remove MANUAL all blacklist configs (*.conf) of nvidia cause some glued on upgrade and are not purged automatic by the upgrade. Cause they will block nouveau load at boot (xserver-xorg-video-nouveau)

Then run on Terminal:

$sudo update-initramfs -u -k all
$sudo update-grub
$sudo reboot

Remarks:

  • Older Hardware isn’t supported by Legacy Drivers after Nvidia-375!!
  • If you not forced to upgrade to 9.0, then WAIT! up to 3 Month! and checkout Bug Lists.
  • I tried Nvidia Installer Files too (*.run) they don’t work too, seems a API of the Kernel is changed
  • Nouveau Version on Debian Stretch is able to run Kodi (glx)! seen on Geforce 8400GS 256MB
  • On Onboard Geforce Chips like older Laptops HOLD Debian 8.0

Linux Bug: SATA failed command: WRITE FPDMA QUEUED ata3.00 ncq freeze hang

Problem: If you copy or install Files from Disk to Disk somtimes the fresh installed Debian Ubuntu Linux in Textmode (server minimal setup) current kernel freezes or lost connect to the Disks. Take a CLOSER LOOK the Error often affects ALL DISKS !! If only one Disk  affected replace the Drive to SATA600

Hardware:  Asus M4n75TD NEW with Phenom 1090T X6 and 8GB Ram and

/dev/sda:
Model=Hitachi, FwRev=GM4OA52A, SerialNo=GEA530RF1RDDGA
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=56
BuffType=DualPortCache, BuffSize=15118kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=976773168
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes:  pio0 pio1 pio2 pio3 pio4
DMA modes:  mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: unknown:  ATA/ATAPI-2,3,4,5,6,7

/dev/sdb:
Model=ST3320620AS, FwRev=3.AAE, SerialNo=9QF8EZ82
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=16384kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=625142448
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes:  pio0 pio1 pio2 pio3 pio4
DMA modes:  mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=no WriteCache=enabled
Drive conforms to: Unspecified:  ATA/ATAPI-1,2,3,4,5,6,7

Errors seen on syslog:

...
Mar 17 20:31:44 phenom kernel: [   45.026839] ata1.00: status: { DRDY }
Mar 17 20:31:44 phenom kernel: [   45.026887] ata1.00: failed command: WRITE FPDMA QUEUED
Mar 17 20:31:44 phenom kernel: [   45.026934] ata1.00: cmd 61/28:20:18:9c:4c/00:00:1d:00:00/40 tag 4 ncq 20480 out
Mar 17 20:31:44 phenom kernel: [   45.027042] ata1.00: status: { DRDY }
Mar 17 20:31:44 phenom kernel: [   45.027087] ata1.00: failed command: WRITE FPDMA QUEUED
Mar 17 20:31:44 phenom kernel: [   45.027134] ata1.00: cmd 61/18:28:d8:d0:4c/00:00:1d:00:00/40 tag 5 ncq 12288 out

Solution Steps:

  • Check SATA Cable and reboot and check
  • Replug all Cables and reboot and check
  • Change the SATA PORTS! Sata1 to Sata2 for Disk0
  • Change the SATA PORTS! Sata3 to Sata4 for Disk1
  • Often the Harddisks are NOT damaged!!
  • Looks like a failed Hardware Control by the SATA 600 Controllers with SATA 300/150
  • take new SATA 600 Drives and recheck

Remark: Windows Systems have same Error without Logs, the Systems seems to hang for seconds!

 

Ubuntu 10.04 Lucid Lynx AMD64 Nvidia 195 Current freeze hang randomly

System: AMD Phenom X4 Geforce 7900 GTS or 8400GS Lucid Lynx AMD64

Problem: The current driver fails on some Systems with default kernel 2.6.32

Solution:
– go http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/
– download kernel images for your System and headers into a folder named kernel
– go into folder kernel with #cd kernel
– install pakets with #sudo dpkg -i *.deb
– reboot
– if Xserver fails select „start Xserver with low resolution“
– go Systemsettings/Hardware Drivers
– select Nvidia-Current install again
– reboot and test the System

Background: ACPI was renewed inside the kernel, cause at startup kernel echos
„ACPI: resource piix4_smbus [0xb00-0xb07] conflicts with ACPI region SOR1 [0x000b00-0x000b0f“ with 2.6.32

now:
„ACPI: resource piix4_smbus [io 0x0b00-0x0b07] conflicts with ACPI region SOR1 [dma 2816-2831 pref disabled]“
(patched Kernel 2.6.34)

Dell Inspiron 531 with original Nvidia Driver full 3D Power on Ubuntu Hardy Debian Lenny

Solution:

  1. open a console and
    #sudo aptitude
    to use aptitude for install
  2. check for „generic“ Kernel + „headers“ for your kernel, search with aptitude
  3. check for installed „built-essential“ paket to compile, search with aptitude
  4. remove+purge ALL restricted drivers, with aptitude
  5. open a console to run nautilus as admin with
    #sudo  nautilus
  6. go to /boot with nautilus-filemanager and edit /boot/grub/menu.lst
  7. disable Framebuffer at /boot/grub/menu.lst (vga=normal)
  8. close editor and go with nautilus to /etc/modprobe.d
  9. check for /etc/modprobe.d/blacklist-framebuffer that all framebuffer drivers are blocked
  10. reboot now to clean the kernel from restricted-modules
  11. download at nvidia.com the driver, my PC is AMD-X2-64bit, the 64 bit driver 173 Version
  12. copy it to /usr/src/nvidia
  13. open a linux console again,and
    #sudo -s
  14. cd /usr/src/nvidia/
  15. run now sh ./NVIDIA-Linux-x86_64-173.14.12-pkg2.run
  16. reboot and perhaps run dpkg-reconfigure xserver-xorg to fine tune it
  17. awesome to enjoy the 3D Screensavers…mail if you have problems…