Re: [9fans] install failing to detect SATA disk

2013-02-16 Thread Deepak Chawla
No /dev/sd* directory. I only found a /dev/sdctl.

On a side note, I got plan 9 installed on a VBox VM - had to install an
older version of VBox and use IDE controller for the virtual disk.
Mouse worked during install but not after that.
On Feb 16, 2013 1:06 AM, erik quanstrom quans...@quanstro.net wrote:

 On Sat Feb 16 02:00:46 EST 2013, dcha...@gmail.com wrote:

  sorry.. very new to plan9
 
  how to I open a new terminal to run the command?

 first a bit of terminology.  the mouse buttons in plan 9 are
 B1, B2, B3 from left to right.  the right most button is always
 B3 even if there is no middle button.

 hold b3 down in the grey background and a menu will appear.
 release with new highlighted.  goto one the top left corner,
 press and hold b3 and sweep to bottom right corner, then release b3.

 - erik

 ps.  here's a more complete reference:

 http://www.quanstro.net/newbie-guide.pdf




Re: [9fans] install failing to detect SATA disk

2013-02-16 Thread Deepak Chawla
Got mouse back on the VBox VM - had to uncheck Enable absolute pointing
device under Settings-Systems-Motherboard.

Back to the Plan 9 install issue on native h/w.. does Plan 9 support SATA
controllers? My VBox VM also needed the HDD to be on the IDE controller.


On Sat, Feb 16, 2013 at 2:13 AM, Deepak Chawla dcha...@gmail.com wrote:

 No /dev/sd* directory. I only found a /dev/sdctl.

 On a side note, I got plan 9 installed on a VBox VM - had to install an
 older version of VBox and use IDE controller for the virtual disk.
 Mouse worked during install but not after that.
 On Feb 16, 2013 1:06 AM, erik quanstrom quans...@quanstro.net wrote:

 On Sat Feb 16 02:00:46 EST 2013, dcha...@gmail.com wrote:

  sorry.. very new to plan9
 
  how to I open a new terminal to run the command?

 first a bit of terminology.  the mouse buttons in plan 9 are
 B1, B2, B3 from left to right.  the right most button is always
 B3 even if there is no middle button.

 hold b3 down in the grey background and a menu will appear.
 release with new highlighted.  goto one the top left corner,
 press and hold b3 and sweep to bottom right corner, then release b3.

 - erik

 ps.  here's a more complete reference:

 http://www.quanstro.net/newbie-guide.pdf




Re: [9fans] install failing to detect SATA disk

2013-02-16 Thread erik quanstrom
 Back to the Plan 9 install issue on native h/w.. does Plan 9 support SATA
 controllers? My VBox VM also needed the HDD to be on the IDE controller.

it does support ahci controllers.  vbox causes problems for a lot of oses,
and that's probablly a bigger project.

i'm going to guess this is a power management issue.  the ahci driver
was written before the standard, and thus has been a little slow in
catching up.

could you try downloading 9atom, which is quite close to the distribution
(http://ftp.quanstro.net/other/9atom.iso.bz2)?  it has a few power
management wiggles that may fix your issue.

- erik



[9fans] c compiler bug

2013-02-16 Thread erik quanstrom
i don't think this should link, since wrongaddr calls
fn with an Outer* not an Inner*.

#include u.h
#include libc.h

typedef struct  Inner   Inner;
typedef struct  Outer   Outer;

struct Inner {
int x;
};

struct Outer {
charbuf[0x1000];
Inner;
};

void
wrongaddr(Outer *o)
{
static void fn(Outer*);

fn(o);
}

void
main(void)
{
Outer *o;

o = malloc(sizeof *o);
memset(o, 0, sizeof *o);
print(addr o   %#p\n, o);
print(addr o.x %#p\n, o-x);
wrongaddr(o);
}

static void
fn(Inner *i)
{
print(fn addr i.x  %#p\n, i-x);
}
; 6.cbug
addr o  0x4018f0
addr o.x0x4028f0
fn addr i.x 0x4018f0



[9fans] 9vx on mountain lion

2013-02-16 Thread arisawa
Hello 9fans,

my 9vx that was in 9vx-0.12 does not work on mountain lion.
that leads to panic with a message:

-bash$ 9vx.OSX
71 rio fault 0x8 no segment

anyone has newer version or patch?

Kenji Arisawa