9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 9atom installation fails due to missing files
@ 2013-07-06 15:14 Steffen Daode Nurpmeso
  2013-07-06 21:36 ` erik quanstrom
  0 siblings, 1 reply; 12+ messages in thread
From: Steffen Daode Nurpmeso @ 2013-07-06 15:14 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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
        # F0000-FFFFD, 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



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [9fans] 9atom installation fails due to missing files
  2013-07-06 15:14 [9fans] 9atom installation fails due to missing files Steffen Daode Nurpmeso
@ 2013-07-06 21:36 ` erik quanstrom
  2013-07-08 12:06   ` Steffen Daode Nurpmeso
  2013-07-08 19:55   ` [9fans] 9atom installation fails due to missing files [solved] Steffen Daode Nurpmeso
  0 siblings, 2 replies; 12+ messages in thread
From: erik quanstrom @ 2013-07-06 21:36 UTC (permalink / raw)
  To: 9fans

> 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



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [9fans] 9atom installation fails due to missing files
  2013-07-06 21:36 ` erik quanstrom
@ 2013-07-08 12:06   ` Steffen Daode Nurpmeso
  2013-07-08 12:42     ` Carl Phillips
  2013-07-17 18:06     ` erik quanstrom
  2013-07-08 19:55   ` [9fans] 9atom installation fails due to missing files [solved] Steffen Daode Nurpmeso
  1 sibling, 2 replies; 12+ messages in thread
From: Steffen Daode Nurpmeso @ 2013-07-08 12:06 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

erik quanstrom <quanstro@quanstro.net> 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.  _Sorrrry_.
But many thanks for answering the mail.
I think this system rocks.

--steffen



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [9fans] 9atom installation fails due to missing files
  2013-07-08 12:06   ` Steffen Daode Nurpmeso
@ 2013-07-08 12:42     ` Carl Phillips
  2013-07-08 13:28       ` Steffen Daode Nurpmeso
  2013-07-17 18:06     ` erik quanstrom
  1 sibling, 1 reply; 12+ messages in thread
From: Carl Phillips @ 2013-07-08 12:42 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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).











^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [9fans] 9atom installation fails due to missing files
  2013-07-08 12:42     ` Carl Phillips
@ 2013-07-08 13:28       ` Steffen Daode Nurpmeso
  2013-07-08 13:32         ` erik quanstrom
  2013-07-08 14:51         ` Carl Phillips
  0 siblings, 2 replies; 12+ messages in thread
From: Steffen Daode Nurpmeso @ 2013-07-08 13:28 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Carl Phillips <cphillips@setcc.com> 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



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [9fans] 9atom installation fails due to missing files
  2013-07-08 13:28       ` Steffen Daode Nurpmeso
@ 2013-07-08 13:32         ` erik quanstrom
  2013-07-08 14:51         ` Carl Phillips
  1 sibling, 0 replies; 12+ messages in thread
From: erik quanstrom @ 2013-07-08 13:32 UTC (permalink / raw)
  To: 9fans

> 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



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [9fans] 9atom installation fails due to missing files
  2013-07-08 13:28       ` Steffen Daode Nurpmeso
  2013-07-08 13:32         ` erik quanstrom
@ 2013-07-08 14:51         ` Carl Phillips
  1 sibling, 0 replies; 12+ messages in thread
From: Carl Phillips @ 2013-07-08 14:51 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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.






^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [9fans] 9atom installation fails due to missing files [solved]
  2013-07-06 21:36 ` erik quanstrom
  2013-07-08 12:06   ` Steffen Daode Nurpmeso
@ 2013-07-08 19:55   ` Steffen Daode Nurpmeso
  2013-07-08 20:06     ` Matthew Veety
  1 sibling, 1 reply; 12+ messages in thread
From: Steffen Daode Nurpmeso @ 2013-07-08 19:55 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Yapadapaduuuuuuuu!
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



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [9fans] 9atom installation fails due to missing files [solved]
  2013-07-08 19:55   ` [9fans] 9atom installation fails due to missing files [solved] Steffen Daode Nurpmeso
@ 2013-07-08 20:06     ` Matthew Veety
  2013-07-08 20:53       ` Steffen Nurpmeso
  0 siblings, 1 reply; 12+ messages in thread
From: Matthew Veety @ 2013-07-08 20:06 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Jul 8, 2013, at 15:55, Steffen "Daode" Nurpmeso <sdaoden@gmail.com> wrote:

> Yapadapaduuuuuuuu!
> 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.




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [9fans] 9atom installation fails due to missing files [solved]
  2013-07-08 20:06     ` Matthew Veety
@ 2013-07-08 20:53       ` Steffen Nurpmeso
  0 siblings, 0 replies; 12+ messages in thread
From: Steffen Nurpmeso @ 2013-07-08 20:53 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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 <mveety@gmail.com> wrote:
> On Jul 8, 2013, at 15:55, Steffen "Daode" Nurpmeso <sdaoden@gmail.com> wrote:
>
>> Yapadapaduuuuuuuu!
>> 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.
>
>



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [9fans] 9atom installation fails due to missing files
  2013-07-08 12:06   ` Steffen Daode Nurpmeso
  2013-07-08 12:42     ` Carl Phillips
@ 2013-07-17 18:06     ` erik quanstrom
  2013-07-18 10:28       ` Steffen Daode Nurpmeso
  1 sibling, 1 reply; 12+ messages in thread
From: erik quanstrom @ 2013-07-17 18:06 UTC (permalink / raw)
  To: sdaoden, 9fans

> 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.  _Sorrrry_.
> 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



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [9fans] 9atom installation fails due to missing files
  2013-07-17 18:06     ` erik quanstrom
@ 2013-07-18 10:28       ` Steffen Daode Nurpmeso
  0 siblings, 0 replies; 12+ messages in thread
From: Steffen Daode Nurpmeso @ 2013-07-18 10:28 UTC (permalink / raw)
  To: erik quanstrom; +Cc: 9fans

erik quanstrom <quanstro@quanstro.net> 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



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-07-18 10:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-06 15:14 [9fans] 9atom installation fails due to missing files Steffen Daode Nurpmeso
2013-07-06 21:36 ` erik quanstrom
2013-07-08 12:06   ` Steffen Daode Nurpmeso
2013-07-08 12:42     ` Carl Phillips
2013-07-08 13:28       ` Steffen Daode Nurpmeso
2013-07-08 13:32         ` erik quanstrom
2013-07-08 14:51         ` Carl Phillips
2013-07-17 18:06     ` erik quanstrom
2013-07-18 10:28       ` Steffen Daode Nurpmeso
2013-07-08 19:55   ` [9fans] 9atom installation fails due to missing files [solved] Steffen Daode Nurpmeso
2013-07-08 20:06     ` Matthew Veety
2013-07-08 20:53       ` Steffen Nurpmeso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).