<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>noorul islam :: my thoughts &#187; gnu</title>
	<atom:link href="http://noorul.com/blog/category/gnu/feed/" rel="self" type="application/rss+xml" />
	<link>http://noorul.com/blog</link>
	<description>gnu/linux, emacs and random thoughts</description>
	<lastBuildDate>Wed, 01 Aug 2012 02:24:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>Debian Squeeze (aka 6.0) on IBM ThinkPad R52.</title>
		<link>http://noorul.com/blog/2011/03/05/debian-squeeze-aka-6-0-on-ibm-thinkpad-r52/</link>
		<comments>http://noorul.com/blog/2011/03/05/debian-squeeze-aka-6-0-on-ibm-thinkpad-r52/#comments</comments>
		<pubDate>Sat, 05 Mar 2011 02:54:40 +0000</pubDate>
		<dc:creator>noorul</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://noorul.com/blog/?p=95</guid>
		<description><![CDATA[Installing the latest version of Debian ThinkPad R52 was not as straight forward as I thought. I had only one issue and this blog post talks about that. Since I manually solved this problem, I hope a blog post might be useful for others. The problem occurs while detecting &#8220;Network devices&#8221;. The installer is unable [...]]]></description>
			<content:encoded><![CDATA[<p>Installing the latest version of Debian ThinkPad R52 was not as straight forward as I thought. I had only one issue and this blog post talks about that. Since I manually solved this problem, I hope a blog post might be useful for others.<br />
<br />
The problem occurs while detecting &#8220;Network devices&#8221;. The installer is unable to proceed because the process (ethdetect) which detects all network devices never returns control to the installer. Since IBM ThinkPad R52 comes with Intel wireless chip, the driver needs firmware which are not part of Debian official release.</p>
<p><code><br />
noorul@laptop:~$ lspci | grep Wireless<br />
04:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)<br />
</code><br />
<br />
The installer keeps on looking for this firmware in /dev/fd0 (i.e floppy disk) which my machine don&#8217;t have and it loops. See below.</p>
<p><code><br />
Feb  6 11:18:09 kernel: [  210.472933] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!<br />
Feb  6 11:18:13 kernel: [  214.710322] end_request: I/O error, dev fd0, sector 0<br />
Feb  6 11:18:26 kernel: [  227.758197] end_request: I/O error, dev fd0, sector 0<br />
Feb  6 11:18:26 kernel: [  227.758207] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!<br />
Feb  6 11:18:30 kernel: [  231.454131] kjournald starting.  Commit interval 5 seconds<br />
Feb  6 11:18:30 kernel: [  231.454335] EXT3 FS on sda9, internal journal<br />
Feb  6 11:18:30 kernel: [  231.454338] EXT3-fs: mounted filesystem with ordered data mode.<br />
Feb  6 11:18:39 kernel: [  240.810198] end_request: I/O error, dev fd0, sector 0<br />
Feb  6 11:18:39 kernel: [  240.810207] FAT: unable to read boot sector<br />
Feb  6 11:18:52 kernel: [  253.874008] end_request: I/O error, dev fd0, sector 0<br />
Feb  6 11:19:05 kernel: [  266.933613] end_request: I/O error, dev fd0, sector 0<br />
Feb  6 11:19:05 kernel: [  266.933630] attempt to access beyond end of device<br />
Feb  6 11:19:05 kernel: [  266.933633] fd0: rw=0, want=66, limit=8<br />
Feb  6 11:19:05 kernel: [  266.933636] isofs_fill_super: bread failed, dev=fd0, iso_blknum=16, block=32<br />
</code><br />
<br />
As a solution, I choose &#8220;expert mode&#8221; installation and before setting Network devices, I switched over to another virtual terminal (Alt-F2) and got a shell. I ran &#8220;ethdetect&#8221; command there so that this runs as a separate process independent of the installer. This step will not block the installer and you can continue with setting up network from the menu skipping detecting network devices.</p>
]]></content:encoded>
			<wfw:commentRss>http://noorul.com/blog/2011/03/05/debian-squeeze-aka-6-0-on-ibm-thinkpad-r52/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Compiling emacs-unicode from cvs on debian etch.</title>
		<link>http://noorul.com/blog/2008/05/25/compiling-emacs-unicode-from-cvs-on-debian-etch/</link>
		<comments>http://noorul.com/blog/2008/05/25/compiling-emacs-unicode-from-cvs-on-debian-etch/#comments</comments>
		<pubDate>Sun, 25 May 2008 07:42:32 +0000</pubDate>
		<dc:creator>noorul</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[emacs+23]]></category>
		<category><![CDATA[emacs+unicode]]></category>
		<category><![CDATA[emacs+unicode+make]]></category>
		<category><![CDATA[gnu+emacs]]></category>
		<category><![CDATA[unicode+emacs]]></category>

		<guid isPermaLink="false">http://noorul.wordpress.com/?p=5</guid>
		<description><![CDATA[Emacs-22+ doesn&#8217;t support Xft fonts, hence the look and feel of emacs on X-Windows is not that good. But development is going on to provide this feature in emacs. The emacs-unicode-2 branch for emacs has this feature, hopefully this will get integrated to emacs-23. I followed the following steps to compile emacs-unicode from CVS. 1. [...]]]></description>
			<content:encoded><![CDATA[<p>Emacs-22+ doesn&#8217;t support Xft fonts, hence the look and feel of emacs on X-Windows is not that good. But development is going on to provide this feature in emacs. The emacs-unicode-2 branch for emacs has this feature, hopefully this will get integrated to emacs-23.</p>
<p>I followed the following steps to compile emacs-unicode from CVS.</p>
<p>1. Checkout latest source for emacs-unicode.</p>
<pre>
cd /opt
cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co -r emacs-unicode-2 emacs
</pre>
<p>2. I had a problem with NSTATICS constant in emacs/src/alloc.c when compiling. I think you might face the same problem. You have to change the value of this constant. You have to look for the definition of this constant in emacs/src/alloc.c. I did the following. May be a lower value will also work. Commented the existing definition and added mine.</p>
<pre>
/* #define NSTATICS 1280 */
#define NSTATICS 2048
</pre>
<p>3. Now use configure script to generate make files.</p>
<pre>
cd /opt/emacs
./configure  --with-gtk --enable-font-backend --with-xft  --with-freetype
</pre>
<p>4. At last the make command</p>
<pre>
make bootstrap
</pre>
<p>It took around 5 hours for me to figure out the NSTATICS problem. I hope this will help some of you. If this helps any one of you then drop me a mail. I will be happy.</p>
]]></content:encoded>
			<wfw:commentRss>http://noorul.com/blog/2008/05/25/compiling-emacs-unicode-from-cvs-on-debian-etch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
