<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="https://syair.angkatogeljitu.workers.dev/host-http-www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-29132032</id><updated>2026-01-05T08:05:33.470-08:00</updated><category term="linux debian boot"/><title type='text'>Improve the Debian boot process - blog</title><subtitle type='html'>&lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/&gt;Project Webpage&lt;/a&gt; and &lt;a href=http://carlos.villegasramos.net&gt;my webpage&lt;/a&gt;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default?alt=atom'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default?alt=atom&amp;start-index=26&amp;max-results=25'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>41</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-29132032.post-4203069801195557441</id><published>2007-04-11T14:14:00.000-07:00</published><updated>2007-04-12T01:41:24.286-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux debian boot"/><title type='text'>Etch boots as fast as Woody...</title><content type='html'>With the Post-etch frenzy, I installed Debian 4.0 stable as soon as I could. I used the same system used a few months ago for the google Summer of Code. Under the same conditions, the system required 32 seconds until KDE started. Compared with the previous stable releases:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Woody - 32 seconds&lt;/li&gt;&lt;li&gt;Sarge  - 44 seconds&lt;/li&gt;&lt;li&gt;Etch    - 32 seconds&lt;/li&gt;&lt;/ul&gt;Nevertheless, Etch has significantly more process started at boot time and the CPU usage is more intensive --with still some room for improvement --. &lt;a href=&quot;http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#etch40&quot;&gt;Follow this link for the bootcharts and more detailed information.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As I starting point, using dash instead of bash, the boot time is reduced to 30 seconds and it could be further improved but there is some &quot;hald&quot; process (maybe part of dbus) that doesn&#39;t seem to want to run in parallel. &lt;a href=&quot;http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#etch40&quot;&gt;See bootcharts.&lt;/a&gt; Any ideas?</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/4203069801195557441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/4203069801195557441' title='422 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/4203069801195557441'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/4203069801195557441'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2007/04/etch-boots-as-fast-as-woody.html' title='Etch boots as fast as Woody...'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>422</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115774844686574225</id><published>2006-09-08T13:33:00.000-07:00</published><updated>2006-09-08T13:47:26.876-07:00</updated><title type='text'>A weird effect of discover (SoC2006)</title><content type='html'>It is funny to see that when I remove discover (/etc/rcS.d/S36discover) from the boot, a disk utilisation and cpu usage peak appear at the end of loading KDE. Would it be that discover is loaded by KDE if it wasn&#39;t loaded? Or a discover ghost :p. Well, the bootcharts for the two different cases are available &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#discover&gt;here&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115774844686574225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115774844686574225' title='37 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115774844686574225'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115774844686574225'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/09/weird-effect-of-discover-soc2006.html' title='A weird effect of discover (SoC2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>37</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115774168937991141</id><published>2006-09-08T11:28:00.000-07:00</published><updated>2006-09-08T11:54:49.760-07:00</updated><title type='text'>Prelinking during the boot (SoC2006)</title><content type='html'>I&#39;ve tried prelinking with the aim of making the boot faster. I&#39;ve used the package of prelink from debian in unstable and we get no significant time improvement. Prelinking was added after readahead in a custom script run during the boot in /etc/rcS.d/S70prelink. What the script does is to prelink: kdeinit, Xorg, kwin, kdesktop, kicker, artsd, kaccess, ktip, klipper and korgac. The bootcharts are availabe &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#prelink&gt;here&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115774168937991141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115774168937991141' title='92 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115774168937991141'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115774168937991141'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/09/prelinking-during-boot-soc2006.html' title='Prelinking during the boot (SoC2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>92</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115772566677237824</id><published>2006-09-08T06:35:00.000-07:00</published><updated>2006-09-08T07:27:46.896-07:00</updated><title type='text'>8 second reduction (SoC2006)</title><content type='html'>By removing useless init-scripts from the symbolic link pool (/etc/rc?.d) we got a further second improvement in the boot time. The two init-scripts removed were hotkey-setup and gdm. The former can be removed as I&#39;m not using a laptop and the latter because I&#39;m using KDE. The boot time was reduced from 46 to 45 seconds. See the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts/bootchart_debiansid2_dash+reorder+hwclock+readahead-gdm.png&gt;new bootchart&lt;/a&gt; and compare with the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts/bootchart_debiansid2_dash+reorder+hwclock.png&gt;reference bootchart&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115772566677237824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115772566677237824' title='31 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115772566677237824'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115772566677237824'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/09/8-second-reduction-soc2006.html' title='8 second reduction (SoC2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>31</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115769949618210811</id><published>2006-09-08T00:11:00.000-07:00</published><updated>2006-09-08T00:11:36.193-07:00</updated><title type='text'>Trying to integrate Ubuntu&#39;s readahead (SoC2006).</title><content type='html'>I&#39;ve been playing a bit with Ubuntu&#39;s readahead to get a better boot time on debian. At least they seem to get it. I&#39;ve used strace to get the list of files for different init-scripts and generate the required /etc/readahead/boot file - containing the files to load to memory. The advantage of readahead over preload so far is that it does not affect the boot time when it is not active. I consider readahead inactive when the boot file is empty and preload when the preload script is removed from the symbolic link pools (/etc/rcX.d).&lt;br /&gt;&lt;br /&gt;By using readahead shortly after the system starts to boot (near udev), the boot time is even increased by 2 seconds (e.g. S03readahead in /etc/rcS.d). On the other side, by using some of the files used by KDE during startup there is almost a one second improvement as may be seen in the bootchart. We use readahead in /etc/rcS.d position S42. The list of files and the bootcharts may be found &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#readahead&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Besides, I&#39;ve corrected the deliverable 5 including the fact that lintian incorporates now a check for lsb compliance based on our patch! The deliverable is available &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/deliverable5.html&gt;here&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115769949618210811/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115769949618210811' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115769949618210811'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115769949618210811'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/09/trying-to-integrate-ubuntus-readahead.html' title='Trying to integrate Ubuntu&#39;s readahead (SoC2006).'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115750639136048375</id><published>2006-09-05T16:52:00.000-07:00</published><updated>2006-09-05T18:33:11.413-07:00</updated><title type='text'>7 seconds less on the boot time (SoC2006)</title><content type='html'>With the alioth sever down, it seems our project webpage is down as well. Anyway, we are currently on a 7 second improvement of the boot time by using reordering, dash as /bin/sh and hwclock in the background. The bootchart is available &lt;a href=http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootcharts/bootchart_debiansid2_dash+reorder+hwclock.tgz?op=file&amp;rev=0&amp;sc=0&gt;here&lt;/a&gt; while that of the original &lt;a href=http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/bootcharts/bootchart_debiansid2_original2.png?op=file&amp;rev=0&amp;sc=0&gt;system here&lt;/a&gt;. No time was won using preload 0.4 with varied configuration combinations. Curious to see that the time is 2 seconds more even without preload in the symbolic link farm (/etc/rcX.d) when preload is installed.</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115750639136048375/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115750639136048375' title='55 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115750639136048375'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115750639136048375'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/09/7-seconds-less-on-boot-time-soc2006.html' title='7 seconds less on the boot time (SoC2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>55</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115704503576490766</id><published>2006-08-31T10:17:00.000-07:00</published><updated>2006-08-31T10:42:54.253-07:00</updated><title type='text'>Deliverables 3 and 5 (SoC2006)</title><content type='html'>The new deliverables 3 and 5 were published. In the third deliverable we mention the effect of most hotspots, the procedure used for testing them and their bootcharts. Besides, it contains a group of combinations done with the hotspots and their effect. Deliverable 5 simply consists of the LSB guide for maintainers and the lintian patch to check LSB compliance. Both issues were published some weeks ago and this deliverable was just published to comply with the original deliverable list. Still two deliverables are missing: Deliverable 4: a proposal to change the boot system in debian according to the results from Deliverable 3 and further research, and Deliverable 6: the final report of the project. They are available in the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/deliverables.html&gt;deliverables webpage&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115704503576490766/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115704503576490766' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115704503576490766'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115704503576490766'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/08/deliverables-3-and-5-soc2006.html' title='Deliverables 3 and 5 (SoC2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115580276061584743</id><published>2006-08-17T01:08:00.000-07:00</published><updated>2006-08-17T16:43:27.396-07:00</updated><title type='text'>Insserv reordering and repeated init-scripts (SoC2006)</title><content type='html'>Some time ago I posted having obtained a 2 second time decrease in the boot time using insserv reordering. In that occasion, I had already deleted some repeated init scripts from the insserv modified /etc/rc2.d directory. Recently, I had problems using insserv as I thought the major change was just to change the order of some of the init-scripts (stop-bootlogd, sysklogd, klogd). Now, from a system starting in 53 seconds I got a 2 second improvement by using the same script order used some time ago. Besides, I thought I shouldn&#39;t bother to delete the repeated init-scripts as /sbin/init is supposed to ignore them. Nevertheless, by removing the remaining repeated scripts I got a further 2 second time improvement, i.e., &lt;b&gt;a 4 seconds improvement!&lt;/b&gt; The bootcharts and init order are available at the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#reorder-retried&gt;project webpage&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115580276061584743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115580276061584743' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115580276061584743'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115580276061584743'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/08/insserv-reordering-and-repeated-init.html' title='Insserv reordering and repeated init-scripts (SoC2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115564574316927899</id><published>2006-08-15T05:42:00.000-07:00</published><updated>2006-08-15T05:42:23.180-07:00</updated><title type='text'>System reinstalled and testing preload again (SoC 2006)</title><content type='html'>Currently recovering from a disk failure with lots of data lost (i&#39;ll backup more often now), I&#39;m trying to tackle with the inconsistencies sketched in the previous blog: preload and parallel booting hotspots don&#39;t perform as before. I guess the discrepancies came from playing too much with the boot process.&lt;br /&gt;The new system has originally a boot time of 52 seconds and the installation of preload 0.4 on a freshly installed system gave 1 second longer boot time during the first reboot and came back to the original time after 4 reboots and goes back to 53 seconds afterwards.&lt;br /&gt;The bootchart is available on the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#preloadrepeat&gt;bootcharts section of the project webpage&lt;/a&gt; for two preload configurations.&lt;br /&gt;&lt;br /&gt;Besides, unverbose booting was tested. Well, simply verbose was changed to &quot;VERBOSE=no&quot; and &quot;VERBOSE=quiet&quot; just making the system slower! What could this be? Manual tweaking may be probably needed. The bootcharts for the different cases are available on the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#verbose&gt;bootcharts section of the project webpage&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Finally, a laptop testing system was prepared for comparison. It has also a fresh debian sid installation on an external USB hard drive. The results using the laptop test bed were similar for unverbose booting although the boot time seem to be unconsistent! Around 2 second changes without networking and higher with networking. I _guess_ a possible reason is by using an usb hard drive.</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115564574316927899/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115564574316927899' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115564574316927899'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115564574316927899'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/08/system-reinstalled-and-testing-preload.html' title='System reinstalled and testing preload again (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115511484567703224</id><published>2006-08-09T01:56:00.000-07:00</published><updated>2006-08-09T02:14:05.686-07:00</updated><title type='text'>Comparing preload 0.4 and 0.2 (SoC 2006)</title><content type='html'>I&#39;ve tried preload 0.2 and 0.4 to compare its effects. Unfortunately my results don&#39;t hold with the results obtained some blogs ago: preload 0.2 reduced the boot time by 2 seconds. In this occasion, time was even lost (making me remember my first tests). This may be due to some upgrades had been made to sid since. &lt;br /&gt;First I tried preload 0.2 with default with 1 second lost and a modified configuration with no boot time change. &lt;br /&gt;Then I tried preload 0.4 with  default and modified configuration both with no time change.&lt;br /&gt;The bootcharts and log file are availabe at the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#preloadcompare&gt;project webpage&lt;/a&gt;.&lt;br /&gt;Yesterday I presented a table with hotspots combinates and unlike it was expected, preload may not be helping anymore (preload 0.4 was used).</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115511484567703224/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115511484567703224' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115511484567703224'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115511484567703224'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/08/comparing-preload-04-and-02-soc-2006.html' title='Comparing preload 0.4 and 0.2 (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115499440646709241</id><published>2006-08-07T16:02:00.000-07:00</published><updated>2006-08-07T16:47:01.556-07:00</updated><title type='text'>Table preview of hotspots (SoC 2006)</title><content type='html'>Some hotpots combinations were tested. Unexpectedly, the use of several hotspots together didn&#39;t cause an arithmetic sum of boot time improvements. For example, let&#39;s consider the following hotspots and their corresponding boot times:&lt;br /&gt;&lt;br /&gt;&lt;table&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;hotspot&lt;/b&gt;&lt;/td&gt;&lt;td&gt;time&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;DASH AS SH&lt;/td&gt;&lt;td&gt;4&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;PRELOADING&lt;/td&gt;&lt;td&gt;2&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;NETWORKING&lt;/td&gt;&lt;td&gt;0&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;HWCLOCK&lt;/td&gt;&lt;td&gt;2&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;REORDERING&lt;/td&gt;&lt;td&gt;2&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;PARALLEL&lt;/td&gt;&lt;td&gt;4&lt;/td&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;On the other side, while trying them together we get:&lt;br /&gt;&lt;table&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;hotspot&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Test#1&lt;/td&gt;&lt;td&gt;Test#2&lt;/td&gt;&lt;td&gt;Test#3&lt;/td&gt;&lt;td&gt;Test#4&lt;/td&gt;&lt;td&gt;Test#5&lt;/td&gt;&lt;td&gt;Test#6&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;INSSERV&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;DASH&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;NETWORKING&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;HWCLOCK&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;PRELOAD&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;PARALLEL&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;td&gt;X&lt;/td&gt;&lt;br /&gt;&lt;tr&gt;&lt;td&gt;time improve&lt;/td&gt;&lt;td&gt;4&lt;/td&gt;&lt;td&gt;6&lt;/td&gt;&lt;td&gt;6&lt;/td&gt;&lt;td&gt;6&lt;/td&gt;&lt;td&gt;6&lt;/td&gt;&lt;td&gt;4&lt;/td&gt;&lt;br /&gt;&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115499440646709241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115499440646709241' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115499440646709241'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115499440646709241'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/08/table-preview-of-hotspots-soc-2006.html' title='Table preview of hotspots (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115425958734372196</id><published>2006-07-30T04:22:00.000-07:00</published><updated>2006-07-30T04:39:47.353-07:00</updated><title type='text'>Lintian patch for LSB-compliance (SoC 2006)</title><content type='html'>A patch for lintian to check runtime dependency in the init scripts is now availabe at the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/resources.html&gt;project webpage&lt;/a&gt;. It proposes modifications to two files in the lintian/checks directory and was already tested. It reports incomplete and missing dependency information as well as individual warnings per headers missing. It was reported as a patch for the &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=377740&gt;#377740 bug&lt;/a&gt; previously reported.</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115425958734372196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115425958734372196' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115425958734372196'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115425958734372196'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/07/lintian-patch-for-lsb-compliance-soc.html' title='Lintian patch for LSB-compliance (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115359545381248663</id><published>2006-07-22T11:40:00.000-07:00</published><updated>2006-07-22T12:10:55.403-07:00</updated><title type='text'>Now preloading worked (SoC 2006)</title><content type='html'>One again I&#39;ve tried the preload program from Behdad Esfahbod (a result from SoC2005) but this time positive results. The cause of the difference might have been an incorrect deinstallation of parallel booting (insserv/startpar). The boot time showed a &lt;b&gt; 2 second &lt;/b&gt; time improvement. The preload.conf parameters mapprefix  and exeprefix were set to empty such that all files would be accepted. The results were compared with mapprefix being  set to the directories  used by some of the init scripts (strace -f initscript), adjusting the quantum time of preload (cycle parameter) and changing the position of the initscript to start just after hwclockfirst.sh. The results were the same: a  2 second time improvent. See the bootcharts  &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#preloading&gt;here&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115359545381248663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115359545381248663' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115359545381248663'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115359545381248663'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/07/now-preloading-worked-soc-2006.html' title='Now preloading worked (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115343862449160045</id><published>2006-07-20T16:36:00.000-07:00</published><updated>2006-07-20T16:37:04.503-07:00</updated><title type='text'>Now Parallel execution works better (SoC 2006)</title><content type='html'>A bug was found when doing parallel execution with startpar. The scripts seem to have been executing twice and it is being fixed by Petter Reinholdtsen. To compare the effect of the bug, the parallel execution boot time using startpar was compared with the one using &quot;shell&quot;. The main difference between using CONCURRENCY=startpar and CONCURRENCY=shell in /etc/default/rcS is that the latter doesn&#39;t care about the order in which messages are printed to the screen. &lt;br /&gt;&lt;br /&gt;The issue made me try things again and this time I didn&#39;t accept the default script reorder from insserv. Insserv seems to have the following reordering issues:&lt;br /&gt;&lt;br /&gt;a)repeates scripts in /etc/rc2.d that were already started in /etc/rcS.d&lt;br /&gt;b)doesn&#39;t reorder /etc/rcS.d&lt;br /&gt;c)puts stop-bootlogd near the beginning in /etc/rc2.d and bootlogd while sysklogd and klogd are at the middle.&lt;br /&gt;d)includes scripts present in /etc/init.d that were not previously executed at boot time.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Issues (a) and (c) were corrected and the boot time was 2 seconds faster than without insserv(See &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#reorder&gt;bootcharts&lt;/a&gt;).&lt;br /&gt;While testing parallel execution, using CONCURRENCY=startpar, there was no improvement (the bug hasn&#39;t been fixed) and while testing with CONCURRENCY=shell there was a 4 second time improvement from the original system without insserv. (See &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#parallel&gt;bootcharts&lt;/a&gt;)</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115343862449160045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115343862449160045' title='23 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115343862449160045'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115343862449160045'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/07/now-parallel-execution-works-better.html' title='Now Parallel execution works better (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>23</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115335513393160968</id><published>2006-07-19T17:14:00.000-07:00</published><updated>2006-07-19T17:25:33.943-07:00</updated><title type='text'>Meeting with my mentor in Dublin (SoC 2006)</title><content type='html'>In one of this extremely weird sunny and warm days in Dublin, I&#39;ve met my google SoC mentor Petter Reinholdtsen. We&#39;ve discussed several issues of the project and here are the main points:&lt;br /&gt;&lt;br /&gt;1. Some small issues in the LSB compliance list needed to be corrected. Some packages didn&#39;t showed their package. It was solved and now all the init-scripts have the package they belong to. &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/lsblist.html&gt;See LSB-compliance list.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. It was important to compare the results from two different ways to use dash instead of bash in the init-scripts. &lt;a href=http://lists.debian.org/debian-devel/2006/05/msg02063.html&gt; See discussion in debian-devel&lt;/a&gt;. The two approaches are:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;a) make /bin/sh point to /bin/dash&lt;/i&gt; - using the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/log/dashlog&gt;procedure&lt;/a&gt; described in /usr/share/doc/bash/README.Debian.gz, we obtain a time reduction of 4 seconds.&lt;br /&gt;&lt;i&gt;b) change #!/bin/sh for #!/bin/dash in the init-scripts &lt;/i&gt;- using the substitution function of sed, the initscripts were changed to use dash. A reduction of 2 seconds was obtained.&lt;br /&gt;&lt;br /&gt;The bootcharts are available &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html#dash&gt;here&lt;/a&gt;. The difference should be because some programs are still using bash as just the first line of the initscripts was changed.</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115335513393160968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115335513393160968' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115335513393160968'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115335513393160968'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/07/meeting-with-my-mentor-in-dublin-soc.html' title='Meeting with my mentor in Dublin (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115299323486266059</id><published>2006-07-15T12:47:00.000-07:00</published><updated>2006-07-15T12:53:54.870-07:00</updated><title type='text'>Automatic update for the LSB compliance list (SoC 2006)</title><content type='html'>We have published a list for LSB-compliance in &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/lsblist.html&gt;here&lt;/a&gt;. The script to create it was now modified to be easily updated automatically considering changes in the initscript files and new reported bugs. It will also consider special cases like with the scripts bootlogd and hostname.sh that wouldn&#39;t normally be considered as LSB compliant. The scripts are available under the GNU license at the &lt;a href= http://svn.debian.org/wsvn/initscripts-ng/trunk/www/soc2006-bootsystem/code/?rev=0&amp;sc=0&gt; project repository&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115299323486266059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115299323486266059' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115299323486266059'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115299323486266059'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/07/automatic-update-for-lsb-compliance.html' title='Automatic update for the LSB compliance list (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115267019865419883</id><published>2006-07-11T19:02:00.000-07:00</published><updated>2006-07-12T03:11:45.670-07:00</updated><title type='text'>testing ubuntu&#39;s readahead (SoC2006)</title><content type='html'>The base distribution I&#39;m using for Sid changed slightly by installing ssh. There was no boot time difference. The new base bootchart (same time 49 sec) is &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_untilKtip2.png&gt; here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Based on a &lt;a href=http://lists.alioth.debian.org/pipermail/initscripts-ng-devel/2006-April/000255.html&gt;discussion in initscripts-ng-devel&lt;/a&gt; between Petter Reinholdtsen and Erich Schubert, I decided to try ubuntu&#39;s readahead to see if we will get a better or worst boot time. After installing ubuntu&#39;s readahead 1.0.1-2 but noticed not time difference. No difference was obtained by changing the boot order (S39 to S19 in rcS.d) nor by adding files read at /etc/readahead/readahead. The bootchart is &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_untilKtip2_readahead1.png&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also tried the newer readahead from ubuntu readahead 0.20050517.0220-0ubuntu3 but now with a loss of 1 second. This includes two scripts S01readahead and S39readahead-desktop in rcS.d and S99stop-readahead in rc2.d.  The bootchart is &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootchart_debiansid_linux2.6.16_untilKtip2_readahead2.png&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Next I&#39;ll try to analyze the SUSE static preload.&lt;br /&gt;&lt;br /&gt;Besides I filed an bug (&lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=377941&gt;377941&lt;/a&gt;) to initramfs-tool I had with installing Etch on my laptop with a usb harddisk. Tried adding sleep 5 to /usr/share/initramfs-tools/scripts/init-premount/udev, then dpkg-reconfigure linux-image-.... but still fails :(</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115267019865419883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115267019865419883' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115267019865419883'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115267019865419883'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/07/testing-ubuntus-readahead-soc2006.html' title='testing ubuntu&#39;s readahead (SoC2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115260811132795181</id><published>2006-07-11T01:52:00.000-07:00</published><updated>2006-07-11T01:55:11.336-07:00</updated><title type='text'>More bug reports and benchmark (SoC2006)</title><content type='html'>Yesterday I filed a bug report for lintian as it doesn&#39;t check for LSB compliance. Many scripts would be fixed at the moment we get an LSB check in lintian and normally we will be providing them with a patch for it with our Deliverable 5 in a few weeks. Bug report &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=377740&gt;#377740&lt;/a&gt;&lt;br /&gt;I&#39;m installing sid in my laptop --originally-- to use as benchmarking for the boot process. The installation procedure was the same as the one explained in the project webpage for sid except that it also includes the Laptop package subset. As I&#39;m using a usb harddisk, it seems there is a problem at the boottime as /dev/sda1 takes to long to be detected and when root wants to mount it hasn&#39;t been detected yet. I currently skip this problem this by doing CTRL-S at the beginning to give it more time but this won&#39;t make a good boot process benchmark. &lt;br /&gt;New bug reports were filed:&lt;br /&gt;alsa-base &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=377716&gt;#377716&lt;/a&gt;&lt;br /&gt;alsa-utils &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=377717&gt;#377717&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115260811132795181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115260811132795181' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115260811132795181'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115260811132795181'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/07/more-bug-reports-and-benchmark-soc2006.html' title='More bug reports and benchmark (SoC2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115238536273364909</id><published>2006-07-08T11:51:00.000-07:00</published><updated>2006-07-08T12:02:42.746-07:00</updated><title type='text'>LSB- howto, status list and check script (SoC 2006)</title><content type='html'>A guide for debian package maintainers to make the scripts LSB compliant is available in &lt;a href=http://wiki.debian.org/LSBInitScripts&gt;here&lt;/a&gt;. It is not a substitute of the &lt;a href=http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/book1.html&gt;LSB 3.1&lt;/a&gt; but intends to be used as a quick reference to create LSB-compliant init-scripts.&lt;br /&gt;&lt;br /&gt;The &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/code/checkLSB&gt;script to check the LSB compliance&lt;/a&gt; was changed to reflect the init script status according to:&lt;br /&gt;+No LSB headers - If &quot;### BEGIN INIT INFO&quot; is not found.&lt;br /&gt;+LSB compliance - If the headers Provides, Required-Start, Required-Stop, Default-Start and Default-Stop exist and have arguments. Besides, if Default-Start is equal to 0 or to 6, LSB compliance is satisfied only with Provides, Required-Start and Default-Start.&lt;br /&gt;+Missing LSB headers in the other cases. &lt;br /&gt;&lt;br /&gt;Finally, a list with the current LSB-compliance status of Debian init-scripts is available &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/lsblist.html&gt;here&lt;/a&gt;. It was automatically generated using a modified version of the script mentioned above and includes a link to the bug report filed to correct the scripts. The aim of this webpage is to give an overview of the work that needs to be done in Debian for LSB compliance.</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115238536273364909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115238536273364909' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115238536273364909'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115238536273364909'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/07/lsb-howto-status-list-and-check-script.html' title='LSB- howto, status list and check script (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115214475214995495</id><published>2006-07-05T17:10:00.000-07:00</published><updated>2006-07-06T01:22:25.160-07:00</updated><title type='text'>Bug reports for packages with missing LSB headers (SoC2006)</title><content type='html'>Yesterday I started to prepare bug reports about missing LSB headers. Since then I reported:&lt;br /&gt; -acpid script &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376778&gt;#376778&lt;/a&gt;&lt;br /&gt; -atd script &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376780&gt;#376780&lt;/a&gt;&lt;br /&gt; -bittorrent script &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376944&gt;#376944&lt;/a&gt;&lt;br /&gt; -exim4 script &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376953&gt;#376953&lt;/a&gt;&lt;br /&gt; -hotkey-setup script &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376955&gt;#376955&lt;/a&gt;&lt;br /&gt; -inetd script &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376956&gt;#376956&lt;/a&gt;&lt;br /&gt; -kdm script &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376958&gt;#376958&lt;/a&gt;&lt;br /&gt; -lpr script &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376960&gt;#376960&lt;/a&gt; &lt;br /&gt; -makedev script &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376992&gt;#376992&lt;/a&gt; &lt;br /&gt; -nfs-common script &lt;a href=http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=376976&gt;#376976&lt;/a&gt;.&lt;br /&gt;A summary of the bug reports with missing lsb headers can be found in &lt;a href=http://bugs.debian.org/cgi-bin/pkgreport.cgi?usertag=initscripts-ng-devel@lists.alioth.debian.org:missing-dependency&gt;here&lt;/a&gt;&lt;br /&gt;Besides, we&#39;ve raised the issue of some scripts missing dependencies in the bootclean init script and the missing Should-Start dependency of bootmisc.sh in the &lt;a href=http://lists.alioth.debian.org/mailman/listinfo/pkg-sysvinit-devel&gt; sysvinit-devel mailing list&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115214475214995495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115214475214995495' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115214475214995495'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115214475214995495'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/07/bug-reports-for-packages-with-missing.html' title='Bug reports for packages with missing LSB headers (SoC2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115203954790564766</id><published>2006-07-04T11:55:00.000-07:00</published><updated>2006-07-04T11:59:07.916-07:00</updated><title type='text'>Deliverable on line and LSB list</title><content type='html'>The second deliverable of the &quot;Improve debian boot&quot; project is available to check since yesterday night &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/deliverables.html&gt;in the webpage&lt;/a&gt;. In this report, a comparison between the boot process of the debian releases from woody to sid is presented. Besides, the first hotspots are investigated.&lt;br /&gt;&lt;br /&gt;On the other hand,I&#39;ve updated the LSB compliance of the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/lsblist.html&gt;scripts in Sid&lt;/a&gt; and added some related bug reports to some of the scripts.  Besides, I&#39;ve worked on new bugs on the script for LSB compliance by checking with all the scripts.&lt;br /&gt;&lt;br /&gt;btw, anybody interested on this project can always join us every day at irc.debian.org at the channel #pkg-sysvinit (Europe daytime normally :D ).</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115203954790564766/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115203954790564766' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115203954790564766'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115203954790564766'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/07/deliverable-on-line-and-lsb-list.html' title='Deliverable on line and LSB list'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115184864275944697</id><published>2006-07-02T06:49:00.000-07:00</published><updated>2006-07-02T06:57:33.400-07:00</updated><title type='text'>Preload status and back to bechmarking (SoC 2006)</title><content type='html'>I&#39;ve went back to the subject of benchmarking Debian releases in order to prepare the second deliverable. It should be available tonight for review in the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/deliverables.html&gt;project webpage&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Besides, we are trying to explore how to make the debian package of preload to work properly such that we can notice any time improvement. The default configuration and with little variations show no time difference. Anybody out there knows about some examples of how to configure preload?</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115184864275944697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115184864275944697' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115184864275944697'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115184864275944697'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/07/preload-status-and-back-to-bechmarking.html' title='Preload status and back to bechmarking (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115165892094164057</id><published>2006-06-30T01:59:00.000-07:00</published><updated>2006-06-30T04:40:51.853-07:00</updated><title type='text'>preload and LSB compliance webpage</title><content type='html'>I started to try another hotspot: preload. Unfortunately, I noticed no change on the boot time after installing preload. Not even after changing its boot order from /etc/rc2.d/ to /etc/rcS.d/ after the dependencies were met: in the init script it claims to require $time, $remote_fs and $local_fs. I believe seeing it in ubuntu at just the beginning of /etc/rcS.d/. The bootcharts and test procedures can be seen &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/bootcharts.html&gt;here&lt;/a&gt;. This is an issue that has to be further investigated.&lt;br /&gt;&lt;br /&gt;On the other side, the lsb check script was debugged a little bit more. A list with the compliance of the init scripts in sid is available &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/resources.html&gt;here&lt;/a&gt;. The few LSB compliant scripts are on the top, the big incomplete majority in the middle and those without LSB headers at the bottom.</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115165892094164057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115165892094164057' title='48 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115165892094164057'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115165892094164057'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/06/preload-and-lsb-compliance-webpage.html' title='preload and LSB compliance webpage'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>48</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115157038564419909</id><published>2006-06-29T01:33:00.000-07:00</published><updated>2006-06-29T01:39:45.656-07:00</updated><title type='text'>Debugging the LSB check in lintian/linda.</title><content type='html'>With run-time dependencies in the init scripts (as LSB headers) we can verify the correct boot order of the system. Currently, lintian just checks the init scripts to provide start, stop, restart and force-reload actions. A small modification could allow it to check for LSB compliance as well and decrease the big amount of scripts lacking run-time dependencies until now.&lt;br /&gt;Currently we have a script to verify LSB compliance and is on a debugging phase. One of the issues is when to warn about a missing information on the stop phase, like Required-Stop, Should-Stop and Default-Stop. Changes we made were not to warn (at least for Default-Stop) when the system default start is only runtime S (initialization). &lt;br /&gt;&lt;br /&gt;Finally, there are now some way to track the bugs related to this project with BTS usertags. Most of them have been submitted by Petter Reinholdtsen. Follow &lt;a href=http://bugs.debian.org/cgi-bin/pkgreport.cgi?usertag=initscripts-ng-devel@lists.alioth.debian.org&gt;this link&lt;/a&gt; to see the bugs.</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115157038564419909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115157038564419909' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115157038564419909'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115157038564419909'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/06/debugging-lsb-check-in-lintianlinda.html' title='Debugging the LSB check in lintian/linda.'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29132032.post-115149152442958839</id><published>2006-06-28T03:42:00.000-07:00</published><updated>2006-06-28T03:45:24.436-07:00</updated><title type='text'>Script for checking LSB compliance (SoC 2006)</title><content type='html'>Based on a &lt;a href=http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/check-initd-order?op=file&amp;rev=0&amp;sc=0&gt;script&lt;/a&gt; by Petter Reinholdtsen to check the correct init script order, I&#39;ve made a script to check for LSB compliance. It is available on the &lt;a href=http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/resources.html&gt; project webpage&lt;/a&gt;. The script checks for the existance of each of the LSB headers and considers 4 main output cases:&lt;br /&gt;+ No LSB headers (when the START INIT INFO header is not found)&lt;br /&gt;+ Basic LSB compliance (when Should-Start, Should-Stop and the Description have no arguments.&lt;br /&gt;+ Full LSB compliance (when all headers have arguments)&lt;br /&gt;+ Partial compliance (in the other cases).&lt;br /&gt;Besides, it sends to to STDERR comments on missing headers or missing arguments in them.</content><link rel='replies' type='application/atom+xml' href='https://bootdebian.blogspot.com/feeds/115149152442958839/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment/fullpage/post/29132032/115149152442958839' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115149152442958839'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/29132032/posts/default/115149152442958839'/><link rel='alternate' type='text/html' href='https://bootdebian.blogspot.com/2006/06/script-for-checking-lsb-compliance-soc.html' title='Script for checking LSB compliance (SoC 2006)'/><author><name>Carlos Villegas</name><uri>http://www.blogger.com/profile/12649439812700566673</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>