weblog d’un abbe

20060628

BCA is over

Filed under: Personal — abbe @ 2344

BCA is finally (and informally) over yesterday. Now I don’t have to spend my weekends at my IGNOU study centre. Well, those weekends were really 0xC0000000L for me, esp. meets with Gautam @ his place. It was not only Gautam, but also my BCA mates, who were the only friends I’d since September 2003, whom I love to meet in those weekends. Now, its time to miss them and continue with hacking, coz that’s the part of LIFE. If any of my BCA friend is reading this blog, and wanna contact me, please refer to this page. Well, I’m waiting for y0u.

20060626

Gentooing…

Filed under: Experiences — abbe @ 0157

Last night, I was very much excited about installing Gentoo Linux on my box, as I just freed a 11 GiB on my Seagate ST320413A HDD. So, I downloaded Gentoo Linux Install CD ISO from Prozilla not Bittorent. And then followed the instructions on how to install it from HDD. The installation was quite easy and very well-documented. And good for anyone who wants to try Linux From Scratch. So after downloading and installing the base system, I updated my Portage tree. It took around 2-3 hours to sync on a 128 Kbps connection. After that I download and built a Linux kernel 2.6.16-gentoo-r9, which took around 1 hr. to download and 20-25 minutes to build on my Pentium 4 630 with 1024 MiB DDR2 RAM. After this I downloaded and installed GCC 4.1.1 (which includes downloading and building glibc 2.4 also), which took another 3.5 hours. And after this I started building X11R7.1 (or Xorg 7.1), (around 6:00 PM IST) and it is finished around 10:30 PM, and that too I killed the build explicitly coz it is downloading some more big packages.

So, after building and downloading whole day, I’m confused whether to keep this distro or not, or just install another distro like Debian GNU/Linux or Debian GNU/kFreeBSD. But anyways, this experience is very 0xC000000000000000L and will be 0xC0000000000000000000000000000000L if I’ve a high speed internet connection. But anyways, If you want to learn Linux from scratch, install Gentoo Linux, it will just teach you how to build Linux from Scratch. BtW, Linux From Scratch is recommended, if you wanted to be generic.

Happy emerging… ;-)

20060618

Solarising…

Filed under: Experiences — abbe @ 1203

Now, it was turn of OpenSolaris. Instead of downloading OpenSolaris from OpenSolaris.org, I preferred Nexenta OS ( a GNU/OpenSolaris system ) distribution. I downloaded the install cd, but unfortunately OpenSolaris installer is not able to detect my CD-ROM drive, so this experience didn’t go far and ends here :-( .

But I’ll try it again and again, till I succeed :)

20060616

Found a lost school friend

Filed under: Personal — abbe @ 2343

Thanks to Orkut, Today I’ve found another lost school friend whom I last met on 1st April, 2002, on my Computer Science examination of XII class. It was a memorable day, because that day he reminded me of one of the earliest lessons I learnt in my school life, that always walk on the left side of the road. Now, whenever I walk on the road I still remember him. :)

20060615

200 OK G0D started blogging…

Filed under: Personal — abbe @ 2253

One of my daily routines on Internet since 21st May, 2006 is to send a HTTP GET request to http://gautamrenjen.blogspot.com and receive a HTTP 404. But today, an unexpected thing (which I’m expecting since a long time) happened.

I recieved a HTTP 200, yippee… :-). G0D aka Gautam started blogging…..

20060609

Single Dual Core CPU and Dual Single Core CPUs

Filed under: C0D, Research — abbe @ 0146

Well, yesterday I was thinking whether dual core CPUs are better or dual single core CPUs are better ? I’m thinking from the Intel‘s perspective, since I’ve only Intel stuff, though its my dream to try out other manufacturer’s hardware also ;-). So then I called Gautam, and like me he also suggested that dual single core CPUs perform better than single dual core CPU. Why, I’m thinking so because dual core CPUs just have two execution engines ( as compared to, two architectural states on top of single execution engine in case of hyper-threading technology ), but share the same FSB, so if two cores are executing tasks which require memory (not present in CPU caches), which means both cores require simultaneous memory access, and is not possible, so one core has to stall.

Anyways, I posted this to comp.arch Usenet newsgroup, and there somebody reminded me that AMD has also gone Multicore. Then I came to know about HyperTransport, and its NUMA kind of technology.

From the discussion, I’d there I concluded that Dual Core CPUs should be preferred in HyperTransport based systems, and in Shared FSB based systems Dual Single Core CPUs should be preferred. You can read that discussion for more information.

Thanks to Mayank, I got introduced to 2 new terms: CMP, and SMT.

20060608

