Change of address – from wordpress.com to lmpeiris.com

February 3, 2011 at 12:44 am (1, Linux News) (, , , , )

The site is in the process of moving to linux.lmpeiris.com in the hope to enable additional services than just wordpress.

All the new posts will be posted to the new blog address above; so it is recommended to visit the above site.

Possibility to redirect  lmpeiris.wordpress.com to linux.lmpeiris.com by automatic redirection is under consideration, but it comes at a financial charge. At the mean time, you may need to click the above hyperlink to visit the new site.

Cheers

Malshan Peiris (lmpeiris)

Permalink Leave a Comment

Fedora 11 – The buggiest fedora ever

July 3, 2009 at 2:58 pm (1, Linux News) (, , , , , , , )

Fedora 11 is the buggiest of the Fedora clan but it doesn’t mean it’s bad. As my opinion it’s the best Linux Distro… Most of these bugs were due to the fact that I have out-dated hardware!

My fedora 11 Gnome desktop ... Nothing new fron FC9

My fedora 11 Gnome desktop ... Nothing new fron FC9

I have mentioned why I decided to upgrade from fedora 9 to 11 in my previous blog article. So here I’m almost after a week ……. wonder what happened? I was fighting the bugs which were found to be ultimate challenge and test of stamina after I started using Linux. For 3 days, I was hopeless as I was unable to see even the desktop! But problems did not end there for me… There are still some unsolved mysteries even with after upgrading bug-fixes. You should understand that I’m kind of addicted to Fedora, so whatever happens I would be using her just hoping that bug-fixes will arrive in time, and the next Fedora 12 would be somthing brilliant like Fedora 9. (Still, i think Fedora is the best as it comes with cutting-edge tech which is why actually these bugs come)

On last Saturday, after writing my previous blog, I first decided to upgrade from version 9 to 11. I saw the warnings on others who tried it, but as I have upgraded 7,8 to 9 it didn’t come new to me. So I upgraded which took 4 hours, and when restarted it shows GRUB all over the screen where GRUB should be loading. Like this:

GRUB GRUB GRUB GRUB GRUB GRUB GRUB

So I boot Fedora11 with rescue mode and typed

chroot /mnt/sysimage ‘changing root path to FC11 root

and i opened grub.conf file in /etc and it appeared good, it shows that it had identified the windows OS, and had pointed to correct paths. No problem.

The /boot/grub/device.map file was correct, which says which hard drive is sda and sdb. The file looks like this:

(hd0) /dev/sda

(hd1) /dev/sdb

Hence, (hd0,0) refers to 1st partition on 1st hard drive (ex: sda1) on the grub.conf file, (hd1,1) refers to 2nd partition on the 2nd (ex: sdb2).

So i reinstalled grub with grub-install sdb (as my linux installation was in 2nd hard drive) but didn’t work, but doing

grub-install -–force-lba sdb

did work. Error found to be something to do with the AWARD bios and grub.

So I came to the fedora 11, but upgrade has been buggy. So buggy that it crashes every time. With no choice, I decided to back-up my data and do a fresh install.

So I did the fresh-install using “use entire drive” option, and without changing any details as a beginner would do. When installation was complete, I saw “Error 22” instead of grub upon rebooting. It means that system cannot find the bootloader, which is GRUB. I looked at the files and it seemed like system has detected the drives in wrong #’s. So I did grub-install again, with –recheck and -–force-lba which didn’t work.

So I decide to install again, this time using custom settings for partitions. I used Ext3 for / partition where Ext4 was the default. This did work, finally. Finally I was able to run fedora11. The problem was that the GRUB still cannot identify Ext4 file system, and it gives errors in some systems.

So here I see the desktop, but wrong resolution. So i typed system-config-display on the terminal… but there was no such command! You do have a “Display” applet on System>Prefrences but it couldn’t even get my monitor type. So I installed system-config-display by,

yum install system-config-display

I was soon to find out that i’m becoming a yum addict. This is because programs which used to compile well on FC9, ends up on errors (C syntax errors – you can’t solve those) particularly due to version incompitabilty of GCC and Cmake etc… So a person who haven’t used yum before (me) started doing everything by it!

Upon installing mplayer – my favourite player, I found out that it crashes everytime I open a video! Damn— It did superbly on FC9! Unable to figure out why, I was shocked that even the vlc played buggy and totem too did the same! By this time I knew something was wrong with multimedia drivers — but later found out that it’s a bug of PulseAudio — and again updating didn’t help. Changing to ALSA and OSS didn’t help as they seem “deactivated” although everything I could find on these have been installed.

