- <div class="title"><a href="http://people.skolelinux.org/pere/blog/Fixing_the_Linux_black_screen_of_death_on_machines_with_Intel_HD_video.html">Fixing the Linux black screen of death on machines with Intel HD video</a></div>
- <div class="date">11th June 2013</div>
- <div class="body"><p>When installing RedHat, Fedora, Debian and Ubuntu on some machines,
-the screen just turn black when Linux boot, either during installation
-or on first boot from the hard disk. I've seen it once in a while the
-last few years, but only recently understood the cause. I've seen it
-on HP laptops, and on my latest acquaintance the Packard Bell laptop.
-The reason seem to be in the wiring of some laptops. The system to
-control the screen background light is inverted, so when Linux try to
-turn the brightness fully on, it end up turning it off instead. I do
-not know which Linux drivers are affected, but this post is about the
-i915 driver used by the
-<a href="http://www.linlap.com/packard_bell_easynote_lv">Packard Bell
-EasyNote LV</a>, Thinkpad X40 and many other laptops.</p>
-
-<p>The problem can be worked around two ways. Either by adding
-i915.invert_brightness=1 as a kernel option, or by adding a file in
-/etc/modprobe.d/ to tell modprobe to add the invert_brightness=1
-option when it load the i915 kernel module. On Debian and Ubuntu, it
-can be done by running these commands as root:</p>
-
-<pre>
-echo options i915 invert_brightness=1 | tee /etc/modprobe.d/i915.conf
-update-initramfs -u -k all
-</pre>
-
-<p>Since March 2012 there is
-<a href="http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=4dca20efb1a9c2efefc28ad2867e5d6c3f5e1955">a
-mechanism in the Linux kernel</a> to tell the i915 driver which
-hardware have this problem, and get the driver to invert the
-brightness setting automatically. To use it, one need to add a row in
-<a href="http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/i915/intel_display.c">the
-intel_quirks array</a> in the driver source
-<tt>drivers/gpu/drm/i915/intel_display.c</tt> (look for "<tt>static
-struct intel_quirk intel_quirks</tt>"), specifying the PCI device
-number (vendor number 8086 is assumed) and subdevice vendor and device
-number.</p>
-
-<p>My Packard Bell EasyNote LV got this output from <tt>lspci
--vvnn</tt> for the video card in question:</p>
-
-<p><pre>
-00:02.0 VGA compatible controller [0300]: Intel Corporation \
- 3rd Gen Core processor Graphics Controller [8086:0156] \
- (rev 09) (prog-if 00 [VGA controller])
- Subsystem: Acer Incorporated [ALI] Device [1025:0688]
- Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- \
- ParErr- Stepping- SE RR- FastB2B- DisINTx+
- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- \
- <TAbort- <MAbort->SERR- <PERR- INTx-
- Latency: 0
- Interrupt: pin A routed to IRQ 42
- Region 0: Memory at c2000000 (64-bit, non-prefetchable) [size=4M]
- Region 2: Memory at b0000000 (64-bit, prefetchable) [size=256M]
- Region 4: I/O ports at 4000 [size=64]
- Expansion ROM at <unassigned> [disabled]
- Capabilities: <access denied>
- Kernel driver in use: i915
-</pre></p>
-
-<p>The resulting intel_quirks entry would then look like this:</p>
-
-<p><pre>
-struct intel_quirk intel_quirks[] = {
- ...
- /* Packard Bell EasyNote LV11HC needs invert brightness quirk */
- { 0x0156, 0x1025, 0x0688, quirk_invert_brightness },
- ...
-}
-</pre></p>
-
-<p>According to the kernel module instructions (as seen using
-<tt>modinfo i915</tt>), information about hardware needing the
-invert_brightness flag should be sent to the
-<a href="http://lists.freedesktop.org/mailman/listinfo/dri-devel">dri-devel
-(at) lists.freedesktop.org</a> mailing list to reach the kernel
-developers. But my email about the laptop sent 2013-06-03 have not
-yet shown up in
-<a href="http://lists.freedesktop.org/archives/dri-devel/2013-June/thread.html">the
-web archive for the mailing list</a>, so I suspect they do not accept
-emails from non-subscribers. Because of this, I sent my patch also to
-the Debian bug tracking system instead as
-<a href="http://bugs.debian.org/710938">BTS report #710938</a>, to make
-sure the patch is not lost.</p>
-
-<p>Unfortunately, it is not enough to fix the kernel to get Laptops
-with this problem working properly with Linux. If you use Gnome, your
-worries should be over at this point. But if you use KDE, there is
-something in KDE ignoring the invert_brightness setting and turning on
-the screen during login. I've reported it to Debian as
-<a href="http://bugs.debian.org/711237">BTS report #711237</a>, and
-have no idea yet how to figure out exactly what subsystem is doing
-this. Perhaps you can help? Perhaps you know what the Gnome
-developers did to handle this, and this can give a clue to the KDE
-developers? Or you know where in KDE the screen brightness is changed
-during login? If so, please update the BTS report (or get in touch if
-you do not know how to update BTS).</p>
+ <div class="title"><a href="http://people.skolelinux.org/pere/blog/Intel_SSD_520_Series_180_GB_with_Lenovo_firmware_still_lock_up_from_sustained_writes.html">Intel SSD 520 Series 180 GB with Lenovo firmware still lock up from sustained writes</a></div>
+ <div class="date">10th July 2013</div>
+ <div class="body"><p>A few days ago, I wrote about
+<a href="http://people.skolelinux.org/pere/blog/The_Thinkpad_is_dead__long_live_the_Thinkpad_X230_.html">the
+problems I experienced with my new X230 and its SSD disk</a>, which
+was dying during installation because it is unable to cope with
+sustained write. My supplier is in contact with
+<a href="http://www.lenovo.com/">Lenovo</a>, 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.</p>
+
+<p>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
+<a href="http://www.skolelinux.org/">Debian Edu / Skolelinux</a> ISO or
+other large files. I look forward to hearing from my supplier with
+the next proposal from Lenovo.</p>
+
+<p>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" 6Gb/s SATA SSD 180G 5V 1A, ASM P/N 0C38732, FRU
+P/N 45N8295, P0C38732.</p>
+
+<p>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" 6Gb/s SATA SSD 180G 5V 1A, ASM P/N 0C38732, FRU
+P/N 45N8295, P0C38732.</p>
+
+<p>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).</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/english">english</a>.
+
+
+ </div>
+ </div>
+ <div class="padding"></div>
+
+ <div class="entry">
+ <div class="title"><a href="http://people.skolelinux.org/pere/blog/July_13th__Debian_Ubuntu_BSP_and_Skolelinux_Debian_Edu_developer_gathering_in_Oslo.html">July 13th: Debian/Ubuntu BSP and Skolelinux/Debian Edu developer gathering in Oslo</a></div>
+ <div class="date"> 9th July 2013</div>
+ <div class="body"><p>The upcoming Saturday, 2013-07-13, we are organising a combined
+Debian Edu developer gathering and Debian and Ubuntu bug squashing
+party in Oslo. It is organised by <a href="http://www.nuug.no/">the
+member assosiation NUUG</a> and
+<a href="http://www.skolelinux.org/">the Debian Edu / Skolelinux
+project</a> together with <a href="http://bitraf.no/">the hack space
+Bitraf</a>.</p>
+
+<p>It starts 10:00 and continue until late evening. Everyone is
+welcome, and there is no fee to participate. There is on the other
+hand limited space, and only room for 30 people. Please put your name
+on <a href="http://wiki.debian.org/BSP/2013/07/13/no/Oslo">the event
+wiki page</a> if you plan to join us.</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>, <a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug</a>.
+
+
+ </div>
+ </div>
+ <div class="padding"></div>
+
+ <div class="entry">
+ <div class="title"><a href="http://people.skolelinux.org/pere/blog/The_Thinkpad_is_dead__long_live_the_Thinkpad_X230_.html">The Thinkpad is dead, long live the Thinkpad X230?</a></div>
+ <div class="date"> 5th July 2013</div>
+ <div class="body"><p>Half a year ago, I reported that I had to find a
+<a href="http://people.skolelinux.org/pere/blog/Thank_you_Thinkpad_X41__for_your_long_and_trustworthy_service.html">replacement
+for my trusty old Thinkpad X41</a>. Unfortunately I did not have much
+time to spend on it, and it took a while to find a model I believe
+will do the job, but two days ago the replacement finally arrived. I
+ended up picking a
+<a href="http://www.linlap.com/lenovo_thinkpad_x230">Thinkpad X230</a>
+with SSD disk (NZDAJMN). I first test installed Debian Edu Wheezy as
+a roaming workstation, and it seemed to work flawlessly. But my
+second installation with encrypted disk was not as successful. More
+on that below.</p>
+
+<p>I had a hard time trying to track down a good laptop, as my most
+important requirements (robust and with a good keyboard) are never
+listed in the feature list. But I did get good help from the search
+feature at <a href="http://www.prisjakt.no/">Prisjakt</a>, which
+allowed me to limit the list of interesting laptops based on my other
+requirements. A bit surprising that SSD disk are not disks according
+to that search interface, so I had to drop specifying the number of
+disks from my search parameters. I also asked around among friends to
+get their impression on keyboards and robustness.</p>
+
+<p>So the new laptop arrived, and it is quite a lot wider than the
+X41. I am not quite convinced about the keyboard, as it is
+significantly wider than my old keyboard, and I have to stretch my
+hand a lot more to reach the edges. But the key response is fairly
+good and the individual key shape is fairly easy to handle, so I hope
+I will get used to it. My old X40 was starting to fail, and I really
+needed a new laptop now. :)</p>
+
+<p>Turning off the touch pad was simple. All it took was a quick
+visit to the BIOS during boot it disable it.</p>
+
+<p>But there is a fatal problem with the laptop. The 180 GB SSD disk
+lock up during load. And this happen when installing Debian Wheezy
+with encrypted disk, while the disk is being filled with random data.
+I also tested to install Ubuntu Raring, and it happen there too if I
+reenable the code to fill the disk with random data (it is disabled by
+default in Ubuntu). And the bug with is already known. It was
+reported to Debian as <a href="http://bugs.debian.org/691427">BTS
+report #691427 2012-10-25</a> (journal commit I/O error on brand-new
+Thinkpad T430s ext4 on lvm on SSD). It is also reported to the Linux
+kernel developers as
+<a href="https://bugzilla.kernel.org/show_bug.cgi?id=51861">Kernel bugzilla
+report #51861 2012-12-20</a> (Intel SSD 520 stops working under load
+(SSDSC2BW180A3L in Lenovo ThinkPad T430s)). It is also reported on the
+Lenovo forums, both for
+<a href="http://forums.lenovo.com/t5/T400-T500-and-newer-T-series/T430s-Intel-SSD-520-180GB-issue/m-p/1070549">T430
+2012-11-10</a> and for
+<a href="http://forums.lenovo.com/t5/X-Series-ThinkPad-Laptops/x230-SATA-errors-with-180GB-Intel-520-SSD-under-heavy-write-load/m-p/1068147">X230
+03-20-2013</a>. The problem do not only affect installation. The
+reports state that the disk lock up during use if many writes are done
+on the disk, so it is much no use to work around the installation
+problem and end up with a computer that can lock up at any moment.
+There is even a
+<a href="https://git.efficios.com/?p=test-ssd.git">small C program
+available</a> that will lock up the hard drive after running a few
+minutes by writing to a file.</p>
+
+<p>I've contacted my supplier and asked how to handle this, and after
+contacting PCHELP Norway (request 01D1FDP) which handle support
+requests for Lenovo, his first suggestion was to upgrade the disk
+firmware. Unfortunately there is no newer firmware available from
+Lenovo, as my disk already have the most recent one (version LF1i). I
+hope to hear more from him today and hope the problem can be
+fixed. :)</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/english">english</a>.
+
+
+ </div>
+ </div>
+ <div class="padding"></div>
+
+ <div class="entry">
+ <div class="title"><a href="http://people.skolelinux.org/pere/blog/The_Thinkpad_is_dead__long_live_the_Thinkpad_X230.html">The Thinkpad is dead, long live the Thinkpad X230</a></div>
+ <div class="date"> 4th July 2013</div>
+ <div class="body"><p>Half a year ago, I reported that I had to find a replacement for my
+trusty old Thinkpad X41. Unfortunately I did not have much time to
+spend on it, but today the replacement finally arrived. I ended up
+picking a <a href="http://www.linlap.com/lenovo_thinkpad_x230">Thinkpad
+X230</a> with SSD disk (NZDAJMN). I first test installed Debian Edu
+Wheezy as a roaming workstation, and it worked flawlessly. As I write
+this, it is installing what I hope will be a more final installation,
+with a encrypted hard drive to ensure any dope head stealing it end up
+with an expencive door stop.</p>
+
+<p>I had a hard time trying to track down a good laptop, as my most
+important requirements (robust and with a good keyboard) are never
+listed in the feature list. But I did get good help from the search
+feature at <ahref="http://www.prisjakt.no/">Prisjakt</a>, which
+allowed me to limit the list of interesting laptops based on my other
+requirements. A bit surprising that SSD disk are not disks, so I had
+to drop number of disks from my search parameters.</p>
+
+<p>I am not quite convinced about the keyboard, as it is significantly
+wider than my old keyboard, and I have to stretch my hand a lot more
+to reach the edges. But the key response is fairly good and the
+individual key shape is fairly easy to handle, so I hope I will get
+used to it. My old X40 was starting to fail, and I really needed a
+new laptop now. :)</p>
+
+<p>I look forward to figuring out how to turn off the touch pad.</p>