Friday, May 30, 2008
Google (pre) history
Being with a shit load of work these last couple of days, migrating our mail server to a fastest, better & bigger box, up North in the Big Country.
Well, that is over, and without a lot of scars, thanks to pre planning and Linux mostly.
Today I came across an interesting Google link, in which they, strangely enough, seem to discuss a bit its current (mega Cyclops like) infrastructure.
So on top of that, and with the purpose of not letting Google forget its origins, a picture of the first production server.
Google spotlights data center inner workings
Google’s First Production Server
Wednesday, May 28, 2008
Snow this year???
Could it be? Maybe? Perhaps? Who the hell knows? The lows are getting real low (at last!) so who knows for real?
Perhaps, this year it might just happen one more time
Prevent Squirrelmail from showing its version
This might be a security through obscurity tip, but, nevertheless it is security, or at least, it is a bit of discretion :)
I love Squirrelmail, but even if you enable the CAPTCHA login,by default, Squirrelmail shows which version it is running and on which platform it is installed, without even login to the system, simply by typing anything as username/ password.
This paths apply for the Squirrelmail on a RHEL 5/ CentOS 5 plain vanilla installation, but the procedure is the same for any other.
To disable this information, you have to edit three php files:
/etc/squirrelmail/config.php
/usr/share/squirrelmail/src/login.php
/usr/share/squirrelmail/functions/display_messages.php
Make a copy of the files, just in case:
sudo /etc/squirrelmail/config.php \
/etc/squirrelmail/config.php.ORIG
sudo cp /usr/share/squirrelmail/src/login.php \
/usr/share/squirrelmail/src/login.php.ORIG
sudo cp /usr/share/squirrelmail/functions/display_messages.php \
/usr/share/squirrelmail/functions/display_messages.php.ORIG
Then, edit the files, as root, with your favorite text editor,
File "display_messages.php":
The file "display_messages.php" has to go from this:
'<small>'. sprintf (_("SquirrelMail version %s"), $version) . '<br />'.
_("By the SquirrelMail Project Team") . "<br /></small>\n" ).
to this:
'<small>' . sprintf (_(" "), $version) . '<br />'.
_(" ") . "<br /></small>\n" ).
File "login.php":
The file "login.php" has to be edited from this:
'<small>' . sprintf (_("SquirrelMail version %s"), $version) . '<br />' ."\n".
' ' . _("By the SquirrelMail Project Team") . '<br />' . "\n" ) .
To this:
// <small>' . sprintf (_("SquirrelMail version %s"), $version) . '<br />' ."\n".
<small>' . sprintf (_(""), $version) . '<br />' ."\n".
// ' ' . _("By the SquirrelMail Project Team") . '<br /></small>' . "\n" ) .
' ' . _("") . '<br /></small>' . "\n" ) .
File "config.php":
Edit from this:
$org_name = "SquirrelMail";
$org_logo = SM_PATH . 'images/sm_logo.png';
$org_logo_width = '308';
$org_logo_height = '111';
$org_title = "SquirrelMail $version";
$signout_page = '';
$frame_top = '_top';
$provider_uri = 'http://www.squirrelmail.org/';
$provider_name = 'SquirrelMail';
To this: (or something similar)
$org_name = "Webmail Your Corporation";
$org_logo = SM_PATH . 'images/your_corporation_logo.jpg';
$org_logo_width = '125';
$org_logo_height = '100';
$org_title = "Your Corporation";
$signout_page = '';
$frame_top = '_top';
$provider_uri = 'http://www.yourcorp.com';
$provider_name = 'Your Corp';
To edit the file "config.php", you can also use the builtin "conf.pl" too.
Labels: CentOS 5, Linux, Programs, Security, SquirrelMail
Tuesday, May 27, 2008
Another Vista Classic screenshot (boring)
Man... Windows sucks, looks, whatever, big time.
Yesterday took the day off, scrubbed Windows for the day, and used Thor the whole day, boy, it a relieve from the fucking grey world of MSFT.
Labels: Screen Shots, Vista, Windows
Monday, May 26, 2008
The dear old winter
The lows are not as low as Apple says, but the same thing happened with the highs
Fuck yeah, I'm a happy camper now.
The only sad note is that the smoke has returned somehow, it is not as a a pest as it was, at least for the moment; but since it is very likely that the goverment will not do a piece of shit until it is roaring again, who knows.
Rsnapshot install on CentOS5
Installed it this last week on a CentOS 5 server, here is a round down of the whole process, for the broken dependencies didn't want to use Perl's MCPAN, but plain vanilla RPMs, so it is simple to maintain, update, etc.
The RPM package had a few dependencies unmet on my system:
[web10 rpms]# sudo rpm --test -ivh rsnapshot-1.3.0-1.el5.rf.noarch.rpm
warning: rsnapshot-1.3.0-1.el5.rf.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
perl(DBI) is needed by rsnapshot-1.3.0-1.el5.rf.noarch
perl(XML::Simple) is needed by rsnapshot-1.3.0-1.el5.rf.noarch
perl(XML::Validator::Schema) is needed by rsnapshot-1.3.0-1.el5.rf.noarch
So, installed those via yum:
yum install perl-DBI
yum install perl-XML-Simple
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
perl-XML-Simple noarch 2.14-4.fc6 base 68 k
Installing for dependencies:
perl-Compress-Zlib i386 1.42-1.fc6 base 52 k
perl-HTML-Parser i386 3.55-1.fc6 base 92 k
perl-HTML-Tagset noarch 3.10-2.1.1 base 15 k
perl-URI noarch 1.35-3 base 116 k
perl-XML-Parser i386 2.34-6.1.2.2.1 base 210 k
perl-libwww-perl noarch 5.805-1.1.1 base 376 k
Transaction Summary
=============================================================================
Install 7 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 929 k
Is this ok [y/N]:
With the "perl(XML::Validator::Schema)" Perl module, I wasn't that lucky using yum:
[web10 rpms]# sudo yum install perl-XML-Validator-Schema
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
extras 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
~snip
[web10 rpms]# sudo rpms]# yum install perl-XML-Validator
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
So I got it from the DAG website, perl-XML-Validator-Schema, but it gave a dependency problem when tried to install it:
[web10 rpms]# sudo rpm --test -ivh perl-XML-Validator-Schema-1.10-1.el5.rf.noarch.rpm
warning: perl-XML-Validator-Schema-1.10-1.el5.rf.noarch.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
perl(XML::Filter::BufferText) is needed by perl-XML-Validator-Schema-1.10-1.el5.rf
perl(XML::SAX::Exception) is needed by perl-XML-Validator-Schema-1.10-1.el5.rf
perl(XML::SAX::ParserFactory) is needed by perl-XML-Validator-Schema-1.10-1.el5.rf
So, installed via yum:
yum install perl-XML-SAX
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
perl-XML-SAX noarch 0.14-5 base 75 k
Installing for dependencies:
perl-XML-NamespaceSupport noarch 1.09-1.2.1 base 15 k
Transaction Summary
=============================================================================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 90 k
Is this ok [y/N]: y
And then get the other needed package from DAG, once again: perl-XML-Filter-BufferText.
After that, everything went golden:
[web10 rpms]# sudo rpm --test -ivh perl-XML-Filter-BufferText-1.01-1.2.el5.rf.noarch.rpm
warning: perl-XML-Filter-BufferText-1.01-1.2.el5.rf.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing... ########################################### [100%]
[web10 rpms]# sudo rpm --test -ivh perl-XML-Validator-Schema-1.10-1.el5.rf.noarch.rpm
warning: perl-XML-Validator-Schema-1.10-1.el5.rf.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing... ########################################### [100%]
[web10 rpms]# sudo rpm --test -ivh rsnapshot-1.3.0-1.el5.rf.noarch.rpm
warning: rsnapshot-1.3.0-1.el5.rf.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing... ########################################### [100%]
Sunday, May 25, 2008
What has Hollywood done to you??????
I was reading the newspaper today when I came across a picture of Wim Wenders, haven't seeing a recent picture of him in quite sometime I guess, because it really impressed me how he looks today.
Apparently, his last film flonked at Cannes.
Labels: Films
Play count (5)
Not much has changed on the most played list, but, ITOH, reached the (at least) "5 times played count" for every song on my iTunes playlist.
Certainly not a national landmark, but nevertheless, I find it interesting.
Labels: iTunes 7, Music, Play Count
Mailgraph install on CentOS 5
Mailgraph is a very cool utility to graph (duh !) the behavior of your mail server's ability to send, reject & bounce emails.
Installing it is pretty simple, it is a Perl script after all, simply untar the package and copy the Perl script and the init script, edit the some values of the init script, and you are done.
The thing is, the Perl script has some dependencies, most of them dealing with the RRD package.
Personally, I prefer not to touch the repos that the default yum install use on the servers, so here is a round down of the necessary steps to make the installation work, using all the packages from DAG.
[web10 rpms]# sudo rpm --test -ivh rrdtool-1.2.23-1.el5.rf.i386.rpm
warning: rrdtool-1.2.23-1.el5.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
libart_lgpl_2.so.2 is needed by rrdtool-1.2.23-1.el5.rf.i386
perl(RRDp) is needed by rrdtool-1.2.23-1.el5.rf.i386
perl(RRDs) is needed by rrdtool-1.2.23-1.el5.rf.i386
According to Egopoly, you need this packages first hand:
[web10 rpms]# sudo yum install libpng-devel \
freetype freetype-devel libart_lgpl-devel
After that, you'll still have problems (Egopoly seems to be compiling from source):
[web10 rpms]# sudo rpm --test -ivh rrdtool-1.2.23-1.el5.rf.i386.rpm
warning: rrdtool-1.2.23-1.el5.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
perl(RRDp) is needed by rrdtool-1.2.23-1.el5.rf.i386
perl(RRDs) is needed by rrdtool-1.2.23-1.el5.rf.i386
So, get Perl-RRDTool first:
[web10 rpms]# sudo rpm --test -ivh perl-rrdtool-1.2.23-1.el5.rf.i386.rpm
warning: perl-rrdtool-1.2.23-1.el5.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
librrd.so.2 is needed by perl-rrdtool-1.2.23-1.el5.rf.i386
rrdtool = 1.2.23 is needed by perl-rrdtool-1.2.23-1.el5.rf.i386
There is still a dependency problem, so, you'll have to install both packages at the same time:
rpm --test -ivh perl-rrdtool-1.2.23-1.el5.rf.i386.rpm \
rrdtool-1.2.23-1.el5.rf.i386.rpm rrdtool-devel-1.2.23-1.el5.rf.i386.rpm
You'll still need to install the last rpm package to get Mailgraph up & running:
[web10 rpms]# sudo rpm -ivh perl-File-Tail-0.99.3-1.2.el5.rf.noarch.rpm
warning: perl-File-Tail-0.99.3-1.2.el5.rf.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing... ########################################### [100%]
1:perl-File-Tail ########################################### [100%]
Labels: CentOS 5, IT slaves, Linux, Monitoring, Network monitoring
Friday, May 23, 2008
Monitoring HDD temperature with MRTG
I complain a lot about the weather in Bs As, so here is a little script to get the values inside a hard disk on a linux server... On the average, the temperature seems like a really, really torrid summer day around here, say towards the end of December.
In order to get this little script up & you'll need to have the hddtemp
The shell script, pretty, pretty simple:
#!/bin/sh
## mrtg-hddtemp.sh
PATH=/bin:/usr/bin:/usr/sbin
DISK='/dev/hdc'
uptime | cut -c 2-
hddtemp ${DISK} | awk '{print $4}'
# EoF #
And the snip from the mrtg.cfg file:
Target[local_hddtemp]: `/usr/local/etc/scripts/dataGathering/mrtg-hddtemp.sh`
Options[local_hddtemp]: nopercent,gauge,noinfo,nobanner,noi,nolegend
Title[local_hddtemp]: HDD temperature
PageTop[local_hddtemp]: HDD temperature
MaxBytes[local_hddtemp]: 100000
YLegend[local_hddtemp]: Degrees
ShortLegend[local_hddtemp]:
LegendO[local_hddtemp]: Cent:
Legend2[local_hddtemp]: HDD temperature
WithPeak[local_hddtemp]: wmy
Legend4[local_hddtemp]: Max HDD temperature
Labels: hardware, Heat, Linux, Monitoring
Minimal Vista desktop
Killed the Themes, (all of them) and went back to basics, the Windows boring way that is.
A lot of work lately, setting up a couple of servers, one of those, mighty important and critical.
Labels: Screen Shots, Vista, Windows
Wednesday, May 21, 2008
Dystopia & Post-apocalypse, Pop style
Last night I saw movie that I have completely forgot about, Children of man, not only when it made it to the theaters, but also, on DVD; found it on my local Blockbuster by share coincidence.
I really, really enjoyed the film, it deals with many of the subjects of SCI-FI that I like: post-apocalyptic scenarios and the end of society as we know it, besides post nuclear Armageddon.
Searching a bit on the internet, found some of the things -old TV series, mostly- that I believe are the origins for my interest on the matter.
Ark II
(I don't recall how it was called in Argentina, but I remember being fascinated by the vehicle...)
Planet Earth
(IIRC, this one had a special inflatable, pop-up tent, like a tipee)
Genesys II
(Very much like the one above, I recall seeing this on a Sunday, really, really late on TV, I guess on the old Canal 11)
Earth Abides
(The grand daddy of all of them, even before I Am Legend)
Tuesday, May 20, 2008
Martín Caparrós takes a MacBook Air to Africa
DISCLAIMER:
This post is border line fan boy stuff
I was reading the newspaper today, and I came across an article by Martín Caparrós, one of the argentine writers that I really enjoy reading.
The thing is, he is in Africa right now, doing some work for the UN, for what I read, and, for the picture he took/ posted on one of the articles, it seems like he has taken a MacBook Air to the journey.
That's some impressive amount of trust on the little laptop, I always thought the laptop was fragile for real world use, but getting dragged thru Africa must be a fire test.
Quo bono
Martín Caparrós - Wikipedia, Spanish page
Martín Caparrós - Literatura Argentina Contemporánea
Monday, May 19, 2008
Living in Saigon weather
Today, yes, we were graced with another piece of crap of day, hot, -really hot-, and effing and totally humid; what else can we expect around here? Autumn & cold weather?
Around 9 PM started to rain, but the temperature won't go down a single bit, so, actually the rain will make things worst. Yes, life is good.
El veranito de mayo trajo una sensación de 31,5
Llueve en Buenos Aires
La lluvia trajo alivio a los porteños luego de un jornada de verano en pleno otoño
Sunday, May 18, 2008
The heat is on us
The lousy, humid, hot weather doesn't seem to go away for anything at all. There is not a hint of what a normal autumn should be around here.
I'm starting to think that we are not having a "slide", and that we'll get our regular autumn and winter, but later.
I believe this effing year this piece of crap of weather will be our cold season and that is that.
Friday, May 16, 2008
Emacs: love it & bloat it
So, I did a bit of a searching for more Emacs (the best editor! ;) ) but povera editions, this is the second part, the first was Emacs on a shoestring
esteban@odin:~$ sudo apt-get install emacs
[sudo] password for esteban:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
defoma emacs22-bin-common emacs22-common emacs22-gtk emacsen-common fontconfig fontconfig-config libasound2 libatk1.0-0 libcairo2
libdatrie0 libfontconfig1 libfreetype6 libgif4 libglib2.0-0 libgtk2.0-0 libgtk2.0-common libice6 libjpeg62 libpango1.0-0
libpango1.0-common libpixman-1-0 libpng12-0 libsm6 libthai-data libthai0 libtiff4 libx11-6 libx11-data libxau6 libxcb-xlib0 libxcb1
libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxft2 libxi6 libxinerama1 libxpm4 libxrandr2 libxrender1
ttf-dejavu ttf-dejavu-core ttf-dejavu-extra x11-common
Suggested packages:
defoma-doc dfontmgr psfontmgr x-ttcidfont-conf emacs22-el libasound2-plugins libfreetype6-dev librsvg2-common ttf-arphic-bkai00mp
ttf-arphic-bsmi00lp ttf-arphic-gbsn00lp ttf-arphic-gkai00mp ttf-baekmuk ttf-kochi-gothic ttf-kochi-mincho ttf-thryomanes
Recommended packages:
libft-perl libatk1.0-data libglib2.0-data hicolor-icon-theme libgtk2.0-bin
The following NEW packages will be installed:
defoma emacs emacs22-bin-common emacs22-common emacs22-gtk emacsen-common fontconfig fontconfig-config libasound2 libatk1.0-0 libcairo2
libdatrie0 libfontconfig1 libfreetype6 libgif4 libglib2.0-0 libgtk2.0-0 libgtk2.0-common libice6 libjpeg62 libpango1.0-0
libpango1.0-common libpixman-1-0 libpng12-0 libsm6 libthai-data libthai0 libtiff4 libx11-6 libx11-data libxau6 libxcb-xlib0 libxcb1
libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxft2 libxi6 libxinerama1 libxpm4 libxrandr2 libxrender1
ttf-dejavu ttf-dejavu-core ttf-dejavu-extra x11-common
0 upgraded, 49 newly installed, 0 to remove and 3 not upgraded.
Need to get 32.3MB of archives.
After this operation, 110MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
So, a bit of cache searching is in order:
esteban@odin:~$ apt-cache search emacs-nox
mg - microscopic GNU Emacs-style editor
qemacs-nox - Small emacs clone editor (without X support)
This Emacs clone, QEmacs (for Quick Emacs) certainly looks very, very nice.
esteban@odin:~$ sudo apt-get install qemacs-nox
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
qemacs-nox
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 746kB of archives.
After this operation, 1135kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com hardy/universe qemacs-nox 0.3.1.cvs.20050713-5 [746kB]
Fetched 746kB in 5s (132kB/s)
Selecting previously deselected package qemacs-nox.
(Reading database ... 19747 files and directories currently installed.)
Unpacking qemacs-nox (from .../qemacs-nox_0.3.1.cvs.20050713-5_i386.deb) ...
Setting up qemacs-nox (0.3.1.cvs.20050713-5) ...
And, also, doing the cache search you'll find (among others):
esteban@odin:~$ apt-cache search emacs | less
emacs22-nox - The GNU Emacs editor (without X support)
emacs21-nox - The GNU Emacs editor (without X support)
But, even this non X version is still too big, HDD wise.
esteban@odin:~$ sudo apt-get install emacs22-nox
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
emacs22-bin-common emacs22-common emacsen-common libasound2
Suggested packages:
emacs22-el libasound2-plugins
The following NEW packages will be installed:
emacs22-bin-common emacs22-common emacs22-nox emacsen-common libasound2
0 upgraded, 5 newly installed, 0 to remove and 3 not upgraded.
Need to get 20.8MB of archives.
After this operation, 65.6MB of additional disk space will be used.
Do you want to continue [Y/n]?
Of course, thanks God there is Zile:
esteban@odin:~$ sudo apt-get install zile
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
zile
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 0B/102kB of archives.
After this operation, 332kB of additional disk space will be used.
Selecting previously deselected package zile.
(Reading database ... 19723 files and directories currently installed.)
Unpacking zile (from .../zile_2.2.52-1_i386.deb) ...
Setting up zile (2.2.52-1) ...
esteban@odin:~$
Labels: Compaq Presario 1200, Emacs, Programs, Ubuntu
Odin gets back its Ubuntu (sort of)
Getting back to Ubuntu Server, I like it a lot, easy install, it recognizes everything on the shitty laptop, and you can setup a LAMP server with just one click; but, personally, I never liked Debian, I think that if you are trying to have a "Unix as Linux" going on, then your best bet is using a *BSD distro; but, hey, that's me.
Here is the dmesg:
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.24-16-server (buildd@palmer) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Thu Apr 10 13:58:00 UTC 2008 (Ubuntu 2.6.24-16.30-server)
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[ 0.000000] BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000ea000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 00000000137f0000 (usable)
[ 0.000000] BIOS-e820: 00000000137f0000 - 00000000137ffc00 (ACPI data)
[ 0.000000] BIOS-e820: 00000000137ffc00 - 0000000013800000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved)
[ 0.000000] 0MB HIGHMEM available.
[ 0.000000] 311MB LOWMEM available.
[ 0.000000] Entering add_active_range(0, 0, 79856) 0 entries of 256 used
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 4096
[ 0.000000] Normal 4096 -> 79856
[ 0.000000] HighMem 79856 -> 79856
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0 -> 79856
[ 0.000000] On node 0 totalpages: 79856
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 4064 pages, LIFO batch:0
[ 0.000000] Normal zone: 591 pages used for memmap
[ 0.000000] Normal zone: 75169 pages, LIFO batch:15
[ 0.000000] HighMem zone: 0 pages used for memmap
[ 0.000000] Movable zone: 0 pages used for memmap
[ 0.000000] DMI 2.3 present.
[ 0.000000] ACPI: RSDP signature @ 0xC00F72B0 checksum 0
[ 0.000000] ACPI: RSDP 000F72B0, 0014 (r0 PTLTD )
[ 0.000000] ACPI: RSDT 137FC7C0, 0028 (r1 PTLTD RSDT 6040000 LTP 0)
[ 0.000000] ACPI: FACP 137FFB8C, 0074 (r1 COMPAQ Wrangler 6040000 PTL_ F4240)
[ 0.000000] ACPI: DSDT 137FC7E8, 33A4 (r1 Compaq Wrangler 6040000 MSFT 100000B)
[ 0.000000] ACPI: FACS 137FFFC0, 0040
[ 0.000000] ACPI: PM-Timer IO Port: 0x8008
[ 0.000000] Allocating PCI resources starting at 20000000 (gap: 13800000:ec7e0000)
[ 0.000000] swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
[ 0.000000] swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000ea000
[ 0.000000] swsusp: Registered nosave memory region: 00000000000ea000 - 0000000000100000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 79233
[ 0.000000] Kernel command line: root=UUID=20efc486-2375-4116-88eb-a38befa8c485 ro quiet splash
[ 0.000000] Local APIC disabled by BIOS -- you can enable it with "lapic"
[ 0.000000] mapped APIC to ffffb000 (0127e000)
[ 0.000000] Enabling fast FPU save and restore... done.
[ 0.000000] Enabling unmasked SIMD FPU exception support... done.
[ 0.000000] Initializing CPU#0
[ 0.000000] PID hash table entries: 2048 (order: 11, 8192 bytes)
[ 0.000000] Detected 697.432 MHz processor.
[ 3326.775891] Console: colour VGA+ 80x25
[ 3326.775911] console [tty0] enabled
[ 3326.777371] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 3326.780429] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 3326.841892] Memory: 304496k/319424k available (2255k kernel code, 14344k reserved, 1032k data, 384k init, 0k highmem)
[ 3326.841925] virtual kernel memory layout:
[ 3326.841929] fixmap : 0xfff4c000 - 0xfffff000 ( 716 kB)
[ 3326.841933] pkmap : 0xffc00000 - 0xffe00000 (2048 kB)
[ 3326.841937] vmalloc : 0xd4000000 - 0xffbfe000 ( 699 MB)
[ 3326.841941] lowmem : 0xc0000000 - 0xd37f0000 ( 311 MB)
[ 3326.841946] .init : 0xc043c000 - 0xc049c000 ( 384 kB)
[ 3326.841950] .data : 0xc0333e95 - 0xc0435fe4 (1032 kB)
[ 3326.841954] .text : 0xc0100000 - 0xc0333e95 (2255 kB)
[ 3326.841965] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[ 3326.842127] SLUB: Genslabs=11, HWalign=32, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
[ 3326.992159] Calibrating delay using timer specific routine.. 1396.59 BogoMIPS (lpj=6982957)
[ 3326.992278] Security Framework initialized
[ 3326.992318] SELinux: Disabled at boot.
[ 3326.992381] AppArmor: AppArmor initialized
[ 3326.992398] Failure registering capabilities with primary security module.
[ 3326.992432] Mount-cache hash table entries: 512
[ 3326.993019] Initializing cgroup subsys ns
[ 3326.993052] Initializing cgroup subsys cpuacct
[ 3326.993102] CPU: After generic identify, caps: 0383f9ff 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3326.993141] CPU: L1 I cache: 16K, L1 D cache: 16K
[ 3326.993149] CPU: L2 cache: 128K
[ 3326.993166] CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040 00000000 00000000 00000000 00000000
[ 3326.993203] Compat vDSO mapped to ffffe000.
[ 3326.993277] Checking 'hlt' instruction... OK.
[ 3327.033245] SMP alternatives: switching to UP code
[ 3327.037732] Freeing SMP alternatives: 12k freed
[ 3327.038221] Early unpacking initramfs... done
[ 3328.192545] ACPI: Core revision 20070126
[ 3328.192994] ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
[ 3328.196389] ACPI: setting ELCR to 0400 (from 0a00)
[ 3328.196650] CPU0: Intel Celeron (Coppermine) stepping 06
[ 3328.196678] SMP motherboard not detected.
[ 3328.196686] Local APIC not detected. Using dummy APIC emulation.
[ 3328.196920] Brought up 1 CPUs
[ 3328.197006] CPU0 attaching sched-domain:
[ 3328.197019] domain 0: span 01
[ 3328.197025] groups: 01
[ 3328.198218] net_namespace: 64 bytes
[ 3328.198256] Booting paravirtualized kernel on bare hardware
[ 3328.200451] Time: 19:51:24 Date: 05/15/08
[ 3328.200648] NET: Registered protocol family 16
[ 3328.202441] EISA bus registered
[ 3328.202514] ACPI: bus type pci registered
[ 3328.206194] PCI: PCI BIOS revision 2.10 entry at 0xfd83e, last bus=1
[ 3328.206213] PCI: Using configuration type 1
[ 3328.206223] Setting up standard PCI resources
[ 3328.214150] ACPI: EC: Look up EC in DSDT
[ 3328.221577] ACPI: Interpreter enabled
[ 3328.221606] ACPI: (supports S0 S1 S4 S5)
[ 3328.221653] ACPI: Using PIC for interrupt routing
[ 3328.225855] ACPI: EC: non-query interrupt received, switching to interrupt mode
[ 3328.245431] ACPI: EC: GPE = 0x6, I/O: command/status = 0x66, data = 0x62
[ 3328.245453] ACPI: EC: driver started in interrupt mode
[ 3328.245828] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 3328.246600] PCI quirk: region 8000-80ff claimed by vt82c586 ACPI
[ 3328.246620] PCI quirk: region 8080-808f claimed by vt82c686 SMB
[ 3328.247556] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 3328.256927] ACPI: PCI Interrupt Link [LNKA] (IRQs 7 9 *11 12)
[ 3328.257225] ACPI: PCI Interrupt Link [LNKB] (IRQs 9) *0, disabled.
[ 3328.257538] ACPI: PCI Interrupt Link [LNKC] (IRQs 7 *9 11 12)
[ 3328.257863] ACPI: PCI Interrupt Link [LNKD] (IRQs 7 9 *11 12)
[ 3328.258681] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 3328.258939] pnp: PnP ACPI init
[ 3328.258996] ACPI: bus type pnp registered
[ 3328.271750] pnp: PnP ACPI: found 11 devices
[ 3328.271773] ACPI: ACPI bus type pnp unregistered
[ 3328.271792] PnPBIOS: Disabled by ACPI PNP
[ 3328.273793] PCI: Using ACPI for IRQ routing
[ 3328.273814] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
[ 3328.282368] NET: Registered protocol family 8
[ 3328.282383] NET: Registered protocol family 20
[ 3328.282756] NetLabel: Initializing
[ 3328.282765] NetLabel: domain hash size = 128
[ 3328.282771] NetLabel: protocols = UNLABELED CIPSOv4
[ 3328.282840] NetLabel: unlabeled traffic allowed by default
[ 3328.283050] AppArmor: AppArmor Filesystem Enabled
[ 3328.291943] Time: tsc clocksource has been installed.
[ 3328.312374] system 00:05: iomem range 0x0-0x9ffff could not be reserved
[ 3328.312391] system 00:05: iomem range 0xdc000-0xdffff has been reserved
[ 3328.312401] system 00:05: iomem range 0xe0000-0xfffff could not be reserved
[ 3328.312412] system 00:05: iomem range 0xfffe0000-0xffffffff could not be reserved
[ 3328.312422] system 00:05: iomem range 0xfee00000-0xfee00fff has been reserved
[ 3328.312455] system 00:06: ioport range 0x4d0-0x4d1 has been reserved
[ 3328.312465] system 00:06: ioport range 0x220-0x22f has been reserved
[ 3328.312474] system 00:06: ioport range 0x388-0x38b has been reserved
[ 3328.312487] system 00:06: ioport range 0x8000-0x808f could not be reserved
[ 3328.312496] system 00:06: ioport range 0x9050-0x9051 has been reserved
[ 3328.345626] PCI: Bridge: 0000:00:01.0
[ 3328.345646] IO window: disabled.
[ 3328.345657] MEM window: f4100000-f57fffff
[ 3328.345667] PREFETCH window: 28000000-280fffff
[ 3328.345679] PCI: Bus 2, cardbus bridge: 0000:00:0a.0
[ 3328.345686] IO window: 00001800-000018ff
[ 3328.345694] IO window: 00001c00-00001cff
[ 3328.345703] PREFETCH window: 20000000-23ffffff
[ 3328.345711] MEM window: 24000000-27ffffff
[ 3328.345743] PCI: Setting latency timer of device 0000:00:01.0 to 64
[ 3328.346664] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 9
[ 3328.346678] PCI: setting IRQ 9 as level-triggered
[ 3328.346688] ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKB] -> GSI 9 (level, low) -> IRQ 9
[ 3328.346769] NET: Registered protocol family 2
[ 3328.442287] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 3328.443255] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 3328.444284] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
[ 3328.445708] TCP: Hash tables configured (established 16384 bind 16384)
[ 3328.445725] TCP reno registered
[ 3328.472719] checking if image is initramfs...<7>Switched to high resolution mode on CPU 0
[ 3329.318475] it is
[ 3330.520443] Freeing initrd memory: 7151k freed
[ 3330.524146] audit: initializing netlink socket (disabled)
[ 3330.524229] audit(1210881085.690:1): initialized
[ 3330.525012] Total HugeTLB memory allocated, 0
[ 3330.538826] VFS: Disk quotas dquot_6.5.1
[ 3330.539459] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 3330.540998] io scheduler noop registered
[ 3330.541018] io scheduler anticipatory registered
[ 3330.541028] io scheduler deadline registered (default)
[ 3330.541183] io scheduler cfq registered
[ 3330.541239] PCI: VIA PCI bridge detected. Disabling DAC.
[ 3330.541249] PCI: Disabling Via external APIC routing
[ 3330.541310] Boot video device is 0000:01:00.0
[ 3330.543455] isapnp: Scanning for PnP cards...
[ 3330.901321] isapnp: No Plug & Play device found
[ 3331.309451] Real Time Clock Driver v1.12ac
[ 3331.310149] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[ 3331.319463] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[ 3331.319918] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[ 3331.320622] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[ 3331.324592] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 3331.324627] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 3331.342374] mice: PS/2 mouse device common for all mice
[ 3331.343314] EISA: Probing bus 0 at eisa.0
[ 3331.343353] Cannot allocate resource for EISA slot 1
[ 3331.343411] Cannot allocate resource for EISA slot 8
[ 3331.343418] EISA: Detected 0 cards.
[ 3331.343431] cpuidle: using governor ladder
[ 3331.343438] cpuidle: using governor menu
[ 3331.344416] NET: Registered protocol family 1
[ 3331.344605] Using IPI No-Shortcut mode
[ 3331.344778] registered taskstats version 1
[ 3331.345163] Magic number: 8:475:900
[ 3331.345473] hash matches device ptyvd
[ 3331.345657] BIOS EDD facility v0.16 2004-Jun-25, 6 devices found
[ 3331.349433] Freeing unused kernel memory: 384k freed
[ 3331.375611] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[ 3331.412252] atkbd.c: Spurious ACK on isa0060/serio0. Some program might be trying access hardware directly.
[ 3332.312124] fuse init (API version 7.9)
[ 3332.434846] ACPI: CPU0 (power states: C1[C1] C2[C2])
[ 3332.441808] Marking TSC unstable due to: TSC halts in idle.
[ 3332.443686] ACPI: Thermal Zone [THRM] (59 C)
[ 3332.451259] Time: acpi_pm clocksource has been installed.
[ 3334.163759] SCSI subsystem initialized
[ 3334.311438] usbcore: registered new interface driver usbfs
[ 3334.311542] usbcore: registered new interface driver hub
[ 3334.388489] usbcore: registered new device driver usb
[ 3334.763762] USB Universal Host Controller Interface driver v3.0
[ 3334.765083] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
[ 3334.765100] PCI: setting IRQ 11 as level-triggered
[ 3334.765111] ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
[ 3334.765163] uhci_hcd 0000:00:07.2: UHCI Host Controller
[ 3334.766533] uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
[ 3334.766596] uhci_hcd 0000:00:07.2: irq 11, io base 0x00001400
[ 3334.767158] usb usb1: configuration #1 chosen from 1 choice
[ 3334.767272] hub 1-0:1.0: USB hub found
[ 3334.767300] hub 1-0:1.0: 2 ports detected
[ 3334.811505] libata version 3.00 loaded.
[ 3334.961198] pata_via 0000:00:07.1: version 0.3.3
[ 3334.992965] scsi0 : pata_via
[ 3335.030991] scsi1 : pata_via
[ 3335.031282] ata1: PATA max UDMA/66 cmd 0x1f0 ctl 0x3f6 bmdma 0x1420 irq 14
[ 3335.031293] ata2: PATA max UDMA/66 cmd 0x170 ctl 0x376 bmdma 0x1428 irq 15
[ 3335.211615] ata1.00: ATA-5: IBM-IC25N020ATCS04-0, CA2AA71A, max UDMA/100
[ 3335.211637] ata1.00: 39070080 sectors, multi 16: LBA
[ 3335.251505] ata1.00: configured for UDMA/66
[ 3335.310925] usb 1-2: new full speed USB device using uhci_hcd and address 2
[ 3335.503913] usb 1-2: configuration #1 chosen from 1 choice
[ 3335.591278] ata2.00: ATAPI: TOSHIBA CD-ROM XM-7002Bc, 1010, max UDMA/33
[ 3335.783969] Floppy drive(s): fd0 is 1.44M
[ 3335.791123] ata2.00: configured for UDMA/33
[ 3335.791779] scsi 0:0:0:0: Direct-Access ATA IBM-IC25N020ATCS CA2A PQ: 0 ANSI: 5
[ 3335.805704] scsi 1:0:0:0: CD-ROM TOSHIBA CD-ROM XM-7002Bc 1010 PQ: 0 ANSI: 5
[ 3335.824012] FDC 0 is a post-1991 82077
[ 3339.188304] Driver 'sd' needs updating - please use bus_type methods
[ 3339.200170] sd 0:0:0:0: [sda] 39070080 512-byte hardware sectors (20004 MB)
[ 3339.200850] sd 0:0:0:0: [sda] Write Protect is off
[ 3339.200877] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 3339.201054] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3339.203768] sd 0:0:0:0: [sda] 39070080 512-byte hardware sectors (20004 MB)
[ 3339.203844] sd 0:0:0:0: [sda] Write Protect is off
[ 3339.203854] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 3339.203929] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3339.203952] sda: sda1 sda2
[ 3339.234052] Driver 'sr' needs updating - please use bus_type methods
[ 3339.261493] sd 0:0:0:0: [sda] Attached SCSI disk
[ 3339.288207] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 3339.288302] sr 1:0:0:0: Attached scsi generic sg1 type 5
[ 3339.297458] sr0: scsi3-mmc drive: 24x/24x cd/rw xa/form2 cdda tray
[ 3339.297488] Uniform CD-ROM driver Revision: 3.20
[ 3339.297787] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 3340.074314] Attempting manual resume
[ 3340.074337] swsusp: Resume From Partition 8:2
[ 3340.074343] PM: Checking swsusp image.
[ 3340.074927] PM: Resume from disk failed.
[ 3340.209382] kjournald starting. Commit interval 5 seconds
[ 3340.209459] EXT3-fs: mounted filesystem with ordered data mode.
[ 3347.969031] Linux agpgart interface v0.102
[ 3348.066914] agpgart: Detected VIA Apollo ProMedia/PLE133Ta chipset
[ 3348.076024] agpgart: AGP aperture is 64M @ 0xf8000000
[ 3348.270356] parport_pc: VIA 686A/8231 detected
[ 3348.270379] parport_pc: probing current configuration
[ 3348.270413] parport_pc: Current parallel port base: 0x378
[ 3348.270506] parport0: PC-style at 0x378, irq 7 [PCSPP,EPP]
[ 3348.368265] parport_pc: VIA parallel port: io=0x378, irq=7
[ 3348.438461] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 3348.508871] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 3348.848463] input: PC Speaker as /devices/platform/pcspkr/input/input2
[ 3349.098449] Yenta: CardBus bridge found at 0000:00:0a.0 [0e11:b103]
[ 3349.098500] Yenta: Using CSCINT to route CSC interrupts to PCI
[ 3349.098508] Yenta: Routing CardBus interrupts to PCI
[ 3349.098518] Yenta TI: socket 0000:00:0a.0, mfunc 0x01001002, devctl 0x64
[ 3349.348357] Yenta: ISA IRQ mask 0x0018, PCI irq 9
[ 3349.348377] Socket status: 30000006
[ 3349.388742] via686a 0000:00:07.4: base address not set - upgrade BIOS or use force_addr=0xaddr
[ 3350.798508] input: Power Button (FF) as /devices/virtual/input/input3
[ 3350.827680] ACPI: Power Button (FF) [PWRF]
[ 3350.828109] input: Power Button (CM) as /devices/virtual/input/input4
[ 3350.867719] ACPI: Power Button (CM) [PWRB]
[ 3350.868111] input: Sleep Button (CM) as /devices/virtual/input/input5
[ 3350.907560] ACPI: Sleep Button (CM) [SLPB]
[ 3350.918299] ACPI: AC Adapter [AC] (off-line)
[ 3351.341216] ACPI: Battery Slot [BAT0] (battery present)
[ 3351.558656] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 9
[ 3351.558680] ACPI: PCI Interrupt 0000:00:07.5[C] -> Link [LNKC] -> GSI 9 (level, low) -> IRQ 9
[ 3351.558874] PCI: Setting latency timer of device 0000:00:07.5 to 64
[ 3353.351961] /build/buildd/linux-2.6.24/drivers/net/usb/rtl8150.c: rtl8150 based usb-ethernet driver v0.6.2 (2004/08/27)
[ 3353.384089] /build/buildd/linux-2.6.24/drivers/net/usb/rtl8150.c: eth0: rtl8150 is detected
[ 3353.384192] usbcore: registered new interface driver rtl8150
[ 3353.658329] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A03:00/device:01/LNXVIDEO:00/input/input6
[ 3353.687467] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
[ 3355.383974] Synaptics Touchpad, model: 1, fw: 4.6, id: 0xf42a1, caps: 0x80471b/0x0
[ 3355.419582] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input7
[ 3361.575026] cs: IO port probe 0x100-0x3af: clean.
[ 3361.578391] cs: IO port probe 0x3e0-0x4ff: clean.
[ 3361.579837] cs: IO port probe 0x820-0x8ff: clean.
[ 3361.581024] cs: IO port probe 0xc00-0xcf7: clean.
[ 3361.582784] cs: IO port probe 0xa00-0xaff: clean.
[ 3361.941511] /build/buildd/linux-2.6.24/drivers/net/usb/rtl8150.c: eth0: allmulti set
[ 3361.942318] /build/buildd/linux-2.6.24/drivers/net/usb/rtl8150.c: eth0: allmulti set
[ 3362.121429] /build/buildd/linux-2.6.24/drivers/net/usb/rtl8150.c: eth0: allmulti set
[ 3362.122584] /build/buildd/linux-2.6.24/drivers/net/usb/rtl8150.c: eth0: allmulti set
[ 3362.122632] /build/buildd/linux-2.6.24/drivers/net/usb/rtl8150.c: eth0: allmulti set
[ 3364.005207] NET: Registered protocol family 10
[ 3364.006174] lo: Disabled Privacy Extensions
[ 3364.007551] /build/buildd/linux-2.6.24/drivers/net/usb/rtl8150.c: eth0: allmulti set
[ 3364.007706] /build/buildd/linux-2.6.24/drivers/net/usb/rtl8150.c: eth0: allmulti set
[ 3364.050759] loop: module loaded
[ 3364.184478] lp0: using parport0 (interrupt-driven).
[ 3365.662640] Adding 979956k swap on /dev/sda2. Priority:-1 extents:1 across:979956k
[ 3366.337054] EXT3 FS on sda1, internal journal
[ 3369.136792] ip_tables: (C) 2000-2006 Netfilter Core Team
Labels: Compaq Presario 1200, Linux, Ubuntu
Thursday, May 15, 2008
Depression kicks in
We should be getting our asses frozen right now... And yet, the effing weather has a small Indian Summer for us.
The third, so far, of this indian summers this year.
UPDATE:
Right now, as I'm posting this, the temperature raised to 28 degrees Celsius.
Wednesday, May 14, 2008
The return of Super High
Well, it is not heat, in the real meaning of the word, but we are still having a rather mild autumn, the highs seems to be moved exactly a notch to the left, we are experiencing temperature highs for April, but on May.
Personally, I don't think this year we will have a frozen winter at all... Another thing I have noticed, it did not rain in quite a while, this summer is going to be a real tough one.
More MRTG (you can never have enough of it)
Target[local_load]:ssCpuRawUser.0&ssCpuRawUser.0:XXXXXXX@localhost + \
ssCpuRawSystem.0&ssCpuRawSystem.0:XXXXXXX@localhost + \
ssCpuRawNice.0&ssCpuRawNice.0:XXXXXXXXXX@localhost
Title[local_load]: Server CPU load
PageTop[local_load]: CPU load
MaxBytes[local_load]: 100
ShortLegend[local_load]: %
YLegend[local_load]: %
Legend1[local_load]: CPU load
LegendI[local_load]: CPU load:
LegendO[local_load]:
Options[local_load]: nopercent,noinfo
Unscaled[local_load]: ymwd
Labels: Linux, Monitoring, Programs
Tuesday, May 13, 2008
Another one of those days...
I tend to use screen a lot, because I need to be connected to many servers at the same time, via SSH, and I like to have only one PuTTY window open, instead of more than 10, totally cluttering my desktop.
So usually I SSH to a server, and from that one use SSH + screen to access all the others I need to.
Nothing wrong with that I guess, just trying to keep a tidy desktop :D
The only problem is, today we had another network outage, not as masive as the other one, again, related to a power suply problem.
That's how, thanks to having my session running on screen, I ended up with that piece of automatic poetry.
Labels: IT slaves, Linux, Network monitoring, Programs
The wages of fear
The difference with the ones South of the Rio Grande are amazing.
2006-2007 TCPMag.com Internetworking Salary Survey
Monday, May 12, 2008
MRTG scripts (HDD space & swap)
df=`df -k $part | tail -1`
Since 'df' on OpenBSD works with 512 values.
The other one 'mrtg-swap.sh' returns the amount of swap, and shows how much is actually being used by the system.
This one does not work on OpenBSD, you are better to setup SNMP to poll the data
I have found both of those scripts some four years ago on the internet.
#!/bin/sh
# mrtg-df.sh
PATH=/bin:/usr/bin
part=$1
# The external mrtg probe returns up to 4 lines of output:
# 1. Line: current state of the 'incoming bytes counter', actually, the available HDD space
# 2. Line: current state of the 'outgoing bytes counter', actually the used HDD space
# 3. Line: string, telling the uptime of the target.
# 4. Line: telling the name of the invoked partition.
df=`df $part | tail -1`
# we'll list the available blocks as "incoming" as that's the solid green bar
echo $df | awk '{print $4}' # available
echo $df | awk '{print $3}' # used
uptime | cut -d, -f 1 | awk '{print $3, $4}'
echo $df | awk '{print $1}'
# EoF #
#!/bin/sh
# mrtg-swap.sh
# This script monitors the swap usage.
totalswap=`/usr/bin/free |grep Swap |awk '{print $2}'`
usedswap=`/usr/bin/free |grep Swap |awk '{print $3}'`
echo "$totalswap"
echo "$usedswap"
# EoF #
Labels: Linux, Monitoring, OpenBSD, Scripts
Sunday, May 11, 2008
Solid State my *ss!
The hard disk drive from the space shuttle Columbia somehow survived the accident, and a company called On Track Data Recovey have managed to pull most of the data out of it.
The disk, a 400 MB Seagate, was eight years old already to the day of the accident, and was on a DOS file system format! Unless the NASA uses FreeDOS, I guess that would actually mean "Windows".
The thing is, no matter what, the company was able to recover 99% of the hard disk's data... So, think again before selling your used laptop or HDD on Ebay, especially without shredding the data a couple of times before :D
Hard Drive Recovered from Columbia Shuttle Solves Physics Problem
Shuttle Columbia's hard drive data recovered from crash site
File sharing buddies
Tango & Trantor, on a lazy Sunday afternoon, sharing files over the ethernet and Samba.
Labels: Compaq Presario F700, hardware, PowerBook, Vista
Saturday, May 10, 2008
The return of Odin
Installed OpenBSD 4.3, -fresh from the presses, it only has 9 days since release...- on Odin, my Compaq Presario 1200 piece of crap laptop; who already has a FreeBSD, and a Ubuntu incarnation.
Briefly played with Ubuntu 8.04, but I wanted to test something new on my dear laptop.
Everything seems to be working OK, from the USB ethernet adaptop, to the soundcard, and even the mouse, I mean a Ps/2 piece of crap one, that didn't work on Ubuntu, without performing a little bit of tweaking.
Here is the dmesg:
OpenBSD 4.3 (GENERIC) #698: Wed Mar 12 11:07:05 MDT 2008
deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class, 128KB L2 cache) 698 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem = 326660096 (311MB)
avail mem = 307400704 (293MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/03/00, BIOS32 rev. 0 @ 0xfd720, SMBIOS rev. 2.3 @ 0xebdb0 (14 entries)
bios0: vendor Phoenix Technologies LTD version "4.06" date 11/03/2000
bios0: Compaq Presario
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 93%
apm0: AC on, battery charge high, charging
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd720/0x8e0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf70/112 (5 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C596A ISA" rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0xc000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8601 PCI" rev 0x05
agp0 at pchb0: v2, aperture at 0xf8000000, size 0x10000000
ppb0 at pci0 dev 1 function 0 "VIA VT82C601 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Trident CyberBlade i1 AGP" rev 0x6a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "VIA VT82C686 ISA" rev 0x22
pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x10: ATA66, channel 0 configured to compatibility, channel 1 configured to compatib
ility
wd0 at pciide0 channel 0 drive 0:
wd0: 16-sector PIO, LBA, 19077MB, 39070080 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 "VIA VT83C572 USB" rev 0x10: irq 11
viaenv0 at pci0 dev 7 function 4 "VIA VT82C686 SMBus" rev 0x30: HWM disabled: 24-bit timer at 3579545Hz
auvia0 at pci0 dev 7 function 5 "VIA VT82C686 AC97" rev 0x20: irq 9
ac97: codec id 0x41445348 (Analog Devices AD1881A)
ac97: codec features headphone, Analog Devices Phat Stereo
audio0 at auvia0
vendor "Conexant", unknown product 0x2013 (class communications subclass miscellaneous, rev 0x01) at pci0 dev 9 function 0 not configured
cbb0 at pci0 dev 10 function 0 "TI PCI1410 CardBus" rev 0x01: irq 9
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0:
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 "VIA UHCI root hub" rev 1.00/1.00 addr 1
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
biomask ef7d netmask ef7d ttymask ffff
mtrr: Pentium Pro MTRR support
url0 at uhub0 port 2 "Linksys Linksys USB LAN Adapter" rev 1.10/1.00 addr 2
url0: address 00:10:60:e7:25:5a
urlphy0 at url0 phy 0: RTL internal phy
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
Labels: Compaq Presario 1200, hardware, Mouse, OpenBSD
Beloved weather, here; Mordor in the South
Haven't posted anything in a while regarding the weather, mostly because the temperatures (at last!) are like I like them, or at least, how I like them to start to be for an upcoming winter.
Of course, this being Argentina, we are having a volcano erupting far in the South, in Patagonia, but the ashes seem to be creeping up North right up to Bs As, tho I haven't seeing them, they are scattered way, way up in the sky, and so far this is nothing compared to the worst days of the effing smoke.
That is, "nothing compared", here is Bs As, in Patagonia it is way worse than what it was here in the city.
Friday, May 09, 2008
The (drop)shadow-less PuTTY
I have noticed (and this isn't a "Windows Vista" kinda thing, on XP happened the same) that if you use Y'z Shadow, to get the drop shadow effect, then the main window for PuTTY, the best SSH client for Windows, IMHO, does not produce any shadow beneath it.
It does "get" the shadows from any other windows that happen to be on top of it, but, like you can see on the screenshot, the PuTTY window doesn't cast any shadow on the desktop; or onto anything that happens to be beneath it.
This obviously doesn't affect the program at all, unless you are a raving drop shadow fetishist, and this does not affect the "terminal" windows with the actual SSH sessions at all, only PuTTY's main window.
Labels: Drop Shadow Effect, Microsoft, Programs, Screen Shots, Vista, Windows
I love this screenshot
It is not only the theme (but it weights...) and it is certainly not the wallpaper (but the Aquaish quality doesn't hurt at all, I love those, you know... link 1 link 2 link 3)
But no matter what, I simply love & enjoy the current look of Tango.
The humongous desktop icons, even tho they seem a little goofy, I like them too!
Labels: Screen Shots, Vista, Windows
Thursday, May 08, 2008
Another shot at MRTG
HtmlDir: /var/www_ssl/default-website/mrtg/
ImageDir: /var/www_ssl/default-website/mrtg/images
LogDir: /var/www_ssl/default-website/mrtg/logs
ThreshDir: /var/lib/mrtg
Refresh: 600
XSize[_]: 250
Ysize[_]: 67
Colours[_]: --#7aafff,--#1000ff,--#006600,--#ff00ff
MaxBytes[_]: 125000000
## -----------------------------------------------
###############################
## Number of procs
###############################
Target[local_procs]: `/usr/local/etc/scripts/dataGathering/stat.pl procs`
Options[local_procs]: nopercent,gauge,noinfo,nobanner,noi
Title[local_procs]: Number of processes
MaxBytes[local_procs]: 1000000
YLegend[local_procs]: Processes
ShortLegend[local_procs]:
LegendO[local_procs]:
LegendI[local_procs]:
Legend1[local_procs]:
Legend2[local_procs]:
PageTop[local_procs]: Number of processes
WithPeak[local_procs]: wmy
Legend4[local_procs]:
## -----------------------------------------------
###############################
## Number of TCP connections
###############################
Target[local_tcpopen]: `/usr/local/etc/scripts/dataGathering/stat.pl tcpopen`
Options[local_tcpopen]: nopercent,gauge,noinfo,nobanner,noi
Title[local_tcpopen]: Open TCP connections
MaxBytes[local_tcpopen]: 1000000
YLegend[local_tcpopen]: Connections
ShortLegend[local_tcpopen]:
LegendO[local_tcpopen]: Open TCP connections:
Legend2[local_tcpopen]: Connections
PageTop[local_tcpopen]: Open TCP connections
WithPeak[local_tcpopen]: wmy
Legend4[local_tcpopen]: Max number of open TCP connections
## -----------------------------------------------
###############################
## Uptime
###############################
Target[local_uptime]: `/usr/local/etc/scripts/dataGathering/stat.pl uptime`
Options[local_uptime]: nopercent,gauge,noinfo,nobanner,noi
Title[local_uptime]: Uptime
MaxBytes[local_uptime]: 1000000
YLegend[local_uptime]: Days
ShortLegend[local_uptime]: days
LegendO[local_uptime]: Uptime:
LegendI[local_uptime]:
Legend1[local_uptime]:
Legend2[local_uptime]: Server uptime (in days)
PageTop[local_uptime]: Uptime
WithPeak[local_uptime]: wmy
Legend4[local_uptime]: Server uptime (in days)
## -----------------------------------------------
###############################
## Load
###############################
Target[local_load]: `/usr/local/etc/scripts/dataGathering/stat.pl load`
Options[local_load]: nopercent,gauge,noinfo,nobanner,noi
Title[local_load]: Load
MaxBytes[local_load]: 100
YLegend[local_load]: Load
ShortLegend[local_load]: Load
LegendO[local_load]: Load:
Legend2[local_load]: load
PageTop[local_load]: Load
WithPeak[local_load]: wmy
Legend4[local_load]: Max system load
## -----------------------------------------------
###############################
## Users on the server
###############################
Target[local_users]: `/usr/local/etc/scripts/dataGathering/stat.pl users`
Options[local_users]: nopercent,gauge,noinfo,nobanner,noi
Title[local_users]: Number of users
MaxBytes[local_users]: 1000
YLegend[local_users]: Users
ShortLegend[local_users]:
LegendO[local_users]:
LegendI[local_users]:
Legend1[local_users]:
Legend2[local_users]:
PageTop[local_users]: Users logged in
WithPeak[local_users]: wmy
Legend4[local_users]: Max number of users logged in
## -----------------------------------------------
################################
## Volume on eth0
################################
Target[local_vol_eth0]: `/usr/local/etc/scripts/dataGathering/netVol.sh eth0`
Options[local_vol_eth0]: nopercent,noinfo,gauge,nobanner
Maxbytes[local_vol_eth0]: 10000000
kMG[local_vol_eth0]: M,G,T,P
Title[local_vol_eth0]: Incoming on eth0
PageTop[local_vol_eth0]: Volume on eth0
YLegend[local_vol_eth0]: Megabytes
ShortLegend[local_vol_eth0]:
Legend1[local_vol_eth0]: Incoming
Legend2[local_vol_eth0]: Outgoing
LegendI[local_vol_eth0]: Incoming:
LegendO[local_vol_eth0]: Outgoing:
WithPeak[local_vol_eth0]: wmy
Legend3[local_vol_eth0]: Max incoming
Legend4[local_vol_eth0]: Max outgoing
## -----------------------------------------------
LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
LoadMIBs: /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt
Target[local_memory]: memAvailReal.0&memTotalReal.0:XXXXXXXXXXXXX@localhost
Title[local_memory]: Free Memory
PageTop[local_memory]: Free memory
MaxBytes[local_memory]: 100000000000
ShortLegend[local_memory]:
YLegend[local_memory]: Megabytes
LegendI[local_memory]: Free:
LegendO[local_memory]: Total:
Legend1[local_memory]: Free memory, not including swap, in bytes
Legend2[local_memory]: Total memory
Options[local_memory]: gauge,nopercent,noinfo
kMG[local_memory]: k,M,G,T,P,X
LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Target[local_swap]: memAvailSwap.0&memAvailSwap.0:XXXXXXXXXXXXX@localhost
PageTop[local_swap]: Swap memory
Options[local_swap]: nopercent,gauge,noinfo
Title[local_swap]: Free swap memory
MaxBytes[local_swap]: 4192924
kMG[local_swap]: k,M,G,T,P,X
YLegend[local_swap]: Gigabytes
ShortLegend[local_swap]:
LegendI[local_swap]: Free swap:
LegendO[local_swap]:
Legend1[local_swap]: Swap memory avail, in bytes
## -----------------------------------------------
###############################
## RAM & Load use
###############################
Target[local_perf]: `/usr/local/etc/scripts/dataGathering/getLoad2.sh`
Title[local_perf]: CPU load & memory use
MaxBytes[local_perf]: 100
PageTop[local_perf]: CPU load & memory use
Options[local_perf]: noinfo,gauge,nopercent,nobanner
YLegend[local_perf]: Percentage
ShortLegend[local_perf]: %
WithPeak[local_perf]: wmy
Legend1[local_perf]: CPU
Legend2[local_perf]: Memory usage
LegendI[local_perf]: Load:
LegendO[local_perf]: Mem:
## -----------------------------------------------
################################
## eth0 traffic
################################
Target[local_traffic]: `/usr/local/etc/scripts/dataGathering/mrtgstat-net.sh eth0`
Title[local_traffic]: Traffic analysis eth0
MaxBytes[local_traffic]: 1400000
PageTop[local_traffic]: Traffic analysis on network interface eth0
Options[local_traffic]: bits,noinfo,nopercent,nobanner
YLegend[local_traffic]: eth0 use
WithPeak[local_traffic]: wmy
LegendI[local_traffic]: Incoming:
LegendO[local_traffic]: Outgoing:
Legend1[local_traffic]: Incoming
Legend2[local_traffic]: Outgoing
## -----------------------------------------------
################################
## HDD space
################################
Target[df-root]: `/usr/local/etc/scripts/dataGathering/mrtg-df.sh /`
Options[df-root]: nopercent,nobanner,nolegend,noinfo,integer,gauge
MaxBytes[df-root]: 18577596
kmg[df-root]: KB,MB,GB
Title[df-root]: Disk usage for /
PageTop[df-root]: Disk usage /
YLegend[df-root]: Gigabytes
ShortLegend[df-root]:
LegendI[df-root]: avail
LegendO[df-root]: used
Target[df-boot]: `/usr/local/etc/scripts/dataGathering/mrtg-df.sh /boot`
Options[df-boot]: nopercent,nobanner,nolegend,noinfo,integer,gauge
MaxBytes[df-boot]: 194442
kmg[df-boot]: KB,MB,GB
Title[df-boot]: Disk usage for /boot
PageTop[df-boot]: Disk usage /boot
YLegend[df-boot]: Megabytes
ShortLegend[df-boot]:
LegendI[df-boot]: avail
LegendO[df-boot]: used
Target[df-usr]: `/usr/local/etc/scripts/dataGathering/mrtg-df.sh /usr`
Options[df-usr]: nopercent,nobanner,nolegend,noinfo,integer,gauge
MaxBytes[df-usr]: 30961696
kmg[df-usr]: KB,MB,GB
MaxBytes[df-usr]: 30961696
kmg[df-usr]: KB,MB,GB
Title[df-usr]: Disk usage for /usr
PageTop[df-usr]: Disk usage /usr
YLegend[df-usr]: Gigabytes
ShortLegend[df-usr]:
LegendI[df-usr]: avail
LegendO[df-usr]: used
Target[df-usr-ora]: `/usr/local/etc/scripts/dataGathering/mrtg-df.sh /usr/local/oracle`
Options[df-usr-ora]: nopercent,nobanner,nolegend,noinfo,integer,gauge
MaxBytes[df-usr-ora]: 30961696
kmg[df-usr-ora]: KB,MB,GB
Title[df-usr-ora]: Disk usage for /usr/local/oracle
PageTop[df-usr-ora]: Disk usage /usr/local/oracle
YLegend[df-usr-ora]: Gigabytes
ShortLegend[df-usr-ora]:
LegendI[df-usr-ora]: avail
LegendO[df-usr-ora]: used
Target[df-home]: `/usr/local/etc/scripts/dataGathering/mrtg-df.sh /home`
Options[df-home]: nopercent,nobanner,nolegend,noinfo,integer,gauge
MaxBytes[df-home]: 41990128
kmg[df-home]: KB,MB,GB
Title[df-home]: Disk usage for /home
PageTop[df-home]: Disk usage /home
YLegend[df-home]: Gigabytes
ShortLegend[df-home]:
LegendI[df-home]: avail
LegendO[df-home]: used
Target[df-tmp]: `/usr/local/etc/scripts/dataGathering/mrtg-df.sh /tmp`
Options[df-tmp]: nopercent,nobanner,nolegend,noinfo,integer,gauge
MaxBytes[df-tmp]: 1035660
kmg[df-tmp]: KB,MB,GB
Title[df-tmp]: Disk usage for /tmp
PageTop[df-tmp]: Disk usage /tmp
YLegend[df-tmp]: Megabytes
ShortLegend[df-tmp]:
LegendI[df-tmp]: avail
LegendO[df-tmp]: used
Target[df-var]: `/usr/local/etc/scripts/dataGathering/mrtg-df.sh /var`
Options[df-var]: nopercent,nobanner,nolegend,noinfo,integer,gauge
MaxBytes[df-var]: 25806268
kmg[df-var]: KB,MB,GB
Title[df-var]: Disk usage for /var
PageTop[df-var]: Disk usage /var
YLegend[df-var]: Gigabytes
ShortLegend[df-var]:
LegendI[df-var]: avail
LegendO[df-var]: used
## -----------------------------------------------
# EoF #
Labels: Linux, Monitoring, Network monitoring
Wednesday, May 07, 2008
Outlook kaput
During the night Outlook took a dive, and it never got back to me.
Personally I simply don't understand how this email client etc can be so popular, it is a nightmare to configure -especially if you use IMAP- it is not to difficult to do, but it is a royal PITA to find the options buried between the menus & more & menus.
Also, it looks like a dog vomit, not only this version that it is old, but newer ones look they were designed and colored with crayola.
Compared with Apple's Mail, the only plus I found is the IMAP's ability to handle subscriptions, and the integration with the Calendar (something that Leopard's mail now includes)
Tuesday, May 06, 2008
Screenshot (another one) & nostalgia film
Yet another screenshot, with an oldie favorite film of mine, The Sure Thing
Labels: Films, Screen Shots, Vista, Windows
Os X wannabe on Vista
Another screenshot of Tango.
This time, using this theme Leopard 1.0a, just for the kick of it.
Labels: Compaq Presario F700, Faux OSX, Screen Shots, Vista, Windows
Monday, May 05, 2008
Ubuntu on the Compaq Presario F700
There were a few problems, with the WiFi card, and the video card, the native resolution (1280x800) of the laptop's monitor can't be used, it is lowered to 800x600, and, needles to say, the "Desktop effects" do not work.
I'm sure that on a properly installed box, with the drivers installed, al of this problems can be worked out; but, for a Live CD session it is just to much work.
Update (24 Sept 2008) :
Getting an extra SATA HDD to install Ubuntu for real (Ubuntu on the Compaq Presario F700 (2))
Labels: Compaq Presario F700, hardware, Ubuntu
VDV brunign rplobem
Never used the DVD burner that much on the box, so I don't understand what it might be complaining about... Maybe lack of work :)
The burner is the DVD burner:
SONY DVD RW DRU-700A:
Firmware Revision: VY02
Interconnect: ATAPI
Burn Support: Yes (Vendor Supported)
Profile Path: VendorSupport.drprofile
Cache: 2048 KB
Reads DVD: Yes
CD-Write: -R, -RW
DVD-Write: -R, -RW, +R, +RW, +R DL
Burn Underrun Protection CD: Yes
Burn Underrun Protection DVD: Yes
Write Strategies: CD-TAO, CD-SAO, CD-Raw, DVD-DAO
Media: No
Labels: Apple, hardware, QuickSilver
Sunday, May 04, 2008
Bad mouse, bad!
The wheel button started to work bad, to the point where it doesn't work, you have to press it like Godzilla to make it work (luckily, the wheel itself does without any problem)
I can't vouch for the magnifier, because since I don't use it, I haven't installed the software not on Tango nor on Thor. (but that has nothing to do with the wheel button problem)
The whole mouse feels a little clanky, and way too plastic like for my taste.
Any way, I'll use it till I destroy it for good.
My advice, if you can, stay away from this mouse.