1 <!DOCTYPE html PUBLIC 
"-//W3C//DTD XHTML 1.0 Strict//EN" 
   2         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
   5   <title>Petter Reinholdtsen
</title> 
   6   <link rel=
"stylesheet" type=
"text/css" media=
"screen" href=
"http://people.skolelinux.org/pere/blog/style.css"> 
   7   <link rel=
"alternate" title=
"RSS Feed" href=
"http://people.skolelinux.org/pere/blog/index.rss" type=
"application/rss+xml"> 
  14        <a href=
"http://people.skolelinux.org/pere/blog/">Petter Reinholdtsen
</a> 
  23   <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> 
  24   <div class=
"date">2010-
12-
22 14:
55</div> 
  26 <p>The last few days I have spent at work here at the 
<a 
  27 href=
"http://www.uio.no/">University of oslo
</a> testing if the new
 
  28 batch of computers will work with Linux.  Every year for the last few
 
  29 years the university have organized shared bid of a few thousand
 
  30 computers, and this year HP won the bid.  Two different desktops and
 
  31 five different laptops are on the list this year.  We in the UNIX
 
  32 group want to know which one of these computers work well with RHEL
 
  33 and Ubuntu, the two Linux distributions we currently handle at the
 
  36 <p>My test method is simple, and I share it here to get feedback and
 
  37 perhaps inspire others to test hardware as well.  To test, I PXE
 
  38 install the OS version of choice, and log in as my normal user and run
 
  39 a few applications and plug in selected pieces of hardware.  When
 
  40 something fail, I make a note about this in the test matrix and move
 
  41 on.  If I have some spare time I try to report the bug to the OS
 
  42 vendor, but as I only have the machines for a short time, I rarely
 
  43 have the time to do this for all the problems I find.
</p> 
  45 <p>Anyway, to get to the point of this post.  Here is the simple tests
 
  46 I perform on a new model.
</p> 
  50 <li>Is PXE installation working?  I'm testing with RHEL6, Ubuntu Lucid
 
  51 and Ubuntu Maverik at the moment.  If I feel like it, I also test with
 
  52 RHEL5 and Debian Edu/Squeeze.
</li> 
  54 <li>Is X.org working?  If the graphical login screen show up after
 
  55 installation, X.org is working.
</li> 
  57 <li>Is hardware accelerated OpenGL working?  Running glxgears (in
 
  58 package mesa-utils on Ubuntu) and writing down the frames per second
 
  59 reported by the program.
</li> 
  61 <li>Is sound working?  With Gnome and KDE, a sound is played when
 
  62 logging in, and if I can hear this the test is successful.  If there
 
  63 are several audio exits on the machine, I try them all and check if
 
  64 the Gnome/KDE audio mixer can control where to send the sound.  I
 
  65 normally test this by playing
 
  66 <a href=
"http://www.nuug.no/aktiviteter/20101012-chef/ ">a HTML5
 
  67 video
</a> in Firefox/Iceweasel.
</li> 
  69 <li>Is the USB subsystem working?  I test this by plugging in a USB
 
  70 memory stick and see if Gnome/KDE notices this.
</li> 
  72 <li>Is the CD/DVD player working?  I test this by inserting any CD/DVD
 
  73 I have lying around, and see if Gnome/KDE notices this.
</li> 
  75 <li>Is any built in camera working?  Test using cheese, and see if a
 
  76 picture from the v4l device show up.
</li> 
  78 <li>Is bluetooth working?  Use the Gnome/KDE browsing tool to see if
 
  79 any bluetooth devices are discovered.  In my office, I normally see a
 
  82 <li>For laptops, is the SD or Compaq Flash reader working.  I have
 
  83 memory modules lying around, and stick them in and see if Gnome/KDE
 
  86 <li>For laptops, is suspecd/hibernate working?  I'm testing if the
 
  87 special button work, and if the laptop continue to work after
 
  90 <li>For laptops, is the extra buttons working, like audio level,
 
  91 adjusting background light, switching on/off external video output,
 
  92 switching on/off wifi, bluetooth, etc?  The set of buttons differ from
 
  93 laptop to laptop, so I just write down which are working and which are
 
  96 <li>Some laptops have smart card readers, finger print readers,
 
  97 acceleration sensors etc.  I rarely test these, as I do not know how
 
  98 to quickly test if they are working or not, so I only document their
 
 103 <p>By now I suspect you are really curious what the test results are
 
 104 for the HP machines I am testing.  I'm not done yet, so I will report
 
 105 the test results later.  For now I can report that HP 
