Category: Linux Fehler-Bugs

Debian Wheezy: linux/videodev.h no such file or directory mjpg-streamer compile error

Problem: On Debian Wheezy Kernel 3.0 the compile of older video4linux (like mjpg-streamer)  scripts fails with message, cause linux/videodev.h was replaced by linux/videodev2.h Error Message at "make" compile: …linux/videodev.h : no such file or directory Solution: download last sources of mjpg-streamer-experimental and extract to /usr/src/mjpg-streamer/ sudo cd /usr/src/mjpg-streamer/  and sudo make clean all, if fails then sudo apt-cache search videodev.h shows libvideo-ivtv-perl sudo aptitude install libvideo-ivtv-perl try recompile if fails.. updatedb && locate videodev.h, shows not found ??  then.. updatedb && locate videodev2.h, videodev2.h is found? then cp /usr/include/linux/videodev2.h  /usr/include/linux/videodev.h try recompile, if libjpeg errors appear then install sudo aptitude […]

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 […]

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:  […]

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"

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