<?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>Piazza Del Popolo &#187; Developing</title>
	<atom:link href="http://www.patriziobassi.it/piazzadelpopolo/category/developing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.patriziobassi.it/piazzadelpopolo</link>
	<description>Free speech for the dumb</description>
	<lastBuildDate>Sat, 04 May 2013 19:31:09 +0000</lastBuildDate>
	<language>it-IT</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Konqueror corrupts some italian MotorSport webpages</title>
		<link>http://www.patriziobassi.it/piazzadelpopolo/2007/11/24/konqueror-corrupts-some-italian-motorsport-webpages/</link>
		<comments>http://www.patriziobassi.it/piazzadelpopolo/2007/11/24/konqueror-corrupts-some-italian-motorsport-webpages/#comments</comments>
		<pubDate>Sat, 24 Nov 2007 13:46:53 +0000</pubDate>
		<dc:creator>Patrizio</dc:creator>
				<category><![CDATA[Developing]]></category>

		<guid isPermaLink="false">http://www.patriziobassi.it/blog/2007/11/24/konqueror-corrupts-some-italian-motorsport-webpages/</guid>
		<description><![CDATA[Did anyone meet this issue? So strange, Konqueror (this is 3.5.8) worked perfectly until 3.5.6&#8230;. So sad, two of my favorite websites gets corrupted&#8230;]]></description>
				<content:encoded><![CDATA[<p>Did anyone meet this issue?<br />
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/OJ93B1p2xFI"></param> <embed src="http://www.youtube.com/v/OJ93B1p2xFI" type="application/x-shockwave-flash" width="425" height="350"></embed></object></p>
<p>So strange, Konqueror (this is 3.5.8) worked perfectly until 3.5.6&#8230;.<br />
So sad, two of my favorite websites gets corrupted&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.patriziobassi.it/piazzadelpopolo/2007/11/24/konqueror-corrupts-some-italian-motorsport-webpages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mozilla Lightning 0.7 (Calendar) build for x86_64</title>
		<link>http://www.patriziobassi.it/piazzadelpopolo/2007/11/18/mozilla-lightning-07-calendar-build-for-x86_64/</link>
		<comments>http://www.patriziobassi.it/piazzadelpopolo/2007/11/18/mozilla-lightning-07-calendar-build-for-x86_64/#comments</comments>
		<pubDate>Sun, 18 Nov 2007 19:01:21 +0000</pubDate>
		<dc:creator>Patrizio</dc:creator>
				<category><![CDATA[Developing]]></category>

		<guid isPermaLink="false">http://www.patriziobassi.it/blog/2007/11/18/mozilla-lightning-07-calendar-build-for-x86_64/</guid>
		<description><![CDATA[Mozilla Thunderbird is a great mail, news and rss application which lacks the calendar support. The alternative may be using one Google Calendar service, but if you want everything integrated it&#8217;s disappointing. There is a project, Mozilla Calendar which has two branches: Sunbird and Lighting, one is a standalone application (useless for me!!), the other [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Mozilla_Thunderbird">Mozilla Thunderbird</a> is a great mail, news and rss application which lacks the calendar support.</p>
<p>The alternative may be using one <a href="http://www.google.com/calendar">Google Calendar service</a>, but if you want everything integrated it&#8217;s disappointing.</p>
<p>There is a project, <a href="http://www.mozilla.org/projects/calendar/">Mozilla Calendar</a> which has two branches: Sunbird and Lighting, one is a standalone application (useless for me!!), the other is a nice Thunderbird extension.</p>
<p>The bad part is that Mozilla provide Windows, Linux and Mac builds only for i686 systems. So amd64 and newest Intel users (x86_64) cannot use it.</p>
<p>Or better they must use Thunderbird 32 bits binary + Lighting extension build by Mozilla.<br />
So bad.</p>
<p>I&#8217;m a Gentoo user, whole system is 64bit and i refuse to have 32bit binaries.<br />
So as Gentoo does not provide an ebuild i compiled it manually:</p>
<p>1) download <a href="http://ftp-mozilla.netscape.com/pub/mozilla.org/calendar/lightning/releases/0.7/source/lightning-sunbird-0.7-source.tar.bz2">sources</a><br />
2) unpack them: tar xjf lightning-sunbird-0.7-source.tar.bz2<br />
3) cd mozilla<br />
4) ./configure &#8211;with-system-nspr &#8211;with-system-nss &#8211;enable-default-toolkit=gtk2 &#8211;enable-xft &#8211;disable-freetype2  &#8211;enable-application=mail &#8211;enable-extensions=default,lightning<br />
5) make</p>
<p>you will find Thunderbird binary in the ./dist/bin dir, while our Lighting release is in dist/xpi-stage.</p>
<p>If you want to use my build, i just uploaded the two versions:<br />
<a href="http://www.patriziobassi.it/downloads/lightning.xpi">Mozilla Lightning 0.7 64 bit version</a><br />
<a href="http://www.patriziobassi.it/downloads/lightning-wcap.xpi">Mozilla Lightning 0.7 64 bit version with WCAP (Sun Java System Calendar Server) support</a></p>
<p>Works great on my system, let me know if you have any issue</p>
]]></content:encoded>
			<wfw:commentRss>http://www.patriziobassi.it/piazzadelpopolo/2007/11/18/mozilla-lightning-07-calendar-build-for-x86_64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lots of activities</title>
		<link>http://www.patriziobassi.it/piazzadelpopolo/2007/09/02/lots-of-activities/</link>
		<comments>http://www.patriziobassi.it/piazzadelpopolo/2007/09/02/lots-of-activities/#comments</comments>
		<pubDate>Sun, 02 Sep 2007 21:36:01 +0000</pubDate>
		<dc:creator>Patrizio</dc:creator>
				<category><![CDATA[Developing]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.patriziobassi.it/blog/2007/09/02/lots-of-activities/</guid>
		<description><![CDATA[Ehi lots of time i didn&#8217;t write&#8230; i had some time today, so i did some activity on the website. Firstly i added some statistics to Piazza del Popolo, the blog (in italian) where i share some toughts and funny things with my friends. Secondly i added a second RSS feed parser to the homepage [...]]]></description>
				<content:encoded><![CDATA[<p>Ehi lots of time i didn&#8217;t write&#8230;<br />
i had some time today, so i did some activity on the website.<br />
Firstly i added some statistics to <a href="http://piazzadelpopolo.patriziobassi.it">Piazza del Popolo</a>, the blog (in italian) where i share some toughts and funny things with my friends.<br />
Secondly i added a second RSS feed parser to the <a href="http://www.patriziobassi.it">homepage</a> so it&#8217;s fast to monitor both blogs.<br />
In the meanwhile i upgraded some php internal stuff and slightly change the javascript script to let the rss post window desappear on second click.<br />
Of course i kept the XHTML 1.1 validation.</p>
<p>What else&#8230;waiting for the upcoming wordpress 2.3 release and i will update both blogs.</p>
<p>I think that&#8217;s all.<br />
And i&#8217;m sure you don&#8217;t care <img src='http://www.patriziobassi.it/piazzadelpopolo/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>see u</p>
]]></content:encoded>
			<wfw:commentRss>http://www.patriziobassi.it/piazzadelpopolo/2007/09/02/lots-of-activities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.1.2 updated</title>
		<link>http://www.patriziobassi.it/piazzadelpopolo/2007/03/04/wordpress-212-updated/</link>
		<comments>http://www.patriziobassi.it/piazzadelpopolo/2007/03/04/wordpress-212-updated/#comments</comments>
		<pubDate>Sun, 04 Mar 2007 13:35:26 +0000</pubDate>
		<dc:creator>Patrizio</dc:creator>
				<category><![CDATA[Developing]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.patriziobassi.it/blog/2007/03/04/wordpress-212-updated/</guid>
		<description><![CDATA[I just updated wordpress to latest 2.1.2 version which fixes some security bugs. Let&#8217;s hope it will keep stable for a while. bye]]></description>
				<content:encoded><![CDATA[<p>I just updated wordpress to latest 2.1.2 version which fixes some security bugs.</p>
<p>Let&#8217;s hope it will keep stable for a while.</p>
<p>bye</p>
]]></content:encoded>
			<wfw:commentRss>http://www.patriziobassi.it/piazzadelpopolo/2007/03/04/wordpress-212-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>So much time off</title>
		<link>http://www.patriziobassi.it/piazzadelpopolo/2007/01/22/so-much-time-off/</link>
		<comments>http://www.patriziobassi.it/piazzadelpopolo/2007/01/22/so-much-time-off/#comments</comments>
		<pubDate>Mon, 22 Jan 2007 09:24:30 +0000</pubDate>
		<dc:creator>Patrizio</dc:creator>
				<category><![CDATA[Developing]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Munich]]></category>

		<guid isPermaLink="false">http://www.patriziobassi.it/blog/2007/01/22/so-much-time-off/</guid>
		<description><![CDATA[So much time without a post. Lots of things changes, i&#8217;m back in Munich again, but i have my own apartment while previously i was in a residence. much better now, lots of space. I think i&#8217;ll be here for the whole 2007&#8230;. What else..I&#8217;m waiting for adsl line to be up, they told me [...]]]></description>
				<content:encoded><![CDATA[<p class="MsoPlainText">So much time without a post.<br />
Lots of things changes, i&#8217;m back in Munich again, but i have my own apartment while previously i was in a residence.</p>
<p>much better now, lots of space. I think i&#8217;ll be here for the whole 2007&#8230;.</p>
<p>What else..I&#8217;m waiting for adsl line to be up, they told me it may take up to 3 weeks&#8230;</p>
<p>let&#8217;s see.</p>
<p>I have lots of projects/idea in my mind, which i can take care of only during the weekend, but if i don&#8217;t have<br />
internet access it&#8217;s pretty hard.</p>
<p>The first is to shutdown Blight Zone as it&#8217;s unused now.<br />
Next i&#8217;ll talk with Zed (XChat maintainer) because 2.8.0 release introduced a systray, so i&#8217;ll ask him if he wanna<br />
integrate my plugin in the main branch.</p>
<p>The main idea is to create a forum/blog with my friends where to flame and discuss of everything.<br />
Let&#8217;s see how much support i&#8217;ll find.</p>
<p>Ciao!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.patriziobassi.it/piazzadelpopolo/2007/01/22/so-much-time-off/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Submount patch for kernel 2.6.19</title>
		<link>http://www.patriziobassi.it/piazzadelpopolo/2006/12/18/submount-patch-for-kernel-2619/</link>
		<comments>http://www.patriziobassi.it/piazzadelpopolo/2006/12/18/submount-patch-for-kernel-2619/#comments</comments>
		<pubDate>Mon, 18 Dec 2006 07:55:14 +0000</pubDate>
		<dc:creator>Patrizio</dc:creator>
				<category><![CDATA[Developing]]></category>

		<guid isPermaLink="false">http://www.patriziobassi.it/blog/2006/12/18/submount-patch-for-kernel-2619/</guid>
		<description><![CDATA[Will Linux Kernel ever have some peace (read stable API) ? Answer is &#8220;no&#8221;, of course. Confirmed by kernel guru and mainteneirs, by intent.. should be defined criminal intent&#8230;but..ok.. I have no will to open a flame about this, compared to windows stability (of interfaces i mean, of course!). In the meanwhile, enjoy the submount [...]]]></description>
				<content:encoded><![CDATA[<p>Will Linux Kernel ever have some peace (read stable API) ?</p>
<p>Answer is &#8220;no&#8221;, of course. Confirmed by kernel guru and mainteneirs, by intent..<br />
should be defined criminal intent&#8230;but..ok..<br />
I have no will to open a flame about this, compared to windows stability<br />
(of interfaces i mean, of course!).</p>
<p>In the meanwhile, enjoy the submount patch for 2.6.19, it seems that just a field in the<br />
inode structure has been removed (if i&#8217;m wrong&#8230; sorry, i had to look into a 32mb patch file, had<br />
no connection, so i don&#8217;t know the motivation nor the log of the change).</p>
<p>Tested, works ok on my floppy/cdrom driver.</p>
<p>As usual, enter the subfs-0.9 directory and apply with</p>
<p>patch -p0 < /path/to/the/downloaded/patch</p>
<p>and recompile as usual. I'm going to submit a Gentoo bug for that too.</p>
<p>However this is the listing<br />
--- subfs.c    2006-12-17 16:32:19.000000000 +0100<br />
+++ subfs.c    2006-12-17 16:35:51.000000000 +0100<br />
@@ -310,7 +310,9 @@<br />
if (ret) {<br />
ret->i_mode = mode;<br />
ret->i_uid = ret->i_gid = 0;<br />
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)<br />
ret->i_blksize = PAGE_CACHE_SIZE;<br />
+#endif<br />
ret->i_blocks = 0;<br />
ret->i_atime = ret->i_mtime = ret->i_ctime = CURRENT_TIME;<br />
ret->i_fop = &#038;subfs_file_ops;</p>
<p><a title="Patch" href="http://www.patriziobassi.it/downloads/submount-2.6.19.patch">Download patch</a></p>
<p>Enjoy and report if you have problems<a href="http://www.patriziobassi.it/downloads/submount-2.6.19.patch"> </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.patriziobassi.it/piazzadelpopolo/2006/12/18/submount-patch-for-kernel-2619/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Gentoo Profile migration from x86 to x86_64</title>
		<link>http://www.patriziobassi.it/piazzadelpopolo/2006/12/12/gentoo-profile-migration-from-x86-to-x86_64/</link>
		<comments>http://www.patriziobassi.it/piazzadelpopolo/2006/12/12/gentoo-profile-migration-from-x86-to-x86_64/#comments</comments>
		<pubDate>Tue, 12 Dec 2006 12:25:44 +0000</pubDate>
		<dc:creator>Patrizio</dc:creator>
				<category><![CDATA[Developing]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Various]]></category>

		<guid isPermaLink="false">http://www.patriziobassi.it/blog/2006/12/12/gentoo-profile-migration-from-x86-to-x86_64/</guid>
		<description><![CDATA[Back at the end of 2003: i had a Mandrake (yes, not yes called Mandriva) Linux distro (if i remember good the version was 8.0 or 8.1) installed on my desktop pc (a really slow pentium2 400mhz) and i was really unsatisfied of performances. I installed it because i needed an UNIX environment and i [...]]]></description>
				<content:encoded><![CDATA[<p>Back at the end of 2003: i had a Mandrake (yes, not yes called Mandriva) Linux distro (if i remember good the version was 8.0 or 8.1)<br />
installed on my desktop pc (a really slow pentium2 400mhz) and i was really unsatisfied of performances.<br />
I installed it because i needed an UNIX environment and i was swithing from WinXP,<br />
with no experience at all.</p>
<p>I tried to use some multimedia applications like MPlayer and all films were not fluid,<br />
audio jittering and so on&#8230;.cpu usage always at 100%&#8230;<br />
During some internet investigation i found some optimization tricks about MPlayer, and after recompiling<br />
it manually from sources with cpu-specific flags i found it sooooo faster,<br />
films were fluid with only 50% cpu usage!</p>
<p>So i thought: why not recompiling the whole system to have more speed?<br />
I started manually but i soon realized it was impossible to manage without a package manager.<br />
However the speed gain was important even if not like in MPlayer&#8217;s case.<br />
I can say something between 20 and 30 per cent.<br />
(ok, now someone can start a flame about that. On Pentium2 and after on upgraded Pentium3<br />
the performance gain is really important. Maybe not as on fastest cpus, of course, this is a gcc trouble too,<br />
which is not yet ready to do a perfect optimization, Intel compiler is much better but not opensource)</p>
<p>I started to wrote tons of bash scripts, and in the meanwhile i found Gentoo Linux was my distro!</p>
<p>I installed it in December 2003 and i&#8217;m still using it on 2 pcs now (p2 was upgrated to p3 500 and a notebook with celeron 650mhz);<br />
i&#8217;m really satisfied of both, even if hardware is so old and slow.</p>
<p>Now i&#8217;m going to change my desktop with an Intel Core 2 Duo machine.<br />
Desktop life will be different after that! ehheeh</p>
<p>My main problem is now to migrate my desktop data to the new pc.<br />
I know can you do a low level copy of partition, this is just a 20 mins problem.</p>
<p>The main problem is the arch. I need to migrate from x86 to x86_64 and this is a bit tricky.<br />
I&#8217;m now studying some solutions to the problem, but as to Gentoo FAQs, it&#8217;s impossibile to<br />
migrate, and they suggest to do a fresh install.</p>
<p>I really don&#8217;t believe this. Nothing is impossibile.<br />
For me it&#8217;s not enought to migrate my home and my /etc config directory, i want to migrate all<br />
flawlessy.</p>
<p>These are my plans at the moment:</p>
<p>1) boot with a 64bits gentoo minimal livecd (50mb cd)<br />
2) download a portage-snapshot and stage3 pack and install them, having a minimal environment<br />
3) with quickpkg create binary packages of critical dev tools such as gcc, binutils, libtool (any other needed? guess not).<br />
4) low level copy of old desktop harddisk &#8211;>> will overwrite 64bits software from stage3<br />
5) reinstall back 64bits packages of point number 3, ignoring some profile stuff, uninstalling old x86 ones<br />
6) compile a 64bit kernel with 64bits native tools<br />
7) reboot with the new kernel and not livecd<br />
8) complete profile migration to x86_64 (maybe may be needed in point 5..)<br />
9) emerge -e system and reboot<br />
10) if all starts properly, emerge -eD world</p>
<p>I think it&#8217;s an acceptable procedure.<br />
there are some points which i&#8217;m insure, but i suppose lots of unplanned problems may pop out.</p>
<p>I read x86 to x86_64 migration is impossible due to differences in the Gentoo installation process,<br />
but i saw noone&#8230;..apart normal x86_64 options in kernel and similar arch specific&#8230;.</p>
<p>Let&#8217;s see in some days, i&#8217;ll have new pc at the end of december, but having little time<br />
i need to think about all that before <img src='http://www.patriziobassi.it/piazzadelpopolo/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If works i&#8217;ll write a detailed howto, be sure <img src='http://www.patriziobassi.it/piazzadelpopolo/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.patriziobassi.it/piazzadelpopolo/2006/12/12/gentoo-profile-migration-from-x86-to-x86_64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disaster coming! Enemy strikes back!</title>
		<link>http://www.patriziobassi.it/piazzadelpopolo/2006/11/02/disaster-coming-enemy-strikes-back/</link>
		<comments>http://www.patriziobassi.it/piazzadelpopolo/2006/11/02/disaster-coming-enemy-strikes-back/#comments</comments>
		<pubDate>Thu, 02 Nov 2006 08:11:55 +0000</pubDate>
		<dc:creator>Patrizio</dc:creator>
				<category><![CDATA[Developing]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.patriziobassi.it/blog/2006/11/02/disaster-coming-enemy-strikes-back/</guid>
		<description><![CDATA[I never used the word enemy with Microsoft, and will not. Just a provocation in the subject. I think it&#8217;s a really big and wonderful company. really, not joking. The problem is its power. MS has too much power. Can do whatever it wants. Now with upcoming Windows Vista, they are changing so many things, [...]]]></description>
				<content:encoded><![CDATA[<p>I never used the word enemy with Microsoft, and will not.<br />
Just a provocation in the subject.<br />
I think it&#8217;s a really big and wonderful company. really, not joking.</p>
<p>The problem is its power. MS has too much power.<br />
Can do whatever it wants.</p>
<p>Now with upcoming Windows Vista, they are changing so many things, they<br />
are forcing the security products, the entertainement, the business markets.</p>
<p>And, they are cheating users, with 100 versions.<br />
The most funny is the Home-Basic-For-Poor-And-Dumb-Guys.<br />
It&#8217;s a Vista version without any Vista features.<br />
It&#8217;s an Xp copy (which was 2k copy) with some minor cosmetic changes.<br />
And costs more, as Acer pointed out.</p>
<p>Ending: everyone wants the Ultimate version, which costs so much.<br />
So people will start to hack and use pirate software, as usual.<br />
If you take a look to the license EULA you can see how many limitation you have.<br />
Can&#8217;t copy that, can&#8217;t use on different pcs more than XXX times, you have to phone to tell MS &#8220;ehi i bought it, please let me use it&#8221;,<br />
can&#8217;t use on virtual machines, can&#8217;t tell your mother you&#8217;re using it.</p>
<p>So, even if you buy a licence, you may use it illegally if you&#8217;re not<br />
a computer and law expert, even if you didn&#8217;t want, but just because you didn&#8217;t know.<br />
Silly.<br />
So, just be pirate without buying is the normal thinking.<br />
MS, why are you forcing people like that? that&#8217;s sad.</p>
<p>All versions, instead, contains &#8220;security&#8221; products which are a sort<br />
of tracing/spyware stuff.</p>
<p>WGA (Windows Genuine Advantage) stuff has been hacked in 5 mins.<br />
Now every download has some checks, Windows Media Player, Internet Explorer<br />
DirectX and so on&#8230;but they are just boring and useless.</p>
<p>MS will force OGA (Office Genuine Advantage) too.<br />
I still see no sense, maybe they have wonderful stats about that.<br />
Probably the stats are provided by the same companies that says<br />
Windows TCO is lower thatn Linux one.</p>
<p>However, Vista has a very positive thing:<br />
all pc manufacters will have to increase the basic configuration.<br />
Now, if you just want to check your mail, you need at least a dual core pc<br />
with 2 gb of ram, huge harddisk and a powerfull electricity-sucker-gpu.<br />
(DirectX 10 graphic cards seems to use more that 200 Watts&#8230;)<br />
Manufacters must update and keep similar prices.</p>
<p>Upgrade to Linux, this is my suggestion.</p>
<p>However, wondeful boxes <img src='http://www.patriziobassi.it/piazzadelpopolo/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<img alt="Windows Vista" id="image60" src="http://www.patriziobassi.it/piazzadelpopolo/wp-content/uploads/2006/10/vista.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.patriziobassi.it/piazzadelpopolo/2006/11/02/disaster-coming-enemy-strikes-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My contribution to community&#8230;</title>
		<link>http://www.patriziobassi.it/piazzadelpopolo/2006/10/30/my-contribution-to-community/</link>
		<comments>http://www.patriziobassi.it/piazzadelpopolo/2006/10/30/my-contribution-to-community/#comments</comments>
		<pubDate>Mon, 30 Oct 2006 12:32:38 +0000</pubDate>
		<dc:creator>Patrizio</dc:creator>
				<category><![CDATA[Developing]]></category>
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://www.patriziobassi.it/blog/2006/10/30/my-contribution-to-community/</guid>
		<description><![CDATA[&#8230;this year is pretty null. Yes, this year I partecipated so little to the community life. Of course i mean opensource community. What else! On 28 October, in whole Italy guys have spread Linux knowledge, spotting it everywhere with the opensource culture and movement. I was missing. I&#8217;m sorry. Few excuses, just some egoism I [...]]]></description>
				<content:encoded><![CDATA[<p>&#8230;this year is pretty null.</p>
<p>Yes, this year I partecipated so little to the community life.<br />
Of course i mean opensource community. What else!</p>
<p>On 28 October, in whole Italy guys have spread Linux knowledge, spotting it everywhere<br />
with the opensource culture and movement.</p>
<p>I was missing. I&#8217;m sorry.<br />
Few excuses, just some egoism I guess, i was caring my businness working abroad <img src='http://www.patriziobassi.it/piazzadelpopolo/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> (</p>
<p>I saw even the TV news were talking about Italian LinuxDay. Don&#8217;t give up.</p>
<p>Thanks guys.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.patriziobassi.it/piazzadelpopolo/2006/10/30/my-contribution-to-community/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Submount and kernel 2.6.18 super_block</title>
		<link>http://www.patriziobassi.it/piazzadelpopolo/2006/10/02/submount-and-kernel-2618-super_block/</link>
		<comments>http://www.patriziobassi.it/piazzadelpopolo/2006/10/02/submount-and-kernel-2618-super_block/#comments</comments>
		<pubDate>Mon, 02 Oct 2006 15:30:07 +0000</pubDate>
		<dc:creator>Patrizio</dc:creator>
				<category><![CDATA[Developing]]></category>
		<category><![CDATA[Sport]]></category>

		<guid isPermaLink="false">http://www.patriziobassi.it/blog/2006/10/02/submount-and-kernel-2618-super_block/</guid>
		<description><![CDATA[Hi, Sunday afternoon, after the fantastic Schumacher victory (ehi Alonso, what a long face you had on the podium!), as promised, i took a look to submount and kernel 2.6.18. What&#8217;s up? Since 2.6.18-rc5 (i hope i didn&#8217;t confuse the release candidates i checked!) there has been a change in the function (get_sb_nodev(&#8230;) ) to [...]]]></description>
				<content:encoded><![CDATA[<p>Hi,</p>
<p>Sunday afternoon, after the fantastic Schumacher victory (ehi Alonso, what a long face you had on the podium!), as promised, i took a look to submount and kernel 2.6.18.</p>
<p>What&#8217;s up? Since 2.6.18-rc5 (i hope i didn&#8217;t confuse the release candidates i checked!)<br />
there has been a change in the function (get_sb_nodev(&#8230;) ) to get the superblock, needed by submount.</p>
<p>Now the same function gets an addictional parameter and returns an integer, previously returned the needed superblock pointer.<br />
This is the new prototype (in super.c)</p>
<p>int get_sb_nodev(struct file_system_type *fs_type,<br />
int flags, void *data,<br />
int (*fill_super)(struct super_block *, void *, int),<br />
struct vfsmount *mnt)</p>
<p>mnt is the extra argument i was talking about few lines above.<br />
Compilation fix is not that hard&#8230;just pass that extra structure pointer, it will be filled in<br />
simple_set_mnt() function (in namespace.c) and you&#8217;ll have the pointer with some valid data.</p>
<p>All seems funny and easy, module compiles and modprobe works, but when i try to mount a device (ex. cdrom) i get a nice (?!?!?) oops</p>
<p>subfs 0.9<br />
BUG: unable to handle kernel NULL pointer dereference at virtual address 00000014<br />
printing eip:<br />
c015a805<br />
*pde = 00000000<br />
Oops: 0000 [#1]<br />
Modules linked in: subfs slamr psmouse<br />
CPU:    0<br />
EIP:    0060:[]    Tainted: P      VLI<br />
EFLAGS: 00010a12   (2.6.18 #13)<br />
EIP is at do_add_mount+0&#215;61/0xe8<br />
eax: 0000000c   ebx: d088ac00   ecx: d1fee220   edx: c12ad050<br />
esi: c03ea2d8   edi: cf857f24   ebp: 00000000   esp: cf857e04<br />
ds: 007b   es: 007b   ss: 0068<br />
Process mount (pid: 9304, ti=cf856000 task=c12ad050 task.ti=cf856000)<br />
Stack: 00000000 00000000 cc1b8005 00000015 c015b3a9 d088ac00 cf857f24 00000000<br />
00000000 d088ac00 fffffffe 00000000 0000000b d06bc006 c015a6b0 d1fee248<br />
c03ea2d0 cf857ef8 fffffffe c0151577 d1fee220 d06bc000 d1eef534 d1fee220<br />
Call Trace:<br />
[] do_mount+0x5ab/0&#215;601<br />
[] mntput_no_expire+0&#215;14/0&#215;56<br />
[] link_path_walk+0xb0/0xbb<br />
[] filemap_nopage+0x9d/0x2da<br />
[] filemap_nopage+0x16d/0x2da<br />
[] do_path_lookup+0&#215;195/0x1b0<br />
[] __user_walk_fd+0&#215;37/0&#215;41<br />
[] __handle_mm_fault+0x18d/0&#215;675<br />
[] get_page_from_freelist+0x6f/0x2b6<br />
[] __get_free_pages+0&#215;25/0x3e<br />
[] copy_mount_options+0&#215;28/0x10b<br />
[] sys_mount+0&#215;73/0xae<br />
[] sysenter_past_esp+0&#215;56/0&#215;79<br />
Code: 4f 04 25 00 e0 ff ff 8b 10 8b 41 64 3b 82 48 04 00 00 75 61 8b 41 14 3b 43 14 75 0c 8b 41 10 be f0 ff ff ff 3b 07 74 76 8b 43 10 &lt;8b> 40 08 0f b7 40 28 25 00 f0 00 00 3d 00 a0 00 00 74 5b 8b 44<br />
EIP: [] do_add_mount+0&#215;61/0xe8 SS:ESP 0068:cf857e04<br />
&lt;6>subfs exiting.</p>
<p>For me the code seems ok, but i&#8217;m not a kernel hacker, so i&#8217;d like more feedback and help.<br />
At the moment i&#8217;m locked here.</p>
<p>Here is the patch listing and download link:</p>
<p><a href="http://www.patriziobassi.it/downloads/submount-subfs-2.6.18-superblock.patch">Download patch (not working properly)</a></p>
<p>&#8212; subfs.c    2006-10-01 07:57:40.000000000 +0200<br />
+++ subfs.c    2006-10-01 07:55:28.000000000 +0200<br />
@@ -412,6 +412,11 @@<br />
struct subfs_mount *newmount;<br />
int ret;</p>
<p>+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,18)<br />
+    struct vfsmount *mnt;<br />
+      if (!(mnt = kmalloc(sizeof(struct vfsmount), GFP_KERNEL)))<br />
+                return ERR_PTR(-ENOMEM);<br />
+#endif<br />
if (!(newmount = kmalloc(sizeof(struct subfs_mount), GFP_KERNEL)))<br />
return ERR_PTR(-ENOMEM);<br />
newmount->req_fs = NULL;<br />
@@ -429,7 +434,13 @@<br />
strcpy(newmount->helper_prog, SUBMOUNTD_PATH);<br />
if ((ret = proc_opts(newmount, data)))<br />
return ERR_PTR(ret);<br />
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,18)<br />
+    if ( (ret = get_sb_nodev(fst, flags, data, subfs_fill_super,mnt)) !=0)<br />
+        return ERR_PTR(ret);<br />
+    newmount->sb= mnt->mnt_sb;<br />
+#else<br />
newmount->sb = get_sb_nodev(fst, flags, data, subfs_fill_super);<br />
+#endif<br />
newmount->sb->s_fs_info = newmount;<br />
return newmount->sb;<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.patriziobassi.it/piazzadelpopolo/2006/10/02/submount-and-kernel-2618-super_block/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
