Archive for the ‘My Linux Journey’ Category

Installing RocketRaid 2220 On Ubuntu Server 7.1

December 29th, 2008

This is my choice of installation, because I’m familiar with the kernel change process, you are free to do any of the others.

[FROM THE README]

#############################################################################
3. Using the driver as a kernel patch
#############################################################################

You must have a full kernel source tree to use the driver as a patch.
To patch a kernel source tree, run the command

# cd rr222x-linux-src-1.xx/product/rr2220/linux/
# make patchkernel KERNELDIR=

For an unconfigured 2.6 kernel source tree, include/linux/version.h may
not exist so you should add “KERNEL_VER=2.6″ to the command:

# make patchkernel KERNELDIR= KERNEL_VER=2.6

Then you can configure the driver into kernel during the kernel
configuration process (e.g. “make menuconfig”). It is listed under
scsi low level drivers.

Below is an example to make and install a kernel with the driver built-in:

# cd /usr/src/linux-2.6.22
# make menuconfig

Select “Device Drivers —>” and press enter.
Select “SCSI device support”, then press ‘Y’ to make it built-in.
Select “SCSI disk support” then press ‘Y’ to make it build-in.
Select “SCSI low-level drivers —>” and press enter.
Select “HighPoint RocketRAID 2220 support” and press ‘Y’.
Exit and save the kernel configuration.

# make
# make modules_install
# make install

Then you can reboot from the new kernel.

I actually don’t own this server anymore, but I figured I’d post this from the drafts section.

Good luck and Cheers.

Quadrowulf Page is Live!

August 28th, 2008

I’ve finally compiled it from Word — word is so lame.

On my own codes I got a 3x speed improvement. — neat!

Anyway — CHECK IT OUT!! The link is up at the top.

GO HERE –>>>>>>>>>>>> http://www.humanumbrella.com/quadrowulf/

Quadrowulf Custom Beowulf Cluster TEASER

August 4th, 2008
weeeeeeeeee

weeeeeeeeee

Niiiiiice linux question/answer

January 14th, 2008

So, I was looking how to reload my .bashrc to update the aliases I had just created and I stumbled upon this great resource:

I will probably add a lot of these to my page in case this ever goes down.

Anyway, here it is: http://www.ftlinuxcourse.com/FTLinuxCourse_Complete-2004/FTLinuxCourse/en/sysadm/appendix_p.html

Linux: device manager corollary

December 26th, 2007

In Ubuntu, my distribution, run:

sudo lshw

This is quite a long command for some of us, so if you’d like to put it in a file and then look at it after it’s already ran, do:

sudo lshw >> myfile.txt

Make Menuconfig / XConfig Error

December 26th, 2007

First you need make:

sudo apt-get install make

Then you try make menuconfig or make xconfig and you get this:
/usr/src/linux# make menuconfig
HOSTCC scripts/basic/fixdep
/bin/sh: line 1: gcc: command not found
make[1]: *** [scripts/basic/fixdep] Error 127
make: *** [scripts_basic] Error 2

» More: Make Menuconfig / XConfig Error

Kernel Location Ubuntu 7.1

December 26th, 2007

Kernel’s aren’t included by default in Ubuntu, but you can grab them easily with the following command:

sudo apt-get install linux-source

This will grab the most recent kernel release and put it in /usr/src, which is the default location.

Knock on Wood!

December 26th, 2007

I think I got it!

I completely disassembled pwroftwo all the way down to the last screw.  I set the motherboard up on my desk with just it, the CPU’s, the Video Card, RAM, and power.  Surprisingly — it didn’t cut off!  It ran smoothly for 20 minutes with my old power supply! Crazy, I know.

Anyways, I’ve built it back piece by piece trying to make sure there are no shorts anywhere, etc.

I’ve reinstalled Linux on it because one of the times it shut off it messed up the partition, so that went well, and I’m now about to try to install the RocketRaid drivers for my PCI-X card and then subsequently get my 2TB Raid Array up and running.

Actually.. before I do all that I’m going to let it run overnight  — Let’s hope it’s still running in the morning.

How to download a remote file in php and then save it

December 8th, 2007

So, I found a site with all the lolcat images named cat1.jpg, cat2.jpg, cat3.jpg, etc. I wanted to know how many were there as I saw cat389.jpg. As it turns out, it’s only 390, so that’s all I need to know.

So, I decided to write a little PHP script to grab all the images. First, I set up a loop to do this, from 1-390. which is done like
» More: How to download a remote file in php and then save it