I’m an Internet Troll

Filed under: Personal — abbe @ 0209

I’m an internet troll, as pointed out by some members of #ubuntu-in IRC channel at irc.freenode.net. I didn’t know meaning of Troll earlier so just pointed out by a member to http://en.wikipedia.org/wiki/Internet_Troll . From there, I’d visited Kevin Klerck, and Brandon Vedas pages. I’m quite depressed with the death of these guys but Kevin Klerck is a bit impressive t00. So tons of thanks to uvynbojbd for that link.

But anyways, no more Internet trolling ⇒ no more #ubuntu-ining, so good bye #ubuntu-in forever ;-).

Post Script. Few weeks back I was banned on this channel, for some reasons which I was not aware of :-( .

Playing wih GNU/kFreeBSD

Filed under: Experiences, Hacking — Tags: , , — abbe @ 0125

Well, few days back I came to know that GNU system can also be ran over FreeBSD kernel, and there is already a distribution for this, Debian GNU/kFreeBSD. The difference between this GNU/kFreeBSD and FreeBSD available from FreeBSD.org is that former has glibc runtime whereas later has libc6 runtime, that’s the basic difference. The filesystem hierarchy is also similar to the GNU/Linux system.

I downloaded a ISO for AMD64 architecture and installed it. Oops I don’t have a CD burner, so I have to hack a little bit. As I already has a FreeBSD 6.1 (AMD64) running, so I just booted into that OS. So just marked my free primary partition as a FreeBSD partition, created a label of 110 MiB and then extracted the CD ISO into that partition. And finally restarted the system. As, I’ve GRUB, so I’ve to press ESC quickly in order to defer booting from menu. And then another ESC to reach console. And then executed following commands.

> root (hd0,0,a)

/* Installed in 0th label of 0th partition of 0th hard disk */

> kernel /boot/loader

/* Set path to the kernel */

> boot

/* B00T */

And then installation screen came up, and followed instructions as given in this document with another hack. As, I don’t have any GNU/kFreeBSD CD-ROM Disc to install, I’ve to install from the hard disk. So instead of directly going to Install Option, I’ve chosen Repair/FixIt option, and then started a shell from Live FS hosted on my FreeBSD 6.0 disc. So in the FixIt shell I did this:

FixIt# mkdir /setupmnt

/* Create a mountpoint for mounting installation source */

FixIt# mount -o ro /dev/ad4s1a /setupmnt

/* And, then read-only mount ( since I don't need any write access to the source ) the installation source "/dev/ad4s1a" on "/setupmnt" mountpoint*/

FixIt# exit

/* back to installation */

After this, I opted for Custom Install option, where I’d chosen media as filesystem, and located /setupmnt/base (there lives the base system package). And then selected only base package for installation. The installation didn’t finished properly, I’ve forgotten why. But anyways, I restarted the FixIt shell, and found that new / is active, so tried running ./native-install which will configure my system. After the configuration is over, I exited from the FixIt shell, and restarted.

And now again on the GRUB console, I’d to change my root from (hd0,0,a) to (hd0,0,b) (my new root), and then booted into my new GNU/kFreeBSD. :-)

Now, to proceed further, I logged in with root user and did apt-get update to update package information. And then initially download these packages (without signature check): lynx (my favorite web-browser), irssi (my favorite IRC client), less (my favorite PAGER), file (my favorite file-type viewer). And then imported GPG keys of the package providers into my APT keyring. After 14 hours, I removed this system from my box. Not because it has some bugs or problem but because I have 128 Kbps connection and I don’t want to install it over that. But if I’ll have faster connection, I’ll definitely install this. :-)

BTW, while writing this blog entry, I came across a linux distro named GoboLinux (oops available for IA-32 architecture :-( ). It has different filesystem hierarchy than GNU/Linux or FreeBSD, similar to Apple MacOS X.

Thanks to wobin_ on #gnu-kbsd IRC channel on irc.freenode.net. wobin_ has hosted a website on his GNU/kFreeBSD server accessible at this URL: http://eddy.introweb.nl/.

20060602

cap

Filed under: Hacking — abbe @ 2004

I’ve just finished uploading cap, my experiment with V4L2 and Xlib. You can download the project from http://www.geocities.com/wah_java_dotnet/cap/index.html.

The code is a bit buggy, that it doesn’t cleanup properly. But it will be fixed soon when I’m a bit free, as today is my exam.

20060601

metacity sucks, kwin sucks

Filed under: Hacking — abbe @ 0220

Few days back I discovered this bug while learning Xlib. It makes these popular WMs non-reliable. More details are available here.

Create a free website or blog at WordPress.com.