Re: [9fans] 9atom installation fails due to missing files

2013-07-18 Thread Daode
erik quanstrom  wrote:
 |if you have plan 9, or 9p working (say on linux or osx), then you can

Hello!
I now have a running 9atom system!!  :-))

 |"9fs 9atom".  for plan 9 the incantation would be

I've spend the last two weeks adding command line editing to the
mailer i maintain, and am in the process of implementing basic
editing without having editline(3)/readline(3) available.  Harder
than i thought due to multibyte and visual width issues...

I hope to spend some time with 9atom next week.  My current
Unicode working status (S-CText:tools/make-ucd.c) also takes
PropList.txt into account, which extends the sets of alphabetics
and whitespace, for example -- i'll send patches if i can enhance
anything and already today, and would love to see that accepted.

P.S.: http://www.9atom.org/magic/man2html/2/toalpharune leads to
nowhere.

 |- erik

--steffen



Re: [9fans] 9atom installation fails due to missing files

2013-07-17 Thread erik quanstrom
> And since neither i do have a running 9atom nor are there 9atom
> sources available for non-9atom runners (i think) i just don't
> know yet how it feels or which awk is running and wether it has
> the bug or not.  _Soy_.
> But many thanks for answering the mail.
> I think this system rocks.

hey, i missed this email somehow.  sorry for the slow response.
the 9atom sources are available in two ways.

if you have plan 9, or 9p working (say on linux or osx), then you can
"9fs 9atom".  for plan 9 the incantation would be

case atom
srv $nflag -q tcp!atom.9atom.org atom &&
mount $nflag /srv/atom /n/atom atom

i'm not quite sure how this would translate to linux or osx.

otherwise, you can download the .iso, which contains all the source.
http://ftp.9atom.org/other/9atom.iso.bz2

- erik



Re: [9fans] 9atom installation fails due to missing files [solved]

2013-07-08 Thread Steffen Nurpmeso
Well, maybe later, on the Athlon (i think trying notebook is hard).
But anyway i'm happy to have a running 9atom now.