Anyway, I could get mplayer to run by changing the video output driver from Xvideo to opengl. But it doesn’t give the previous quality. But still up to now, i can’t hear any sound at lmms,hydrogen, audacity and record-sound.

Finally trying to print by IT degree notes I plugged in my HP P1005 laserjet. I saw an improvement than in FC9, it automatically installed driver and software for the printer! But when I sent a document to print… nothing happened.. It says “your printer may not be connected” … what the HELL? I checked the installed drivers and they were 100% correct. I guess this is a bug in new hplip 3 or cups. Still not solved. Printer did well in FC9 where I manually installed hplip 2.8.

Permalink 7 Comments

Goodbye Fedora 9

June 27, 2009 at 5:36 pm (Linux News)

I upgraded to the Fedora Core 9 Alias Sulphur distribution, more than a year ago. The one I had at that time (werewolf), was so buggy that I told some one to download the FC9, within the first week of it’s release. Everything you see in this blog, and many other up to 200 programs which were not the standard distribution of the DVD were tested on Fedora 9.

Bye Bye Sulphur

Bye Bye Sulphur

So it’s like loosing an old faithful friend to me. I learned FOSS up to this level from Fedora 9, Although I was using FC8 and FC7 before, they somewhat did not give me the feeling to experiment. And talking about fedora, it’s the best distro to experiment… bit harder than ubuntu, I know.. but that’s what pure Linux is.

Other than trying to be new, there’s some major improvements in utility programs I expect from FC11. As almost a year has passed by now, the new versions of the programs and compleately fresh programs came this year, seemed too mush to be handled by old FC9.

  1. Qt 4.3 to 4.5 – This has caused me to stop installing about 20 programs. People these days need Qt for GUI as they need coke
  2. Mono 1.9 – 2.x – C# happy people tends to right code in newest way possible to them. So until now, I was unable to install mono 2.0 !
  3. Boost libraries – Try installing some stastics programs without old versions. It gives hell.
  4. Gnome 2.26 – Always easy to do things when you have new GUI !
  5. Xulrunner – FC9 came with a beta, and it did give hell.

Other reasons are bugs:

  • Sleeping problem – FC9 system couldn’t sleep, it shuts down !
  • The authentic driver for 945GZ failed. So I used an experimental one.
  • GDM had a bug, so I can’t logout and loggin with another user, using GUI.
  • So many more

Anyway, of those 200 programs, many of them were compiled from source. So the RPM does not know about them and if the FC11 has the .rpm for those, it will overwrite the files, and this could cause problems. And above programs were compiled for kernel year ago, so I expect many programs to fail at the new OS. So I have listed all the manually installed programs, current list of RPM’s , bins and includes. This is hoe I did it.

rpm -qa >> filename ‘saves all RPM to a file

ls /usr/bin >> filename ‘saves list of binaries

ls /usr/include >> filename ‘saves list of source files

In case neede to search for something,

cat filename | grep <search string>

Ok i’m going to start it now. I hope current won’t go off.