8100 Elite work
 
 106 fine, and hibernation fail with HP EliteBook 
8440p on Ubuntu Lucid,
 
 107 and audio fail on RHEL6.  Ubuntu Maverik worked with 
8440p.  As you
 
 108 can see, I have most machines left to test.  One interesting
 
 109 observation is that Ubuntu Lucid has almost twice the framerate than
 
 110 RHEL6 with glxgears.  No idea why.
</p> 
 116    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>. 
 
 120  <div class=
"padding"></div> 
 123   <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Some_thoughts_on_BitCoins.html">Some thoughts on BitCoins
</a></div> 
 124   <div class=
"date">2010-
12-
11 15:
10</div> 
 126 <p>As I continue to explore
 
 127 <a href=
"http://www.bitcoin.org/">BitCoin
</a>, I've starting to wonder
 
 128 what properties the system have, and how it will be affected by laws
 
 129 and regulations here in Norway.  Here are some random notes.
</p> 
 131 <p>One interesting thing to note is that since the transactions are
 
 132 verified using a peer to peer network, all details about a transaction
 
 133 is known to everyone.  This means that if a BitCoin address has been
 
 134 published like I did with mine in my initial post about BitCoin, it is
 
 135 possible for everyone to see how many BitCoins have been transfered to
 
 136 that address.  There is even a web service to look at the details for
 
 137 all transactions.  There I can see that my address
 
 138 <a href=
"http://blockexplorer.com/address/15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a> 
 139 have received 
16.06 Bitcoin, the
 
 140 <a href=
"http://blockexplorer.com/address/1LfdGnGuWkpSJgbQySxxCWhv8MHqvwst3">1LfdGnGuWkpSJgbQySxxCWhv
8MHqvwst
3</a> 
 141 address of Simon Phipps have received 
181.97 BitCoin and the address
 
 142 <a href=
"http://blockexplorer.com/address/1MCwBbhNGp5hRm5rC1Aims2YFRe2SXPYKt">1MCwBbhNGp5hRm5rC1Aims2YFRe2SXPYKt
</A> 
 143 of EFF have received 
2447.38 BitCoins so far.  Thank you to each and
 
 144 every one of you that donated bitcoins to support my activity. The
 
 145 fact that anyone can see how much money was transfered to a given
 
 146 address make it more obvious why the BitCoin community recommend to
 
 147 generate and hand out a new address for each transaction.  I'm told
 
 148 there is no way to track which addresses belong to a given person or
 
 149 organisation without the person or organisation revealing it
 
 150 themselves, as Simon, EFF and I have done.
</p> 
 152 <p>In Norway, and in most other countries, there are laws and
 
 153 regulations limiting how much money one can transfer across the border
 
 154 without declaring it.  There are money laundering, tax and accounting
 
 155 laws and regulations I would expect to apply to the use of BitCoin.
 
 156 If the Skolelinux foundation
 
 157 (
<a href=
"http://linuxiskolen.no/slxdebianlabs/donations.html">SLX
 
 158 Debian Labs
</a>) were to accept donations in BitCoin in addition to
 
 159 normal bank transfers like EFF is doing, how should this be accounted?
 
 160 Given that it is impossible to know if money can across the border or
 
 161 not, should everything or nothing be declared?  What exchange rate
 
 162 should be used when calculating taxes?  Would receivers have to pay
 
 163 income tax if the foundation were to pay Skolelinux contributors in
 
 164 BitCoin?  I have no idea, but it would be interesting to know.
</p> 
 166 <p>For a currency to be useful and successful, it must be trusted and
 
 167 accepted by a lot of users.  It must be possible to get easy access to
 
 168 the currency (as a wage or using currency exchanges), and it must be
 
 169 easy to spend it.  At the moment BitCoin seem fairly easy to get
 
 170 access to, but there are very few places to spend it.  I am not really
 
 171 a regular user of any of the vendor types currently accepting BitCoin,
 
 172 so I wonder when my kind of shop would start accepting BitCoins.  I
 
 173 would like to buy electronics, travels and subway tickets, not herbs
 
 174 and books. :) The currency is young, and this will improve over time
 
 175 if it become popular, but I suspect regular banks will start to lobby
 
 176 to get BitCoin declared illegal if it become popular.  I'm sure they
 
 177 will claim it is helping fund terrorism and money laundering (which
 
 178 probably would be true, as is any currency in existence), but I
 
 179 believe the problems should be solved elsewhere and not by blaming
 
 182 <p>The process of creating new BitCoins is called mining, and it is
 
 183 CPU intensive process that depend on a bit of luck as well (as one is
 
 184 competing against all the other miners currently spending CPU cycles
 
 185 to see which one get the next lump of cash).  The "winner" get 
