tag:blogger.com,1999:blog-73832087380693006082024-02-20T01:51:52.718-08:00sudodamhaUnknownnoreply@blogger.comBlogger23125tag:blogger.com,1999:blog-7383208738069300608.post-71797842943517049572012-12-07T14:15:00.000-08:002012-12-07T14:15:19.073-08:00.3 Release | Compileable Source Code!<br />
I am happy to say that my driver code can successfully build on an Arm A9 Device!.<br />
<br />
I have not tested the release on a mali device, but am looking forward to doing so! I will probably be getting my hands on an Android Mk803 in the next coming weeks and continue my work with it. As class time has ran out, I had a pleasure working through the bugs, fixes, and issues, with only my Professors and Classmates to thank.<br />
<br />
I have uploaded three files for download.<br />
<br />
<ol>
<li><a href="https://docs.google.com/open?id=0B9v3xSUsibd8SEZSd1JXZHF1QUE">malidriver.tar.gz</a> (Driver source code with UMPLOCK fix/patched)</li>
<li><a href="https://docs.google.com/open?id=0B9v3xSUsibd8QkU1M2VacFBvU3c">mali-includes.tar.gz</a> (Compiled Library files for inclusion into your /usr/include/ folder)</li>
<li><a href="https://docs.google.com/open?id=0B9v3xSUsibd8dkppTWJSSEgtSDQ">malilibs.tar.gz</a> (More mali requirements, which needed to be compiled and issued a make install)</li>
</ol>
Some libraries were required for me to install during this process.<br />
I had to get:<br />
<br />
<ul>
<li>xorg-x11-util-macros.noarch & xorg-x11-server-devel.armv5tel</li>
<li>groupinstall "X Software Development" </li>
</ul>
I issued the Following commands to make the drivers:<br />
<br />
<iframe src="http://pastebin.com/embed_iframe.php?i=PSeMhEX9" style="border: none; width: 100%;"></iframe>
As soon as i get my hands on the mk803, I will be posting more updates on my progress in getting X to work on it! <br />
<br />
<blockquote class="tr_bq">
</blockquote>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7383208738069300608.post-88178496788413566032012-12-04T17:02:00.002-08:002012-12-04T17:04:24.434-08:00More Progress! It seems that I have solved the error I was running into. It seems that i was missing libraries for Mali and UMP !<br />
<br />
Hence this error:<br />
<blockquote class="tr_bq">
<div class="de1">
/bin/ld: cannot find -lMali</div>
<div class="de2">
/bin/ld: cannot find -lUMP</div>
</blockquote>
But alas! I found this git hub!<br />
<blockquote class="tr_bq">
https://github.com/linux-sunxi/mali-libs</blockquote>
So i did a git clone on the above hub, and tried to make it with:<br />
<blockquote class="tr_bq">
make VERSION=r3p0 ABI=armhf framebuffer </blockquote>
and got permission errors!<br />
<blockquote class="tr_bq">
<div>
install: cannot create regular file `/usr/lib/libUMP.so': Permission denied</div>
<div>
install: cannot create regular file `/usr/lib/libMali.so': Permission denied</div>
</blockquote>
So i did an evil thing, and re-ran the above command with sudo. This was the output i got..<br />
<iframe src="http://pastebin.com/embed_iframe.php?i=hu5gMQh3" style="border: none; width: 100%;"></iframe>
<br />
Seemed right to me. So i went back to trying to compile the mali driver and finally got some promising output [below]. I am just waiting for confirmation of it being positive or negative! I hope to post more this week!<br />
<iframe src="http://pastebin.com/embed_iframe.php?i=0ejuhF8U" style="border: none; width: 100%;"></iframe>
<br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7383208738069300608.post-33891061995821785092012-12-04T16:24:00.000-08:002012-12-04T16:52:41.876-08:00Some updates!Well I seem to have been getting some progress while my posts have been not increasing.<br />
<br />
I would like to thank Chris Tyler and Raymond Chan for their endlesss motivation, which always drives me to get further and do more!<br />
<br />
<blockquote class="tr_bq">
</blockquote>
So with my motivation to get by, I ended up finding a post by Sven from Miniand Tech, in where he was running into the same problem i was having. I found his <a href="https://www.miniand.com/wiki/Mali+GPU+Linux+EXA/DRI2+and+X11+Display+Drivers+on+headless+Debian+Wheezy">guide</a> quite helpful! But it wasn't so easy! With the help of Andrei Martinenco, I have gotten past some key errors. I
had some C mistakes in one of my libraries that were needed for
compiling the Mali driver. In my previous error, I kept running into the
following:<br />
<br />
<blockquote class="tr_bq">
fatal error: umplock/umplock_ioctl.h: No such file or directory </blockquote>
The guide pointed me into creating the umplock directory and the .h file above! With andrei's help my final umplock_ioctl.h file looked like this!<br />
<iframe src="http://pastebin.com/embed_iframe.php?i=c5A4zzch" style="border: none; width: 100%;"></iframe>
<br />
<br />
I am now running into another problem [below] which i am working on fixing at the moment. <br />
<br />
<iframe src="http://pastebin.com/embed_iframe.php?i=bKDTh19Z" style="border: none; width: 100%;"></iframe>
<br />
This is significant progress! And Chris Tyler did tell me that he has a
mali board now, but with only 3 days left, I don't think i will be able
to do testing as he mentioned getting it too boot might be difficult. But i hope to get an rpm packaged and handed to Chris
Tyler and Raymond Chan in hopes of helping someone in future completion!Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7383208738069300608.post-15493007116070828002012-11-21T06:24:00.002-08:002012-11-21T06:49:34.722-08:00Samsung's 8 core arm!I just ran across an article on talking about Samsungs new 8 core processor.<br />
<br />
Its new board im guessing since they usually release origien style boards, is going to sport a A15 quad core processor for its main handling of processes, with a 2nd cortex A-7 for kicking in when it needs too.<br />
This looks like an exciting release, and gives us a little peek to maybe what the next Galaxy or Nexus may sport!! These are exciting times, we went from revolutionizing computers to their limits, and that can never really be reached because of the evolution of technology goes as far as the mind, but what's interesting to see here is that we can see the evolution of mobile devices is accelerating quickly, I wouldn't be surprised if it surpassed desktop computing in power very soon!<br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7383208738069300608.post-75607166528697957792012-11-21T06:08:00.001-08:002012-11-25T14:02:11.908-08:00Progress! .2 in the making.<span style="font-family: inherit;">A great progress has been made! But still, no release of a package or compiled code just yet. I have just gotten farther down the compile. I have figured out my previous error, and it turned out i didn't have the complete list of required libraries, "ump/ump.h: " .</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">So i compiled those! but i used my local system, and just </span>downloaded<span style="font-family: inherit;"> the dev libraries for ARMv5 support as the system im </span>currently<span style="font-family: inherit;"> working on the trimslice is a v5.</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">Here i found the the UMP required files!</span><br />
<span style="font-family: inherit;"><span style="background-color: white; font-size: 12px; line-height: 21px;"><br /></span>
<a href="http://www.malideveloper.com/developer-resources/drivers/open-source-mali-gpus-ump-user-space-drivers-source-code.php">http://www.malideveloper.com/developer-resources/drivers/open-source-mali-gpus-ump-user-space-drivers-source-code.php</a></span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">But in trying to compile them, i had to install a bunch of more libraries/programs required for building!</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">So this is where i decided to build it locally as i mentioned above!</span><br />
<span style="font-family: inherit;">I found that fedora has a CROSS compile repo! This was amazing to find. Here whats I did to set that up!</span><br />
<span style="font-family: inherit;"><br /></span>
<br />
<span style="font-family: inherit;">-cd /etc/yum/repos.d/</span><br />
<br />
<span style="font-family: inherit;">-wget http://ftp.linux.org.uk/pub/linux/arm/fedora/cross/cross.repo</span><br />
<span style="font-family: inherit;">-yum install armv5tel-redhat-linux-gnueabi-gcc</span><br />
<div>
<span style="font-family: inherit;"><br /></span></div>
<div>
<span style="font-family: inherit;">The resulting installed bin files after the tool chain install were: </span></div>
<div>
<span style="font-family: inherit;"><iframe src="http://pastebin.com/embed_iframe.php?i=BURSVknA" style="border: none; width: 100%;"></iframe>
</span></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<div>
<span style="font-family: inherit;">One thing i found interesting was that when i tried installing the above software on the trimslice, it wouldnt install all the packages listed above but only about half of them, so i found compiling on the local system much more easier, but it may not be the right way as it was easy. Too easy and linux dont mix -_-</span></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<div>
<span style="font-family: inherit;">So now that the compile of the above requirements went through, I was able to get the UMP include files that i Needed, the UMP .so file that i needed for reference in the mali build process.</span></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<div>
<span style="font-family: inherit;">I uploaded those files below!</span></div>
<div>
<span style="font-family: inherit;">https://docs.google.com/open?id=0B9v3xSUsibd8YkNNNTk3b1NYRkk</span></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<div>
<span style="font-family: inherit;">https://docs.google.com/open?id=0B9v3xSUsibd8dkZScktGdUo2NWM</span></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<div>
<span style="font-family: inherit;">So now I am currently still trying to build mali (remotely) as now more requirements have come up to display!</span></div>
<div>
<span style="font-family: inherit;"><iframe src="http://pastebin.com/embed_iframe.php?i=kXBhSr2k" style="border: none; width: 100%;"></iframe>
</span></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<div>
There is only one month left to produce some kind of release, and I am feeling that I may not be able to test the driver, but I would like to aim for a driver that doesn't have to be tested, but just compiled, and given to someone that would dive deeper if they have the time.<br />
<br />
Source Tarball's I'm using for reference!<br />
<br />
<a href="http://www.malideveloper.com/files/DX910-SW-99006-r3p1-01rel1.tgz">MALI UMP </a><br />
<a href="http://www.malideveloper.com/files/DX910-SW-99003-r3p1-01rel1.tgz">EXA/DRI2 and X11 Display Drivers</a> <br />
<br />
I am using a trim slice, and the instructions to reach my state were:<br />
<br />
<ol>
<li>Extracted the x11 driver and UMP tarballs onto the trim slice.</li>
<li>Exec the build.sh file in the X11 driver folder to expand the make directory. </li>
<li>executed : yum install @development-tools</li>
<li>Could not compile UMP on TrimSlice So did it on local machine.</li>
<li><b>ON LOCAL MACHINE</b></li>
<li><b> </b>-cd /etc/yum/repos.d/ <br />
-wget http://ftp.linux.org.uk/pub/linux/arm/fedora/cross/cross.repo<br />
-yum install armv5tel-redhat-linux-gnueabi-gcc<br />
</li>
<li>Compiled UMP locally and SCP'd to trimslice to /usr/include</li>
<li>Got past first error, missing UMP headers, But now getting the error atop!</li>
</ol>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7383208738069300608.post-32225907590536255882012-11-14T08:37:00.001-08:002012-11-14T08:37:17.881-08:00More Mali IssuesAfter running into the problems, 2 posts ago, i dove deeper into research and joined the #mali channel to find some insight on which paths i should take to tackle the problem of getting a successful compiling from source. But that came to an end, because apparently the lima driver is not ready for end users, which is what my project is targeting. I was referenced to the x11 driver page on malideveloper.<br />
<br />
http://www.malideveloper.com/files/DX910-SW-99003-r3p1-01rel1.tgz<br />
<br />
The compile issue has ran into this problem:<br />
<iframe src="http://pastebin.com/embed_iframe.php?i=sckpdUKj" style="border-style: none; width: 100%;"></iframe><br />
<br />
I definitely think this issue has something to do with the build requirements below:<br />
<iframe src="http://pastebin.com/embed_iframe.php?i=r7TZ8KE6" style="border-style: none; width: 100%;"></iframe><br />
<br />
I've tried researching these topics, but haven't really found much end to the problem. I Made sure all the dev libraries were installed, but from there on out, i'm pretty clueless how to go on from here. I will have to try to speak to some mali devs to find out some more light on the subject.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7383208738069300608.post-87579277928022650902012-11-07T05:54:00.002-08:002012-11-07T05:54:36.646-08:00SBR600 | .1 PresentationSo Today's the presentation day of my .1 milestone. I am very excited to tell the class on my progress. I am slightly disappointed that I slacked a bit on talking to Chris Tyler on getting my hands on hardware, but alas its been done now and my remote access is on the way! I hope to get my package compiled and sent into fedora for review by the .2 milestone! I have also left my presentation on the bottom of this post for anyone that's interested!<br />
<br />
I am going to be working on a TrimSlice until the school gets their hands on a board that has a Mali GPU. The trim slice is going to be exciting to work with. I have been thinking of getting one myself as a media server for the house. It has top of line hardware for it's class, sporting a Tegra 2 chip alike the Asus transformers!<br />
<br />
<a href="https://docs.google.com/presentation/d/1_a06M9HGevLx3uBtHG-gJF9NAemiiFDvPSKIqnngPpE/edit">.1 Presentation</a><br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7383208738069300608.post-10258466245769246062012-10-31T19:21:00.000-07:002012-10-31T19:21:29.409-07:00The Waterfox Project!Just wanted to leave a quick post here about a new browser i've been using. Ever since firefox was getting updated, i seemed to get a lot of crashes. So I switched to Google Chrome on my desktop, and found it to great successs! I had a better browsing experience, absolutely no more crashes and a much more efficient way to browse the internet. Until ..... Waterfox!!<br />
<div style="text-align: center;">
<a href="http://www.blogger.com/goog_301669331"><br /></a></div>
<div style="text-align: center;">
<a href="http://www.waterfoxproject.org/">http://www.waterfoxproject.org/</a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://i1-news.softpedia-static.com/images/news-700/Waterfox-the-64-bit-Firefox-Custom-Build.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="217" src="http://i1-news.softpedia-static.com/images/news-700/Waterfox-the-64-bit-Firefox-Custom-Build.png" width="640" /></a></div>
<br />
I have found this browser over 1000% better then chrome and firefox. It loads up SUPER fast. Loads pages MUCH faster. It proves to really get your socks off. It supports all current extensions for firefox unlike other firefox variants! ONE THING THOUGH. It's a windows software!<br />
<br />
Take care!<br />
<br />Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7383208738069300608.post-66916200133371037022012-10-31T07:25:00.001-07:002012-10-31T07:25:19.531-07:00SBR600 Update!So i have found the gitorious page where the official open source mali drivers have been posted.<br />
One thing tho, they are geared to work in the Android environment.<br />
<br />
<a href="https://gitorious.org/lima">https://gitorious.org/lima</a><br />
<br />
Upon downloading the master.tar.gz file, i expanded it and got the source code. I attempted to compile it as is, and ran into some errors because i do not have the Android SDK.<br />
<br />
<blockquote class="tr_bq">
<blockquote class="tr_bq">
make all -C limare</blockquote>
<blockquote class="tr_bq">
make[1]: Entering directory `/home/ahmad/Downloads/lima-lima/limare'</blockquote>
<blockquote class="tr_bq">
make all -C lib</blockquote>
<blockquote class="tr_bq">
make[2]: Entering directory `/home/ahmad/Downloads/lima-lima/limare/lib'</blockquote>
<blockquote class="tr_bq">
~/android/toolchain//bin/arm-linux-androideabi-gcc -O0 -g -Wall -I../../include -c -o bmp.o bmp.c</blockquote>
<blockquote class="tr_bq">
/bin/sh: /home/ahmad/android/toolchain//bin/arm-linux-androideabi-gcc: No such file or directory</blockquote>
<blockquote class="tr_bq">
make[2]: *** [bmp.o] Error 127</blockquote>
<blockquote class="tr_bq">
make[2]: Leaving directory `/home/ahmad/Downloads/lima-lima/limare/lib'</blockquote>
<blockquote class="tr_bq">
make[1]: *** [lib] Error 2</blockquote>
<blockquote class="tr_bq">
make[1]: Leaving directory `/home/ahmad/Downloads/lima-lima/limare'</blockquote>
<blockquote class="tr_bq">
make: *** [limare] Error 2</blockquote>
</blockquote>
I will have to look more into getting this to work on the Fedora Environment. I hope to get more progress within the week! Because the .1 version presentation is going to be on November 7th! Hope to blog soon!Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7383208738069300608.post-24205010644640580112012-10-26T14:02:00.003-07:002012-10-26T14:02:54.131-07:00New board from Samsung!Sem-related to my SBR600 Project regarding the Mali drivers, Samsung just released the <a href="http://www.businesswire.com/news/home/20121025006794/en/Samsung-Opens-Opportunities-Mobile-App-Development-Arndale">Arndale Package-A Boards</a>! I am excited to the Mali GPU being used in this next board release! Hopefully one day i can see my package being used on such hardware!<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.blogcdn.com/www.engadget.com/media/2012/10/samsungarndaleboard-10-26-12-01.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="198" src="http://www.blogcdn.com/www.engadget.com/media/2012/10/samsungarndaleboard-10-26-12-01.jpg" width="320" /></a></div>
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7383208738069300608.post-36816304864524115292012-10-26T13:51:00.002-07:002012-10-26T13:51:58.585-07:00FSOSS 2012Well what a day it was. Unfortunately I couldn't stay for the last 3 talks, but I made the best of the first 3.<br />
<br />
I first attended the LTSP talk. This talk was very informative to how LTSP worked, and how its helping countries which aren't too wealthy get technology up and going. I believe we can see a lot more of these kind of settings in the future, such as classrooms with very efficient systems, and much more centralized control for administration and monitoring of activity. Elementary schools can adopt this technology to make sure that students at a young age can have a safe browsing experience and computer usages.<br />
<br />
The second talk I attended was the Automation of Video Editing. I thought it was brilliant how Raul Suarez had designed scripts to automate repetitive tasks in video editing. I can see this used in broadcast environments, and really opened my eyes up to how we can automate even more.<br />
<br />
Finally the Open Source Career's presentation by Robert Russel was quite informative. I learned quite a bit about how to approach finding a job now, and the correct attitude to have towards it. It has really motivated me to be more enthusiastic out on future endeavours.<br />
<br />
I wonder what next year holds!Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-7383208738069300608.post-67651278945912427402012-10-23T12:43:00.005-07:002012-10-23T12:43:45.331-07:00Python: A neat little addition!In diving into the python lab, I have kind of fallen in love. Python is a very easy language to learn, in minutes i was understanding import functions and loops. I hear that it is very important to have python under your belt which makes me glad that I liked it.<br />
<br />
<a href="http://pastebin.com/raw.php?i=FtFpg2Wk">script.py</a> Ran this with 644 u+x permissions.<br />
<br />
As for a project update, I have begun attempting to compile the mali drivers which i have found online! I have posted research links on my project page: <a href="http://zenit.senecac.on.ca/wiki/index.php/Lima_X_Driver">Here</a><br />
<br />
Hope to update more !Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7383208738069300608.post-80503097886713731322012-10-03T06:19:00.000-07:002012-10-03T06:19:10.568-07:00Repo Man!I finally got around to getting my repo fully completed. Professor Chris Tyler in our last class stated that using the --secret-keys option with the gpg export command would actually be exporting your private key and use that to sign your RPM's. Which is what i was doing unfortunately, and caused me the inability to install my RPM's from my repo because of the error: Package could not be installed, this RPM is not signed.<div>
<br /></div>
<div>
This drove me insane, so thanks a lot Chris Tyler for your assistance!</div>
<div>
<br /></div>
<div>
My repo is up and running at: <a href="http://matrix.senecac.on.ca/~ataychouri/rpms/">http://matrix.senecac.on.ca/~ataychouri/rpms/</a></div>
<div>
my repo file looks like this: <a href="http://pastebin.com/raw.php?i=HeiipR2W">http://pastebin.com/raw.php?i=HeiipR2W</a></div>
<div>
my RPM release package: http://matrix.senecac.on.ca/~ataychouri/rpms/ahmad-0.0.1-1.fc17.x86_64.rpm</div>
<div>
<br /></div>
<div>
And to make sure i only used my own repo when testing the progress i always issused these switches with my yum command: yum install --disablerepo=\* --enablerepo=ahmad gzip</div>
<div>
<br /></div>
<div>
I hope to be throwing in weekly updates from now on regarding my Project for SBR. I hope to be doing the Lima drivers for the Mali cards in the snowball and oriegen boards. Hope to see you guys soon!</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7383208738069300608.post-65841786039488875812012-09-24T10:02:00.001-07:002012-09-24T10:07:14.011-07:00Permissions, why u so important!Ah!!!! I spent all weekend struggling with the koji setup, and today my classmate Daniel pointed out a big derp in my environment! The folder where the certificate from FAS2 that should be saved in ~/.fedora.cert/ were incorrect, and even changing them to the defaults didn't work. a Rename to the folder, and letting it recreate itself worked like a charm.<br />
<br />
The mock lab went by flawlessly. I ran into no errors. I still went over the logs and really liked how it records everything that happens in the mock build process. I feel that this allows maximum troubleshooting for software packagers, and aim's to provide efficiency in problem solving. As well makes interacting with the community easier. I used my previous posts SRPMS, so no upload was necessary. Mock took a total time of 20 minutes!<br />
<br />
I sucessfully started building on koji, and have a few packages in queue. The query for my users history of builds is currently taking time to load, and i hope to post a link to my history ASAP! I will come with a new blog post as soon as i can, and off to the repo lab!!!<br />
<br />
UPDATE: <a href="http://koji.fedoraproject.org/koji/tasks?owner=damha&state=active&view=tree&method=all&order=-id">http://koji.fedoraproject.org/koji/tasks?owner=damha&state=active&view=tree&method=all&order=-id</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7383208738069300608.post-44614759400081621532012-09-19T08:02:00.002-07:002012-09-19T08:02:30.191-07:00Arnd Bergmann on the Status of Arm!<div class="fm-embed" id="fm_embed_video_28" style="height: 420px; width: 600px;">
<div onclick="fullscreen_manager.toggle_fullscreen();">
</div>
I just found this talk about the current state of Linux on the Arm architecture. Definitely an interesting watch for our upcoming project selection!<br />
<iframe height="420" src="http://linuxplumbers.ubicast.tv/videos/permalink/28/iframe/" width="600"></iframe></div>
<link href="http://linuxplumbers.ubicast.tv/medias/forumedia/stylesheets/embed.css" rel="stylesheet" type="text/css"></link><script src="http://linuxplumbers.ubicast.tv/medias/forumedia/javascripts/jquery/jquery-latest.min.js" type="text/javascript"></script><script src="http://linuxplumbers.ubicast.tv/medias/forumedia/javascripts/fullscreen.js" type="text/javascript"></script><script type="text/javascript"> var fullscreen_manager = new FullscreenManager("#fm_embed_video_28"); </script>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7383208738069300608.post-3019280419412375892012-09-18T20:37:00.004-07:002012-09-18T20:37:48.517-07:00Fixes Fixes Fixes!I managed to fix all of my errors on both packages and used another package because inetutils was giving me too much of a hardtime for my timeframe. So i picked up grep!<br />
<br />
<h4>
GREP</h4>
My grep spec file ended up looking like <b><a href="http://pastebin.com/raw.php?i=XnTTEAke">this!</a> </b><br />
The biggest trouble i had with this particular package was the language files and translations for the man pages. I finally got to talk to Professor Chris Tyler over IRC and he lead me to the <a href="http://fedoraproject.org/wiki/Packaging:Guidelines#Handling_Locale_Files">Packaging:Guidelines#Handling_Locale_Files</a> Post where i read about a macro called find_lang.<br />
<br />
In my spec file i used:<br />
<blockquote class="tr_bq">
<span style="white-space: pre-wrap;">%find_lang grep</span>%files -f grep.lang</blockquote>
Which in turn solved 43 warnings! This grabbed all my lang files and properly put then in the right places. <br />
<br />
Heres my uploaded Grep spec file and created RPM <span class="goog-control" id=":4v" style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12px; line-height: 30px; white-space: nowrap;" tabindex="0"></span><a class="fileitem-linked" href="https://docs.google.com/file/d/0B9v3xSUsibd8UkhCb3B0X0VKNFE/edit" rel="noreferrer" style="background-color: #ffffd6; color: #1155cc; cursor: pointer; font-family: arial, sans-serif; font-size: 12px; line-height: 30px; white-space: nowrap;" target="_blank">grep.spec</a> <a class="fileitem-linked" href="https://docs.google.com/file/d/0B9v3xSUsibd8RmdfVFV5OTlsb1E/edit" rel="noreferrer" style="background-color: #ffffd6; color: #1155cc; cursor: pointer; font-family: arial, sans-serif; font-size: 12px; line-height: 30px; white-space: nowrap;" target="_blank">grep-2.9-1.fc17.x86_64.rpm</a><br />
<h4>
GZIP</h4>
<div>
Here are my updated spec and rpm files to download as well! I am very glad i got these working, and i am now VERY excited to do the koji and mock labs! </div>
<div>
<br /></div>
<div>
<a class="fileitem-linked" href="https://docs.google.com/file/d/0B9v3xSUsibd8UF9CX0VYT2l0clU/edit" rel="noreferrer" style="background-color: #ffffd6; color: #1155cc; cursor: pointer; font-family: arial, sans-serif; font-size: 12px; line-height: 30px; white-space: nowrap;" target="_blank">gzip-1.5-1.fc17.x86_64.rpm</a> <a class="fileitem-linked" href="https://docs.google.com/file/d/0B9v3xSUsibd8XzEyaVBOUXl5dDA/edit" rel="noreferrer" style="background-color: #ffffd6; color: black; cursor: pointer; font-family: arial, sans-serif; font-size: 12px; line-height: 30px; text-decoration: none; white-space: nowrap;" target="_blank">gzip.spec</a></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7383208738069300608.post-3157082307109743222012-09-17T09:22:00.002-07:002012-09-17T09:22:52.259-07:00Keyboard Map Fix for Pipe key!I was having trouble using my pipe key on my machine because everytime i would press it, a greater than sign would come up. Upon HOURS of searching, i finally found a fix.<br />
<br />
<ol>
<li>Go into your Users home directory, and create a new file called: .Xmodmap </li>
<li>Add the following lines to the file</li>
</ol>
<blockquote class="tr_bq">
keycode 94 = backslash bar<br />keycode 77 = Insert<br />keycode 118 = Num_Lock<br />clear mod2<br />add mod2 = Num_Lock</blockquote>
Save the file and log out and log back in. Your pipe key should now be working. I hope everyone finds this usefull!<br />
<blockquote class="tr_bq">
</blockquote>
<blockquote class="tr_bq">
</blockquote>
<blockquote class="tr_bq">
</blockquote>
<ol></ol>
<ol></ol>
<ol></ol>
<ol></ol>
<ol></ol>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7383208738069300608.post-18144331398930540232012-09-16T12:12:00.000-07:002012-09-16T12:12:13.004-07:00Another week, Another BuildSO after the lab got cleaned up, I attempted to build my packages, gzip and inetutils. I began by creating my rpm build tree, and made sure sure all dev tools were installed.<br />
<br />
<h3>
Gzip</h3>
My first attempt at building gzip came out with this response:<br />
<blockquote class="tr_bq">
<a href="http://pastebin.com/raw.php?i=SC7H3KeR">gzip initial build errors</a></blockquote>
<br />
<div>
Upon a quick google query on this error, i realized i left the %files section of the .spec file empty. i attempted to just dump the file listing above, into the spec file and added one extra line under the %files line:</div>
<div>
<blockquote class="tr_bq">
%defattr<span style="margin: 0px; padding: 0px;">(</span>-,root,root,-<span style="margin: 0px; padding: 0px;">)</span></blockquote>
After adding the files under the %files section, I remembered the macro'a, and made sure to use them where applicable.<br />
The final gzip spec file looked like this. <a href="http://pastebin.com/raw.php?i=1gqD8QPj" target="_blank">gzip.spec</a><br />
rpmlint outputs: <a href="http://pastebin.com/raw.php?i=fqvRwbzL">gzip-1.5-1.fc17.x86_64.rpm</a> <a href="http://pastebin.com/raw.php?i=bZdzKa8j">gzip-1.5-1.fc17.src.rpm</a> <a href="http://pastebin.com/raw.php?i=95HuZZwe">gzip.spec</a><br />
File uploads: <a href="https://docs.google.com/open?id=0B9v3xSUsibd8em1OaU9oU0Vuam8">gzip-1.5-1.fc17.x86_64.rpm</a> <a href="https://docs.google.com/open?id=0B9v3xSUsibd8c0x4NjNicWFBR2M">gzip-1.5-1.fc17.src.rpm</a> <a href="https://docs.google.com/open?id=0B9v3xSUsibd8dGdiVEJsT1lXeGM">gzip.spec</a><br />
<br />
<h3>
inetutils</h3>
<div>
This time I had more of a sense of what i was doing and ran into no build errors this time. I made sure the %files and %info section were properly filled out this time and used more macros then the previous gzip build i did. </div>
<div>
rpmlint output:<a href="http://pastebin.com/raw.php?i=vR9V8rt9"> inetutils-1.9-1.fc17.x86_64.rpm</a> <a href="http://pastebin.com/raw.php?i=HN9Bi03v">inetutils.spec</a> <a href="http://pastebin.com/raw.php?i=HC6DXJi8">inetutils-1.9-1.fc17.src.rpm</a></div>
<div>
<br /></div>
<div>
I did receive a bunch of errror and warnings here, but I will be addressing them later this evening or tomorrow morning. </div>
<div>
<br /></div>
<div>
My final spec file for inetutils at the moment looks like this : <a href="http://pastebin.com/raw.php?i=qmQT3iPe">inetutils.spec</a></div>
<div>
<br /></div>
<div>
File uploads: <a href="https://docs.google.com/open?id=0B9v3xSUsibd8WHg3T0JhQ21CWGc">gzip-1.5-1.fc17.x86_64.rpm</a> <a href="https://docs.google.com/open?id=0B9v3xSUsibd8WVlYUXlYVXRlR2s">gzip-1.5-1.fc17.src.rpm</a> <a href="https://docs.google.com/open?id=0B9v3xSUsibd8TlE1MG5JQ201ZEU">gzip.spec</a></div>
<div>
<br /></div>
<div>
I hope to practice building packages and making spec files more this coming week, I feel it is terribly important to master this!</div>
<div>
<br /></div>
<br />
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7383208738069300608.post-88748908052003800912012-09-15T16:57:00.001-07:002012-09-15T16:57:36.570-07:00CPR for your Computer!I just found this Linux OS aimed for troubleshooting your Windows Machines! Definitely something i recommend adding to your ISO collections! <br />
<br />
<a href="http://trinityhome.org/Home/index.php?content=TRINITY_RESCUE_KIT____CPR_FOR_YOUR_COMPUTER&front_id=12&lang=en&locale=en#.UFUVV09og-0.blogger">Trinity Rescue Kit | CPR for your computer</a><br />
<br />
Heres the features listed on their site!<br />
<blockquote class="tr_bq">-easily reset windows passwords with the improved winpass tool<br />
-simple and easy menu interface<br />
-5 different virusscan products integrated in a single uniform commandline with online update capability<br />
-full ntfs write support thanks to ntfs-3g<br />
-winclean, a utility that cleans up all sorts of unnecessary temporary files on your computer.<br />
-clone computers over the network via multicast.<br />
-wide range of hardware support (kernel 2.6.35 )<br />
-contributed backup utility called "pi", to automate local machine backups<br />
-easy script to find and mount all local filesystems<br />
-self update capability to include and update all virusscanners + local changes you made to TRK.<br />
-full proxyserver support.<br />
-run a samba fileserver (windows like filesharing)<br />
-run a ssh server<br />
-recovery and undeletion of files with utilities and procedures<br />
-recovery of lost partitions<br />
-evacuation of dying disks<br />
-full read/write and rpm support<br />
-UTF-8 international character support (select keyboard language from the scrollable textmenu at startup)<br />
-2 rootkit detection uitilities<br />
-most software updated to recent versions<br />
-literally thousands of changes and bugfixes since version 3.3<br />
-elaborated documentation, including manpages for all commands (also TRK 's own) </blockquote>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7383208738069300608.post-58602691192732360772012-09-12T13:41:00.000-07:002012-09-12T13:42:06.787-07:00Raspberry Pi Super-Computer Guide!NOW this is something I would love to do myself. I have been reading this tutorial and it makes me excited!<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.southampton.ac.uk/~sjc/raspberrypi/pi_supercomputer_southampton_files/image002.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="183" src="http://www.southampton.ac.uk/~sjc/raspberrypi/pi_supercomputer_southampton_files/image002.jpg" width="320" /></a></div>
The guide provided helps you make a 2 node setup, or a 64 node setup!<br />
<br />
<a href="http://www.southampton.ac.uk/~sjc/raspberrypi/">http://www.southampton.ac.uk/~sjc/raspberrypi/</a><br />
<a href="http://www.southampton.ac.uk/~sjc/raspberrypi/Raspberry_Pi_supercomputer_11Sept2012.pdf">http://www.southampton.ac.uk/~sjc/raspberrypi/Raspberry_Pi_supercomputer_11Sept2012.pdf</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7383208738069300608.post-20133818211635600632012-09-12T08:26:00.000-07:002012-09-12T08:26:27.767-07:00Building from sourceI began last night picking 2 GNU packages to build, and ran into tons of problems because of missing packages. Here are some of the errors I ran into. <br />
<br />
Error 1 : [From package gnufdisk]<br />
<blockquote class="tr_bq">
configure: error: GNU Fdisk headers are missing, install headers and try again.<br />
configure: error: ./configure failed for backend</blockquote>
Error 2: [From package icecat]<br />
<blockquote class="tr_bq">
configure: error: Library requirements (gtk+-2.0 >= 2.10.0 gtk+-unix-print-2.0 glib-2.0 gobject-2.0 gdk-x11-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.<br />
<br /></blockquote>
Error 3: [from package complexity]<br />
<blockquote class="tr_bq">
./configure: line 11685: autoopts-config: command not found<br />
configure: error: libopts was not found </blockquote>
I finally got 2 packages to properly configure, and make and run from binary. I built <a href="https://docs.google.com/open?id=0B9v3xSUsibd8N3F0M3Z0NGFsQ0E" target="_blank">gzip</a>, and <a href="https://docs.google.com/open?id=0B9v3xSUsibd8ZFZUVXdPVkRrVFE" target="_blank">inetutils</a>. Both hyperlinks are my compiled applications, and for inetutils i only uploaded, ifconfig.<br />
<br />
The thing that i noted was that the configure time was the longest. But its what makes me LIKE the build process more, because of how it checks everything that is required to run before actually attempting to compile.<br />
<br />
Sample program outputs: <a href="http://pastebin.com/raw.php?i=QTyRtvuB" target="_blank">gzip</a>, <a href="http://pastebin.com/raw.php?i=uw0Fp8jA" target="_blank">inetutils</a><br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7383208738069300608.post-14509998038340320512012-09-11T14:31:00.000-07:002012-09-11T14:31:27.694-07:00First week into play!So I am a week into the course, and got Fedora 17 installed, and figured I would post some Applications that I have been using to make my linux experience smooth and fun.<br />
<br />
<ul>
<li><a href="http://www.tenshu.net/p/terminator.html" target="_blank">Terminator</a> - A great terminal and efficient workplace, that allows you to slice up your teriminal horizontally or vertically to more screens!</li>
<li><a href="http://konversation.kde.org/" target="_blank">Konversation</a> - A feature rich IRC client. Don't forget to automate the msg nickserv to identify yourself!</li>
<li><a href="https://live.gnome.org/GnomeTweakTool" target="_blank">GNOME-Tweak-Tool</a> - This tool adds an advanced options in your application menu. It gives you Desktop, Shell, Window and more customizations for your fedora system.</li>
<li>I would be adding <a href="http://blogilo.gnufolks.org/" target="_blank">blogilo</a> to this list, but found it far too buggy to reccomend, and THIS is a rewritten blogpost because blogilo ate up the previous one i wrote -_-;;;;;</li>
</ul>
Other applications I included in my setup are, Skype,<a href="http://www.soulseekqt.net/news/" target="_blank"> SoulSeek</a>, GIMP, and <a href="http://rg3.github.com/youtube-dl/" target="_blank">youtube-dl</a>. Soulseek is a p2p sharing application mostly for music, gimp for editing images quickly for posts, Skype for communication, and youtube-dl because I prefer saving videos in HD format to watch later on my television.<br />
<br />
Upon using my machine for a couple days, I found out from a source on fedora IRC that Google has newly redesigned their repo setup apparently and everytime i attempted to call yum, i would get the following error:<br />
<br />
<blockquote class="tr_bq">
<pre>#Loaded plugins: langpacks, presto, refresh-packagekit, tidy-cache
#http://dl.google.com/linux/rpm/stable/x86_64/repodata/repomd.xml:
[Errno 14] HTTP Error 404 - Not Found : http://dl.google.com/linux/
rpm/stable/x86_64/repodata/repomd.xml
#Trying other mirror.
#Error: failure: repodata/repomd.xml from Google: [Errno 256] No more
mirrors to try.</pre>
</blockquote>
I found a temporary work around for this problem, but would like to get the machine working back without the additional command. To get by this error if one runs into it, just disable the repo thats currently giving you trouble. For instance Google is giving me an error right now, so to get by i run the following with my yum command: <br />
<blockquote class="tr_bq">
yum [option] --disablerepo=Google[or other problematic repo] [package name]</blockquote>
My final note is how to Install Flash on your Fedora 17 Machine. People have been asking me, and I constantly have to remind myself, so I will add it below for any heads curious or need a quick reminder!<br />
<br />
<blockquote class="tr_bq">
rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm<br /> rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux<br /> yum check-update<br /> yum install flash-plugin nspluginwrapper als-plugins-pulseaudio libcurl<br /> yum install flash-plugin nspluginwrapper alsa-plugins-pulseaudio libcurl </blockquote>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7383208738069300608.post-58937060719282211662012-09-09T12:55:00.003-07:002012-09-09T13:11:01.440-07:00Greetings And Salutations<span style="font-size: large;">Greetings and Salutations!</span><br />
<span style="font-size: small;">My name is Ahmad Taychouri [020939096] and am currently in my Final Semester Seneca College for Computer Systems Technology. I am excited to be taking the SBR600 course with Chris Tyler and Raymond Chan. I hope to see a future in Linux development and be apart of a future big release!</span><br />
<br />
<span style="font-size: small;">I have looked into Raspberry Pi and am highly interested in acquiring one for a home media centre. I am thinking of using XBMC to run the media software and sharing needs. It's phenomenal how small and powerful technology has come, and its amazing that I have the opportunity to help make it better. I can see this piece of software evolving more and being a base model for lots of gadgets to come.</span><br />
<br />
In this Blog I hope to document all my progress within my project progression and course completion. I hope to continue with it afterwards as a digital diary of my Linux pilgrimage.<br />
<br />
My page: <a href="http://zenit.senecac.on.ca/wiki/index.php/User:Damha">Here!</a><br />
My Email:<a href="mailto:taychouri.ahmad@gmail.com" target="_blank">taychouri.ahmad@gmail.com</a><br />
IRC: damha @ freenode <br />
<br />
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"><tbody>
<tr><td style="text-align: center;"><a href="http://4.bp.blogspot.com/-lYmmwwhBChU/UEzztIyyjcI/AAAAAAAAAJ8/LQS01PtLwjc/s1600/irc-chat.png" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"><img border="0" height="40" src="http://4.bp.blogspot.com/-lYmmwwhBChU/UEzztIyyjcI/AAAAAAAAAJ8/LQS01PtLwjc/s640/irc-chat.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">My first IRC msg! </td></tr>
</tbody></table>
Unknownnoreply@blogger.com0