Archive

Archive for the ‘Article’ Category

Port Serie Saison I

April 24th, 2010 Dominique Derrier No comments

db9_pinoutsEt ben, voila j’ai perdu un écran sur la machine qui me sert de routeur. Sans clavier ni écran le diagnostique n’est pas facile en cas d’erreur. Mais heureusement le mode console est là. Je ne sais pas depuis combien de temps cela existe dans le kernel, mais je pense que cela ne doit pas être loin des origines.

Read more…

Categories: Article, Tip Tags: , , , , ,

Générateur de Fla$h Swftools

December 29th, 2009 Dominique Derrier No comments

Dans la série je ne sais pas quoi faire le jour de nöel, j’ai testé pour vous swftools.
C’est un outil GPL (opensource) qui permet de faire des fichiers flash en décrivant chaque Keyframe, le logiciel permet de compiler le fichier et de générer l’animation Flash.

Bref c’est un petit utilitaire en mode texte qui peut faire quelques animations sympathiques pour vos cartes de voeux… et donner un peu de vie à un message en  mode texte.
Bonne Année 2010 à tous.
Read more…

Categories: Article, Tip Tags: , ,

White House goes Open Source

October 28th, 2009 avinash 2 comments

20091028-whitehouse-drupal

Whitehouse.gov is now powered by Drupal, an Open Source Software.

Interestingly, the Department of Defense of the USA has released a memo where it is said that “it is required to conduct market research… [and] include OSS [in the research] when it may meet mission needs.”

It’s official. World Domination is coming.

FreeBSD8.0rc1 “run_interrupt_driven_hooks”

September 24th, 2009 Selven 4 comments

As soon as FreeBSD8.0rc1 came out (some hours after being uploaded) i wanted to try it out on my new work laptop (HP DV6 1160ei), surprised and sad i was to find that the installer itself couldn’t proceed further…i got bumped with this error:

lots of stuffs after the bootloader….
:
:
:
uhub7: 8 ports with 8 removable, self powered
ugen7.2: at usbus7
ugen4.2: at usbus4
ugen5.2: at usbus5
run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 240 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config

stalls here and freezes forever. Which means your installation cannot proceed further.

Seems the problem is related to the firewire support, this problem has been here since FreeBSD7.2,
it seems to affect mostly gigabyte and asus mainboards (others plz do comfirm??). Seems the systems tries to query for firewire storage devices and then is stucked at that point..

The easy fix to this is to just go into your BIOS and disable firewire device and install your FreeBSD leisurely….

but but but… poor me, i just got a damned new HP Pavillon DV6 sexy lookin laptop which doesn’t have any advanced BIOS settings to disable firewire .
I definitely couldn’t be vulgar and just open that up and take out the firewire port :p that would be gross… specially since the laptop isn’t my property.

