Pages

Wednesday, September 5, 2012

GUI developed for B's sudoku

     Earlier in the previous month I have written a post about simple brute algorithm for sudoku. Even that was a working one, using that will be little tedious. Because you have to enter elements one by one. And if it went wrong somewhere, you have to start from the beginning. So I made a gui for that. It is a fully functional implementation. But it is not up to the level of a commercial application.

     Download the application here. Or download the source here and build it yourself.

Custom Kernel with CentOS

     Custom kernel in CentoOS is highly unrecommended by the CentOS team. I don't know the reason. They may want you to rely on them all the day or may be because of some security issues. But Linux is not an End User Operation System. And Linux users (can be called as Hackers sometimes) don't always following rules and recommendations. Sometimes won't even read them.

     I am using CentOS-5.8, which is running Linux-2.6.18 kernel. I want to install 2.6.35 kernel in that. I downloaded the source and did make menuconfig, make and make install. Everything went well and entry has been added in /boot/grub/menu.lst. But when I was booting with that kernel, it showed an error mount: could not find filesystem like this. The solution is very simple. Just enable CONFIG_SYSFS_DEPRECATED_V2.

#make menuconfig
Set "General Setup —> enable deprecated sysfs features". Or after doing make menuconfig, open .config file and grep for CONFIG_SYSFS_DEPRECATED_V2. Then replace that line with CONFIG_SYSFS_DEPRECATED_V2=y. And now build the kernel as usual.

#make
#make modules
#make modules_install
#make install
 Reboot with the newly installed kernel.