≡ Menu

kernel

This is the dumbest article ever.

Would the internet as we know it exist without Linux? Absolutely not. Where Linux shines the most is in its server applications - no question, says Rich Menga:

Linux was literally the only OS out there that had the right price (free), ran similar to a Unix and could use existing computers of the time to connect customers. Anything else would break the bank way too easily. What would you have used that you could afford? Netware? Lotus Domino? HP-UX (that requires those refrigerator-sized HP servers)? I don't think so.

This is really bold claim but the Internet would certainly exist without Linux. UNIX and the Internet go together. Linux is successful because of the Internet and small group of hackers connected via the Internet. Berkeley Software Distribution (*BSD) is the Unix operating system derivative developed and distributed by the Computer Systems Research Group of the University of California, Berkeley, from 1977 to 1995. Also, most major ISPs and enterprises powered by commercial proprietor platforms such as Cisco. Just look at early successful web applications and companies such as Hotmail, Yahoo, Sony,Amazon and many others. What OS are they using at the time of starup?

Linux is a base platform; you need Perl, PHP, MySQL, Python, MTA and many other open source apps to make it work. Technically, Linux is kernel not even OS. Linux distribution is complete OS. If Linux was not around, Sun, *BSD and other UNIX like oses may have acted as internet servers, period.

Is The Linux Community Afraid of Opensolaris?

It's about time someone wrote this article:

I know the headline is a little bit provoking. But when you think about some comments from Linux proponents you could think so.

This is an interesting development. In the years before, there wasn't such comments. Solaris was considered as a dead end. But then the game changed. We open-sourced Solaris. The full monty over the time. We open-sourced the cluster framework. And we won´t stop to open source further code until there is no more code to open-source. BTW: I find "Sun should contribute more" really interesting. In the moment you start up your text processor on your favourite Linux distribution you've gone through more code contributed by Sun than of anybody else. You´ve already traversed a large amount of code contributed by Sun when you just login into GNOME. This is a fact most people tend to ignore.

Is the Linux community afraid of Opensolaris? [c0t0d0s0.eu]

Linus Torvalds Blog

Linus is best known for Linux kernel and still active Kernel maintainer started blogging. So if you're interested more about Linus and his life read Linus Torvalds's blog here.

Update: Check out the e-mail exchange between network world and Linus about his blog and other stuff.

Latest version of Linux kernel does support the Intel Core i7 (Nehalem) processors. Nehalem (microarchitecture), developed by Intel Corporation, successor to the Intel Core microarchitecture. Nehalem is the largest change in Intel's system architecture since the introduction of the Pentium Pro. Nehalem is highly scalable with different components for different tasks.
[click to continue…]

It appears that latest php version 5.1.6-20.el5_2.1 under RHEL / CentOS Linux v5.2 has made some major changes. As a result choort jail setup using previous instructions no longer works.

PHP is crashing with segmentation fault errors. So I had to trace php errors using strace command. After spending couple of hours I found solution for following errors:

Sep 15 03:26:59 lightyproxy kernel: php-cgi[19106]: segfault at 0000003151c1b4b8 rip 0000003151e98477 rsp 00007fff9ecdde20 error 6
Sep 15 03:26:59 lightyproxy kernel: php-cgi[19107]: segfault at 0000003151c1b4b8 rip 0000003151e98477 rsp 00007fff9ecdde20 error 6
Sep 15 03:26:59 lightyproxy kernel: php-cgi[19108]: segfault at 0000003151c1b4b8 rip 0000003151e98477 rsp 00007fff9ecdde20 error 6
Sep 15 03:26:59 lightyproxy kernel: php-cgi[19110]: segfault at 0000003151c1b4b8 rip 0000003151e98477 rsp 00007fff9ecdde20 error 6
WARNING! These examples / workaround is only for RHEL / CentOS 5.2 and not for Debian / Ubuntu / FreeBSD lighttpd chroot instructions.

You need to copy entire /etc/ and /usr/share/zoneinfo/ to jail. If your jail is located at /jail directory enter following commands:
# service lighttpd stop
# D=/path/to/chroot/jail
# mkdir /root/jail.etc
# /bin/cp -avr $D/etc/* /root/jail.etc
# /bin/cp -avr /etc/* $D/etc/

Copy back original customized files such as passwd, group, php.ini :
# cp -avr /root/jail.etc/* $D/etc/
Now copy /usr/share/zoneinfo/:
# cd $D/usr/share
# cp -avr /usr/share/zoneinfo/ .

Copy all latest php-cgi and all extensions to $D
# cd $D/usr/bin
# cp /usr/bin/php-cgi .
# l2chroot php-cgi

Copy php modules (for 64 bit use $D/usr/lib64):
# cd $D/usr/lib/
# cp -avr /usr/lib/php/ .
# cd php/modules
# for l in *.so; do l2chroot $l; done

Start lighttpd:
# service lighttpd start
This should fix all errors. Watch /var/log/messages for php errors:
# tail -f /var/log/messages

Sun Solaris on its Deathbed – Claims Jim Zemlin

Jim Zemlin is executive director of the Linux Foundation claims Solaris UNIX is irrelevant and Linux is future. From the article:

Linux is enjoying growth, with a contingent of devotees too large to be called a cult following at this point. Solaris, meanwhile, has thrived as a longstanding, primary Unix platform geared to enterprises.

Sun officials believe the 16-year-old Solaris platform remains a pivotal, innovative platform. But at the Linux Foundation, there is a no-conciliatory stance; the attitude there is to tell Solaris and Sun to move out of the way. "The future is Linux and Microsoft Windows," says foundation Executive Director Jim Zemlin. "It is not Unix or Solaris."

Is Sun Solaris on its deathbed?

Sure Linux has great value but Solaris has its own market share. They make great OS with good features such as DTrace, ZFS and many more. Many government and defense project selects Solaris for Database and many mission critical applications, while Linux used for Web, mail and proxy services.

What do you think?

Install Linux on Fujitsu Siemens ESPRIMO E5720

I was trying to install Redhat ( RHEL 5) / CentOS 5 server on a Fujitsu Siemens ESPRIMO E5720 and got problem with the installer.

The base resolution for CentOS / RHEL Linux 5 is 800x600x32, which requires 2MB video memory. In order to boot or install Linux on the Fujitsu Siemens ESPRIMO E5720, set the reserved amount of video RAM to 8MB in BIOS.

You also need to add pci=nommconf parameter to grub.conf boot option file. While installing Linux on Fujitsu Siemens ESPRIMO E5720, you need to type the following at a boot prompt (excluding boot: word itself):
boot: linux pci=nommconf
Once server is installed, edit /etc/grub.conf or /boot/grub/grub.conf and append pci=nommconf at the end of kernel line:

title Red Hat Enterprise Linux Server (2.6.18-128.el5)
	root (hd0,0)
	kernel /vmlinuz-2.6.18-128.el5 ro root=LABEL=/ console=tty0 console=ttyS1,19200n8 pci=nommconf
	initrd /initrd-2.6.18-128.el5.img