50 
 186 BitCoin when this happen.  Yesterday I came across the obvious way to
 
 187 join forces to increase ones changes of getting at least some coins,
 
 188 by coordinating the work on mining BitCoins across several machines
 
 189 and people, and sharing the result if one is lucky and get the 
50 
 191 <a href=
"http://www.bluishcoder.co.nz/bitcoin-pool/">BitCoin Pool
</a> 
 192 if this sounds interesting.  I have not had time to try to set up a
 
 193 machine to participate there yet, but have seen that running on ones
 
 194 own for a few days have not yield any BitCoins througth mining
 
 197 <p>Update 
2010-
12-
15: Found an 
<a 
 198 href=
"http://inertia.posterous.com/reply-to-the-underground-economist-why-bitcoi">interesting
 
 199 criticism
</a> of bitcoin.  Not quite sure how valid it is, but thought
 
 200 it was interesting to read.  The arguments presented seem to be
 
 201 equally valid for gold, which was used as a currency for many years.
</p> 
 207    Tags: 
<a href=
"http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin
</a>, 
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian">debian
</a>, 
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>, 
<a href=
"http://people.skolelinux.org/pere/blog/tags/personvern">personvern
</a>, 
<a href=
"http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet
</a>. 
 
 211  <div class=
"padding"></div> 
 214   <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Pornoskannerne_p___flyplassene_bedrer_visst_ikke_sikkerheten.html">Pornoskannerne på flyplassene bedrer visst ikke sikkerheten
</a></div> 
 215   <div class=
"date">2010-
12-
11 10:
45</div> 
 217 <p>Via 
<a href=
"http://webmink.com/2010/12/10/links-for-2010-12-10/">en
 
 218 blogpost fra Simon Phipps i går
</a>, fant jeg en referanse til
 
 219 <a href=
"http://www.washingtontimes.com/news/2010/dec/9/exposed-tsas-x-rated-scanner-fraud/">en
 
 220 artikkel i Washington Times
</a> som igjen refererer til en artikkel i
 
 221 det fagfellevurderte tidsskriftet Journal of Transportation Security
 
 223 "
<a href=
"http://springerlink.com/content/g6620thk08679160/fulltext.html">An
 
 224 evaluation of airport x-ray backscatter units based on image
 
 225 characteristics
</a>" som enkelt konstaterer at 
 226 <a href="http://www.dailysquib.co.uk/?a=
2389&c=
124">pornoscannerne</a> 
 227 som kler av reisende på flyplasser ikke er i stand til å avsløre det 
 228 produsenten og amerikanske myndigheter sier de skal avsløre.  Kort 
 229 sagt, de bedrer ikke sikkerheten.  Reisende må altså la ansatte på 
 230 flyplasser <a href="http://www.thousandsstandingaround.org/
">se dem 
 231 nakne eller la seg beføle i skrittet</a> uten grunn.  Jeg vil 
 232 fortsette å nekte å bruke disse pornoskannerne, unngå flyplasser der 
 233 de er tatt i bruk, og reise med andre transportmidler enn fly hvis jeg 
 240    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>, <a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet
">sikkerhet</a>.  
 244  <div class="padding
"></div> 
 247   <div class="title
"><a href="http://people.skolelinux.org/pere/blog/Martin_Bekkelund__En_stille_b__nn_om_Datalagringsdirektivet.html
">Martin Bekkelund: En stille bønn om Datalagringsdirektivet</a></div> 
 248   <div class="date
">2010-12-09 21:25</div> 
 250 <p><a href="http://www.bekkelund.net/
">Martin Bekkelund</a> ved 
 251 <a href="http://www.friprog.no/
">friprog-senteret</a> har skrevet 
 253 <a href="http://www.bekkelund.net/