So my my my, i had to find a way out of this, googling around, it seems there’s no fix for that, since most are lucky enough to have disable firewire in their bios itself,
unless i was crazy and maso to dare run winxp or win vista on my laptop [thoughts of which were so disturbing that i dared not use that laptop and was even thinking of returning it back.

since the install iso itself boots a freebsd kernel, i believed for a temporary solution i could disable firewire via device hints in that loader console,
unfortunately, it didn't seem to work
.... so i did what most people would have done since they have the source and the ability to do anything with it... i played with it :p

i found a solution :p remove firewire support in the iso :p.. all the ways i don't use that, if ever am gonna use that later on, once i've got freeBSD installed, i can think of it later and get it to work later on :p.

So... till i find the bug and correct it in the source itself or till someone else does it, i've managed to get the installer to work...

here's how:

Requirements:

  • Download the dvd iso image of FreeBSD 8.0 Rc1.
  • You need a FreeBSD8.0Rc1 installed somewhere [I installed one on a VM (since i didn't wanna break existing installation)]

(ps. it can be a minimal installation, since you don’t need desktop or anything in this temporary setup, you just need it to recompile that kernel in the installation cd :p)
10 GB of space minimum

What to do?

  • log in as root (who cares its a vm machine and you are going to break it all the ways)
  • Extract the contents of the iso in a folder somewhere in a directory somewhere in your FreeBSD8.0rc1 [temporary installation] on the vm.

a vm with freebsd for the compilation

(since i had already burnt it on a dvd, i just copied the contents of the dvd in a folder called /usr/disk1)

  • use sysintall to install the release source and the kernel sources. (configure>distributions>src> sys and release).
  • configure your kernel so as you don’t include firewire devices:
  • cd /usr/src/sys/i386/conf (change i386 to your architecture)
  • cp GENERIC SELVENKERNEL
  • nano SELVENKERNEL (or vi or ee or whatever editor you like) (comment out the firewire related modules [among the last lines)
  • make buildkernel KERNCONF=SELVENKERNEL
  • make installkernel KERNCONF=SELVENKERNEL

that’s it, you have already completed most of the work, go to your /usr/disk1 directory [where the dvd iso contents were copied earlier remove the kernel folder in its boot directory and replaced with your new kernel). do like this:

  • rm -rf /usr/disk1/boot/kernel
  • cp -R /boot/kernel /usr/disk1/boot/kernel

great we are almost done… (ps. if you want you can set splash images also :p)

anywayz, you should then use mkisoimages to build your new dvd iso….

  • sh /usr/src/release/i386/mkisoimages.sh -b FreeBSD8 /isowork/myrelease.iso /usr/disk1

where -b FreeBSD8 can be anything you want, /isowork is just a directory i have made to keep the final iso, and /usr/disk1 is the contents which you want to have in your iso :p.

If ever it complains about some rr_moved error or something simmillar, please do delete the directory named rr_moved from your /usr/disk1 directory

  • rm -rf /usr/disk1/rr_moved

so relaunch your mkisoimages if ever it failed with the rr_moved :p.

after its done… you shall have a nice iso in your destination directory /isowork :p (or your directory you chose)

  • you can use cdrecord to burn the iso to a dvd :p

Though, being lazy, i just scp’ed it to my other computers, went to sleep, woke up in the morning and burnt it :)

:p I tried to launch the install from that DVD … now it works! yupeee, finally i’ll be able to use that laptop.

Hope this helped out those poor souls out their who wanted to have their Favourite OS on their HP Pavillon DV6 :p

EDIT: Additional stuffs, once installed your new system shall be unbootable, you should boot from the installation dvd, start a shell there, mount the partition and cp -R /mnt2/boot/kernel to your new /boot directory in your harddisk (after mounting it somewhere).

Also, if you are using gnome please add these in /etc/rc.conf

moused_enable=”YES”
hald_enable=”YES”
dbus_enable=”YES”

ps. actually i wanted to try out 8.0 rc1 in the hope that i might catch a bug and hoped to find a fix and hopefully contribute back to the community.. lol .. that one was unexpected!

pps. plz ignore gramatical errors, typed this in nano, and refrain from starting OS flamewars since its tiring to reply to those :p

ppps. To save you the trouble i can upload the iso image, lemme know.

pppps. Am not responsible if you blow up your computer or whatever :p. My sincere apologies in case of errors.

+selven
pcthegreat A_T gmail /  sch@csis.dk

Categories: Article, FreeBSD, QuickHack Tags:

Linux Mint 7 Gloria

August 22nd, 2009 avinash 6 comments

20090822-linux-mint

I have been using Linux for ten years now and like most of you I like to try different distributions. A few months ago I discovered Linux Mint while browsing on DistroWatch. I was surprised to see that Linux Mint was really popular (I think it was 4th at that time) and just now it’s the 3rd most popular Linux distribution…

Linux Mint, which is at version 7 now, is based on Ubuntu which itself is built on Debian. So we’re in excellent company here.

These are the things in Linux Mint that I really like:

  • Linux Mint contain codecs for most of the media files (audio / video) found on the Internet out of the box.
  • The user interface is gorgeous and really feels like something that has been designed by someone who really knows about user interaction. For example, Mint has a menu (pictured above) which contains selected applications (favourites) and which is 100% customisable. It’s much better (IMHO) than the default Gnome menu.
  • There is an application which shows all software available in Linux Mint with screenshots. What is great is that this list can be sorted by popularity. It’s a great way to discover open source applications which are used by a lot of people and which you don’t personally know about.
  • Compiz (as well as the proprietary Nvidia driver in my case) is preinstalled and is sensibly configured: not a lot of eye candy but, instead, a pragmatic choice of settings to make Gnome more usable.
  • aptitude! I love anything .deb-based.

I’m really impressed by Linux Mint. This is the only distribution I use at home. At work I use CentOS Linux because, well, it is great for a business environment. But I might replace CentOS on my own computer there with Linux Mint. Just don’t tell anyone.

Grub 2

August 9th, 2009 Dominique Derrier 7 comments

Dans la série je ne sais pas quoi faire le week-end, j’ai testé pour vous Grub2. Pour ceux qui ne savent pas, c’est le petit soft qui permet de démarrer votre machine, le mystérieux boot loader qui n’a rien d’effrayant. La version 2 permet d’avoir quelques fonctions gadgets histoire d’épater vos amis.

Read more…

Categories: Article, Tip Tags: ,

What do you think of Google Chrome OS?

July 9th, 2009 avinash 6 comments

20090709-google-chrome

Two days ago, Google announced the Google Chrome OS (Operating System) project.

Google Chrome OS can be seen as Linux with a special window manager to only allow one application: the Google Chrome web browser. In essence, a computer running Google Chrome OS will only have one application, a web browser. This means that the user will only use web-based applications presumably (but not forcibly) from Google (e.g. Gmail, Google Docs, etc.)

Google will initially launch this OS on netbooks (those ultra small laptops with small screens.) Netbooks account for only a few % of the market and most people use them for browsing only so this seems a sensible strategy (it would have been stupid to launch the OS on full-fledged PCs as people would have immediately requested for “Photoshop on the web”.)

Our friend, Fake Steve, is adamant that building Google Chrome OS is not a good stategy for Google. In my opinion, he is correct when he questions the business logic of Google. You see, Chrome OS is going to be free (like most Linux distributions), has one good browser (like most Linux distributions), with good support for Google apps (like most Linux distribuions) but is going to be costly to build for Google (unlike most Linux distributions which exist already.) So why build yet another Linux distribution (which is what Google Chrome OS is in essence…) Why don’t Google use something which exists already?

What do you think?

Categories: Article Tags: , , , , ,

Google: Let’s make the web faster

June 30th, 2009 Dominique Derrier 1 comment

20090630-google
Google lance une consultation sur les moyens d’accélérer l’internet basée sur 4 axes:

Broadband Access (Le petit problème de Maurice…)
Browser Technologies (Les petites astuces du renard en feu)
Internet Protocols (Revoir un peu les bons vieux HTTP/TCP/…)
Webmaster Tools (Concilier le beau et le rapide, Flash/…)
Other Ideas (Tout ce qui peut apporter une contribution).

N’hésitez pas à poster vos idées !
http://moderator.appspot.com/#16/e=79951
Read more…

The Sony Bravia LCD TVs run Linux

June 23rd, 2009 avinash 4 comments

20090623-sony-bravia

How many of you would like to get an LCD TV for Christmas? A lot, I bet. How many of you know that the Sony Bravia LCD TVs are powered by Linux? A lot fewer, I guess.

LCD TVs have a lot of pixels. When displaying a normal-resolution programme (say from the MBC), the TV must use extremely complex image processing algorithms to generate the missing pixels. For example:

  • SECAM @ 720 x 576 = 414,720 pixels every 1/25 of a second (I’m simplifying…)
  • HDTV @ 1920 x 1080 = 2,073,600 pixels every 1/25 of a second

So the TV must digitally create 5 times as many pixels as in the original frame 25 times per second. As you can easily guess, this requires a lot of horsepower hence the use of a powerful computer inside the TV. Sony has chosen Linux to power that computer (specifically Linux kernel 2.6.11)

For the more curious, have a look at http://products.sel.sony.com/opensource/source_tv.shtml

Hier j’ai compilé mon OS

June 16th, 2009 Dominique Derrier 3 comments

Les distributions pourraient se disposer sur les rayons des supermarchés tellement elles sont nombreuses. On en trouve pour tous les gouts et toutes les couleurs.

Gentoo Distrib

Gentoo Distrib


D’une classique Ubuntu, installable les yeux fermés à une LFS qui nécessite de faire un peu d’assembleur avant de démarrer. Pour ma part je pense que Gentoo propose une bonne alternative pour les Geeks en mal de pouvoir de compilation avec des ordinateurs toujours plus puissants.
Mais pourquoi se priver du plaisir de la compilation !
Read more…

Categories: Article Tags: , ,