9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] bind error after today pull update
@ 2007-05-05 17:31 David JEANNOT
  2007-05-05 18:56 ` lucio
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: David JEANNOT @ 2007-05-05 17:31 UTC (permalink / raw)
  To: 9fans

Hi,

Today, under qemu, I updated my stand-alone Plan 9 system with:

/usr/glenda/bin/rc/pull
/usr/glenda/bin/rc/pull -s /386/lib/libc.a
/usr/glenda/bin/rc/pull -s /rc/bin/termrc

without apparent problems. But right after fshalt -r, rio
doesn't start anymore; I get:

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

init: starting /bin/rc
% _

Any ideas? Thank you very much, david.


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

* Re: [9fans] bind error after today pull update
  2007-05-05 17:31 [9fans] bind error after today pull update David JEANNOT
@ 2007-05-05 18:56 ` lucio
  2007-05-05 19:22 ` Martin Neubauer
  2007-05-08  8:56 ` [9fans] " David JEANNOT
  2 siblings, 0 replies; 7+ messages in thread
From: lucio @ 2007-05-05 18:56 UTC (permalink / raw)
  To: 9fans

> bind: #k: unknown device in # filename

I don't see #k (fs(3)) appearing anywhere in /rc/bin/termrc, so I can
only presume you have it in a local startup.  Depending on whether you
actually use it or not, you'll have to fix the startup script or
compile a kernel that has '#k' in it.  I presume the absence of '#k'
is causing rc to stop.

Of course, I am just as likely to be missing the wood for the trees.

++L



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

* Re: [9fans] bind error after today pull update
  2007-05-05 17:31 [9fans] bind error after today pull update David JEANNOT
  2007-05-05 18:56 ` lucio
@ 2007-05-05 19:22 ` Martin Neubauer
  2007-05-05 20:01   ` David JEANNOT
  2007-05-08  8:56 ` [9fans] " David JEANNOT
  2 siblings, 1 reply; 7+ messages in thread
From: Martin Neubauer @ 2007-05-05 19:22 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

* David JEANNOT (djeannot24@gmail.com) wrote:
> init: starting /bin/rc
> bind: #k: unknown device in # filename

This shouldn't be serious at all. The new diskparts script tries to bind the
fs device, whis isn't compiled into the standard terminal kernel, into the
namespace. I thought about making a patch to silence the bind, but it's
probably a good idea to have the error messages if you are using the fs
device.

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

I'd like to make a wild guess here. Did you set up your network manually in
your old termrc? What does `echo $sysname' say? `cat /dev/sysname' ?

	Martin



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

* Re: [9fans] bind error after today pull update
  2007-05-05 19:22 ` Martin Neubauer
@ 2007-05-05 20:01   ` David JEANNOT
  2007-05-05 20:19     ` Federico Benavento
  2007-05-05 22:32     ` David JEANNOT
  0 siblings, 2 replies; 7+ messages in thread
From: David JEANNOT @ 2007-05-05 20:01 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Sat, May 05, 2007 at 09:22:09PM +0200, Martin Neubauer wrote:
> * David JEANNOT (djeannot24@gmail.com) wrote:
> > rc: null list in concatenation
> > init: rc exit status: rc 23: error
> 
> I'd like to make a wild guess here. Did you set up your network
> manually in your old termrc?

Absolutely, I had:

if(! test -e /net/ipifc/0/ctl)
	ip/ipconfig -g 10.0.2.2 ether /net/ether0 10.0.2.15 255.255.255.0 > /dev/null >[2=1]

> What does `echo $sysname' say? `cat /dev/sysname' ?

Nothing for both:

% echo $sysname

% cat /dev/sysname
% _

Thank you Martin, david.


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

