<?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; kernel</title>
	<atom:link href="http://noorul.com/blog/category/linux/kernel/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>Compile issues with ieee80211 and ipw2200 on linux kernel 2.6.25.</title>
		<link>http://noorul.com/blog/2008/06/04/compile-issues-with-ieee80211-and-ipw2200-on-linux-kernel-2625/</link>
		<comments>http://noorul.com/blog/2008/06/04/compile-issues-with-ieee80211-and-ipw2200-on-linux-kernel-2625/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 01:04:22 +0000</pubDate>
		<dc:creator>noorul</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[wireless]]></category>
		<category><![CDATA[ieee80211]]></category>
		<category><![CDATA[ipw2200]]></category>

		<guid isPermaLink="false">http://noorul.wordpress.com/?p=14</guid>
		<description><![CDATA[The latest version of iee80211 (ieee80211-1.2.18) and ipw220 (ipw2200-1.2.2) are not compiling properly on the latest linux kernel 2.6.25.3. I got the following error when I compiled ipw2200 on my laptop. /home/noorul/software/ipw2200/ipw2200-1.2.2/ipw2200.c: In function ‘ipw_pci_probe’: /home/noorul/software/ipw2200/ipw2200-1.2.2/ipw2200.c:11937: error: implicit declaration of function ‘SET_MODULE_OWNER’ In my case I was able to find out a solution from some [...]]]></description>
			<content:encoded><![CDATA[<p>The latest version of iee80211 (ieee80211-1.2.18) and ipw220 (ipw2200-1.2.2) are not compiling properly on the latest linux kernel 2.6.25.3.</p>
<p>I got the following error when I compiled ipw2200 on my laptop.</p>
<blockquote><p>/home/noorul/software/ipw2200/ipw2200-1.2.2/ipw2200.c: In function ‘ipw_pci_probe’:<br />
/home/noorul/software/ipw2200/ipw2200-1.2.2/ipw2200.c:11937: error: implicit declaration of function ‘SET_MODULE_OWNER’</p></blockquote>
<p>In my case I was able to find out a solution from some other project. But there is a patch in the bug database. Here is the link <a href="http://www.intellinuxwireless.org/bugzilla/attachment.cgi?id=1378">http://www.intellinuxwireless.org/bugzilla/attachment.cgi?id=1378</a></p>
<p>But in the case of iee80211, I couldn&#8217;t find a straight forward solution. But the following steps helped me. There were several errors across multiple files.</p>
<p>1. I had to make changes to ieee80211_module.c. Here is the patched file.</p>
<p><a href="https://sites.google.com/site/noorul/Home/ieee80211_module.c?attredirects=0">ieee80211_module.c</a></p>
<p>2. Then the files ieee80211_crypt_wep.c, ieee80211_crypt_tkip.c</p>
<p><a href="https://sites.google.com/site/noorul/Home/ieee80211_crypt_wep.c?attredirects=0">ieee80211_crypt_wep.c</a><br />
<a href="https://sites.google.com/site/noorul/Home/ieee80211_crypt_tkip.c?attredirects=0">ieee80211_crypt_tkip.c</a></p>
<p>Once I made the above changes, I followed the normal compilation procedure and everything worked fine. Posting this one through wireless internet connection.</p>
]]></content:encoded>
			<wfw:commentRss>http://noorul.com/blog/2008/06/04/compile-issues-with-ieee80211-and-ipw2200-on-linux-kernel-2625/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Configuring SE W810i on Debian GNU/Linux to connect to the internet.</title>
		<link>http://noorul.com/blog/2008/05/25/configuring-se-w810i-on-debian-gnulinux-to-connect-to-the-internet/</link>
		<comments>http://noorul.com/blog/2008/05/25/configuring-se-w810i-on-debian-gnulinux-to-connect-to-the-internet/#comments</comments>
		<pubDate>Sun, 25 May 2008 08:47:30 +0000</pubDate>
		<dc:creator>noorul</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[airtel+mobile+office+linux]]></category>
		<category><![CDATA[airtel+w810i+mobile+office]]></category>
		<category><![CDATA[debian+mobile]]></category>
		<category><![CDATA[mobile+internet]]></category>
		<category><![CDATA[mobile+internet+linux]]></category>
		<category><![CDATA[mobile+linux]]></category>
		<category><![CDATA[sony+ericsson]]></category>
		<category><![CDATA[sony+ericsson+linux]]></category>
		<category><![CDATA[w810i+debian]]></category>
		<category><![CDATA[w810i+internet]]></category>
		<category><![CDATA[w810i+linux]]></category>
		<category><![CDATA[w810i+linux+internet]]></category>

		<guid isPermaLink="false">http://noorul.wordpress.com/?p=9</guid>
		<description><![CDATA[I use SE W810i with Airtel Mobile Office service to connect to the internet. There are two ways by which you can do this. One is connecting the mobile phone to the computer using USB cable. Another option is to connect the phone using Bluetooth. Both options allows you to use the phone as a [...]]]></description>
			<content:encoded><![CDATA[<p>I use SE W810i with Airtel Mobile Office service to connect to the internet. There are two ways by which you can do this. One is connecting the mobile phone to the computer using USB cable. Another option is to connect the phone using Bluetooth. Both options allows you to use the phone as a modem. For me both of them worked, but here I will be mention how to configure using USB cable.</p>
<p>I assume that you have subscribed to Airtel Mobile Office and you are able to browse internet using phone.</p>
<p>You need cdc_acm module in order to make your phone act as a modem. I hope you have this compiled as a module. Just plugin the USB cable into your computers USB port and use the command <b>dmesg</b> to see the following messages at the bottom.</p>
<pre>
usb 2-2: new full speed USB device using uhci_hcd and address 2
usb 2-2: configuration #1 chosen from 1 choice
cdc_acm 2-2:1.1: ttyACM0: USB ACM device
cdc_acm 2-2:1.3: ttyACM1: USB ACM device
usbcore: registered new interface driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
</pre>
<p>If you see something similar, that means your device has been detected as a modem. You can access this device using the file /dev/ttyACM0. You can even use minicom or other communication programs to use this device as a modem.</p>
<p>Also you need ppp to connect to the internet. Install ppp daemon for your distribution. Debian users can just do the following to install ppp.</p>
<pre>
sudo apt-get install ppp
</pre>
<p>This will install both pppd and chat programs. I won&#8217;t get into much detail about these commands here.</p>
<p>Steps<br />
1. Create a file /etc/ppp/peers/w810i with the following contents.</p>
<pre>
/dev/ttyACM0
connect '/usr/sbin/chat -v -f /etc/ppp/peers/chat-w810i'
debug
crtscts
noipdefault
ipcp-accept-local
defaultroute
novj
nobsdcomp
novjccomp
nopcomp
noaccomp
usepeerdns
noauth
</pre>
<p>2. Now create another file /etc/ppp/peers/chat-w810i with the following contents.</p>
<pre>
ECHO ON
''          'AT'
'OK\r'      'AT+CGDCONT=1,"IP","airtelgprs.com","0.0.0.0",0,0'
'OK\r'      'ATD*99***1#'
'CONNECT'
</pre>
<p>Now you are ready to connect to the internet. Just type in the following command.</p>
<pre>
sudo pppd call w810i
</pre>
<p>You must be sudoer for the sudo command to work. It will ask for your password. If you don&#8217;t use sudo then you can log in as root and run the same command without sudo in the beginning. Now you will see a message &#8220;Connecting&#8221; on your mobile phone. If you look at the file /var/log/messages at the bottom you can see something similar to below lines, this means you are connected to the internet.</p>
<pre>
Jul 30 20:22:18 xxxxxx pppd[4652]: Serial connection established.
Jul 30 20:22:18 xxxxxx pppd[4652]: Using interface ppp0
Jul 30 20:22:18 xxxxxx pppd[4652]: Connect: ppp0  /dev/ttyACM0
Jul 30 20:22:19 xxxxxx pppd[4652]: Remote message: Congratulations!
Jul 30 20:22:19 xxxxxx pppd[4652]: PAP authentication succeeded
Jul 30 20:22:19 xxxxxx kernel: PPP Deflate Compression module registered
Jul 30 20:22:20 xxxxxx pppd[4652]: local  IP address 117.97.49.57
Jul 30 20:22:20 xxxxxx pppd[4652]: remote IP address 61.95.248.66
Jul 30 20:22:20 xxxxxx pppd[4652]: primary   DNS address 202.56.250.5
Jul 30 20:22:20 xxxxxx pppd[4652]: secondary DNS address 202.56.250.6
</pre>
<p>Open your favourite browser, mine is firefox, and have fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://noorul.com/blog/2008/05/25/configuring-se-w810i-on-debian-gnulinux-to-connect-to-the-internet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
