9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Error booting from latest plan9.iso download
@ 2007-05-07  5:57 Wes
  2007-05-07  6:02 ` Federico Benavento
  0 siblings, 1 reply; 10+ messages in thread
From: Wes @ 2007-05-07  5:57 UTC (permalink / raw)
  To: 9fans

Hi, I seem to have an error booting from the latest plan9.iso
downloaded from the Bell Lab's site.  It will boot OK into the
installer, but when booting after installing to the hard drive, or
when booting plan9 from the cdrom directly, it gives me an error:

"
init: starting /bin/rc
bind: #k: unknown device in # filename
rc: null list in concatenation
init: rc exit status: rc 8: error
"

and then dumps me to a terminal without attempting to load rio.
Is this a known issue? is there a workaround?


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

* Re: [9fans] Error booting from latest plan9.iso download
  2007-05-07  5:57 [9fans] Error booting from latest plan9.iso download Wes
@ 2007-05-07  6:02 ` Federico Benavento
  2007-05-07  6:04   ` Wes
  0 siblings, 1 reply; 10+ messages in thread
From: Federico Benavento @ 2007-05-07  6:02 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

hola,

some recent changes broke the start up

> init: starting /bin/rc
> bind: #k: unknown device in # filename

diskparts tries to bind #k, but there is no k device

> rc: null list in concatenation
> init: rc exit status: rc 8: error

sysname is not set, hence you thet error

>
> and then dumps me to a terminal without attempting to load rio.
> Is this a known issue? is there a workaround?
>
echo mymachine > /dev/sysname
/rc/bin/termrc


-- 
Federico G. Benavento


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

* Re: [9fans] Error booting from latest plan9.iso download
  2007-05-07  6:02 ` Federico Benavento
@ 2007-05-07  6:04   ` Wes
  2007-05-07  6:53     ` Wes
  0 siblings, 1 reply; 10+ messages in thread
From: Wes @ 2007-05-07  6:04 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Ahh thanks, worked like a charm.

Wes

On 5/7/07, Federico Benavento <benavento@gmail.com> wrote:
> hola,
>
> some recent changes broke the start up
>
> > init: starting /bin/rc
> > bind: #k: unknown device in # filename
>
> diskparts tries to bind #k, but there is no k device
>
> > rc: null list in concatenation
> > init: rc exit status: rc 8: error
>
> sysname is not set, hence you thet error
>
> >
> > and then dumps me to a terminal without attempting to load rio.
> > Is this a known issue? is there a workaround?
> >
> echo mymachine > /dev/sysname
> /rc/bin/termrc
>
>
> --
> Federico G. Benavento
>


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

* Re: [9fans] Error booting from latest plan9.iso download
  2007-05-07  6:04   ` Wes
@ 2007-05-07  6:53     ` Wes
  2007-05-07  8:35       ` Martin Neubauer
  0 siblings, 1 reply; 10+ messages in thread
From: Wes @ 2007-05-07  6:53 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

hmm, echoing machinename to /dev/sysname doesn't seem to be persistent
across reboots and adding it to termrc also doesn't seem to take.
Will I have to do this every bootup?

On 5/7/07, Wes <anomaly256@gmail.com> wrote:
> Ahh thanks, worked like a charm.
>
> Wes
>
> On 5/7/07, Federico Benavento <benavento@gmail.com> wrote:
> > hola,
> >
> > some recent changes broke the start up
> >
> > > init: starting /bin/rc
> > > bind: #k: unknown device in # filename
> >
> > diskparts tries to bind #k, but there is no k device
> >
> > > rc: null list in concatenation
> > > init: rc exit status: rc 8: error
> >
> > sysname is not set, hence you thet error
> >
> > >
> > > and then dumps me to a terminal without attempting to load rio.
> > > Is this a known issue? is there a workaround?
> > >
> > echo mymachine > /dev/sysname
> > /rc/bin/termrc
> >
> >
> > --
> > Federico G. Benavento
> >
>


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

* Re: [9fans] Error booting from latest plan9.iso download
  2007-05-07  6:53     ` Wes
@ 2007-05-07  8:35       ` Martin Neubauer
  2007-05-07 10:11         ` Federico Benavento
  0 siblings, 1 reply; 10+ messages in thread
From: Martin Neubauer @ 2007-05-07  8:35 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

* Wes (anomaly256@gmail.com) wrote:
> hmm, echoing machinename to /dev/sysname doesn't seem to be persistent
> across reboots and adding it to termrc also doesn't seem to take.
> Will I have to do this every bootup?

The ``right'' solution would be to specify your network configuration in
/lib/ndb/local. If you have only a single plan9 machine you can get away
with ``echo hostname > /dev/sysname'' in termrc (or, rather, termrc.local).

	Martin



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

* Re: [9fans] Error booting from latest plan9.iso download
  2007-05-07  8:35       ` Martin Neubauer
@ 2007-05-07 10:11         ` Federico Benavento
  2007-05-08  0:10           ` Wes
  0 siblings, 1 reply; 10+ messages in thread
From: Federico Benavento @ 2007-05-07 10:11 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I thought we were talking about booting the live CD...
after the installation add an entry to /lib/ndb/local

sys=mymachine ether=macaddres

you can find nic's macaddres by catting /net/ether0/addr
ah, and it has to be in lower case

On 5/7/07, Martin Neubauer <m.ne@gmx.net> wrote:
> * Wes (anomaly256@gmail.com) wrote:
> > hmm, echoing machinename to /dev/sysname doesn't seem to be persistent
> > across reboots and adding it to termrc also doesn't seem to take.
> > Will I have to do this every bootup?
>
> The ``right'' solution would be to specify your network configuration in
> /lib/ndb/local. If you have only a single plan9 machine you can get away
> with ``echo hostname > /dev/sysname'' in termrc (or, rather, termrc.local).
>
>         Martin
>
>


-- 
Federico G. Benavento


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

* Re: [9fans] Error booting from latest plan9.iso download
  2007-05-07 10:11         ` Federico Benavento
