Debian Linux: Squeeze ATI Mobility M7 xorg.conf Thinkpad T30 Performance

Problem: Squeeze fglrx does not support older ATI Chips
(If i view Flashvideos the CPU usage hold at 100% after change 25-30% usage !)
Solution: sudo nano /etc/X11/xorg.conf and paste

Section "ServerLayout"
  Identifier     "X.org Configured"
  Screen      0  "Screen0" 0 0
  InputDevice    "Mouse0" "CorePointer"
  InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
  ModulePath   "/usr/lib/xorg/modules"
  FontPath     "/usr/share/fonts/X11/misc"
  FontPath     "/usr/share/fonts/X11/cyrillic"
  FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
  FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
  FontPath     "/usr/share/fonts/X11/Type1"
  FontPath     "/usr/share/fonts/X11/100dpi"
  FontPath     "/usr/share/fonts/X11/75dpi"
  FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
  FontPath     "built-ins"
EndSection

Section "Module"
  Load  "extmod"
  Load  "glx"
  Load  "dri"
  Load  "dbe"
  Load  "record"
  Load  "dri2"
EndSection

Section "InputDevice"
  Identifier  "Keyboard0"
  Driver      "kbd"
EndSection

Section "InputDevice"
  Identifier  "Mouse0"
  Driver      "mouse"
  Option      "Protocol" "auto"
  Option      "Device" "/dev/input/mice"
  Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
  Identifier   "Monitor0"
  VendorName   "Monitor Vendor"
  ModelName    "Monitor Model"
EndSection

Section "Device"
  Identifier "ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]"
  Driver "radeon"
  BusID "PCI:1:0:0"
  Option "AGPMode" "4"
  Option "XAANoOffscreenPixmaps"
  Option "AGPFastWrite" "true"
  Option "EnablePageFlip" "on"
EndSection

Section "Screen"
  Identifier "Screen0"
  Device "ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]"
  Monitor "Monitor0"
  DefaultDepth 16
  SubSection "Display"
    Depth 16
    Modes "1024x768"
  EndSubSection
EndSection

Section "DRI"
  Mode 0666
EndSection

Debian Linux: Squeeze ATI Fire GL T2 Thinkpad R50p xorg.conf with 3D

Problem: Squeeze Kernel does not Support older ATI chips with fglrx

Solution:  edit  with sudo nano /etc/X11/xorg.conf  and paste

(Remark: use Driver „ati“ for 3D , use „radeon“ for sometimes faster flashvideos)

Section "ServerLayout"
  Identifier     "X.org Configured"
  Screen      0  "Screen0" 0 0
  InputDevice    "Mouse0" "CorePointer"
  InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
  ModulePath   "/usr/lib/xorg/modules"
  FontPath     "/usr/share/fonts/X11/misc"
  FontPath     "/usr/share/fonts/X11/cyrillic"
  FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
  FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
  FontPath     "/usr/share/fonts/X11/Type1"
  FontPath     "/usr/share/fonts/X11/100dpi"
  FontPath     "/usr/share/fonts/X11/75dpi"
  FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
  FontPath     "built-ins"
EndSection

Section "Module"
  Load  "extmod"
  Load  "dri2"
  Load  "record"
  Load  "dbe"
  Load  "glx"
  Load  "dri"
EndSection

Section "InputDevice"
  Identifier  "Keyboard0"
  Driver      "kbd"
  Option      "xkblayout" "de"
EndSection

Section "InputDevice"
  Identifier  "Mouse0"
  Driver      "mouse"
  Option      "Protocol" "auto"
  Option      "Device" "/dev/input/mice"
  Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
  Identifier   "Monitor0"
  VendorName   "Monitor Vendor"
  ModelName    "Monitor Model"
EndSection

Section "Device"
        VendorName  "ATI Technologies Inc"
        BoardName   "M10 NT [FireGL Mobility T2]"
        BusID       "PCI:1:0:0"
        Option      "AGPMode" "4"
        Option      "EnablePageFlip" "True"
        Identifier      "ATI FireGL T2"
        Driver          "ati"
        VideoRam        131072
        Option          "UseFBDev"      "off"
        Option          "MergedFB"      "off"
        Option          "AGPMode"       "4"
        Option          "AccelDFS"      "on"
        Option          "DynamicClocks" "on"
        Option          "XAANoOffscreenPixmaps" "true"
EndSection

Section "Screen"
  Identifier "Screen0"
  Device     "Card0"
  Monitor    "Monitor0"
  SubSection "Display"
    Viewport   0 0
    Depth     1
  EndSubSection
  SubSection "Display"
    Viewport   0 0
    Depth     4
  EndSubSection
  SubSection "Display"
    Viewport   0 0
    Depth     8
  EndSubSection
  SubSection "Display"
    Viewport   0 0
    Depth     15
  EndSubSection
  SubSection "Display"
    Viewport   0 0
    Depth     16
  EndSubSection
  SubSection "Display"
    Viewport   0 0
    Depth     24
  EndSubSection
EndSection

Linux Bug: Disable Framebuffer Nvidia free Driver Nouveau for hanging xserver-xorg (for Servers)

Problem: Nouveau the free Version of the Nvidia Display Driver crash if you switch to Console or kill the xserver-xorg.Its enabled by default inside the KERNEL!! this WAS NOT DEFAULT at last DECADES!! (DEBIAN 3.0-5.0 never used it!, cause bugs and hanging Servers)

Solution:

echo 'blacklist nouveau' > /etc/modprobe.d/blacklist-nouveau.conf

then edit with $sudo nano /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="noquiet nouveau.nomodeset=0"     #on Ubuntu set "nomodeset noplymouth"
...

update grub Loader with
sudo update-grub2

