<?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>Chaos Engine &#187; Ubuntu</title>
	<atom:link href="http://dev.modmancer.com/index.php/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev.modmancer.com</link>
	<description>Sometimes I drink to forget.. but then I forget to drink..</description>
	<lastBuildDate>Mon, 06 Feb 2012 16:11:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Resurrect NTFS partition after Win XP reinstall</title>
		<link>http://dev.modmancer.com/index.php/2010/06/09/resurrect-ntfs-partition-after-win-xp-reinstall/</link>
		<comments>http://dev.modmancer.com/index.php/2010/06/09/resurrect-ntfs-partition-after-win-xp-reinstall/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 21:19:23 +0000</pubDate>
		<dc:creator>akiko</dc:creator>
				<category><![CDATA[Hard drive]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[hard disk]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[lost partition]]></category>
		<category><![CDATA[ntfs]]></category>
		<category><![CDATA[partition]]></category>
		<category><![CDATA[reinstallation]]></category>
		<category><![CDATA[resurrect]]></category>
		<category><![CDATA[salvage]]></category>
		<category><![CDATA[testdisk]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows xp]]></category>

		<guid isPermaLink="false">http://dev.modmancer.com/?p=54</guid>
		<description><![CDATA[The system was missing my partition E, or my Storage partition. It was wiped out. Storage manager denoted it as unallocated space. A quick reboot into Ubuntu ended up with same knowledge: Unallocated space.

No space for panic. Google comes, google helps. I found a marvelous little command line tool which was able to revamp my Storage NTFS partition in about 10 seconds. It's called testdisk.]]></description>
			<content:encoded><![CDATA[<p>Another unpleasant experience with windows last week. (We&#8217;ll just disregard the notorious behaviour of Win installer which eradicates any previously installed foreign OS boot manager.)</p>
<p><span id="more-54"></span>I have Ubuntu 10.04 and WinXP SP3 multiboot. I have 3 partitions:</p>
<p>1) NTFS, WinXP (defunct)<br />
2) ReiserFS (+ extra swap partition) Ubuntu<br />
3) NTFS, Storage (lots of my windows projects stored there)</p>
<p>Few days ago, my WinXP stopped working, no way to boot it, something went so terribly wrong, and from the previous long year experience with windows I could simply sense when the time for total reinstall has come. Since I have started with Ubuntu 9.04 my GRUB was the legacy mode GRUB, so I prepared an Ubuntu 9.04 live cd to be able to reinstall GRUB after installing WinXP, and naturally: I though I was ready for the operation.</p>
<p>I booted from the Windows XP SP3 installation DVD, selected partition C (NTFS) to be reformatted and chosen as destination. Everything went smooth, C was erased, new Windows appeared on it, I rebooted the computer, and was happy to see that everything is there..</p>
<p>Or at least I thought so.</p>
<p>The system was missing my partition E, or my Storage partition. It was wiped out. Storage manager denoted it as unallocated space. A quick reboot into Ubuntu ended up with same knowledge: Unallocated space.</p>
<p>No space for panic. Google comes, google helps. I found a marvelous little command line tool which was able to revamp my Storage NTFS partition in about 10 seconds. It&#8217;s called <strong>testdisk</strong>.</p>
<p>Open your synaptic, type testdisk, install it.</p>
<p>Open terminal, type<br />
&lt;pre&gt;<br />
$ sudo testdisk<br />
&lt;/pre&gt;</p>
<p>1) Now on the first screen select [ Create ] ( Create a new log file ).<br />
2) From listed hard discs select the one that you need to salvage. Then [Proceed].<br />
3) Then [Continue].<br />
4) Then [Intel] &#8211; this works in most cases, but if you have some other exotic partition types, you can tell testdisk which one it is on this screen.<br />
5) Then [Analyse].<br />
6) Then [Quick Search] &#8211; this will do most of the time. But if corruption was more severe, you might need to select another round of &#8216;deeper search&#8217;.<br />
7) On the next screen select Vista [Y/N] &#8211; N, if you used WinXP to create the controversial partition.<br />
8) &#8212; disregard the stupid smiley &#8211;  Now you will see all partitions that testdisk was able to identify. Press Enter (continue).<br />
9) Ok finally &#8211; if you are happy with the results, ie. you see your lost partition in the list, select  [ Write ] and reboot (you will be informed about that on the next screen anyway). But if testdisk wasn&#8217;t able to dig out the lost partition, then select [ Deeper Search ].</p>
<p>It saved my night. And a lot of data. I think this tool exists for windows as well. Check it out, remember it. It will come handy sooner or later!</p>
<p>[EDIT]<br />
Yep, TestDisk runs on several platforms &#8211; check it out:<br />
<a href="http://www.cgsecurity.org/wiki/TestDisk">http://www.cgsecurity.org/wiki/TestDisk</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dev.modmancer.com/index.php/2010/06/09/resurrect-ntfs-partition-after-win-xp-reinstall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>M-Audio Audiophile 2496 on Ubuntu 9.10 = No sound!?</title>
		<link>http://dev.modmancer.com/index.php/2010/05/15/m-audio-audiophile-2496-on-ubuntu-9-10-no-sound/</link>
		<comments>http://dev.modmancer.com/index.php/2010/05/15/m-audio-audiophile-2496-on-ubuntu-9-10-no-sound/#comments</comments>
		<pubDate>Sat, 15 May 2010 15:37:44 +0000</pubDate>
		<dc:creator>akiko</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sound]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 9.10]]></category>
		<category><![CDATA[2496]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[audiophile]]></category>
		<category><![CDATA[karmic koala]]></category>
		<category><![CDATA[m-audio]]></category>
		<category><![CDATA[pulse]]></category>
		<category><![CDATA[pulse audio]]></category>
		<category><![CDATA[sound driver]]></category>

		<guid isPermaLink="false">http://dev.modmancer.com/?p=31</guid>
		<description><![CDATA[You have Ubuntu 9.10. You own M-Audio Audiophile 2496 audio interface. And you can&#8217;t hear a thing? I had to deal with this twice. First time it was when I upgraded my Ubuntu 9.04 to 9.10. Everything was fine, except: my 2496 Audiophile stopped playing any sound at all. Daemon.log didn&#8217;t show any errors coming [...]]]></description>
			<content:encoded><![CDATA[<p><em>You have Ubuntu 9.10. You own M-Audio Audiophile 2496 audio interface. And you can&#8217;t hear a thing?</em></p>
<p>I had to deal with this twice.<br />
First time it was when I upgraded my Ubuntu 9.04 to 9.10. Everything was fine, except: my 2496 Audiophile stopped playing any sound at all. Daemon.log didn&#8217;t show any errors coming from pulse, I could clearly kill and start it without any errors whatsoever. So,  I let my xmms play a song, went to  the Pulse configuration, to see if xmms gets registered as a valid audio stream. Guess what, the bars (vu-meters) were pulsing left to right decently meaning that sound was actually been streamed.<br />
But still I couldn&#8217;t hear a thing.<br />
I then tried changing the chosen output device profile in Preferences -&gt; Sound -&gt; Hardware -&gt; Profile, but none of them helped. Googling around showed that dozens of people have experienced the same problem, and that there was not only ONE problem, but sometimes 2-3 different problems which pretty much looked alike.</p>
<p>Here are shortly the 2 problems I saw people complained about:<span id="more-31"></span></p>
<ol>
<li>Ubuntu didn&#8217;t recognize hardware / didn&#8217;t load any drivers whatsoever</li>
<li>Ubuntu recognized the driver but still no sound coming out</li>
</ol>
<p>My problem belonged to the second group.</p>
<p>Solutions for this problem were mostly these:</p>
<p><strong>Solution #1</strong></p>
<p>create /etc/udev/rules.d/yourown_ice1712.rules file and copy into it:<br />
<code><br />
SUBSYSTEM!="sound", GOTO="ice1712_end"<br />
ACTION!="change", GOTO="ice1712_end"<br />
KERNEL!="card*", GOTO="ice1712_end"<br />
SUBSYSTEMS=="pci", ATTRS{vendor}=="0x1412", ATTRS{device}=="0x1712", ATTRS{subsystem_vendor}=="0x1412", ATTRS{subsystem_device}=="0xd634", ENV{PULSE_PROFILE_SET}="via-ice1712.conf"<br />
LABEL="ice1712_end"<br />
</code><br />
Then edit another file: /usr/share/pulseaudio/alsa-mixer/profile-sets/via-ice1712.conf<br />
and copy/paste the contents from: <a href="http://launchpadlibrarian.net/34620379/via-ice1712.conf">http://launchpadlibrarian.net/34620379/via-ice1712.conf</a></p>
<p>After this you should restart Pulse:<br />
<code><br />
$ pulseaudio --kill<br />
$ pulseaudio --start<br />
</code><br />
This helped some people but it did not help me. So I&#8217;ve searched on.<br />
Maybe it will fix your yours though, don&#8217;t know give it a try. Here is the link:<a href="https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/178442">https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/178442</a> to the complete discussion thread which is PRICELESS if you have sound problems with Koala.</p>
<p><strong>Solution #2</strong></p>
<p>The solution to my problem was much simpler than the aforementioned! I simply had to instruct Pulse to expect a front device which has 10 channels, by default it expects only 2 channels. Thanks to Asmo (<a href="https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/178442/comments/65">https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/178442/comments/65</a>) this was fairly easy to fix. Read the link, or just edit /usr/share/alsa/cards/ICE1712.conf and add to the ICE1712.pcm.front.0{} section these two lines:<br />
<code><br />
slave.format S32_LE<br />
slave.channels 10<br />
</code><br />
A very helpful link I found out there &#8211; <a href="http://ubuntuforums.org/showthread.php?t=843012">http://ubuntuforums.org/showthread.php?t=843012</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dev.modmancer.com/index.php/2010/05/15/m-audio-audiophile-2496-on-ubuntu-9-10-no-sound/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