@ 2007-05-08  0:10           ` Wes
  2007-05-08  5:02             ` [9fans] Sam: m and "changes not in sequence" Yard Ape
  0 siblings, 1 reply; 10+ messages in thread
From: Wes @ 2007-05-08  0:10 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I did add it to termrc, but when I rebooted I forgot to do an fshalt
first so it didn't take.  All good now, thanks.  I'll set it up the
proper way now.

Wes

On 5/7/07, Federico Benavento <benavento@gmail.com> wrote:
> I thought we were talking about booting the live CD...
> after the installation add an entry to /lib/ndb/local
>
> sys=mymachine ether=macaddres
>
> you can find nic's macaddres by catting /net/ether0/addr
> ah, and it has to be in lower case
>
> On 5/7/07, Martin Neubauer <m.ne@gmx.net> wrote:
> > * Wes (anomaly256@gmail.com) wrote:
> > > hmm, echoing machinename to /dev/sysname doesn't seem to be persistent
> > > across reboots and adding it to termrc also doesn't seem to take.
> > > Will I have to do this every bootup?
> >
> > The ``right'' solution would be to specify your network configuration in
> > /lib/ndb/local. If you have only a single plan9 machine you can get away
> > with ``echo hostname > /dev/sysname'' in termrc (or, rather, termrc.local).
> >
> >         Martin
> >
> >
>
>
> --
> Federico G. Benavento
>


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

* [9fans] Sam: m and "changes not in sequence"
  2007-05-08  0:10           ` Wes
@ 2007-05-08  5:02             ` Yard Ape
  2007-05-08 19:18               ` Micah Stetson
  2007-05-09 15:18               ` rog
  0 siblings, 2 replies; 10+ messages in thread
From: Yard Ape @ 2007-05-08  5:02 UTC (permalink / raw)
  To: 9fans

One of my favourite functions of ed is to arrange the lines of a file by regex:

g/foobar/m0

(The usefulness of this becomes clear when you're working on horrendus spreadsheets, for example.)

In Sam, I tried variations of:

x g/foobar/m0

but consistently received "changes not in sequence" errors.

I don't understand.  As I read Mr. Pike's paper, Sam works much as ed in these loops; one pass over the file to mark the changes to be made, another to make the changes. 

Thanks in advance!


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

* Re: [9fans] Sam: m and "changes not in sequence"
  2007-05-08  5:02             ` [9fans] Sam: m and "changes not in sequence" Yard Ape
@ 2007-05-08 19:18               ` Micah Stetson
  2007-05-09 15:18               ` rog
  1 sibling, 0 replies; 10+ messages in thread
From: Micah Stetson @ 2007-05-08 19:18 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> In Sam, I tried variations of:
>
> x g/foobar/m0
>
> but consistently received "changes not in sequence" errors.
>
> I don't understand.  As I read Mr. Pike's paper, Sam works much as ed in these
> loops; one pass over the file to mark the changes to be made, another to make
> the changes.

That's correct, as I understand it, but the changes have to proceed in
sequence from the beginning of the file to the end -- no jumping
around.  When you run x g/foobar/m0 you get a set of changes like
<insert a line at 0><delete a line someplace else><insert a line at
0><delete a line someplace else>.  Those changes jump back and forth
in the file, and sam won't allow it.

The only way I know to work around it is to use a temporary file.  Say
you're working on a file named foo and you have an empty file open
named tmp, then you can do this:

x g/foobar/m"tmp
X/tmp/,m"foo"0

Though I would probably just use the first command and work with the
lines in the temporary file.

It would be nice if sam converted 'x g/foobar/m0' to <insert all the
lines at 0><delete a line someplace else><delete a line someplace
else>, etc.  I don't know how hard that would be, though.

Micah


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

* Re: [9fans] Sam: m and "changes not in sequence"
  2007-05-08  5:02             ` [9fans] Sam: m and "changes not in sequence" Yard Ape
  2007-05-08 19:18               ` Micah Stetson
@ 2007-05-09 15:18               ` rog
  1 sibling, 0 replies; 10+ messages in thread
From: rog @ 2007-05-09 15:18 UTC (permalink / raw)
  To: 9fans

> In Sam, I tried variations of:
> 
> x g/foobar/m0
> 
> but consistently received "changes not in sequence" errors.

try

,|tail -r


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

end of thread, other threads:[~2007-05-09 15:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-07  5:57 [9fans] Error booting from latest plan9.iso download Wes
2007-05-07  6:02 ` Federico Benavento
2007-05-07  6:04   ` Wes
2007-05-07  6:53     ` Wes
2007-05-07  8:35       ` Martin Neubauer
2007-05-07 10:11         ` Federico Benavento
2007-05-08  0:10           ` Wes
2007-05-08  5:02             ` [9fans] Sam: m and "changes not in sequence" Yard Ape
2007-05-08 19:18               ` Micah Stetson
2007-05-09 15:18               ` rog

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