+ <div class="entry">
+ <div class="title"><a href="http://people.skolelinux.org/pere/blog/165_norske_overv__kningskamera_registert_s___langt_i_OpenStreetmap_org.html">165 norske overvåkningskamera registert så langt i OpenStreetmap.org</a></div>
+ <div class="date">2010-12-24 11:20</div>
+ <div class="body">
+<p>Jeg flikket litt på OpenStreetmap.org i går, og oppdaget ved en
+tilfeldighet at det er en rekke noder som representerer
+overvåkningskamera som ikke blir med på kartet med overvåkningskamera
+i Norge som
+<a href="http://people.skolelinux.org/pere/blog/Kart_over_overv__kningskamera_i_Norge.html">jeg
+laget</a> for snart to år siden. Fra før tok jeg med noder merket med
+man_made=surveillance, mens det er en rekke noder som kun er merket
+med highway=speed_camera. Endret på koden som henter ut kameralisten
+fra OSM, og vips er antall kamera økt til 165.</p>
+
+<a href="http://people.skolelinux.no/pere/surveillance-norway/">Kartet</a>
+er fortsatt ikke komplett, så hvis du ser noen kamera som mangler,
+legg inn ved å følge instruksene fra
+<a href="http://personvern.no/wiki/index.php/Kameraovervåkning">prosjektsiden</a>.
+Hvis du vet om noen flere måter å merke overvåkningskamera i OSM, ta
+kontakt slik at jeg kan få med også disse.</p>
+</div>
+ <div class="tags">
+
+
+
+ Tags: <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern</a>.
+
+ </div>
+ </div>
+ <div class="padding"></div>
+
+ <div class="entry">
+ <div class="title"><a href="http://people.skolelinux.org/pere/blog/How_to_test_if_a_laptop_is_working_with_Linux.html">How to test if a laptop is working with Linux</a></div>
+ <div class="date">2010-12-22 14:55</div>
+ <div class="body">
+<p>The last few days I have spent at work here at the <a
+href="http://www.uio.no/">University of oslo</a> testing if the new
+batch of computers will work with Linux. Every year for the last few
+years the university have organized shared bid of a few thousand
+computers, and this year HP won the bid. Two different desktops and
+five different laptops are on the list this year. We in the UNIX
+group want to know which one of these computers work well with RHEL
+and Ubuntu, the two Linux distributions we currently handle at the
+university.</p>
+
+<p>My test method is simple, and I share it here to get feedback and
+perhaps inspire others to test hardware as well. To test, I PXE
+install the OS version of choice, and log in as my normal user and run
+a few applications and plug in selected pieces of hardware. When
+something fail, I make a note about this in the test matrix and move
+on. If I have some spare time I try to report the bug to the OS
+vendor, but as I only have the machines for a short time, I rarely
+have the time to do this for all the problems I find.</p>
+
+<p>Anyway, to get to the point of this post. Here is the simple tests
+I perform on a new model.</p>
+
+<ul>
+
+<li>Is PXE installation working? I'm testing with RHEL6, Ubuntu Lucid
+and Ubuntu Maverik at the moment. If I feel like it, I also test with
+RHEL5 and Debian Edu/Squeeze.</li>
+
+<li>Is X.org working? If the graphical login screen show up after
+installation, X.org is working.</li>
+
+<li>Is hardware accelerated OpenGL working? Running glxgears (in
+package mesa-utils on Ubuntu) and writing down the frames per second
+reported by the program.</li>
+
+<li>Is sound working? With Gnome and KDE, a sound is played when
+logging in, and if I can hear this the test is successful. If there
+are several audio exits on the machine, I try them all and check if
+the Gnome/KDE audio mixer can control where to send the sound. I
+normally test this by playing
+<a href="http://www.nuug.no/aktiviteter/20101012-chef/ ">a HTML5
+video</a> in Firefox/Iceweasel.</li>
+
+<li>Is the USB subsystem working? I test this by plugging in a USB
+memory stick and see if Gnome/KDE notices this.</li>
+
+<li>Is the CD/DVD player working? I test this by inserting any CD/DVD
+I have lying around, and see if Gnome/KDE notices this.</li>
+
+<li>Is any built in camera working? Test using cheese, and see if a
+picture from the v4l device show up.</li>
+
+<li>Is bluetooth working? Use the Gnome/KDE browsing tool to see if
+any bluetooth devices are discovered. In my office, I normally see a
+few.</li>
+
+<li>For laptops, is the SD or Compaq Flash reader working. I have
+memory modules lying around, and stick them in and see if Gnome/KDE
+notice this.</li>
+
+<li>For laptops, is suspecd/hibernate working? I'm testing if the
+special button work, and if the laptop continue to work after
+resume.</li>
+
+<li>For laptops, is the extra buttons working, like audio level,
+adjusting background light, switching on/off external video output,
+switching on/off wifi, bluetooth, etc? The set of buttons differ from
+laptop to laptop, so I just write down which are working and which are
+not.</li>
+
+<li>Some laptops have smart card readers, finger print readers,
+acceleration sensors etc. I rarely test these, as I do not know how
+to quickly test if they are working or not, so I only document their
+existence.</li>
+
+</ul>
+
+<p>By now I suspect you are really curious what the test results are
+for the HP machines I am testing. I'm not done yet, so I will report
+the test results later. For now I can report that HP 8100 Elite work
+fine, and hibernation fail with HP EliteBook 8440p on Ubuntu Lucid,
+and audio fail on RHEL6. Ubuntu Maverik worked with 8440p. As you
+can see, I have most machines left to test. One interesting
+observation is that Ubuntu Lucid has almost twice the framerate than
+RHEL6 with glxgears. No idea why.</p>
+</div>
+ <div class="tags">
+
+
+
+ Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>.
+
+ </div>
+ </div>
+ <div class="padding"></div>
+
<div class="entry">
<div class="title"><a href="http://people.skolelinux.org/pere/blog/Some_thoughts_on_BitCoins.html">Some thoughts on BitCoins</a></div>
<div class="date">2010-12-11 15:10</div>
</div>
<div class="padding"></div>
- <div class="entry">
- <div class="title"><a href="http://people.skolelinux.org/pere/blog/Lenny__Squeeze_upgrades_of_the_Gnome_and_KDE_desktop__now_with_apt_get_autoremove.html">Lenny->Squeeze upgrades of the Gnome and KDE desktop, now with apt-get autoremove</a></div>
- <div class="date">2010-11-22 14:15</div>
- <div class="body">
-<p>Michael Biebl suggested to me on IRC, that I changed my automated
-upgrade testing of the
-<a href="http://people.skolelinux.org/~pere/debian-upgrade-testing/">Lenny
-Gnome and KDE Desktop</a> to do <tt>apt-get autoremove</tt> when using apt-get.
-This seem like a very good idea, so I adjusted by test scripts and
-can now present the updated result from today:</p>
-
-<p>This is for Gnome:</p>
-
-<p>Installed using apt-get, missing with aptitude</p>
-
-<blockquote><p>
- apache2.2-bin
- aptdaemon
- baobab
- binfmt-support
- browser-plugin-gnash
- cheese-common
- cli-common
- cups-pk-helper
- dmz-cursor-theme
- empathy
- empathy-common
- freedesktop-sound-theme
- freeglut3
- gconf-defaults-service
- gdm-themes
- gedit-plugins
- geoclue
- geoclue-hostip
- geoclue-localnet
- geoclue-manual
- geoclue-yahoo
- gnash
- gnash-common
- gnome
- gnome-backgrounds
- gnome-cards-data
- gnome-codec-install
- gnome-core
- gnome-desktop-environment
- gnome-disk-utility
- gnome-screenshot
- gnome-search-tool
- gnome-session-canberra
- gnome-system-log
- gnome-themes-extras
- gnome-themes-more
- gnome-user-share
- gstreamer0.10-fluendo-mp3
- gstreamer0.10-tools
- gtk2-engines
- gtk2-engines-pixbuf
- gtk2-engines-smooth
- hamster-applet
- libapache2-mod-dnssd
- libapr1
- libaprutil1
- libaprutil1-dbd-sqlite3
- libaprutil1-ldap
- libart2.0-cil
- libboost-date-time1.42.0
- libboost-python1.42.0
- libboost-thread1.42.0
- libchamplain-0.4-0
- libchamplain-gtk-0.4-0
- libcheese-gtk18
- libclutter-gtk-0.10-0
- libcryptui0
- libdiscid0
- libelf1
- libepc-1.0-2
- libepc-common
- libepc-ui-1.0-2
- libfreerdp-plugins-standard
- libfreerdp0
- libgconf2.0-cil
- libgdata-common
- libgdata7
- libgdu-gtk0
- libgee2
- libgeoclue0
- libgexiv2-0
- libgif4
- libglade2.0-cil
- libglib2.0-cil
- libgmime2.4-cil
- libgnome-vfs2.0-cil
- libgnome2.24-cil
- libgnomepanel2.24-cil
- libgpod-common
- libgpod4
- libgtk2.0-cil
- libgtkglext1
- libgtksourceview2.0-common
- libmono-addins-gui0.2-cil
- libmono-addins0.2-cil
- libmono-cairo2.0-cil
- libmono-corlib2.0-cil
- libmono-i18n-west2.0-cil
- libmono-posix2.0-cil
- libmono-security2.0-cil
- libmono-sharpzip2.84-cil
- libmono-system2.0-cil
- libmtp8
- libmusicbrainz3-6
- libndesk-dbus-glib1.0-cil
- libndesk-dbus1.0-cil
- libopal3.6.8
- libpolkit-gtk-1-0
- libpt2.6.7
- libpython2.6
- librpm1
- librpmio1
- libsdl1.2debian
- libsrtp0
- libssh-4
- libtelepathy-farsight0
- libtelepathy-glib0
- libtidy-0.99-0
- media-player-info
- mesa-utils
- mono-2.0-gac
- mono-gac
- mono-runtime
- nautilus-sendto
- nautilus-sendto-empathy
- p7zip-full
- pkg-config
- python-aptdaemon
- python-aptdaemon-gtk
- python-axiom
- python-beautifulsoup
- python-bugbuddy
- python-clientform
- python-coherence
- python-configobj
- python-crypto
- python-cupshelpers
- python-elementtree
- python-epsilon
- python-evolution
- python-feedparser
- python-gdata
- python-gdbm
- python-gst0.10
- python-gtkglext1
- python-gtksourceview2
- python-httplib2
- python-louie
- python-mako
- python-markupsafe
- python-mechanize
- python-nevow
- python-notify
- python-opengl
- python-openssl
- python-pam
- python-pkg-resources
- python-pyasn1
- python-pysqlite2
- python-rdflib
- python-serial
- python-tagpy
- python-twisted-bin
- python-twisted-conch
- python-twisted-core
- python-twisted-web
- python-utidylib
- python-webkit
- python-xdg
- python-zope.interface
- remmina
- remmina-plugin-data
- remmina-plugin-rdp
- remmina-plugin-vnc
- rhythmbox-plugin-cdrecorder
- rhythmbox-plugins
- rpm-common
- rpm2cpio
- seahorse-plugins
- shotwell
- software-center
- system-config-printer-udev
- telepathy-gabble
- telepathy-mission-control-5
- telepathy-salut
- tomboy
- totem
- totem-coherence
- totem-mozilla
- totem-plugins
- transmission-common
- xdg-user-dirs
- xdg-user-dirs-gtk
- xserver-xephyr
-</p></blockquote>
-
-<p>Installed using apt-get, removed with aptitude</p>
-
-<blockquote><p>
- cheese
- ekiga
- eog
- epiphany-extensions
- evolution-exchange
- fast-user-switch-applet
- file-roller
- gcalctool
- gconf-editor
- gdm
- gedit
- gedit-common
- gnome-games
- gnome-games-data
- gnome-nettool
- gnome-system-tools
- gnome-themes
- gnuchess
- gucharmap
- guile-1.8-libs
- libavahi-ui0
- libdmx1
- libgalago3
- libgtk-vnc-1.0-0
- libgtksourceview2.0-0
- liblircclient0
- libsdl1.2debian-alsa
- libspeexdsp1
- libsvga1
- rhythmbox
- seahorse
- sound-juicer
- system-config-printer
- totem-common
- transmission-gtk
- vinagre
- vino
-</p></blockquote>
-
-<p>Installed using aptitude, missing with apt-get</p>
-
-<blockquote><p>
- gstreamer0.10-gnomevfs
-</p></blockquote>
-
-<p>Installed using aptitude, removed with apt-get</p>
-
-<blockquote><p>
-[nothing]
-</p></blockquote>
-
-<p>This is for KDE:</p>
-
-<p>Installed using apt-get, missing with aptitude</p>
-
-<blockquote><p>
- ksmserver
-</p></blockquote>
-
-<p>Installed using apt-get, removed with aptitude</p>
-
-<blockquote><p>
- kwin
- network-manager-kde
-</p></blockquote>
-
-<p>Installed using aptitude, missing with apt-get</p>
-
-<blockquote><p>
- arts
- dolphin
- freespacenotifier
- google-gadgets-gst
- google-gadgets-xul
- kappfinder
- kcalc
- kcharselect
- kde-core
- kde-plasma-desktop
- kde-standard
- kde-window-manager
- kdeartwork
- kdeartwork-emoticons
- kdeartwork-style
- kdeartwork-theme-icon
- kdebase
- kdebase-apps
- kdebase-workspace
- kdebase-workspace-bin
- kdebase-workspace-data
- kdeeject
- kdelibs
- kdeplasma-addons
- kdeutils
- kdewallpapers
- kdf
- kfloppy
- kgpg
- khelpcenter4
- kinfocenter
- konq-plugins-l10n
- konqueror-nsplugins
- kscreensaver
- kscreensaver-xsavers
- ktimer
- kwrite
- libgle3
- libkde4-ruby1.8
- libkonq5
- libkonq5-templates
- libnetpbm10
- libplasma-ruby
- libplasma-ruby1.8
- libqt4-ruby1.8
- marble-data
- marble-plugins
- netpbm
- nuvola-icon-theme
- plasma-dataengines-workspace
- plasma-desktop
- plasma-desktopthemes-artwork
- plasma-runners-addons
- plasma-scriptengine-googlegadgets
- plasma-scriptengine-python
- plasma-scriptengine-qedje
- plasma-scriptengine-ruby
- plasma-scriptengine-webkit
- plasma-scriptengines
- plasma-wallpapers-addons
- plasma-widget-folderview
- plasma-widget-networkmanagement
- ruby
- sweeper
- update-notifier-kde
- xscreensaver-data-extra
- xscreensaver-gl
- xscreensaver-gl-extra
- xscreensaver-screensaver-bsod
-</p></blockquote>
-
-<p>Installed using aptitude, removed with apt-get</p>
-
-<blockquote><p>
- ark
- google-gadgets-common
- google-gadgets-qt
- htdig
- kate
- kdebase-bin
- kdebase-data
- kdepasswd
- kfind
- klipper
- konq-plugins
- konqueror
- ksysguard
- ksysguardd
- libarchive1
- libcln6
- libeet1
- libeina-svn-06
- libggadget-1.0-0b
- libggadget-qt-1.0-0b
- libgps19
- libkdecorations4
- libkephal4
- libkonq4
- libkonqsidebarplugin4a
- libkscreensaver5
- libksgrd4
- libksignalplotter4
- libkunitconversion4
- libkwineffects1a
- libmarblewidget4
- libntrack-qt4-1
- libntrack0
- libplasma-geolocation-interface4
- libplasmaclock4a
- libplasmagenericshell4
- libprocesscore4a
- libprocessui4a
- libqalculate5
- libqedje0a
- libqtruby4shared2
- libqzion0a
- libruby1.8
- libscim8c2a
- libsmokekdecore4-3
- libsmokekdeui4-3
- libsmokekfile3
- libsmokekhtml3
- libsmokekio3
- libsmokeknewstuff2-3
- libsmokeknewstuff3-3
- libsmokekparts3
- libsmokektexteditor3
- libsmokekutils3
- libsmokenepomuk3
- libsmokephonon3
- libsmokeplasma3
- libsmokeqtcore4-3
- libsmokeqtdbus4-3
- libsmokeqtgui4-3
- libsmokeqtnetwork4-3
- libsmokeqtopengl4-3
- libsmokeqtscript4-3
- libsmokeqtsql4-3
- libsmokeqtsvg4-3
- libsmokeqttest4-3
- libsmokeqtuitools4-3
- libsmokeqtwebkit4-3
- libsmokeqtxml4-3
- libsmokesolid3
- libsmokesoprano3
- libtaskmanager4a
- libtidy-0.99-0
- libweather-ion4a
- libxklavier16
- libxxf86misc1
- okteta
- oxygencursors
- plasma-dataengines-addons
- plasma-scriptengine-superkaramba
- plasma-widget-lancelot
- plasma-widgets-addons
- plasma-widgets-workspace
- polkit-kde-1
- ruby1.8
- systemsettings
- update-notifier-common
-</p></blockquote>
-
-<p>Running apt-get autoremove made the results using apt-get and
-aptitude a bit more similar, but there are still quite a lott of
-differences. I have no idea what packages should be installed after
-the upgrade, but hope those that do can have a look.</p>
-</div>
- <div class="tags">
-
-
-
- Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>.
-
- </div>
- </div>
- <div class="padding"></div>
-
- <div class="entry">
- <div class="title"><a href="http://people.skolelinux.org/pere/blog/Migrating_Xen_virtual_machines_using_LVM_to_KVM_using_disk_images.html">Migrating Xen virtual machines using LVM to KVM using disk images</a></div>
- <div class="date">2010-11-22 11:20</div>
- <div class="body">
-<p>Most of the computers in use by the
-<a href="http://www.skolelinux.org/">Debian Edu/Skolelinux project</a>
-are virtual machines. And they have been Xen machines running on a
-fairly old IBM eserver xseries 345 machine, and we wanted to migrate
-them to KVM on a newer Dell PowerEdge 2950 host machine. This was a
-bit harder that it could have been, because we set up the Xen virtual
-machines to get the virtual partitions from LVM, which as far as I
-know is not supported by KVM. So to migrate, we had to convert
-several LVM logical volumes to partitions on a virtual disk file.</p>
-
-<p>I found
-<a href="http://searchnetworking.techtarget.com.au/articles/35011-Six-steps-for-migrating-Xen-virtual-machines-to-KVM">a
-nice recipe</a> to do this, and wrote the following script to do the
-migration. It uses qemu-img from the qemu package to make the disk
-image, parted to partition it, losetup and kpartx to present the disk
-image partions as devices, and dd to copy the data. I NFS mounted the
-new servers storage area on the old server to do the migration.</p>
-
-<pre>
-#!/bin/sh
-
-# Based on
-# http://searchnetworking.techtarget.com.au/articles/35011-Six-steps-for-migrating-Xen-virtual-machines-to-KVM
-
-set -e
-set -x
-
-if [ -z "$1" ] ; then
- echo "Usage: $0 <hostname>"
- exit 1
-else
- host="$1"
-fi
-
-if [ ! -e /dev/vg_data/$host-disk ] ; then
- echo "error: unable to find LVM volume for $host"
- exit 1
-fi
-
-# Partitions need to be a bit bigger than the LVM LVs. not sure why.
-disksize=$( lvs --units m | grep $host-disk | awk '{sum = sum + $4} END { print int(sum * 1.05) }')
-swapsize=$( lvs --units m | grep $host-swap | awk '{sum = sum + $4} END { print int(sum * 1.05) }')
-totalsize=$(( ( $disksize + $swapsize ) ))
-
-img=$host.img
-#dd if=/dev/zero of=$img bs=1M count=$(( $disksize + $swapsize ))
-qemu-img create $img ${totalsize}MMaking room on the Debian Edu/Sqeeze DVD
-
-parted $img mklabel msdos
-parted $img mkpart primary linux-swap 0 $disksize
-parted $img mkpart primary ext2 $disksize $totalsize
-parted $img set 1 boot on
-
-modprobe dm-mod
-losetup /dev/loop0 $img
-kpartx -a /dev/loop0
-
-dd if=/dev/vg_data/$host-disk of=/dev/mapper/loop0p1 bs=1M
-fsck.ext3 -f /dev/mapper/loop0p1 || true
-mkswap /dev/mapper/loop0p2
-
-kpartx -d /dev/loop0
-losetup -d /dev/loop0
-</pre>
-
-<p>The script is perhaps so simple that it is not copyrightable, but
-if it is, it is licenced using GPL v2 or later at your discretion.</p>
-
-<p>After doing this, I booted a Debian CD in rescue mode in KVM with
-the new disk image attached, installed grub-pc and linux-image-686 and
-set up grub to boot from the disk image. After this, the KVM machines
-seem to work just fine.</p>
-</div>
- <div class="tags">
-
-
-
- Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>.
-
- </div>
- </div>
- <div class="padding"></div>
-
<p style="text-align: right;"><a href="index.rss"><img src="http://people.skolelinux.org/pere/blog/xml.gif" alt="RSS feed" width="36" height="14"></a></p>
<div id="sidebar">
<li><a href="http://people.skolelinux.org/pere/blog/archive/2010/11/">November (13)</a></li>
-<li><a href="http://people.skolelinux.org/pere/blog/archive/2010/12/">December (5)</a></li>
+<li><a href="http://people.skolelinux.org/pere/blog/archive/2010/12/">December (7)</a></li>
</ul></li>
<li><a href="http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (10)</a></li>
- <li><a href="http://people.skolelinux.org/pere/blog/tags/debian">debian (45)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/debian">debian (46)</a></li>
- <li><a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (52)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (53)</a></li>
- <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (76)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (77)</a></li>
<li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (1)</a></li>
<li><a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (11)</a></li>
- <li><a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk (93)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk (94)</a></li>
<li><a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug (114)</a></li>
<li><a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (18)</a></li>
- <li><a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern (30)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern (31)</a></li>
<li><a href="http://people.skolelinux.org/pere/blog/tags/reprap">reprap (11)</a></li>