Notizblock

From ThorstensHome
Revision as of 10:09, 18 October 2008 by WikiSysop (Talk)

Jump to: navigation, search

Contents

common

[ 44%] Building CXX object kio/kio/dummyanalyzers/CMakeFiles/dummy.dir/dummyanalyzers.o /root/kdelibs/kio/kio/dummyanalyzers/dummyanalyzers.cpp:44: error: conflicting return type specified for ‘virtual char DummyEndAnalyzer::analyze(Strigi::AnalysisResult&, Strigi::InputStream*)’ /root/kde/include/strigi/streamendanalyzer.h:37: error: overriding ‘virtual signed char Strigi::StreamEndAnalyzer::analyze(Strigi::AnalysisResult&, Strigi::InputStream*)’ make[2]: *** [kio/kio/dummyanalyzers/CMakeFiles/dummy.dir/dummyanalyzers.o] Error 1 make[1]: *** [kio/kio/dummyanalyzers/CMakeFiles/dummy.dir/all] Error 2 make: *** [all] Error 2 makeobj[0]: Leaving directory `/root/kdelibs-build'

Thorst%D0%B5nStaerk http://abi97forum.netwalks.de/viewtopic.php?t=5 https://87.230.12.146 http://87.230.12.146/squirrelmail https://kis.hosteurope.de 124342 sdaf Weg von GER nach ROT: 51,2 km; 51,8km Weg von GER nach ROT über Landstraße über WDF: 42,1 km MO 11:30-19:00 TU 9:00-18:45 WE 9:15- áa+äaaaá http://forum.firmware-flash.com/viewtopic.php?p=119854 http://forum.rpc1.org/viewtopic.php?t=21903&start=0 dritte seite von den letzten link hatt am ende ein neue firmware, die kannst du mal probieren um deine -R dvd rohlinge zu brennen. wenn es nicht funktioniert kannst du immer noch den alten firmware zurueckspielen mencoder test.dv -o test.avi -oac lavc -ovc lavc

https://service.education.sap.com/sap(bD1lbiZjPTAwMSZkPW1pbg==)/bc/bsp/sap/hcm_learning/trainingtype.htm?sap-params=b3R5cGU9RCZvYmppZD03MDAwMzk3MA%3d%3d

Video conversion

mencoder -vf pp=ci -oac mp3lame -ovc x264 -x264encopts pass=1 -o test_010.avi file.dv

with cubic interpolation

mencoder capture013.dv -o capture013.avi -vf pp=ci -oac lavc -ovc lavc

WPA

Trying to get wpa working with SUSE 10.2 and a prism54 card.

  • yast2 -i madwifi-devel
  • download and unpack wpa_supplicant 0.5.7
  • copy defconfig to .config
  • modify .config, make sure it contains
# Driver interface for madwifi driver
CONFIG_DRIVER_MADWIFI=y
# Change include directories to match with the local setup
CFLAGS += -I/usr/include/madwifi-0.9.2
  • make
  • make install (fails)

wiki-article

  • wikis
  • recent changes
  • user contributions
  • history
  • watch
  • wiki2mindmap
  • wikiBenchMark
  • CMS
  • encyclopedia
  • knowledgebase
  • phantasy
  • SAP

staerk@88.198.137.2

wiki-presentation

There are 10% of your knowledge that you need in 90% of the talks, and 90% you only need in only 10%. This presentation aims at giving you 10% of my Linux-knowledge to be used in communication. If you need a part of the remaining 90%, call me :) This is NOT a preperation for any certification like RHCS, LPI or so!

  • Tobias' slides
  • top
  • ls -A
  • ls -ltr
  • FHS
  • /root/home
  • /proc
  • hwinfo
  • which
  • devices
  • cat /dev/urandom > /dev/dsp
  • uptime
  • grep
  • strace
  • rpm -qa/-ql/-qf/-ivh
  • noarch/src/i386/i586/i686
  • uname -a
  • cat /etc/*ele*
  • ethereal
  • wireshark
  • route
  • ifconfig
  • /etc/resolv.conf
  • nmap
  • netstat
  • netcat
  • nslookup
  • ping
  • /etc/init.d/network/ifcfg-eth-id/etc/init.d/network-scripts/ifcfg-eth0
  • yast2
  • ssh -X/nx/VNC/rdesktop
  • NIS, YP, LDAP, AD
  • tar, bunzip2, piping
  • mount
  • resize-fs

WLAN

Managed
SWWLAN
WPA-PSK
Passphrase

Portemonnaie

- Kreditkarte - EC-Karte - Geld

my mail system

I have a virtual root server in the internet. On it, the following programs run:

  • procmail
  • fetchmail
  • webmin
  • courier-imapd
  • squirrelmail
  • spamassassin

I configured procmail with webmin to put the mails in the maildir format in /home/staerk/Maildir. I configured fetchmail with webmin to get my mail from www.gmx.de and my other mail account. I configured courier-imapd to do authpwd so imap users are authenticated from /etc/passwd spamassassin is configured to tag spam mail with ***SPAM*** I run a script with a cron job to fetch mails from staerk.de. It has to run as staerk. I run a script with a cron job to delete all spam mails in /home/staerk/Maildir/new

problems

courier delivers the following msg in squirrelmail: ERROR: Connection dropped by IMAP server. => no longer if you do not use courier-imapd-old. dovecot shows all e-Mails in squirrelmail, but empty => workaround: chmod 777, fix: using courier-imapd && authpwd

my QEMU benchmark

QEmu guest system openSUSE 10.2, command is

1:time (for i in $(seq 1 1 10000); do echo $i>>file;done)
2:time (for i in $(seq 1 1 10000); do echo $i>>/dev/null;done)
host command times without kqemu times with kqemu times native
XEON 1       17-7-2     
XEON 2       16-7-1
PIV  1       20-8-3              6-2-2            1-0-0

my easy benchmark

Goal: Get a rough impression of system power Command is

time (for i in $(seq 1 1 10000); do echo $i>>file;done)

Or if bash is not available, write a script that does this and call it using time

system     real time  user time  system time
Nokia N810      2.8s       0.8s         0.9s

my private benchmarks

KDE compilation benchmark

Computer command time   Env remark
1        1       2:39h  1
2        1       0:55h  1   HT on
2        1       0:59h  1   HT off
3        2       41:31m 2   
2        2       1:35h  2   HT on
4        3       16:24m 3   make -j2 
2        3       43:23  3 
5        2        2:55m 2   make -j32
6        4       15:36m 4   make -j8
6        5        1:13h 5   (virtualbox)
6        5       38:32m 6   make -j2

Computer
1 1.5 GHz P-IV, 256 MB RAM
2 3.0 GHz P-IV, 512 MB RAM
3 1.73GHz P-M, 512 MB RAM
4 2x1.83GHz P-M, 2 GB RAM
5 16x2.92GHz Xeon, 128 GB RAM
6 4x2.4GHz x64, 4 GB RAM

Environment
1: GCC 3
2: GCC 4, more and newer code
3: GCC 4, more and newer code, CMake, QT 4, KDEPIM 656855
4: GCC 4, KDEPIM Revision: 773158, Automake, QT 3
5: GCC 4, KDEPIM Revision: 854206, CMake, QT 4 on VirtualBox
6: GCC 4, KDEPIM Revision: 854206, CMake, QT 4 on VMWare VM, 2 vCPU
Command 
1 date >> date.dat && rm -rf bench && tar -xvf bench.tar && cd bench/kdepim/ && make -f Makefile.cvs && ./configure && make && make install && cd ../.. && date >> date.dat
2 date >> date.dat && rm -rf bench && tar -xvf bench.tar && cd bench/kdepim/ && make -f Makefile.cvs && ./configure && make -j4 && make install && cd ../.. && date >> date.dat
3 make clean; rm CMakeCache.txt; date >>date.txt && cmakekde && date >>date.txt
4 make clean && date>>date.dat && make -f Makefile.cvs && ./configure && unsermake -j8 && unsermake install && date >> date.dat
5 make clean; rm CMakeCache.txt; date >>date.txt && cmake . && make && make install && date >>date.txt

power consumption

                                 zero load   high load
3 GHz P IV with 512MB RAM          145.7 W     217.7 W
2.4 GHz Quad Core with 4GB RAM      72.4 W     152.4 W
CRT Monitor 14"                          57.5 W
TFT Monitor 22"                          30.4 W

disk I/O

USB disk on scorpio, the lower USB card.

scorpio:/media/disk # bonnie -o_direct -s 1
Bonnie: Warning: You have 250MB RAM, but you test with only 1MB datasize!
Bonnie:          This might yield unrealistically good results,
Bonnie:          for reading and seeking and writing.
Bonnie 1.4: File './Bonnie.4608', size: 1048576, volumes: 1
Using O_DIRECT for block based I/O
Writing with putc()...         done:    116 kB/s   5.0 %CPU

IDE disk on scorpio

scorpio:~ # bonnie -o_direct -s 1
Bonnie: Warning: You have 250MB RAM, but you test with only 1MB datasize!
Bonnie:          This might yield unrealistically good results,
Bonnie:          for reading and seeking and writing.
Bonnie 1.4: File './Bonnie.5050', size: 1048576, volumes: 1
Using O_DIRECT for block based I/O 
Writing with putc()...         done:  16079 kB/s  81.7 %CPU

USB disk on duffman (Latitude D610)

duffman:~ # bonnie -o_direct -s 1
Bonnie: Warning: You have 503MB RAM, but you test with only 1MB datasize!
Bonnie:          This might yield unrealistically good results,
Bonnie:          for reading and seeking and writing.
Bonnie 1.4: File './Bonnie.9098', size: 1048576, volumes: 1
Using O_DIRECT for block based I/O
Writing with putc()...         done:   8440 kB/s  52.8 %CPU

active USB disk on chris (Latitude D620)

duffman:~ # bonnie -o_direct -s 1
Bonnie: Warning: You have 2026MB RAM, but you test with only 1MB datasize!
Bonnie:          This might yield unrealistically good results,
Bonnie:          for reading and seeking and writing.
Bonnie 1.4: File './Bonnie.5974', size: 1048576, volumes: 1
Using O_DIRECT for block based I/O
Writing with putc()...         done:   9081 kB/s  49.7 %CPU

internal disk in bort (Inspiron 530)

bort:~ # bonnie -s 1000
Bonnie 1.4: File './Bonnie.13566', size: 1048576000, volumes: 1
Writing with putc()...         done:  67207 kB/s  92.1 %CPU

Internal 1TB 32MB Samsung disk in (bort=tweedleburg)

tweedleburg:/mnt/sdb1 # bonnie -s 1000
Bonnie 1.4: File './Bonnie.5710', size: 1048576000, volumes: 1
Writing with putc()...         done:  67345 kB/s  92.9 %CPU

Internal disk in (bort=tweedleburg) being /dev/sda, 1TB 32M Cache Samsung /dev/sdb:

tweedleburg:~ # hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   7116 MB in  2.00 seconds = 3561.63 MB/sec
 Timing buffered disk reads:  212 MB in  3.03 seconds =  70.05 MB/sec
tweedleburg:~ # hdparm -tT /dev/sdb

/dev/sdb:
 Timing cached reads:   7328 MB in  2.00 seconds = 3668.03 MB/sec
 Timing buffered disk reads:  280 MB in  3.01 seconds =  93.03 MB/sec

graphic cards

terminal server scorpio: 55-70 FPS with 10 rows from glxgears. Connection between scorpio and bort: 100Mb. bort: 5179-5199 FPS with 10 rows from glxgears.

netWork

Testing a 100Mb connection between scorpio and bort.

Latency

Connection between scorpio and bort: 100Mb over two switches. 10 pings from bort to scorpio: between 0.257 ms and 0.267 ms. Connection between scorpio and bort:1000Mb direct, no switches. 10 pings from bort to scorpio: between 0.074 ms and 0.103 ms.

ThroughPut

dd if=/dev/zero | netcat scorpio 8000
4.3 MB/s

KDE memory consumption

KDE 4

linux-gqit:~ # free
             total       used       free     shared    buffers     cached
Mem:       4060060     799476    3260584          0      30328     442632
-/+ buffers/cache:     326516    3733544
Swap:            0          0          0

KDE 3 tweedleburg:~ # free

            total       used       free     shared    buffers     cached

Mem: 4053152 2152388 1900764 0 89252 1520860 -/+ buffers/cache: 542276 3510876 Swap: 0 0 0

How I configure my flatscreen with SUSE 9.2

  1. I have a miro FP176. The problem is that my flatscreen writes "please wait" after X is started for a short time. To avoid this: have a default installation of SUSE 9.2
  2. yast2 -> hardware -> Graphic Card and Monitor -> Change -> Desktop -> Monitor -> Change Configuration -> Properties -> LCD -> 1280x1024 @ 70 Hz -> Expert -> XServerPool -> saving -> restarting X with CTRL_ALT_Backspace

how to change the login manager The login manager depends on the display manager. To replace xdm login manager by kdm display manager, change the "DISPLAYMANAGER" entry in /etc/sysconfig/displaymanager and run a SuSEConfig.

Building KDE

everytime when I re-setup my computer, I have the same problem compiling KDE PIM. The problem is known, e.g. from http://lists.kde.org/?l=kde-devel&m=111890541713525&w=2

Error message is: lt-kxml_compiler: symbol lookup error: lt-kxml_compiler: undefined symbol: _ZN4KODE8FunctionC1ERK7QStringS3_ib Error creating ./kresources/featureplan/kde-features.h. Exit status 127.

Solution is: Change directory to .kresources/featureplan. See if you can reproduce the problem, issue:

../../kode/kxml_compiler/kxml_compiler --custom-parser

/root/svn/kdepim/kresources/featureplan/kde-features.rng If you can reproduce the problem, do a

kxml_compiler --custom-parser

/root/svn/kdepim/kresources/featureplan/kde-features.rng then continue with

make

and live happy ever after. Even a make clean will not make the error re-occur!

My IT infrastructure at home

Requirements

  • printServer
  • ScanStation
  • WLAN Router
  • iSCSI storage
  • NAS storage
  • compile cluster nodes
  • KDE sources storage
  • Virtual machines
  • DNS (scorpio && kolossus)
  • DHCP (fixed-address)
  • terminal server for Anna

My UMTS

Dell Novatel Wireless HSDPA Modem
drivers: option
loading option

akademie2008

need to get into wlan via knetworkmanager.

Saturday

  • slept in Montreal hotel

Sunday

  • icecream
  • qtwebkit-presentation
  • met with dfaure
  • ktimetracker-article for mediawiki

Monday

Tuesday

  • n810
  • Usability discussion with Tobias
  • Cornelius had a t-shirt where it was written on: read books, no t-shirts

Wednesday

  • to install openssh on a nokia 810
  • activate the maemo repository in the package manager
    • settings->application manager
    • tools -> application catalog
    • memo extras -> edit -> un-tag "disabled"
    • close
    • browse installable applications
    • all
    • openssh
    • install

Thursday

scratchbox

Scratchbox allows me to cross-compile ARM binaries on my i386. Source: http://tablets-dev.nokia.com/4.1/INSTALL.txt

wget http://repository.maemo.org/stable/diablo/maemo-scratchbox-install_4.1.sh
chmod 777 maemo-scratchbox-install_4.1.sh
./maemo-scratchbox-install_4.1.sh
  • make target1
wget http://repository.maemo.org/stable/diablo/maemo-sdk-install_4.1.sh
sh maemo-sdk-install_4.1.sh
  • start scratchbox
sb-conf select DIABLO_ARMEL
gcc main.c
[sbox-DIABLO_ARMEL: ~] > file a.out
a.out: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), not stripped
  • copy the file to your Nokia N810 using scp

=> the file is executable on the Nokia

  • now install QT
apt-get install libqt4-dev

install subversion

  • to install openssh on a nokia 810
  • activate the maemo repository in the package manager
    • settings->application manager
    • tools -> application catalog
    • memo extras -> edit -> un-tag "disabled"
    • close
    • browse installable applications
    • all
    • openssh
    • install
ssh root@localhost
apt-get install subversion

install cmake

wget http://www.cmake.org/files/v2.6/cmake-2.6.1.tar.gz
tar -zxf cmake-2.6.1.tar.gz
mkdir cmake-build
cd cmake-build 
../cmake-2.6.1/bootstrap
make