2010/
12/
09/en-stille-bonn/
">korte 
 254 oppsummering</a> rundt datalagringsdirektivet, som jeg videreformidler 
 257 <p><blockquote><strong>Det pågår i disse dager en intens diskusjon om 
 258 innføring av Datalagringsdirektivet (<acronym 
 259 title="Datalagringsdirektivet
">DLD</acronym>) i norsk rett. Kanskje 
 260 har du gjort deg opp en mening, kanskje er du usikker. I begge 
 261 tilfeller ber jeg deg lese videre.</strong></p> 
 263 <p>Samtlige fagmiljøer, både i Norge og EU, har konkludert med at 
 264 <acronym title="Datalagringsdirektivet
">DLD</acronym> ikke bør 
 265 innføres på nåværende tidspunkt. Den tekniske kvaliteten på direktivet 
 266 er dårlig, det griper uforholdsmessig inn i personvernet, det har 
 267 store mangler og viktige spørsmål som hvem som skal ha tilgang og 
 268 hvordan data skal lagres er fortsatt uavklart.</p> 
 271 <li><a href="http://ikt-norge.no/norge-kan-slippe-datalagringsdirektivet/
">EU-ekspertene sier</a> at konsekvensene av å benytte vetoretten er minimale</li> 
 272 <li><a href="http://www.regjeringen.no/pages/
2281080/Deninternasjonalejuristkommisjon.pdf
">Juristene påpeker</a> at direktivet er i strid med EMK</li> 
 273 <li><a href="http://www.dagbladet.no/
2010/
12/
06/kultur/debatt/kronikk/dld/personvern/
14594699/
">Datatilsynet sier</a> direktivet får store konsekvenser for personvernet og at direktivet er irreversibelt</li> 
 274 <li><a href="http://www.bekkelund.net/?s=dld
">Teknologene sier</a> at sikker lagring ikke er mulig, at det er svært enkelt å omgå og mulig å manipulere data og produsere falske beviser</li> 
 275 <li><a href="http://www.regjeringen.no/pages/
2281080/NJ_247460_1_P.pdf
">Pressen sier</a> nei av hensyn til kildevernet</li> 
 276 <li>Det er store <a href="http://tetzschner.blogspot.com/
2010/
03/den-tyske-forfatningsdomstol.html
">interne</a> <a href="http://stoppdld.no/
2010/
03/
02/datalagring-stoppet-av-tysk-forfatningsdomstol/
">stridigheter</a> i EU. Blant annet har den tyske forfatningsdomstolen funnet at måten <acronym title="Datalagringsdirektivet
">DLD</acronym> er innført på er i strid med tysk grunnlov</li> 
 277 <li>Alle de store <a href="http://www.bekkelund.net/
2010/
12/
08/lokasjonsdata-og-datalagringsdirektivet/
">operatørene og tilbyderne sier nei</a>, av tekniske og personvernmessige årsaker</li> 
 280 <p>Jeg liker å tro at jeg er en hyggelig fyr. Jeg har et rent 
 281 rulleblad, og med unntak av to fartsbøter har jeg aldri vært en byrde 
 282 for samfunnet. Det akter jeg å fortsette med. Det er mange som meg, 
 283 lovlydige, pliktoppfyllende borgere som aldri vil utgjøre en trussel 
 284 mot noe som helst. Vi synes derfor det er trist og sårende at all vår 
 285 atferd skal overvåkes døgnkontinuerlig.</p> 
 287 <p><strong>Understøttet av faglige vurderinger kan du trygt si nei til 
 288 <acronym title="Datalagringsdirektivet
">DLD</acronym>.</strong></p> 
 290 <p><a href="http://www.bekkelund.net/kontakt/
">Ta kontakt med meg</a> 
 291 hvis du har spørsmål om <acronym 
 292 title="Datalagringsdirektivet
">DLD</acronym>, uansett hva det måtte 
 295 <p class="info
">Denne teksten er å anse som <a 
 296 href="http://creativecommons.org/licenses/publicdomain/
"><em>Public 
 297 Domain</em></a>. Spre den videre til alle som kan ha nytte av 
 301 <p>Siste <a href="http://www.nettavisen.no/it/article3043918.ece
">melding 
 302 fra Nettavisen</a> er at regjeringen planlegger å fremme sitt forslag 
 303 til implementering av datalagringsdirektivet i morgen, i ly av 
 304 fredprisutdelingen for å få minst mulig pressedekning om saken.  Vi 
 305 får snart se om det stemmer.</p> 
 311    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>.  
 315  <div class="padding
"></div> 
 318   <div class="title
"><a href="http://people.skolelinux.org/pere/blog/Student_group_continue_the_work_on_my_Reprap_3D_printer.html
">Student group continue the work on my Reprap 3D printer</a></div> 
 319   <div class="date
">2010-12-09 19:30</div> 
 321 <p>A few days ago, I was introduces to some students in the robot 
 322 student assosiation <a href="http://www.robotica.no/
">Robotica 
 323 Osloensis</a> at the University of Oslo where I work, who planned to 
 324 get their own 3D printer.  They wanted to learn from me based on my 
 325 work in the area.  After having a short lunch meeting with them, I 
 326 offered them to borrow my reprap kit, as I never had time to complete 
 327 the build and this seem unlike to change any time soon.  I look 
 328 forward to see how this goes.  This monday their volunteer driver 
 329 picked up my kit and drove it to their lab, and tomorrow I am told the 
 330 last exam is over so they can start work on getting the 3D printer 
 333 <p>The robotic group have already build several robots on their own, 
 334 and seem capable of getting the reprap operational.  I really look 
 335 forward to being able to print all the cool 3D designs published on 
 336 <a href="http://www.thingiverse.com/
">Thingiverse</a>.  I even got 
 337 some 3D scans I got made during Dagen@IFI when one of the groups at 
 338 the computer science department at the university demonstrated their 
 339 very cool 3D scanner.</p> 
 345    Tags: <a href="http://people.skolelinux.org/pere/blog/tags/
3d-printer
">3d-printer</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english
">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/reprap
">reprap</a>.  
 349  <div class="padding
"></div> 
 352   <div class="title
"><a href="http://people.skolelinux.org/pere/blog/Debian_Edu_development_gathering_and_General_Assembly_for_FRiSK.html
">Debian Edu development gathering and General Assembly for FRiSK</a></div> 
 353   <div class="date
">2010-11-29 18:40</div> 
 355 <p>On friday, the first Debian Edu / Skolelinux 
 356 <a href="http://www.friprogramvareiskolen.no/Gathering/
2010-
12-
03-
05-Oslo
">development 
 357 gathering</a> in a long time take place here in Oslo, Norway.  I 
 358 really look forward to seeing all the good people working on the 
 359 Squeeze release.  The gathering is open for everyone interested in 
 360 learning more about Debian Edu / Skolelinux.</p> 
 362 <p>On Saturday, the Norwegian member organization taking care of 
 363 organizing these development gatherings, Fri Programvare i Skolen, 
 365 <a href="http://friprogramvareiskolen.no/Genfors/
2010">General Assembly 
 366 for 2010</a>.  Membership is open for all, and currently there are 388 
 367 people registered as members.  Last year 32 members cast their vote in 
 368 the memberdb based election system.  I hope more people find time to 
 375    Tags: <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>, <a href="http://people.skolelinux.org/pere/blog/tags/nuug
">nuug</a>.  
 379  <div class="padding
"></div> 
 382   <div class="title
"><a href="http://people.skolelinux.org/pere/blog/Why_isn_t_Debian_Edu_using_VLC_.html
">Why isn't Debian Edu using VLC?</a></div> 
 383   <div class="date
">2010-11-27 11:30</div> 
 385 <p>In the latest issue of Linux Journal, the readers choices were 
 386 presented, and the winner among the multimedia player were VLC. 
 387 Personally, I like VLC, and it is my player of choice when I first try 
 388 to play a video file or stream.  Only if VLC fail will I drag out 
 389 gmplayer to see if it can do better.  The reason is mostly the failure 
 390 model and trust.  When VLC fail, it normally pop up a error message 
 391 reporting the problem.  When mplayer fail, it normally segfault or 
 392 just hangs.  The latter failure mode drain my trust in the program.<p> 
 394 <p>But even if VLC is my player of choice, we have choosen to use 
 395 mplayer in <a href="http://www.skolelinux.org/
">Debian 
 396 Edu/Skolelinux</a>.  The reason is simple.  We need a good browser 
 397 plugin to play web videos seamlessly, and the VLC browser plugin is 
 398 not very good.  For example, it lack in-line control buttons, so there 
 399 is no way for the user to pause the video.  Also, when I 
 400 <a href="http://wiki.debian.org/DebianEdu/BrowserMultimedia
">last 
 401 tested the browser plugins</a> available in Debian, the VLC plugin 
 402 failed on several video pages where mplayer based plugins worked.  If 
 403 the browser plugin for VLC was as good as the gecko-mediaplayer 
 404 package (which uses mplayer), we would switch.</P> 
 406 <p>While VLC is a good player, its user interface is slightly 
 407 annoying.  The most annoying feature is its inconsistent use of 
 408 keyboard shortcuts.  When the player is in full screen mode, its 
 409 shortcuts are different from when it is playing the video in a window. 
 410 For example, space only work as pause when in full screen mode.  I 
 411 wish it had consisten shortcuts and that space also would work when in 
 412 window mode.  Another nice shortcut in gmplayer is [enter] to restart 
 413 the current video.  It is very nice when playing short videos from the 
 414 web and want to restart it when new people arrive to have a look at 
 415 what is going on.</p> 
 421    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>, <a href="http://people.skolelinux.org/pere/blog/tags/multimedia
">multimedia</a>, <a href="http://people.skolelinux.org/pere/blog/tags/video
">video</a>, <a href="http://people.skolelinux.org/pere/blog/tags/web
">web</a>.  
 425  <div class="padding
"></div> 
 428   <div class="title
"><a href="http://people.skolelinux.org/pere/blog/DND_hedrer_overv__kning_av_barn_med_Rosingsprisen.html
">DND hedrer overvåkning av barn med Rosingsprisen</a></div> 
 429   <div class="date
">2010-11-23 14:15</div> 
 431 <p>Jeg registrerer med vond smak i munnen at Den Norske Dataforening 
 433 href="http://www.dataforeningen.no/hedret-med-rosingprisen
.4849070-
133913.html
">hedrer 
 434 overvåkning av barn med Rosingsprisen for kreativitet i år</a>.  Jeg 
 435 er glad jeg nå er meldt ut av DND.</p> 
 437 <p>Å elektronisk overvåke sine barn er ikke å gjøre dem en tjeneste, 
 438 men et overgrep mot individer i utvikling som bør læres opp til å ta 
 441 <p>For å sitere Datatilsynets nye leder, Bjørn Erik Thon, i 
 442 <a href="http://www.idg.no/computerworld/article174262.ece
">et intervju 
 443 med Computerworld Norge</A>:</p> 
 446 - For alle som har barn, meg selv inkludert, er førstetanken at det 
 447 hadde vært fint å vite hvor barnet sitt er til enhver tid. Men ungene 
 448 har ikke godt av det. De er små individer som skal søke rundt og finne 
 449 sine små gjemmesteder og utvide horisonten, uten at foreldrene ser dem 
 450 i kortene. Det kan være fristende, men jeg ville ikke gått inn i 
 454 <p>Det er skremmende å se at DND mener en tjeneste som legger opp til 
 455 slike overgrep bør hedres.  Å flytte oppveksten for barn inn i en 
 457 <a href="http://en.wikipedia.org/wiki/Panopticon
">Panopticon</a> er et 
 458 grovt overgrep og vil gjøre skade på barnenes utvikling, og foreldre 
 459 burde tenke seg godt om før de gir etter for sine instinkter her.</p> 
 461 <p>Blipper-tjenesten får meg til å tenke på bøkene til 
 462 <a href="http://en.wikipedia.org/wiki/John_Twelve_Hawks
">John Twelve 
 463 Hawks</a>, som forbilledlig beskriver hvordan et totalitært 
 464 overvåkningssamfunn bygges sakte men sikkert rundt oss, satt sammen av 
 465 gode intensjoner og manglende bevissthet om hvilke prinsipper et 
 466 liberalt demokrati er fundamentert på.  Jeg har hatt stor glede av å 
 467 lese alle de tre bøkene.</p> 
 473    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>, <a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet
">sikkerhet</a>.  
 477  <div class="padding
"></div> 
 480   <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> 
 481   <div class="date
">2010-11-22 14:15</div> 
 483 <p>Michael Biebl suggested to me on IRC, that I changed my automated 
 484 upgrade testing of the 
 485 <a href="http://people.skolelinux.org/~pere/debian-upgrade-testing/
">Lenny 
 486 Gnome and KDE Desktop</a> to do <tt>apt-get autoremove</tt> when using apt-get. 
 487 This seem like a very good idea, so I adjusted by test scripts and 
 488 can now present the updated result from today:</p> 
 490 <p>This is for Gnome:</p> 
 492 <p>Installed using apt-get, missing with aptitude</p> 
 506   freedesktop-sound-theme 
 508   gconf-defaults-service 
 523   gnome-desktop-environment 
 527   gnome-session-canberra 
 532   gstreamer0.10-fluendo-mp3 
 541   libaprutil1-dbd-sqlite3 
 544   libboost-date-time1.42.0 
 545   libboost-python1.42.0 
 546   libboost-thread1.42.0 
 548   libchamplain-gtk-0.4-0 
 550   libclutter-gtk-0.10-0 
 557   libfreerdp-plugins-standard 
 572   libgnomepanel2.24-cil 
 577   libgtksourceview2.0-common 
 578   libmono-addins-gui0.2-cil 
 579   libmono-addins0.2-cil 
 581   libmono-corlib2.0-cil 
 582   libmono-i18n-west2.0-cil 
 584   libmono-security2.0-cil 
 585   libmono-sharpzip2.84-cil 
 586   libmono-system2.0-cil 
 589   libndesk-dbus-glib1.0-cil 
 600   libtelepathy-farsight0 
 609   nautilus-sendto-empathy 
 630   python-gtksourceview2 
 654   python-zope.interface 
 659   rhythmbox-plugin-cdrecorder 
 666   system-config-printer-udev 
 668   telepathy-mission-control-5 
 681 <p>Installed using apt-get, removed with aptitude</p> 
 689   fast-user-switch-applet 
 708   libgtksourceview2.0-0 
 716   system-config-printer 
 723 <p>Installed using aptitude, missing with apt-get</p> 
 726   gstreamer0.10-gnomevfs 
 729 <p>Installed using aptitude, removed with apt-get</p> 
 735 <p>This is for KDE:</p> 
 737 <p>Installed using apt-get, missing with aptitude</p> 
 743 <p>Installed using apt-get, removed with aptitude</p> 
 750 <p>Installed using aptitude, missing with apt-get</p> 
 768   kdeartwork-theme-icon 
 772   kdebase-workspace-bin 
 773   kdebase-workspace-data 
 802   plasma-dataengines-workspace 
 804   plasma-desktopthemes-artwork 
 805   plasma-runners-addons 
 806   plasma-scriptengine-googlegadgets 
 807   plasma-scriptengine-python 
 808   plasma-scriptengine-qedje 
 809   plasma-scriptengine-ruby 
 810   plasma-scriptengine-webkit 
 812   plasma-wallpapers-addons 
 813   plasma-widget-folderview 
 814   plasma-widget-networkmanagement 
 818   xscreensaver-data-extra 
 820   xscreensaver-gl-extra 
 821   xscreensaver-screensaver-bsod 
 824 <p>Installed using aptitude, removed with apt-get</p> 
 828   google-gadgets-common 
 851   libkonqsidebarplugin4a 
 860   libplasma-geolocation-interface4 
 862   libplasmagenericshell4 
 905   plasma-dataengines-addons 
 906   plasma-scriptengine-superkaramba 
 907   plasma-widget-lancelot 
 908   plasma-widgets-addons 
 909   plasma-widgets-workspace 
 913   update-notifier-common 
 916 <p>Running apt-get autoremove made the results using apt-get and 
 917 aptitude a bit more similar, but there are still quite a lott of 
 918 differences.  I have no idea what packages should be installed after 
 919 the upgrade, but hope those that do can have a look.</p> 
 925    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>.  
 929  <div class="padding
"></div> 
 932   <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> 
 933   <div class="date
">2010-11-22 11:20</div> 
 935 <p>Most of the computers in use by the 
 936 <a href="http://www.skolelinux.org/
">Debian Edu/Skolelinux project</a> 
 937 are virtual machines.  And they have been Xen machines running on a 
 938 fairly old IBM eserver xseries 345 machine, and we wanted to migrate 
 939 them to KVM on a newer Dell PowerEdge 2950 host machine.  This was a 
 940 bit harder that it could have been, because we set up the Xen virtual 
 941 machines to get the virtual partitions from LVM, which as far as I 
 942 know is not supported by KVM.  So to migrate, we had to convert 
 943 several LVM logical volumes to partitions on a virtual disk file.</p> 
 946 <a href="http://searchnetworking.techtarget.com.au/articles/
35011-Six-steps-for-migrating-Xen-virtual-machines-to-KVM
">a 
 947 nice recipe</a> to do this, and wrote the following script to do the 
 948 migration.  It uses qemu-img from the qemu package to make the disk 
 949 image, parted to partition it, losetup and kpartx to present the disk 
 950 image partions as devices, and dd to copy the data.  I NFS mounted the 
 951 new servers storage area on the old server to do the migration.</p> 
 957 # http://searchnetworking.techtarget.com.au/articles/35011-Six-steps-for-migrating-Xen-virtual-machines-to-KVM 
 962 if [ -z "$
1" ] ; then
 
 963     echo "Usage: $
0 <hostname
>"
 
 969 if [ ! -e /dev/vg_data/$host-disk ] ; then
 
 970     echo "error: unable to find LVM volume for $host"
 
 974 # Partitions need to be a bit bigger than the LVM LVs.  not sure why.
 
 975 disksize=$( lvs --units m | grep $host-disk | awk '{sum = sum + $
4} END { print int(sum * 
1.05) }')
 
 976 swapsize=$( lvs --units m | grep $host-swap | awk '{sum = sum + $
4} END { print int(sum * 
1.05) }')
 
 977 totalsize=$(( ( $disksize + $swapsize ) ))
 
 980 #dd if=/dev/zero of=$img bs=
1M count=$(( $disksize + $swapsize ))
 
 981 qemu-img create $img ${totalsize}MMaking room on the Debian Edu/Sqeeze DVD
 
 983 parted $img mklabel msdos
 
 984 parted $img mkpart primary linux-swap 
0 $disksize
 
 985 parted $img mkpart primary ext2 $disksize $totalsize
 
 986 parted $img set 
1 boot on
 
 989 losetup /dev/loop0 $img
 
 992 dd if=/dev/vg_data/$host-disk of=/dev/mapper/loop0p1 bs=
1M
 
 993 fsck.ext3 -f /dev/mapper/loop0p1 || true
 
 994 mkswap /dev/mapper/loop0p2
 
 997 losetup -d /dev/loop0
 
1000 <p>The script is perhaps so simple that it is not copyrightable, but
 
1001 if it is, it is licenced using GPL v2 or later at your discretion.
</p> 
1003 <p>After doing this, I booted a Debian CD in rescue mode in KVM with
 
1004 the new disk image attached, installed grub-pc and linux-image-
686 and
 
1005 set up grub to boot from the disk image.  After this, the KVM machines
 
1006 seem to work just fine.
</p> 
1012    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>. 
 
1016  <div class=
"padding"></div> 
1018  <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> 
1032 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/01/">January (
2)
</a></li> 
1034 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/02/">February (
1)
</a></li> 
1036 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/03/">March (
3)
</a></li> 
1038 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/04/">April (
3)
</a></li> 
1040 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/05/">May (
9)
</a></li> 
1042 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/06/">June (
14)
</a></li> 
1044 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/07/">July (
12)
</a></li> 
1046 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/08/">August (
13)
</a></li> 
1048 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/09/">September (
7)
</a></li> 
1050 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/10/">October (
9)
</a></li> 
1052 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/11/">November (
13)
</a></li> 
1054 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/12/">December (
5)
</a></li> 
1061 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/01/">January (
8)
</a></li> 
1063 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/02/">February (
8)
</a></li> 
1065 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/03/">March (
12)
</a></li> 
1067 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/04/">April (
10)
</a></li> 
1069 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/05/">May (
9)
</a></li> 
1071 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/06/">June (
3)
</a></li> 
1073 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/07/">July (
4)
</a></li> 
1075 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/08/">August (
3)
</a></li> 
1077 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/09/">September (
1)
</a></li> 
1079 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/10/">October (
2)
</a></li> 
1081 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/11/">November (
3)
</a></li> 
1083 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/12/">December (
3)
</a></li> 
1090 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2008/11/">November (
5)
</a></li> 
1092 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2008/12/">December (
7)
</a></li> 
1103  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer (
13)
</a></li> 
1105  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/amiga">amiga (
1)
</a></li> 
1107  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/aros">aros (
1)
</a></li> 
1109  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin (
1)
</a></li> 
1111  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (
10)
</a></li> 
1113  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/debian">debian (
45)
</a></li> 
1115  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (
53)
</a></li> 
1117  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/english">english (
76)
</a></li> 
1119  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (
1)
</a></li> 
1121  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling (
11)
</a></li> 
1123  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/kart">kart (
5)
</a></li> 
1125  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/ldap">ldap (
8)
</a></li> 
1127  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/lenker">lenker (
4)
</a></li> 
1129  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (
1)
</a></li> 
1131  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (
11)
</a></li> 
1133  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/norsk">norsk (
93)
</a></li> 
1135  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug (
114)
</a></li> 
1137  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (
18)
</a></li> 
1139  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/personvern">personvern (
29)
</a></li> 
1141  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/reprap">reprap (
11)
</a></li> 
1143  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/robot">robot (
4)
</a></li> 
1145  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/rss">rss (
1)
</a></li> 
1147  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (
21)
</a></li> 
1149  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary (
3)
</a></li> 
1151  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/standard">standard (
16)
</a></li> 
1153  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/stavekontroll">stavekontroll (
1)
</a></li> 
1155  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/video">video (
16)
</a></li> 
1157  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (
1)
</a></li> 
1159  <li><a href=
"http://people.skolelinux.org/pere/blog/tags/web">web (
14)
</a></li> 
1165 <p style=
"text-align: right"> 
1166 Created by 
<a href=
"http://steve.org.uk/Software/chronicle">Chronicle v3.2
</a>