Oh Brave New World!

Lucas v. 29.0 released!

April 4, 2009 · 2 Comments

After one year of hard work, good and bad experiences, people that stayed and people that went away and a lot of love, we deliver another milestone of this project called Lucas.

Highlights:

* Several bugfixes, related to growing up, getting a life and being a man.
* Improved memory management,
* New multi tasking system,
* New heuristics to deal with tough situations.
* Code related to the gratitude for everything that happened so far to me is unchanged.

This is the last release before the long awaited version 30.0 :)

Download: Widely available to my friends. Just drop me a call :)

→ 2 CommentsCategories: Uncategorized

Happy birthday brother

March 30, 2009 · Leave a Comment

Today is my younger brother’s birthday. Just thought I would make a quick note about it. Happy birthday, that we might be able to celebrate many more birth dates with you :)

→ Leave a CommentCategories: Uncategorized

Code

March 21, 2009 · Leave a Comment

Language.
Precise, unambiguous.
The building blocks of our solid state dreams.

→ Leave a CommentCategories: Uncategorized

Autotest 0.9.1 released!

March 18, 2009 · Leave a Comment

Autotest 0.9.1 was just released. This is mostly a bugfix release, while we are preparing the next major version (0.10.0).

If you hit a bug, don’t be shy and open a ticket on our bug tracking system:

http://autotest.kernel.org/newticket

Release repository:

http://test.kernel.org/releases/0.9.1/

Release notes:

http://autotest.kernel.org/wiki/Release0.9.1

Now, let’s work hard on 0.10.0 :)

→ Leave a CommentCategories: planetLTC

Aquelas lindas noites de luar

March 13, 2009 · Leave a Comment

Madrugada de verão

Chuva fria caindo lá fora

Pra onde foi a saudade?

→ Leave a CommentCategories: Uncategorized

When to hide kernel structures from userspace and when to not hide them?

March 12, 2009 · 2 Comments

Newer versions of our linux distributions had their includes revised: A lot of kernel structures that were previously exported to userspace now are not exported anymore. To take an example, definitions of page size (macro PAGE_SIZE), usually found on asm/page.h, that used to be available when one installed the kernel-headers (or equivalent) package.

I see the point of hiding internal kernel structures from most userspace programs, usually they shouldn’t mess with such structures. But if your userspace program is actually a test for a kernel feature? Tests that are designed to test the kernel should be able to access those structures, otherwise we won’t be accurate and portable on our tests.

Example: I am getting the cerberus testsuite to compile under ubuntu 9.04 and opensuse 11. They both don’t have asm/page.h anymore and some of the code of the cerberus test suite use the PAGE_SIZE macro. Doing a bit of research points out to the fact that I should be using the getpagesize() function from unistd.h. Should I really?

unistd.h code:

/* Return the number of bytes in a page.  This is the system's page size,
which is not necessarily the same as the hardware page size.  */
extern int getpagesize (void)  __THROW __attribute__ ((__const__));

An inspection on the testsuite code shows me that the authors really meant to use the hardware page sizes:


/* Takes aligned buffers. Finds an arbitrary location in memory of a
* user process (must be passed as an array of ints) and translates
* it to physical memory location. All this without kernel support
* (besides /proc/kcore). Optionally specify a character alignment in
* case the memory buffer is not byte-aligned. */
...
/* Now compute the offset (in chars) of the error from the page
boundary. */
fail_page_offset = ((int) (&nbuf[offset])) % PAGE_SIZE

So, how do we handle ’special’ userspace programs that are intended to test kernel and hardware? Do we still enforce this restriction of not being able to access kernel structures or we do have an alternative solution? Comments are very very much appreciated, I would like to get some ideas before I start to fix those suites…

→ 2 CommentsCategories: planetLTC

Finding the firmware level of the power machine from your linux lpar

March 11, 2009 · 2 Comments

When you are working with IBM system p machines you frequently need to get the firmware level for the machine you are running. You can get that information from HMC or the FSP web interface, but you can also get it from your linux lpar installed.

I knew that lsmcode would return that information for power machines not managed by HMCs For machines managed by HMCs, that is not possible. What would I do in this case? . Reading the man page for lsmcode, I knew that the information I was looking for was under /proc/device-tree/. A little bit of find on a one liner (the good ol’ brute force method) showed me the info I was looking for:

Disclaimer: The one liner below is known to eat small puppies and kittens. I told you!

# cd /proc/device-tree
# for file in $(find . | grep fw); do echo "$file contents:"; cat $file; echo; done
output ommited

Alas, I found it :)

# cat /proc/device-tree/openprom/ibm,fw-vernum_encoded
ES330_044

Back to work…

→ 2 CommentsCategories: planetLTC

Sábado de carnaval

February 24, 2009 · 1 Comment

A noite plácida

O som das crianças brincando no parque

Mais um sábado de carnaval

→ 1 CommentCategories: Uncategorized

A poética das mil e uma noites

February 21, 2009 · Leave a Comment

“Foi até a beleza para ser avaliado,

e ela abaixou a cabeça, envergonhada;

perguntaram: ‘já viste algo assim, beleza?’

e ela respondeu: ‘desse jeito não’”.

É senhor Borges, o senhor tinha razão.

→ Leave a CommentCategories: Uncategorized

Autotest 0.9.0 released!

February 17, 2009 · 1 Comment

The time has come. After 5 weeks of work, we have the first stable release for the project.

The first stable release of the project is out. Thanks to everybody that
helped to make this happen!

The release process was discussed and implemented and certainly needs a
lot of adjustments. I am confident that next release we’ll make it a lot
better.

We tried to be as careful as possible, but I bet there are lots of bugs
lying around there. If you hit one, don’t be shy and open a ticket on
our bug tracking system

http://autotest.kernel.org/newticket

Here are the links that matters the most:

Release repository:

http://test.kernel.org/releases/0.9.0/

Release notes:

http://autotest.kernel.org/wiki/Release0.9.0

→ 1 CommentCategories: planetLTC