REMARK: THIS MUST BE USED AT SERVERS FOR STABILITY!! REMOVE / BLACKLIST ALL UNEEDED DRIVER MODULES LIKE SOUND!
(DISABLE ALWAYS UNNEEDED CHIPS AT YOUR BIOS AGAINST PROBLEMS AND ENERGY COSTS)

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!

 

Debian Squeeze Bug: udevd-work: kernel-provided name ‘uinput’ and NAME= ‘input/uinput’ disagree, please use SYMLINK+

Problem: After a fresh Setup and first Reboot of Squeeze the Boot Message

udevd-work[77]: kernel-provided name 'uinput' and NAME= 'input/uinput' disagree, please use SYMLINK+= or change the kernel to provide the proper name

appears
Solution:
edit:
sudo nano /lib/udev/rules.d/50-udev-default.rules

and change,
KERNEL=="uinput", NAME="input/%k"

to:
KERNEL=="uinput", SYMLINK+="input/%k"

Debian Squeeze: Which is current the best Debian for Laptops?

Problem: There is no difference between new and old Laptops, they always need the best Drivers on Linux to operate safe.

Solution: For this you should take Sqeeze Debian Version. To get a fast Desktop on a older Laptop like a Thinkpad R50p or T30 you can use LXDE Desktop.

/etc/apt/sources.list

deb http://ftp2.de.debian.org/debian/ squeeze main non-free contrib
deb-src http://ftp2.de.debian.org/debian/ squeeze main non-free contrib
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

for upgrade, or take the LXDE-Debian-testing iso of the Debian Mirrors.
To install with a Install netinst – CD do:
aptitude install xdm lxde xserver-xorg pcman leafpad gpicview evince openoffice-org gimp iceweasel icedove vlc

to explain for new Linux Users:
xdm = Login Window
lxde = Desktop Window
xserver-xorg = Desktop Base
pcmanfm = fast Filemanager with smb and sftp options
leafpad = nice Editor
gpicview = view Images
evince = view PDF Documents
openoffice = free Office
Gimp = Image Editing
iceweasel = Browser
icedove= eMail
vlc = View Videos or News online
Remark: Base Memory usage of all near 120MB Ram only !!
If you want to get a very fast Browser you can install Google Chrome

Ubuntu Debian: Replace Oracle OpenOffice with Free LibreOffice

Problem: Last weeks most of the free OpenOffice (Oracle owned) workers moves to the new free version LibreOffice
http://www.documentfoundation.org
Solution: To use free Software do:

on 32bit:
download files..

cd /tmp
wget http://ftp5.gwdg.de/pub/tdf/libreoffice/testing/3.3.0-beta2/deb/x86/LibO_3.3.0_beta2_Linux_x86_install-deb_en-US.tar.gz
wget http://ftp5.gwdg.de/pub/tdf/libreoffice/testing/3.3.0-beta2/deb/x86/LibO_3.3.0_beta2_Linux_x86_langpack-deb_de.tar.gz

unpack..
tar -xzvf LibO_3.3.0_beta2_Linux_x86_install-deb_en-US.tar.gz
tar -xzvf LibO_3.3.0_beta2_Linux_x86_langpack-deb_de.tar.gz

go into file to install..
cd DEBS
sudo dpkg -i *.deb
sudo dpkg -i desktop-integration/*menus*.deb
cd /tmp/DE/DEBS
sudo dpkg -i *.deb

ENJOY THE NEW FREEDOM…

on 64bit:
download files..

cd /tmp
wget http://download.documentfoundation.org/libreoffice/testing/3.3.0-beta2/deb/x86_64/LibO_3.3.0_beta2_Linux_x86-64_install-deb_en-US.tar.gz
wget http://download.documentfoundation.org/libreoffice/testing/3.3.0-beta2/deb/x86_64/LibO_3.3.0_beta2_Linux_x86-64_langpack-deb_de.tar.gz

unpack files..
tar -xzvf LibO_3.3.0_beta2_Linux_x86_install-deb_en-US.tar.gz
tar -xzvf LibO_3.3.0_beta2_Linux_x86_langpack-deb_de.tar.gz

go into file to install..
cd DEBS
sudo dpkg -i *.deb
sudo dpkg -i desktop-integration/*menus*.deb
cd /tmp/DE/DEBS
sudo dpkg -i *.deb

ENJOY THE NEW FREEDOM…

if preinstalled Libre office (update Libre Office) after tar command!

cd en-US
sudo ./update
cd DEBS
sudo dpkg -i *.deb
sudo dpkg -i desktop-integration/*menus*.deb
cd /tmp/DE/DEBS
sudo dpkg -i *.deb

Ubuntu Lucid Lynx 10.04: FireGL xorg.conf Thinkpad R50p

Problem: By default the xorg.conf FireGL 128MB radeon driver settings are slow settings

Solution: to get a faster behavior do edit /etc/X11/xorg.conf
(Update: use Driver „ati“ for 3D, use „radeon“ for better flashvideos)

# sudo nano /etc/X11/xorg.conf

and change radeon area to:
Section "Device"
        VendorName  "ATI Technologies Inc"
        BoardName   "M10 NT [FireGL Mobility T2]"
        BusID       "PCI:1:0:0"
        Option      "AGPMode" "4"
        Option      "EnablePageFlip" "True"
        Identifier      "ATI FireGL T2"
        Driver          "radeon"
        VideoRam        131072
        Option          "UseFBDev"      "off"
        Option          "MergedFB"      "off"
        Option          "AGPMode"       "4"
        Option          "AccelDFS"      "on"
        Option          "DynamicClocks" "on"
        Option          "XAANoOffscreenPixmaps" "true"
EndSection