* Re: [9fans] bind error after today pull update
  2007-05-05 20:01   ` David JEANNOT
@ 2007-05-05 20:19     ` Federico Benavento
  2007-05-05 22:32     ` David JEANNOT
  1 sibling, 0 replies; 7+ messages in thread
From: Federico Benavento @ 2007-05-05 20:19 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

add ether= to your sys=yourmachine entry in your /lib/ndb/local
or brute force it by putting sysname=mymachine in your plan9.ini/termrc

On 5/5/07, David JEANNOT <djeannot24@gmail.com> wrote:
> On Sat, May 05, 2007 at 09:22:09PM +0200, Martin Neubauer wrote:
> > * David JEANNOT (djeannot24@gmail.com) wrote:
> > > rc: null list in concatenation
> > > init: rc exit status: rc 23: error
> >
> > I'd like to make a wild guess here. Did you set up your network
> > manually in your old termrc?
>
> Absolutely, I had:
>
> if(! test -e /net/ipifc/0/ctl)
>         ip/ipconfig -g 10.0.2.2 ether /net/ether0 10.0.2.15 255.255.255.0 > /dev/null >[2=1]
>
> > What does `echo $sysname' say? `cat /dev/sysname' ?
>
> Nothing for both:
>
> % echo $sysname
>
> % cat /dev/sysname
> % _
>
> Thank you Martin, david.
>


-- 
Federico G. Benavento


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

* Re: [9fans] bind error after today pull update
  2007-05-05 20:01   ` David JEANNOT
  2007-05-05 20:19     ` Federico Benavento
@ 2007-05-05 22:32     ` David JEANNOT
  1 sibling, 0 replies; 7+ messages in thread
From: David JEANNOT @ 2007-05-05 22:32 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 5/5/07, David JEANNOT <djeannot24@gmail.com> wrote:
> On Sat, May 05, 2007 at 09:22:09PM +0200, Martin Neubauer wrote:
> > * David JEANNOT (djeannot24@gmail.com) wrote:
> > > rc: null list in concatenation
> > > init: rc exit status: rc 23: error
> >
> > What does `echo $sysname' say? `cat /dev/sysname' ?
>
> Nothing for both:
>
> % echo $sysname
>
> % cat /dev/sysname
> % _
>
> Thank you Martin, david.
>

Ok, I read "sorry: termrc-error" on plan9changes list and modified
termrc accordingly.

Thanks to all, david.


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

* [9fans] Re: bind error after today pull update
  2007-05-05 17:31 [9fans] bind error after today pull update David JEANNOT
  2007-05-05 18:56 ` lucio
  2007-05-05 19:22 ` Martin Neubauer
@ 2007-05-08  8:56 ` David JEANNOT
  2 siblings, 0 replies; 7+ messages in thread
From: David JEANNOT @ 2007-05-08  8:56 UTC (permalink / raw)
  To: 9fans

On May 5, 7:32 pm, djeanno...@gmail.com (David JEANNOT) wrote:
> Hi,
>
> Today, under qemu, I updated my stand-alone Plan 9 system with:
>
> /usr/glenda/bin/rc/pull
> /usr/glenda/bin/rc/pull -s /386/lib/libc.a
> /usr/glenda/bin/rc/pull -s /rc/bin/termrc
>
> without apparent problems. But right after fshalt -r, rio
> doesn't start anymore; I get:
>
> init: starting /bin/rc
> bind: #k: unknown device in # filename
> rc: null list in concatenation
> init: rc exit status: rc 23: error
>
> init: starting /bin/rc
> % _
>
> Any ideas? Thank you very much, david.

Ok, I read "sorry: termrc-error" in the plan9changes list and updated
termrc accordingly.

Thanks to all, david.


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

end of thread, other threads:[~2007-05-08  8:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-05 17:31 [9fans] bind error after today pull update David JEANNOT
2007-05-05 18:56 ` lucio
2007-05-05 19:22 ` Martin Neubauer
2007-05-05 20:01   ` David JEANNOT
2007-05-05 20:19     ` Federico Benavento
2007-05-05 22:32     ` David JEANNOT
2007-05-08  8:56 ` [9fans] " David JEANNOT

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