Special thanks for Isuru Udana for providing me the FC9 DVD.

    Permalink 2 Comments

    EXT2 IFS – Handling Linux partitions in windows

    May 8, 2009 at 9:49 pm (Linux News) (, , , , , , , )

    This program is not a Linux program. It’s free (but not open source) program which runs on windows to give read-write access to the linux EXT2/EXT3 partitions by supplying drivers.

    You may think why i’m posting something “windows” in the totally Linux environment of my blog. Actually, you and all Linux people should understand, that considerable amount of people are still using windows out there. But they are turning to linux bit by bit, but some sinple things keep them not doing so; for an example, having to dedicate a partition for a linux installation. As newbies start linux searching for a different taste only, they are very unlike to loose a “windows-usable” hard drive space for an experiment! (I guess you know that windows don’t ship EXT2 drivers).

    So the simple task of EXT2IFS program is to provide those drivers required. Thus, the EXT2 can be worked as the usual NTFS system in the same way. This gives a large push towards “Go Linux”. I will stop talking here. Here’s the program below. You can download version 1.11a from this link or you can go to their homepage.

    The installation screen - I like seeing the Tux in windows!

    The installation screen - I like seeing the Tux in windows!

    And a simple thing. You are allowed to choose whether read-only or not at the installation. If you have virus swarming in your windows, without read-only they can get in to the linux drive. But don’t worry, they can’t do even a scratch damage to linux. (just make sure files are not deleted – very rare)

    My /boot partition now open to windows (warning: do not change any file in this partition. Just leave it alone!)

    My /boot partition now open to windows (warning: do not change any file in this partition. Just leave it alone!)

    May the Tux win !

    Huraah to linux!

    Permalink Leave a Comment

    The mystery of Airpress: What happened to the best wordpress desktop client?

    May 1, 2009 at 11:19 am (Linux News, Other multimedia) (, , , , , , , , , , )

    Once upon a time, there was an application called AirPress, which came out as an Adobe Integrated Runtime (AIR) app, rocking the wordpress with a storm which the wordpress bloggers haven’t experienced before…. a fully-functional desktop publishing client for wordpress. It was so advance that it can just record your web cam videos live on the blog you’re writing ! (with edition 0.3 beta – in .flv format).

    Although we have many desktop publishers today, at the time it came out (2007), there was none noticeable. And the program was still in the beta stage, running on the then AIR beta, but giving tremendous results. Look at the screenshots below, anyone really will fall in love.

    Airpress 0.3 beta screenshot (extracted from www.quickonlinetips.com)

    Airpress 0.3 beta screenshot (extracted from http://www.quickonlinetips.com)

    According to Saad Hamid (blog article) – airpress had these amazing capabilities

    • Custom / animated windows

    • Embedded database for offline read/creation of posts

    • Detection offline / online

    • File I/O API for saving FLV webcam videos record

    • ActionScript / JavaScript Script bridging to interact with the text editor made in HTML/javascript.

    • Drag and Drop Support for the media (pictures, sounds, videos, flash animations…) you want to insert in your post.

    • Network communication with the blogs via XML-RPC

    airpress blog post manager

    airpress blog post manager (extracted from http://www.sizlopedia.com)

    So why i’m digging history again? I installed AIR last week, and I found this airpress application in almost all the top 10 AIR app lists. So I decided to search and download the .air file. Every site on the search results list gave a same link http://www.airpress.org/airpress.air which actually redirected to some air (physical) utility site? (picture below) It seems like dummy meta-search engine put there just to fill the space! This was not the site in 2008!

    The new Airpress.org ! (screenshot from www.airpress.org)

    The new Airpress.org ! (screenshot from http://www.airpress.org)

    After trying many links, I came to this link http://airpress.10001downloads.com/download and so a free “external” download link below. And they say external ones are not reliable, of course coz it’s the same link above! I think they have the app, but want us to pay money for the mirror! A link for the 0.31 version is available http://software.emule.com/airpress-0-31/download.php but it did not work with my AIR 1.5 version which is strange.

    A more interesting thing, in almost every blog post on airpress, you can find this comment about a similar program bookmash —— “A new application named Bookmash has been created with the functionnalities of Airpress and a lot of others functionnalities like mp3, video, picture search and download… Try it!” —– and same exact thing in different commenter name! But this program http://www.bookmash.com sucks, and have no capability as airpress! The same comment appeared on all these blogs below: (and many more)

    http://air.flash-ripper.com/archives/001877.php

    http://www.quickonlinetips.com/archives/2007/09/airpress-blogging-client-powered-by-adobe-air/

    http://blog.bittube.com/2007/09/26/airpress-desktop-video-blogging-comes-to-wordpress-thanks-to-adobe-air/

    http://www.sizlopedia.com/2007/09/29/airpress-desktop-blogging-client-powered-by-adobe-air/

    http://nisheet.wordpress.com/2007/09/27/airpress-blogging-on-wordpress/

    I feel something fishy in all this. Anyway, i’m not a good investigator, I just gave the facts here. People who are good at it please dig!

    Finally saying, i’m yet to try airpress because I can’t find it anywhere in the net or torrents. Any possible down links are welcome!

    For people who don’t know about AIR platform — it’s an interpreter like java, which is machine independent. The core is based on adobe’s technologies such as acrobat, flash, flex,shockwave and non-adobe action script and ajax. So simply, AIR applications can do what these programs do easily, and the code is easier than java.

    get it here: http://get.adobe.com/air/

    some interesting apps: http://tnerd.com/2007/10/02/best-applications-adobe-air-top/

    Permalink 7 Comments