]> pere.pagekite.me Git - homepage.git/blobdiff - blog/archive/2013/07/07.rss
Generated.
[homepage.git] / blog / archive / 2013 / 07 / 07.rss
index fafa0ea8b08e07047579a4732a772d7568a7c29a..baa8b0ac86459e3230d9385ae90b4c0bf610fbd4 100644 (file)
@@ -6,6 +6,294 @@
                 <link>http://people.skolelinux.org/pere/blog/</link>
 
        
+       <item>
+               <title>First beta release of Debian Edu/Skolelinux based on Debian Wheezy</title>
+               <link>http://people.skolelinux.org/pere/blog/First_beta_release_of_Debian_Edu_Skolelinux_based_on_Debian_Wheezy.html</link>        
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/First_beta_release_of_Debian_Edu_Skolelinux_based_on_Debian_Wheezy.html</guid>
+                <pubDate>Sat, 27 Jul 2013 20:30:00 +0200</pubDate>
+               <description>&lt;p&gt;The first wheezy based beta release of Debian Edu was wrapped up
+today.  This is the release announcement:&lt;/p&gt;
+
+&lt;p&gt;&lt;strong&gt;New features for Debian Edu 7.1+edu0~b0 released
+2013-07-27&lt;/strong&gt;&lt;/p&gt;
+
+&lt;p&gt;These are the release notes for for Debian Edu / Skolelinux
+7.1+edu0~b0, based on Debian with codename &quot;Wheezy&quot;.&lt;/p&gt;
+
+&lt;p&gt;&lt;strong&gt;About Debian Edu and Skolelinux&lt;/strong&gt;&lt;/p&gt;
+
+&lt;p&gt;&lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu, also known as
+Skolelinux&lt;/a&gt;, is a Linux distribution based on Debian providing an
+out-of-the box environment of a completely configured school
+network. Immediately after installation a school server running all
+services needed for a school network is set up just waiting for users
+and machines being added via GOsa², a comfortable Web-UI. A netbooting
+environment is prepared using PXE, so after initial installation of
+the main server from CD, DVD or USB stick all other machines can be
+installed via the network. The provided school server provides LDAP
+database and Kerberos authentication service, centralized home
+directories, DHCP server, web proxy and many other services. The
+desktop contains
+&lt;a href=&quot;http://people.skolelinux.org/pere/blog/Educational_applications_included_in_Debian_Edu___Skolelinux__the_screenshot_collection____.html&quot;&gt;more
+than 60 educational software packages&lt;/a&gt; and more are available from
+the Debian archive, and schools can choose between KDE, Gnome, LXDE
+and Xfce desktop environment.&lt;/p&gt;
+
+&lt;p&gt;This is the fifth test release based on Debian Wheezy. Basically
+this is an updated and slightly improved version compared to the
+Squeeze release.&lt;/p&gt;
+
+&lt;p&gt;ALERT: Alpha based installations should reinstall or downgrade the
+versions of gosa and libpam-mklocaluser to the ones used in this beta
+release.&lt;/p&gt;
+
+&lt;p&gt;&lt;strong&gt;Software updates&lt;/strong&gt;&lt;/p&gt;
+
+&lt;ul&gt;
+
+&lt;li&gt;Switched roaming workstation profiles from wicd to network-manager
+   for network configuration, as wicd didn&#39;t work any more.&lt;/li&gt;
+&lt;li&gt;Changed version numbers of patched gosa and libpam-mklocaluser
+   packages to make sure our locally patched versions will be replaced
+   by the official packages when they are released from Debian. Those
+   installing alpha version need to reinstall or manually downgrade gosa
+   and libpam-mklocaluser.&lt;/li&gt;
+&lt;li&gt;Added bluetooth tools to the default desktop (bluedevil, blueman).&lt;/li&gt;
+&lt;li&gt;Added tools for sharing the desktop on KDE (krdc, krfb).&lt;/li&gt;
+&lt;li&gt;Added valgrind to the default installation for easier debugging of
+   crash bugs.&lt;/li&gt;
+
+&lt;/ul&gt;
+
+&lt;p&gt;&lt;strong&gt;Other changes&lt;/strong&gt;&lt;/p&gt;
+
+&lt;ul&gt;
+
+&lt;li&gt;Fixed artwork package to work with gnome, no longer break
+   desktop=gnome installations.&lt;/li&gt;
+&lt;li&gt;Adjusted installer to now work when forced to use a proxy with the
+   netinst CD.&lt;/li&gt;
+&lt;li&gt;Fixed code detecting and setting/loading hardware specific
+   setup/firmware to work more robust out of the box.&lt;/li&gt;
+&lt;li&gt;Adjusted Kerberos setup to detect realm and server settings at
+   install time instead of dynamically at run time. This avoid a crash
+   with krb5-auth-dialog on diskless workstations without a DNS name.&lt;/li&gt;
+&lt;li&gt;Worked around misfeature in network-manager not calling the dhclient
+   exit hooks, causing automatic proxy configuration and automatic host
+   name setting at run time to work again.&lt;/li&gt;
+&lt;li&gt;Fixed feature setting the default Iceweasel start page from URL
+   fetched from LDAP, to allow schools to set the global default by
+   updating the dc=skole,dc=skolelinux,dc=no LDAP object.&lt;/li&gt;
+&lt;li&gt;Changed default host name on all networked machines to be unique
+   (generated from MAC or reverse DNS) after boot.&lt;/li&gt;
+&lt;li&gt;Adjusted partition sizes to make sure they are big enough.&lt;/li&gt;
+
+&lt;/ul&gt;
+
+&lt;p&gt;&lt;strong&gt;Known issues&lt;/strong&gt;&lt;/p&gt;
+
+&lt;ul&gt;
+
+&lt;li&gt;Grub is missing the new artwork.&lt;/li&gt;
+&lt;li&gt;KDE fail to understand the wpad.dat file provided, causing it to
+    not use the http proxy as it should.&lt;/li&gt;
+&lt;li&gt;Chromium also fail to use the proxy.&lt;/li&gt;
+
+&lt;/ul&gt;
+
+&lt;p&gt;&lt;strong&gt;Where to get it&lt;/strong&gt;&lt;/p&gt;
+
+&lt;p&gt;To download the multiarch netinstall CD release you can use&lt;/p&gt;
+
+&lt;ul&gt;
+
+&lt;li&gt;&lt;a href=&quot;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b0-CD.iso&quot;&gt;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b0-CD.iso&lt;/a&gt;&lt;/li&gt;
+
+&lt;li&gt;&lt;a href=&quot;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b0-CD.iso&quot;&gt;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b0-CD.iso&lt;/a&gt;&lt;/li&gt;
+
+&lt;li&gt;rsync -avzP ftp.skolelinux.org::skolelinux-cd/wheezy/debian-edu-7.1+edu0~b0-CD.iso .&lt;/li&gt;
+
+&lt;/ul&gt;
+
+&lt;p&gt;The MD5SUM of this image is: 55d5de9765b6dccd5d9ec33cf1a07109
+&lt;br&gt;The SHA1SUM of this image is: 996a1d9517740e4d627d100de2d12b23dd545a3f&lt;/p&gt;
+
+&lt;p&gt;To download the multiarch USB stick ISO release you can use&lt;/p&gt;
+
+&lt;ul&gt;
+
+&lt;li&gt;&lt;a href=&quot;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b0-USB.iso&quot;&gt;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b0-USB.iso&lt;/a&gt;&lt;/li&gt;
+&lt;li&gt;&lt;a href=&quot;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b0-USB.iso&quot;&gt;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b0-USB.iso&lt;/a&gt;&lt;/li&gt;
+&lt;li&gt;rsync -avzP ftp.skolelinux.org::skolelinux-cd/wheezy/debian-edu-7.1+edu0~b0-USB.iso .&lt;/li&gt;
+
+&lt;/ul&gt;
+
+&lt;p&gt;The MD5SUM of this image is: d8f0818c51a78d357de794066f289f69
+&lt;br&gt;The SHA1SUM of this image is: 49185ca354e8d0543240423746924f76a6cee733&lt;/p&gt;
+
+
+&lt;p&gt;&lt;strong&gt;How to report bugs&lt;/strong&gt;&lt;/p&gt;
+
+&lt;p&gt;&lt;a href=&quot;http://wiki.debian.org/DebianEdu/HowTo/ReportBugs&quot;&gt;http://wiki.debian.org/DebianEdu/HowTo/ReportBugs&lt;/a&gt;
+</description>
+       </item>
+       
+       <item>
+               <title>How to fix a Thinkpad X230 with a broken 180 GB SSD disk</title>
+               <link>http://people.skolelinux.org/pere/blog/How_to_fix_a_Thinkpad_X230_with_a_broken_180_GB_SSD_disk.html</link>        
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_to_fix_a_Thinkpad_X230_with_a_broken_180_GB_SSD_disk.html</guid>
+                <pubDate>Wed, 17 Jul 2013 23:50:00 +0200</pubDate>
+               <description>&lt;p&gt;Today I switched to
+&lt;a href=&quot;http://people.skolelinux.org/pere/blog/The_Thinkpad_is_dead__long_live_the_Thinkpad_X230_.html&quot;&gt;my
+new laptop&lt;/a&gt;.  I&#39;ve previously written about the problems I had with
+my new Thinkpad X230, which was delivered with an
+&lt;a href=&quot;http://people.skolelinux.org/pere/blog/Intel_SSD_520_Series_180_GB_with_Lenovo_firmware_still_lock_up_from_sustained_writes.html&quot;&gt;180
+GB Intel SSD disk with Lenovo firmware&lt;/a&gt; that did not handle
+sustained writes.  My hardware supplier have been very forthcoming in
+trying to find a solution, and after first trying with another
+identical 180 GB disks they decided to send me a 256 GB Samsung SSD
+disk instead to fix it once and for all.  The Samsung disk survived
+the installation of Debian with encrypted disks (filling the disk with
+random data during installation killed the first two), and I thus
+decided to trust it with my data.  I have installed it as a Debian Edu
+Wheezy roaming workstation hooked up with my Debian Edu Squeeze main
+server at home using Kerberos and LDAP, and will use it as my work
+station from now on.&lt;/p&gt;
+
+&lt;p&gt;As this is a solid state disk with no moving parts, I believe the
+Debian Wheezy default installation need to be tuned a bit to increase
+performance and increase life time of the disk.  The Linux kernel and
+user space applications do not yet adjust automatically to such
+environment.  To make it easier for my self, I created a draft Debian
+package &lt;tt&gt;ssd-setup&lt;/tt&gt; to handle this tuning.  The
+&lt;a href=&quot;http://anonscm.debian.org/gitweb/?p=collab-maint/ssd-setup.git&quot;&gt;source
+for the ssd-setup package&lt;/a&gt; is available from collab-maint, and it
+is set up to adjust the setup of the machine by just installing the
+package.  If there is any non-SSD disk in the machine, the package
+will refuse to install, as I did not try to write any logic to sort
+file systems in SSD and non-SSD file systems.&lt;/p&gt;
+
+&lt;p&gt;I consider the package a draft, as I am a bit unsure how to best
+set up Debian Wheezy with an SSD.  It is adjusted to my use case,
+where I set up the machine with one large encrypted partition (in
+addition to /boot), put LVM on top of this and set up partitions on
+top of this again.  See the README file in the package source for the
+references I used to pick the settings.  At the moment these
+parameters are tuned:&lt;/p&gt;
+
+&lt;ul&gt;
+
+&lt;li&gt;Set up cryptsetup to pass TRIM commands to the physical disk
+    (adding discard to /etc/crypttab)&lt;/li&gt;
+
+&lt;li&gt;Set up LVM to pass on TRIM commands to the underlying device (in
+    this case a cryptsetup partition) by changing issue_discards from
+    0 to 1 in /etc/lvm/lvm.conf.&lt;/li&gt;
+
+&lt;li&gt;Set relatime as a file system option for ext3 and ext4 file
+    systems.&lt;/li&gt;
+
+&lt;li&gt;Tell swap to use TRIM commands by adding &#39;discard&#39; to
+    /etc/fstab.&lt;/li&gt;
+
+&lt;li&gt;Change I/O scheduler from cfq to deadline using a udev rule.&lt;/li&gt;
+
+&lt;li&gt;Run fstrim on every ext3 and ext4 file system every night (from
+    cron.daily).&lt;/li&gt;
+
+&lt;li&gt;Adjust sysctl values vm.swappiness to 1 and vm.vfs_cache_pressure
+    to 50 to reduce the kernel eagerness to swap out processes.&lt;/li&gt;
+
+&lt;/ul&gt;
+
+&lt;p&gt;During installation, I cancelled the part where the installer fill
+the disk with random data, as this would kill the SSD performance for
+little gain.  My goal with the encrypted file system is to ensure
+those stealing my laptop end up with a brick and not a working
+computer.  I have no hope in keeping the really resourceful people
+from getting the data on the disk (see
+&lt;a href=&quot;http://xkcd.com/538/&quot;&gt;XKCD #538&lt;/a&gt; for an explanation why).
+Thus I concluded that adding the discard option to crypttab is the
+right thing to do.&lt;/p&gt;
+
+&lt;p&gt;I considered using the noop I/O scheduler, as several recommended
+it for SSD, but others recommended deadline and a benchmark I found
+indicated that deadline might be better for interactive use.&lt;/p&gt;
+
+&lt;p&gt;I also considered using the &#39;discard&#39; file system option for ext3
+and ext4, but read that it would give a performance hit ever time a
+file is removed, and thought it best to that that slowdown once a day
+instead of during my work.&lt;/p&gt;
+
+&lt;p&gt;My package do not set up tmpfs on /var/run, /var/lock and /tmp, as
+this is already done by Debian Edu.&lt;/p&gt;
+
+&lt;p&gt;I have not yet started on the user space tuning.  I expect
+iceweasel need some tuning, and perhaps other applications too, but
+have not yet had time to investigate those parts.&lt;/p&gt;
+
+&lt;p&gt;The package should work on Ubuntu too, but I have not yet tested it
+there.&lt;/p&gt;
+
+&lt;p&gt;As for the answer to the question in the title of this blog post,
+as far as I know, the only solution I know about is to replace the
+disk.  It might be possible to flash it with Intel firmware instead of
+the Lenovo firmware.  But I have not tried and did not want to do so
+without approval from Lenovo as I wanted to keep the warranty on the
+disk until a solution was found and they wanted the broken disks
+back.&lt;/p&gt;
+</description>
+       </item>
+       
+       <item>
+               <title>Intel SSD 520 Series 180 GB with Lenovo firmware still lock up from sustained writes</title>
+               <link>http://people.skolelinux.org/pere/blog/Intel_SSD_520_Series_180_GB_with_Lenovo_firmware_still_lock_up_from_sustained_writes.html</link>        
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Intel_SSD_520_Series_180_GB_with_Lenovo_firmware_still_lock_up_from_sustained_writes.html</guid>
+                <pubDate>Wed, 10 Jul 2013 13:30:00 +0200</pubDate>
+               <description>&lt;p&gt;A few days ago, I wrote about
+&lt;a href=&quot;http://people.skolelinux.org/pere/blog/The_Thinkpad_is_dead__long_live_the_Thinkpad_X230_.html&quot;&gt;the
+problems I experienced with my new X230 and its SSD disk&lt;/a&gt;, which
+was dying during installation because it is unable to cope with
+sustained write.  My supplier is in contact with
+&lt;a href=&quot;http://www.lenovo.com/&quot;&gt;Lenovo&lt;/a&gt;, and they wanted to send a
+replacement disk to try to fix the problem.  They decided to send an
+identical model, so my hopes for a permanent fix was slim.&lt;/p&gt;
+
+&lt;p&gt;Anyway, today I got the replacement disk and tried to install
+Debian Edu Wheezy with encrypted disk on it.  The new disk have the
+same firmware version as the original.  This time my hope raised
+slightly as the installation progressed, as the original disk used to
+die after 4-7% of the disk was written to, while this time it kept
+going past 10%, 20%, 40% and even past 50%.  But around 60%, the disk
+died again and I was back on square one.  I still do not have a new
+laptop with a disk I can trust.  I can not live with a disk that might
+lock up when I download a new
+&lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux&lt;/a&gt; ISO or
+other large files.  I look forward to hearing from my supplier with
+the next proposal from Lenovo.&lt;/p&gt;
+
+&lt;p&gt;The original disk is marked Intel SSD 520 Series 180 GB,
+11S0C38722Z1ZNME35X1TR, ISN: CVCV321407HB180EGN, SA: G57560302, FW:
+LF1i, 29MAY2013, PBA: G39779-300, LBA 351,651,888, LI P/N: 0C38722,
+Pb-free 2LI, LC P/N: 16-200366, WWN: 55CD2E40002756C4, Model:
+SSDSC2BW180A3L 2.5&quot; 6Gb/s SATA SSD 180G 5V 1A, ASM P/N 0C38732, FRU
+P/N 45N8295, P0C38732.&lt;/p&gt;
+
+&lt;p&gt;The replacement disk is marked Intel SSD 520 Series 180 GB,
+11S0C38722Z1ZNDE34N0L0, ISN: CVCV315306RK180EGN, SA: G57560-302, FW:
+LF1i, 22APR2013, PBA: G39779-300, LBA 351,651,888, LI P/N: 0C38722,
+Pb-free 2LI, LC P/N: 16-200366, WWN: 55CD2E40000AB69E, Model:
+SSDSC2BW180A3L 2.5&quot; 6Gb/s SATA SSD 180G 5V 1A, ASM P/N 0C38732, FRU
+P/N 45N8295, P0C38732.&lt;/p&gt;
+
+&lt;p&gt;The only difference is in the first number (serial number?), ISN,
+SA, date and WNPP values.  Mentioning all the details here in case
+someone is able to use the information to find a way to identify the
+failing disk among working ones (if any such working disk actually
+exist).&lt;/p&gt;
+</description>
+       </item>
+       
        <item>
                <title>July 13th: Debian/Ubuntu BSP and Skolelinux/Debian Edu developer gathering in Oslo</title>
                <link>http://people.skolelinux.org/pere/blog/July_13th__Debian_Ubuntu_BSP_and_Skolelinux_Debian_Edu_developer_gathering_in_Oslo.html</link>