Quick Howto:
Download the package fromhttp://www.lsi.com/storage_home/products_home/internal_raid/megaraid_sata/megaraid_sata_3008x/index.html
Extract on another machine, and take the megarc binary file out of it.
Put the megarc binary on a share on the FreeNas box
Enable ssh and root access
Log on as root on the FreeNas box
Go to the location where you put the megarc binary
Run
./megarc -SilenceAlarm -a0
Where -a0 denotes the adapter number
Silence!!!!
Archive for the ‘Uncategorized’ Category
silencing a LSI Raid controller in FreeNas
Wednesday, June 2nd, 2010VMWare Server weird behaviour
Tuesday, October 27th, 2009I’m in the middle of migrating my VMWare Server machine to lower-power hardware, after one of the disks in the old machine has been giving me lots of filesystem troubles lately.
Now, I installed an MSI AMD AM3 socket based board with a single dual core X2 240 (which has a TDP of 65W)on it, and 2GB DDR3 for starters (will be upgraded to 4GB or more afterwards), instead of the old Intel Pentium D930 which has a TDP of 95W. Added that I’m using the Western Digital Green Power drives now, that lowers the power requirements even further…
Now, when migrating the VMWare Server guest machines (a Windows SBS 2003, and 2 Linux machines), I noticed a weird thing: The Processor Usage window displayed a whopping 113740.00MHz, which would mean I overclocked the (standard 2.8GHz) 113,74GHz!!!!
VMWare Server 2 on Windows 2003R2 rolling back
Friday, January 23rd, 2009I had an annoying error:
VMware Server — Error 1718. File C:\WINDOWS\Installer\33f11.msi was rejected by digital signature policy.
when installing VMWare Server 2.0.0 on Windows 2003R2 Server with all the normal updates.
Googling around, I found this document describing a patch, available here
After a reboot, it worked without any errors…
Problem solved!
Sysadmin Appreciation Day
Friday, July 25th, 2008Thank you sysadminday.com to help the world appreciate what we do on a daily basis…
We have Secretary’s day, Mothers’ day and Fathers’ day, and God-knows-who-elses’-days, and finally it’s getting clear that even our hard work is beginning to be appreciated!
I would hereby like to thank my sysadmin (myself)…
Thank you! Thank you! And keep up the good work
Ubuntu Hardy Heron – VMWare 1.0.5 – kernel 2.6.24 compilation errors RESOLVED!
Wednesday, May 7th, 2008After lots of struggeling trying to install the vmware package of version 1.0.5 from the vmware website, I did ‘a google’ on the error, which was something like:
error: #error only <linux/bitops.h> can be included directly
I found a link to an ubuntuforums post about this subject, and it went past the vmmon compilation errors. You can find the article here.
I had to install build-essentials, like this:
sudo apt-get install build-essential
Then I downloaded the any-any-patch-115a, not the plain 115 which didn’t help me. You can find it here
After unpacking, I ran
sudo perl runme.pl
and followed the compilation and installation, and further configuration of the vmware modules and config, and it turned out everything seemed OK. but vmware still didn’t want to launch…
this is the error:
root@hoolock:/home/bram/Desktop/vmware-any-any-update115a# vmware
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4′ not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0′ not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4′ not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0′ not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4′ not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0′ not found (required by /usr/lib/libstdc++.so.6)
which I installed with
sudo apt-get install libcairo2-dev libstdc++6-dev
This downloaded a bunch of other stuff too, like gcc-3.4, cpp-3.4 and a couple of x-libraries…
Still this seems not to solve the issue…
I did another google and found this post
Running:
root@hoolock:/tmp# cp /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0/
root@hoolock:/tmp# cp /usr/lib/gcc/i486-linux-gnu/4.2.3/libgcc_s.so /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1
seemed to did the trick, as I can now start vmware and the console can connect to localhost.
Vmware is up and running!!!
Thank you everyone for posting everything on these forums, I’m just bundeling everything here for others to find it.
xrdp – in detail
Sunday, April 13th, 2008A little more details about the compilation, installation and configuration of xrdp.
First of all, using a default Ubuntu installation (list based on Ubuntu 7.10), you need these extra packages to build the both downloads below:
You need to install the like this:
sudo apt-get install build-essentials
sudo apt-get install libpam-dev
sudo apt-get install libssl-dev
sudo apt-get install zlib1g-dev
sudo apt-get install subversion
(last one needed for the download of x11rdp_xorg71)
Go into /usr/src/ to store all the sources
Download x11rdp_xorg71 by getting the sources out of svn with this command:
svn co svn://server1.xrdp.org/srv/svn/repos/main/x11rdp_xorg71
This will create a folder x11rdp_xorg with the downloaded sources in it.
Then, download the latest xrdp package from sourceforge (homepage here or downloads here)
First build the x11rdp_xorg71 package.
Go into the folder x11rdp_xorg71.
For Ubuntu 7.10 I had to change the ./configure line in the section xorg-server. Please check according to your situation:
./configure –prefix=$PREFIXDIR –enable-xglx –with-mesa-source=$SRCDIR/Mesa-6.5 –disable-dmx –with-fontdir=/usr/share/fonts/X11/
Now run buildx.sh as follows with the folder where to install it in, for example:
sudo sh buildx.sh /usr
And go have a coffee, or even grab something to eat (including starters and desserts, coffee, …)
If this builds OK, we need to strip the binary:
strip X11rdp
and copy it to some place useful, like /usr/bin:
cp X11rdp /usr/bin
go up one folder, back into the /usr/src, and extract the xrdp package. In my case, this was:
tar xvfz xrdp-0.4.0.tar.gz
This will create the folder xrdp-0.4.0. cd into it, and build the package:
make
If it compiles OK, then install it:
sudo make install
This should give you a faultless installation of the compiled binaries. If not you can consult google or some place similar for error messages or solutions.
I’ll post follow-ups when I have more time…