(The ~28 percent CPU usage of VM i talked about is the idle load also
when installed, btw.  And awk doesn't support hex.  Ciao.)

On 8 July 2013 22:06, Matthew Veety  wrote:
> On Jul 8, 2013, at 15:55, Steffen "Daode" Nurpmeso  wrote:
>
>> Yapadapad!
>> While biking i became enlightened.
>> Just disabled the network and it boots (VirtualBox 4.2.16, OS X).
>> It seems the system hangs around trying to get some IP address via
>> DHCP??  I don't know why it does so long (minutes) and requires
>> such a lot of CPU time (though of the VM) doing so, ... but it's
>> working just fine!  Just some more years 'till i know what i'm
>> talking about!!
>>
>> --steffen
>>
>
> Yeah it does that. You have to give her a static ip. If you're on wireless, 
> promisc  sometimes helps. Best solution is install natively.
>
>



Re: [9fans] 9atom installation fails due to missing files [solved]

2013-07-08 Thread Matthew Veety
On Jul 8, 2013, at 15:55, Steffen "Daode" Nurpmeso  wrote:

> Yapadapad!
> While biking i became enlightened.
> Just disabled the network and it boots (VirtualBox 4.2.16, OS X).
> It seems the system hangs around trying to get some IP address via
> DHCP??  I don't know why it does so long (minutes) and requires
> such a lot of CPU time (though of the VM) doing so, ... but it's
> working just fine!  Just some more years 'till i know what i'm
> talking about!!
> 
> --steffen
> 

Yeah it does that. You have to give her a static ip. If you're on wireless, 
promisc  sometimes helps. Best solution is install natively.




Re: [9fans] 9atom installation fails due to missing files [solved]

2013-07-08 Thread Daode
Yapadapad!
While biking i became enlightened.
Just disabled the network and it boots (VirtualBox 4.2.16, OS X).
It seems the system hangs around trying to get some IP address via
DHCP??  I don't know why it does so long (minutes) and requires
such a lot of CPU time (though of the VM) doing so, ... but it's
working just fine!  Just some more years 'till i know what i'm
talking about!!

--steffen



Re: [9fans] 9atom installation fails due to missing files

2013-07-08 Thread Carl Phillips
I think you need the extension pack installed...if I uninstall it from 
this machine I can provoke the behaviour you describe with high cpu load 
and hangs after starting bin/rc. The install to disk option seems less 
prone to failure and sometimes it boots the live CD but takes a long 
time doing so.


After I reinstall the extension pack and enable the USB and USB 2 
controllers in the VM things start working better.







Re: [9fans] 9atom installation fails due to missing files

2013-07-08 Thread erik quanstrom
> The only thing which comes to my (user-space only) attention is
> `igbe: unusable PciCLS: 0, using 8 longs'.  Otherwise anything
> looks good to me, except that, whatever i do, we loop hanging
> after `init: starting /bin/rc'.

that is a detail that matters only to physical devices.

- erik



Re: [9fans] 9atom installation fails due to missing files

2013-07-08 Thread Daode
Carl Phillips  wrote:
 |On 08/07/13 13:06, Steffen Daode Nurpmeso wrote:
 |> Now i only fail to get it working in VirtualBox; both of 4.2.14
 |> (June 21th, 86644) and 4.2.16 (86992) hang after "init: starting
 |> /bin/rc" with 100% CPU time ("Live CD": ~28%).  I hope i find some
 |> time to try it on an old but physical Athlon system on some
 |> weekend...:(
 |
 |Is the storage controller set to IDE? 9atom doesn't seem to like 

Yes.  It's PIIX3(chipset; ICH9: southbridge not found) / no I/O
APIC / PAE/NX / PIIX3( / 82540EM / USB / no serial bus.

The only thing which comes to my (user-space only) attention is
`igbe: unusable PciCLS: 0, using 8 longs'.  Otherwise anything
looks good to me, except that, whatever i do, we loop hanging
after `init: starting /bin/rc'.

 |VirtualBox SATA as the hard disk/cdrom type. Also disable the Enable 
 |absolute pointing device option if set and you might need the VirtualBox 

Never set.

 |Extension Pack installed.

This i don't have.  I'm using the freeware version.

 |Most of the other VirtualBox options don't seem to influence things too 
 |badly (on a quick trial).

--steffen



Re: [9fans] 9atom installation fails due to missing files

2013-07-08 Thread Carl Phillips

On 08/07/13 13:06, Steffen Daode Nurpmeso wrote:

Now i only fail to get it working in VirtualBox; both of 4.2.14
(June 21th, 86644) and 4.2.16 (86992) hang after "init: starting
/bin/rc" with 100% CPU time ("Live CD": ~28%).  I hope i find some
time to try it on an old but physical Athlon system on some
weekend...:(


Is the storage controller set to IDE? 9atom doesn't seem to like 
VirtualBox SATA as the hard disk/cdrom type. Also disable the Enable 
absolute pointing device option if set and you might need the VirtualBox 
Extension Pack installed.


Most of the other VirtualBox options don't seem to influence things too 
badly (on a quick trial).












Re: [9fans] 9atom installation fails due to missing files

2013-07-08 Thread Daode
erik quanstrom  wrote:
 |> But then, unfortunately, there were quite some copy errors which
 |> caused the installation to fail.
 |> 
 |>   /n/[newfs - dist]/68020/lib/{ape,libc.a}
 |>   /n/[newfs - dist]/alpha/lib/{ape,libc.a}
 |>   /n/newfs/sys/src/pcpae/{archacpi,audioac97{,m},audiohd}.c
 |>   (because /n/newfs/sys/src/pcpae doesn't exist)
 |
 |that's unfortunate.  but those files aren't required.

So i tried again and over-installation "continued" after the error
and therefore just worked.

Now i only fail to get it working in VirtualBox; both of 4.2.14
(June 21th, 86644) and 4.2.16 (86992) hang after "init: starting
/bin/rc" with 100% CPU time ("Live CD": ~28%).  I hope i find some
time to try it on an old but physical Athlon system on some
weekend... :(

And since neither i do have a running 9atom nor are there 9atom
sources available for non-9atom runners (i think) i just don't
know yet how it feels or which awk is running and wether it has
the bug or not.  _Soy_.
But many thanks for answering the mail.
I think this system rocks.

--steffen



Re: [9fans] 9atom installation fails due to missing files

2013-07-06 Thread erik quanstrom
> But then, unfortunately, there were quite some copy errors which
> caused the installation to fail.
> 
>   /n/[newfs - dist]/68020/lib/{ape,libc.a}
>   /n/[newfs - dist]/alpha/lib/{ape,libc.a}
>   /n/newfs/sys/src/pcpae/{archacpi,audioac97{,m},audiohd}.c
>   (because /n/newfs/sys/src/pcpae doesn't exist)

that's unfortunate.  but those files aren't required.

> P.S.: Does the Plan9/9atom awk(1) has the same bug that i ran into
> this week?  It is present in all awk(1)s i've tested, including
> GNU awk(1) ($TAWK is simply awk, and UnicodeData.txt is 6.2.0):

the one true awk (bwk's source) does not accept hex, so it doesn't
have this bug.

on 9atom, /sys/src/cmd/runetype has the files used to automaticly
generate /lib/unicode, the unicode tables used by libc, and an awk
version of /sys/src/cmd/aux/mklatinkbd.c (not used).  there is also
the source for the programs in rune(1),

http://www.9atom.org/magic/man2html/1/rune

- erik



[9fans] 9atom installation fails due to missing files

2013-07-06 Thread Daode
Hello,
today i finally made it to one of the things i was looking forward
to, installing 9atom.  It was a truly smooth experience.  (Some
`cannot set [gu]id on xy' messages, mostly for a `bootes' user in
/usr and /cron, and also for secstore{,/store,/who}.)

But then, unfortunately, there were quite some copy errors which
caused the installation to fail.

  /n/[newfs - dist]/68020/lib/{ape,libc.a}
  /n/[newfs - dist]/alpha/lib/{ape,libc.a}
  /n/newfs/sys/src/pcpae/{archacpi,audioac97{,m},audiohd}.c
  (because /n/newfs/sys/src/pcpae doesn't exist)

Oh, what a shame!  Is there anything i can do about that?  (The
9atom.iso has been downloaded on 2013-06-25.)  Any help on Monday
would bee appreciated!

P.S.: Does the Plan9/9atom awk(1) has the same bug that i ran into
this week?  It is present in all awk(1)s i've tested, including
GNU awk(1) ($TAWK is simply awk, and UnicodeData.txt is 6.2.0):

  ## Input producers

  io_unicode_data() {
< unicode/UnicodeData.txt ${TAWK} '
  BEGIN {FS = ";" ; OFS = ";"}
  # There are no comments in this, but..
  /^[[:space:]]*[^#]+$/ {
i = $2
# Ranges must become unrolled, otherwise step on
if (i !~ /, First>/) {
  $2 = ""
  print
  next
}

r1 = sprintf("%d", "0x" $1)
getline
r2 = sprintf("%d", "0x" $1)
$2 = ""
# Note: this gets around bugs in all tested awk(1)s: the range
# F-D, and only that one, will *not* be evaluated unless we to
# force integerfication
r1 = r1 + 0
r2 = r2 + 0
while (r1 <= r2) {
  $1 = sprintf("%X", r1)
  printf "%s\n", $0
  ++r1
}
  }
'
  }

Thanks and ciao!

--steffen