<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>LEXO | We don't learn for the school, we learn for life.</title>
	
	<link>http://lexo.mx</link>
	<description>Non scholae, sed vitae discimus</description>
	<lastBuildDate>Mon, 23 Apr 2012 16:27:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/lexolx" /><feedburner:info uri="lexolx" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Simple and Easy Streaming With Icecast and Perl</title>
		<link>http://feedproxy.google.com/~r/lexolx/~3/DvC1Rsr74tg/</link>
		<comments>http://lexo.mx/2012/04/23/simple-and-easy-streaming-with-icecast-and-perl/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 16:25:59 +0000</pubDate>
		<dc:creator>lexo</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://lexo.mx/?p=1684</guid>
		<description><![CDATA[Install Icecast from source code: Download and install http://downloads.xiph.org/releases/icecast/icecast-2.3.2.tar.gz if you are doing it, you aren&#8217;t a simple GNU/Linux user and you know install it without guide. Install Icevast with apt-get package management apt-get install icecast-server service icecast-server stop Download MP3-Info, MP3-Icecast and MP3-Icecast-Simple Perl modules wget http://search.cpan.org/CPAN/authors/id/D/DA/DANIEL/MP3-Info-1.24.tar.gz http://search.cpan.org/CPAN/authors/id/A/AL/ALLENDAY/MP3-Icecast-0.02.tar.gz http://search.cpan.org/CPAN/authors/id/G/GR/GREGORY/MP3-Icecast-Simple-0.2.tar.gz Install each package perl Makefile.PL [...]]]></description>
			<content:encoded><![CDATA[<p>Install Icecast from source code:<br />
Download and install http://downloads.xiph.org/releases/icecast/icecast-2.3.2.tar.gz<br />
if you are doing it, you aren&#8217;t a simple GNU/Linux user and you know install it without guide.</p>
<p>Install Icevast with apt-get package management </p>
<blockquote><p>apt-get install icecast-server<br />
service icecast-server stop</p></blockquote>
<p>Download MP3-Info, MP3-Icecast and MP3-Icecast-Simple Perl modules</p>
<blockquote><p>wget http://search.cpan.org/CPAN/authors/id/D/DA/DANIEL/MP3-Info-1.24.tar.gz http://search.cpan.org/CPAN/authors/id/A/AL/ALLENDAY/MP3-Icecast-0.02.tar.gz http://search.cpan.org/CPAN/authors/id/G/GR/GREGORY/MP3-Icecast-Simple-0.2.tar.gz</p></blockquote>
<p>Install each package</p>
<blockquote><p>perl Makefile.PL<br />
make<br />
sudo make install</p></blockquote>
<p>Create file streaming.pl and use this code:</p>
<blockquote><p>#!/usr/bin/perl<br />
use MP3::Icecast::Simple;</p>
<p>$icy = MP3::Icecast::Simple->new(<br />
          description     => &#8220;Station&#8221;,<br />
          server          => &#8217;127.0.0.1:8000&#8242;,<br />
          password        => &#8216;password&#8217;,<br />
          local_port      => 1234,             # port for stream<br />
          bitrate         => 96                # bit rate for stream<br />
);<br />
$icy->play(&#8220;/Mp3/&#8221;);  # directory where is locate your mp3 that you want stream</p></blockquote>
<p>Now you can listen via http://youripadd:1234<br />
Use XMMS, mplayer, Winamp, or something like that</p>
]]></content:encoded>
			<wfw:commentRss>http://lexo.mx/2012/04/23/simple-and-easy-streaming-with-icecast-and-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://lexo.mx/2012/04/23/simple-and-easy-streaming-with-icecast-and-perl/</feedburner:origLink></item>
		<item>
		<title>The Story of Linux: Commemorating 20 Years of the Linux Operating System</title>
		<link>http://feedproxy.google.com/~r/lexolx/~3/-RVOeXRoz4Y/</link>
		<comments>http://lexo.mx/2011/05/11/the-story-of-linux-commemorating-20-years-of-the-linux-operating-system/#comments</comments>
		<pubDate>Thu, 12 May 2011 01:04:37 +0000</pubDate>
		<dc:creator>lexo</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://lexo.mx/?p=1570</guid>
		<description />
			<content:encoded><![CDATA[<p><object style="height: 390px; width: 490px"><param name="movie" value="http://www.youtube.com/v/5ocq6_3-nEw?version=3"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><embed src="http://www.youtube.com/v/5ocq6_3-nEw?version=3" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="490" height="390"></object></p>
]]></content:encoded>
			<wfw:commentRss>http://lexo.mx/2011/05/11/the-story-of-linux-commemorating-20-years-of-the-linux-operating-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://lexo.mx/2011/05/11/the-story-of-linux-commemorating-20-years-of-the-linux-operating-system/</feedburner:origLink></item>
		<item>
		<title>Darjeeling – Virtual Machine for Micro Controller Units</title>
		<link>http://feedproxy.google.com/~r/lexolx/~3/Wn_MOJ7TBmI/</link>
		<comments>http://lexo.mx/2011/03/03/darjeeling-virtual-machine-for-micro-controller-units/#comments</comments>
		<pubDate>Fri, 04 Mar 2011 00:34:02 +0000</pubDate>
		<dc:creator>lexo</dc:creator>
				<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://lexo.lx-networks.net/?p=1508</guid>
		<description><![CDATA[Darjeeling is a Virtual Machine (VM) for Micro Controller Units (MCU). It can execute a large subset of the Java language on 8- and 16-bit platforms, such as Atmega128 or MSP430. Features and limitations We designed the VM from the ground up for extremely limited devices. Where other JVMs often require at least several hundreds [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Darjeeling</strong> is a Virtual Machine (VM) for Micro Controller Units (MCU). It can execute a large subset of the Java language on 8- and 16-bit platforms, such as Atmega128 or MSP430.</p>
<p><strong>Features and limitations</strong></p>
<p>We designed the VM from the ground up for extremely limited devices. Where other JVMs often require at least several hundreds kB of RAM, Darjeeling can run meaningful programs in as little as 2kB. In order to achieve this we dropped several features from the Java language.</p>
<p>Features:</p>
<p>    * Precise, compacting garbage collection<br />
    * A 16-bit instruction set to reduce stack space consumption<br />
    * Threads with ad-hoc stack space allocation (linked stack) and synchronisation<br />
    * A simple method for calling with native C code from Java<br />
    * Uses a static linking model to reduce code footprint</p>
<p>Limitations:</p>
<p>    * Does not support reflection<br />
    * Does not support 64-bit and floating point types<br />
    * No support for multi-dimensional arrays<br />
    * Does not call static class initialisers in lazy order<br />
    * Supports a limited subset of the Java class library</p>
<p>Source:<br />
<a href="http://darjeeling.sourceforge.net/">http://darjeeling.sourceforge.net</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lexo.mx/2011/03/03/darjeeling-virtual-machine-for-micro-controller-units/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://lexo.mx/2011/03/03/darjeeling-virtual-machine-for-micro-controller-units/</feedburner:origLink></item>
		<item>
		<title>Asterisk, DAHDI and Slackware 13.1</title>
		<link>http://feedproxy.google.com/~r/lexolx/~3/icF4wUQ7xW4/</link>
		<comments>http://lexo.mx/2011/01/14/asterisk-dahdi-and-slackware-13-1/#comments</comments>
		<pubDate>Sat, 15 Jan 2011 00:08:44 +0000</pubDate>
		<dc:creator>lexo</dc:creator>
				<category><![CDATA[Asterisk IP-PBX]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://lexo.lx-networks.net/?p=1497</guid>
		<description><![CDATA[There&#8217;s just a &#8220;issue&#8221; for better configuration of Asterisk PBX/DAHDI with OpenVox A400P card under Slackware GNU/Linux 13.1 and here we&#8217;re going to see how to fix it. Lets go&#8230; Obviously, we need to install first (this isn&#8217;t a topic of installation): DAHDI Asterisk For setup the card OpenVox A400P we need to disable these [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s just a &#8220;issue&#8221; for better configuration of Asterisk PBX/DAHDI with OpenVox A400P card under Slackware GNU/Linux 13.1 and here we&#8217;re going to see how to fix it.</p>
<p>Lets go&#8230; Obviously, we need to install first (this isn&#8217;t a topic of installation):<br />
DAHDI<br />
Asterisk</p>
<p>For setup the card OpenVox A400P we need to disable these modules (we need use wctdm module of DAHDI):</p>
<p>hisax<br />
netjet</p>
<p>So well, we just add these next lines into /etc/modprobe.d/blacklist.conf and next boot there won&#8217;t be more conflicts between these modules. </p>
<p><code>blacklist netjet<br />
blacklist hisax</code></p>
<p>And that&#8217;s all, now we can configure/start the Asterisk IP PBX.</p>
]]></content:encoded>
			<wfw:commentRss>http://lexo.mx/2011/01/14/asterisk-dahdi-and-slackware-13-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://lexo.mx/2011/01/14/asterisk-dahdi-and-slackware-13-1/</feedburner:origLink></item>
		<item>
		<title>FatFs – Generic File System Module</title>
		<link>http://feedproxy.google.com/~r/lexolx/~3/V0pNW9UFd3o/</link>
		<comments>http://lexo.mx/2010/10/13/fatfs-generic-file-system-module/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 23:18:59 +0000</pubDate>
		<dc:creator>lexo</dc:creator>
				<category><![CDATA[Embedded]]></category>

		<guid isPermaLink="false">http://lexo.lx-networks.net/?p=1463</guid>
		<description><![CDATA[FatFs is a generic FAT file system module for small embedded systems. The FatFs is written in compliance with ANSI C and completely separated from the disk I/O layer. Therefore it is independent of hardware architecture. It can be incorporated into low cost microcontrollers, such as AVR, 8051, PIC, ARM, Z80, 68k and etc. Features [...]]]></description>
			<content:encoded><![CDATA[<p><strong>FatFs</strong> is a generic FAT file system module for small embedded systems. The FatFs is written in compliance with ANSI C and completely separated from the disk I/O layer. Therefore it is independent of hardware architecture. It can be incorporated into low cost microcontrollers, such as AVR, 8051, PIC, ARM, Z80, 68k and etc.</p>
<p><strong>Features</strong></p>
<p>    * Windows compatible FAT file system.<br />
    * Platform independent. Easy to port.<br />
    * Very small footprint for code and work area.<br />
    * Various configuration options:<br />
          o Multiple volumes (physical drives and partitions).<br />
          o Multiple ANSI/OEM code pages including DBCS.<br />
          o Long file name support in ANSI/OEM or Unicode.<br />
          o RTOS support.<br />
          o Multiple sector size support.<br />
          o Read-only, minimized API, I/O buffer and etc&#8230;</p>
<p>Source:<br />
<a href="http://elm-chan.org/fsw/ff/00index_e.html">http://elm-chan.org/fsw/ff/00index_e.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lexo.mx/2010/10/13/fatfs-generic-file-system-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://lexo.mx/2010/10/13/fatfs-generic-file-system-module/</feedburner:origLink></item>
		<item>
		<title>Prex – Real Time OS</title>
		<link>http://feedproxy.google.com/~r/lexolx/~3/SmeM04fk0Dg/</link>
		<comments>http://lexo.mx/2010/10/13/prex-real-time-os/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 23:04:01 +0000</pubDate>
		<dc:creator>lexo</dc:creator>
				<category><![CDATA[Real Time OS]]></category>

		<guid isPermaLink="false">http://lexo.lx-networks.net/?p=1452</guid>
		<description><![CDATA[Prex is an open source, royalty-free, real-time operating system for embedded systems. It is designed and implemented for resource-constrained systems that require predictable timing behavior. The highly portable code of Prex is written in 100% ANSI C based on traditional microkernel architecture. Prex Design The Prex microkernel provides only fundamental features for task, thread, memory, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Prex</strong> is an open source, royalty-free, real-time operating system for embedded systems. It is designed and implemented for resource-constrained systems that require predictable timing behavior. The highly portable code of Prex is written in 100% ANSI C based on traditional microkernel architecture.</p>
<p>Prex Design The Prex microkernel provides only fundamental features for task, thread, memory, IPC, exception, and synchronization. The other basic OS functions &#8211; process, file system, application loading, and networking, are provided by the user mode servers. In addition, Prex provides a POSIX emulation layer in order to utilize existing *NIX applications. This design allows the system to perform both of the native real-time task and the generic POSIX process simultaneously without degrading real-time performance. It also helps platform designers to construct OS by choosing suitable system servers for their target requisition.</p>
<p><strong>License:</strong></p>
<p>Prex is royalty-free software released under Revised BSD License.</p>
<p><strong>Prex has the following features:</strong></p>
<p>* Task &#038; Thread Control: preemptive priority scheduling with 256 priority levels<br />
* Memory Management: memory protection, virtual address mapping, shared memory, MMU or MMU-less configuration<br />
* IPC: object name space, synchronous message passing between threads<br />
* Exception: fault trapping, framework for POSIX signal emulation<br />
* Synchronization: semaphores, condition variables, and mutexes with priority inheritance<br />
* Timers: sleep timers, one-shot or periodic timers<br />
* Interrupt: nested interrupt service routines, and prioritized interrupt service threads<br />
* Device I/O: minimum synchronous I/O interface, DPC (Deferred Procedure Call)<br />
* Security: task capability, pathname-based access control, I/O access permission.<br />
* Real-time: low interrupt latency, high resolution timers and scheduling priority control<br />
* Power Management: power policy, idle thread, DVS (Dynamic Voltage Scaling)<br />
* Debugging Facility: event logging, kernel dump, GDB remote debug<br />
* File Systems: multi-threaded, VFS framework, buffer cache, ramfs, fatfs, arfs, etc.<br />
* POSIX Emulation: pid, fork, exec, file I/O, signal, pipe, tty, pthread, etc.<br />
* Libc: C library fully optimized to generate a small executable file<br />
* CmdBox: a small binary that includes tiny versions of many UNIX utilities.<br />
* Networking: (plan) TCP/IP stack, BSD socket interface</p>
<p>Source:<br />
<a href="http://prex.sourceforge.net">http://prex.sourceforge.net</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lexo.mx/2010/10/13/prex-real-time-os/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://lexo.mx/2010/10/13/prex-real-time-os/</feedburner:origLink></item>
		<item>
		<title>HelenOS Operating System</title>
		<link>http://feedproxy.google.com/~r/lexolx/~3/CwUlBSYFPfc/</link>
		<comments>http://lexo.mx/2010/10/13/helenos-operating-system/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 22:55:18 +0000</pubDate>
		<dc:creator>lexo</dc:creator>
				<category><![CDATA[Operating Systems]]></category>

		<guid isPermaLink="false">http://lexo.lx-networks.net/?p=1450</guid>
		<description><![CDATA[Rather sooner than later, HelenOS will become a complete and usable modern operating system, offering room for experimenting and research. HelenOS uses its own microkernel written from scratch and supports SMP, multitasking and multithreading on both 32-bit and 64-bit, little-endian and big-endian processor architectures, among which are AMD64/EM64T (x86-64), ARM, IA-32, IA-64 (Itanium), 32-bit MIPS, [...]]]></description>
			<content:encoded><![CDATA[<p>Rather sooner than later, HelenOS will become a complete and usable modern operating system, offering room for experimenting and research. HelenOS uses its own microkernel written from scratch and supports SMP, multitasking and multithreading on both 32-bit and 64-bit, little-endian and big-endian processor architectures, among which are AMD64/EM64T (x86-64), ARM, IA-32, IA-64 (Itanium), 32-bit MIPS, 32-bit PowerPC and SPARC V9. Thanks to the relatively high number of supported architectures and suitable design, HelenOS is very portable. On top of the microkernel, HelenOS provides services such as file systems, networking, device drivers and user interface. Most of these services are composed of multiple independent server processes, which makes HelenOS one of the most modular operating systems.</p>
<p>As of now, HelenOS is being developed mostly by faculty members, and former and contemporary students of Faculty of Mathematics and Physics at Charles University in Prague. Nonetheless, the project is open for everyone, so we also have developers with different backgrounds from various places around the world. The source code is open and available under the BSD license. Some third party components, and components based on GPL software, are licensed under GPL.</p>
<p>Source:<br />
<a href="http://www.helenos.org">http://www.helenos.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lexo.mx/2010/10/13/helenos-operating-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://lexo.mx/2010/10/13/helenos-operating-system/</feedburner:origLink></item>
		<item>
		<title>Partition mounted with noexec option under GNU/Linux</title>
		<link>http://feedproxy.google.com/~r/lexolx/~3/kfOKck-4n_4/</link>
		<comments>http://lexo.mx/2010/09/22/partition-mounted-with-noexec-option-under-gnulinux/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 17:30:42 +0000</pubDate>
		<dc:creator>lexo</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://lexo.lx-networks.net/?p=1428</guid>
		<description><![CDATA[This experience happened when I was changing my home directory to other place/partition, you know there isn&#8217;t more free space xD The inconvenient for me went when I tried to execute a bash script, and I only got to see: /bin/sh: bad interpreter: Permission denied And I asked me: WTF? I checked first the script, [...]]]></description>
			<content:encoded><![CDATA[<p>This experience happened when I was changing my home directory to other place/partition, you know there isn&#8217;t more free space xD</p>
<p>The inconvenient for me went when I tried to execute a bash script, and I only got to see:</p>
<p>/bin/sh: bad interpreter: Permission denied</p>
<p>And I asked me: WTF? I checked first the script, then the permissions but all were ok, so again I asked me: WTF? so I looked the PATH variable and it was ok&#8230; and it was the moment when I decided to ask to san google xD</p>
<p>And I found the solution!!, the partition was mounted with noexec option and that&#8217;s why I couldn&#8217;t execute my bash script. </p>
<p>So the lesson for me was: If you want to execute something, don&#8217;t forget use exec option when mount the partition <img src='http://lexo.mx/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Have a nice execution!!</p>
]]></content:encoded>
			<wfw:commentRss>http://lexo.mx/2010/09/22/partition-mounted-with-noexec-option-under-gnulinux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://lexo.mx/2010/09/22/partition-mounted-with-noexec-option-under-gnulinux/</feedburner:origLink></item>
		<item>
		<title>Modifying the home directory of an user in GNU/Linux</title>
		<link>http://feedproxy.google.com/~r/lexolx/~3/HomFWoIwj2E/</link>
		<comments>http://lexo.mx/2010/09/21/modifying-the-home-directory-of-an-user-in-gnulinux/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 00:17:08 +0000</pubDate>
		<dc:creator>lexo</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://lexo.lx-networks.net/?p=1422</guid>
		<description><![CDATA[Some times for some reason it&#8217;s necessary to change a home directory of a user and the correct form is using the command usermod: usermod -d /new/home username For more info about what other things we could do with this command look the man page.]]></description>
			<content:encoded><![CDATA[<p>Some times for some reason it&#8217;s necessary to change a home directory of a user and the correct form is using the command <em>usermod</em>:</p>
<p><code>usermod -d /new/home username</code></p>
<p>For more info about what other things we could do with this command look  the man page.</p>
]]></content:encoded>
			<wfw:commentRss>http://lexo.mx/2010/09/21/modifying-the-home-directory-of-an-user-in-gnulinux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://lexo.mx/2010/09/21/modifying-the-home-directory-of-an-user-in-gnulinux/</feedburner:origLink></item>
		<item>
		<title>PaRTiKle RTOS under QEMU x86</title>
		<link>http://feedproxy.google.com/~r/lexolx/~3/jRkoPlfW8ec/</link>
		<comments>http://lexo.mx/2010/09/20/partikle-under-qemu-x86/#comments</comments>
		<pubDate>Tue, 21 Sep 2010 00:50:21 +0000</pubDate>
		<dc:creator>lexo</dc:creator>
				<category><![CDATA[Embedded]]></category>

		<guid isPermaLink="false">http://lexo.lx-networks.net/?p=1398</guid>
		<description><![CDATA[multiboot
http://www.wand.net.nz/~smr26/wordpress/2008/08/28/kvm-the-hard-way/]]></description>
			<content:encoded><![CDATA[<p>This is a little mini-howto of how to run PaRTiKle RTOS using QEMU emulating x86 architecture</p>
<p>First we need to make the image partikle.img that will content the .prtk file:<br />
<code><br />
dd if=/dev/zero of=partikle.img bs=1M count=130</code></p>
<p>Once we made the img, is time to make the loop association with the image and make the partition:</p>
<p><code>losetup -f --show partikle.img<br />
fdisk /dev/loop0<br />
p<br />
1<br />
enter (default settings)<br />
enter (default settings)<br />
w</code></p>
<p>Because we need to map the partition tables as device, for easy access, we need to use kpartx:</p>
<p><code>kpartx -a /dev/loop0</code></p>
<p>Now we mount the partition and copy the .prtk and files that grub needs for install it:</p>
<p><code>mkdir tmp<br />
mkfs.reiserfs /dev/mapper/loop0p1<br />
mount /dev/mapper/loop0p1 tmp<br />
cp hello_world.prtk tmp/<br />
mkdir -p tmp/boot/grub<br />
cp /usr/lib/grub/i386-pc/stage[1,2] tmp/boot/grub<br />
cp /usr/lib/grub/i386-pc/reiserfs_stage1_5 tmp/boot/grub/</code></p>
<p>For install grub into image, we need to map hd0 to partikle.img and then install grub:</p>
<p><code>echo "(hd0) partikle.img" > map<br />
grub --device-map=map<br />
>root (hd0,0)<br />
>setup (hd0)</code></p>
<p>Once installed grub it&#8217;s time to create cfg file for grub editing tmp/boot/grub/menu.lst and put this:</p>
<p><code>default         0<br />
timeout         10<br />
title           partikle<br />
root            (hd0,0)<br />
kernel          /hello_world.prtk</code></p>
<p>After all, run sync command and you&#8217;re right for run QEMU like we know to run <img src='http://lexo.mx/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Sources:<br />
<a href="http://www.e-rtl.org/partikle">http://www.e-rtl.org/partikle</a><br />
<a href="http://wiki.qemu.org/Main_Page">http://wiki.qemu.org/Main_Page</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lexo.mx/2010/09/20/partikle-under-qemu-x86/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://lexo.mx/2010/09/20/partikle-under-qemu-x86/</feedburner:origLink></item>
		<item>
		<title>BASH tip – Search commands typed</title>
		<link>http://feedproxy.google.com/~r/lexolx/~3/fsrAmt1Bm7c/</link>
		<comments>http://lexo.mx/2010/09/15/bash-tip-search-commands-typed/#comments</comments>
		<pubDate>Wed, 15 Sep 2010 22:57:37 +0000</pubDate>
		<dc:creator>lexo</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://lexo.lx-networks.net/?p=1389</guid>
		<description><![CDATA[If you want to make fast work helped by the commands used time ago, maybe you fond useful this tip: ctrl + r]]></description>
			<content:encoded><![CDATA[<p>If you want to make fast work helped by the commands used time ago, maybe you fond useful this tip:</p>
<p>ctrl + r</p>
]]></content:encoded>
			<wfw:commentRss>http://lexo.mx/2010/09/15/bash-tip-search-commands-typed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://lexo.mx/2010/09/15/bash-tip-search-commands-typed/</feedburner:origLink></item>
		<item>
		<title>RTAI – RealTime Application Interface for Linux</title>
		<link>http://feedproxy.google.com/~r/lexolx/~3/AKeBHgiXdG0/</link>
		<comments>http://lexo.mx/2010/09/06/rtai-realtime-application-interface-for-linux/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 22:28:15 +0000</pubDate>
		<dc:creator>lexo</dc:creator>
				<category><![CDATA[Embedded]]></category>

		<guid isPermaLink="false">http://lexo.lx-networks.net/?p=1349</guid>
		<description><![CDATA[RTAI &#8211; the RealTime Application Interface for Linux &#8211; which lets you write applications with strict timing constraints for your favourite operating system. Like Linux itself this software is a community effort. If you are interested in what it does just join our mailing list and help our team! RTAI supports several architectures: * x86 [...]]]></description>
			<content:encoded><![CDATA[<p>RTAI &#8211; the RealTime Application Interface for Linux &#8211; which lets you write applications with strict timing constraints for your favourite operating system. Like Linux itself this software is a community effort. If you are interested in what it does just join our mailing list and help our team!</p>
<p>RTAI supports several architectures:</p>
<p>    * x86 (with and without FPU and TSC)<br />
    * x86_64<br />
    * PowerPC<br />
    * ARM (StrongARM; ARM7: clps711x-family, Cirrus Logic EP7xxx, CS89712, PXA25x)<br />
    * m68k (supporting both MMU and NOMMU cpus)</p>
<p>The RTAI distribution includes RTAI-Lab, a tool chain to convert block diagrams into RTAI executables and to monitor their operation on various targets.</p>
<p>Source:<br />
<a href="http://www.rtai.org">http://www.rtai.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lexo.mx/2010/09/06/rtai-realtime-application-interface-for-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://lexo.mx/2010/09/06/rtai-realtime-application-interface-for-linux/</feedburner:origLink></item>
		<item>
		<title>DRUID – voiceroute open source</title>
		<link>http://feedproxy.google.com/~r/lexolx/~3/6DUmssyh9_8/</link>
		<comments>http://lexo.mx/2010/09/06/druid-voiceroute-open-source/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 22:17:40 +0000</pubDate>
		<dc:creator>lexo</dc:creator>
				<category><![CDATA[Asterisk IP-PBX]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://lexo.lx-networks.net/?p=1346</guid>
		<description><![CDATA[Druid is an open source unified communications platform, built around technology such as Asterisk, IMAP, XMPP. Druid gives your organization access to the best available IP communications platform that bringing together voicemail, VOIP, mobile phone, faxes and instant messaging. Source: http://www.voiceroute.org]]></description>
			<content:encoded><![CDATA[<p>Druid is an open source unified communications platform, built around technology such as Asterisk, IMAP, XMPP. Druid gives your organization access to the best available IP communications platform that bringing together voicemail, VOIP, mobile phone, faxes and instant messaging.</p>
<p>Source:<br />
<a href="http://www.voiceroute.org">http://www.voiceroute.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lexo.mx/2010/09/06/druid-voiceroute-open-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://lexo.mx/2010/09/06/druid-voiceroute-open-source/</feedburner:origLink></item>
		<item>
		<title>Open USB FXS</title>
		<link>http://feedproxy.google.com/~r/lexolx/~3/geR_r9P_-Mc/</link>
		<comments>http://lexo.mx/2010/08/02/open-usb-fxs/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 22:19:58 +0000</pubDate>
		<dc:creator>lexo</dc:creator>
				<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://lexo.lx-networks.net/?p=1332</guid>
		<description><![CDATA[Open USB FXS is a project that aims to deliver and offer to the community an open-hardware/open-software FXS board. The target mass-scale manufacturing cost would be in the order of $10.00, this low-cost being a critical overall design factor. The board will communicate to a host using USB. It is expected that the board will [...]]]></description>
			<content:encoded><![CDATA[<p>Open USB FXS is a project that aims to deliver and offer to the community an open-hardware/open-software FXS board. The target mass-scale manufacturing cost would be in the order of $10.00, this low-cost being a critical overall design factor. The board will communicate to a host using USB. It is expected that the board will be possible to utilize by VoIP software such as Asterisk, when appropriate device drivers are built.</p>
<p>The board is built around two chips: a Silabs 3210, that implements all telephony functions, and a PIC (a 18F2550 for the time) that interfaces between the 3210 and the USB and implements the board&#8217;s routine tasks, like passing around PCM I/O data. All the intelligence lies on the PC side, which drives the board by setting registers on the 3210 and performs audio I/O.</p>
<p>Source:<br />
<a href="http://code.google.com/p/openusbfxs">http://code.google.com/p/openusbfxs</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lexo.mx/2010/08/02/open-usb-fxs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://lexo.mx/2010/08/02/open-usb-fxs/</feedburner:origLink></item>
		<item>
		<title>HAProxy – High Availability Platform</title>
		<link>http://feedproxy.google.com/~r/lexolx/~3/SBrjGI_IgEQ/</link>
		<comments>http://lexo.mx/2010/07/20/haproxy-high-availability-platform/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 15:42:53 +0000</pubDate>
		<dc:creator>lexo</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://lexo.lx-networks.net/?p=1284</guid>
		<description><![CDATA[HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for web sites crawling under very high loads while needing persistence or Layer7 processing. HAProxy is known to reliably run on the following OS/Platforms : * Linux 2.4 on x86, [...]]]></description>
			<content:encoded><![CDATA[<p>HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for web sites crawling under very high loads while needing persistence or Layer7 processing.</p>
<p> HAProxy is known to reliably run on the following OS/Platforms :</p>
<p>    * Linux 2.4 on x86, x86_64, Alpha, SPARC, MIPS, PARISC<br />
    * Linux 2.6 on x86, x86_64, ARM (ixp425), PPC64<br />
    * Solaris 8/9 on UltraSPARC 2 and 3<br />
    * Solaris 10 on Opteron and UltraSPARC<br />
    * FreeBSD 4.10 &#8211; 6.2 on x86<br />
    * OpenBSD 3.1 to -current on i386, amd64, macppc, alpha, sparc64 and VAX (check the ports) </p>
<p>Source:<br />
<a href="http://haproxy.1wt.eu">http://haproxy.1wt.eu</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lexo.mx/2010/07/20/haproxy-high-availability-platform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://lexo.mx/2010/07/20/haproxy-high-availability-platform/</feedburner:origLink></item>
	</channel>
</rss>

