9fans archive / 2006 / 06 / 471 /    prev next

From: geoff@col...
Subject: [9fans] /sys/src/fs changes on sources
Date: Tue, 27 Jun 2006 03:40:27 -0700

I've just pushed out some changes to /sys/src/fs.

The most noticeable changes are to pc/sdata.c.  Some dead code has
been removed, some magic numbers have been eliminated, and a "stati"
command now reports statistics on ide/ata disk usage, similar to
"statd".  It turned out that there was a latent bug: if you didn't
have anything anything installed on the first ide controller (or
presumably if you had disabled it in the BIOS), that caused confusion
about whether or not the first ide disk (which would usually be the
first disk on the second controller in such a configuration) was h0 or
h2.  This has been fixed, so beware that if you have such a
configuration, your first ide disk is now h2 (or nvr=hd!2!⋯ in plan9.ini).

It is now possible to build a file server kernel to live at virtual
address 0 and that in turn allows it to use up to 3.5GB of RAM (above
that is PCI space, and without an e820 scan of memory, I'm just trying
to avoid touching it).

All of this has worked for me; let me know if you have trouble with it.

There may be more changes coming in the next day or two.