9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* RE: [9fans] Auth problems (again?)
@ 2002-09-20 16:22 Russ Cox
  2002-09-20 16:44 ` [9fans] How Apache & Plan 9 will defeat Microsoft's Passport Arnaud SAHUGUET
  2002-09-20 17:09 ` [9fans] Auth problems (again?) gabidiaz
  0 siblings, 2 replies; 8+ messages in thread
From: Russ Cox @ 2002-09-20 16:22 UTC (permalink / raw)
  To: 9fans

It sounds like you're now having the same problems
Axel had a few weeks ago.  Can you make sure you
are running the latest kernel?  That is, do:

	9fat:
	cp /386/9pcdisk /n/9fat/9pcdisk

then halt and reboot.
I'm assuming you're booting from sdC0!9fat!9pcdisk;
that's how the install program sets things up.

Russ



^ permalink raw reply	[flat|nested] 8+ messages in thread
* RE: [9fans] Auth problems (again?)
@ 2002-09-20  5:03 Russ Cox
  2002-09-20 10:16 ` Gabriel Diaz Lopez de la Llave
  0 siblings, 1 reply; 8+ messages in thread
From: Russ Cox @ 2002-09-20  5:03 UTC (permalink / raw)
  To: 9fans

Try updating from sources again.  It will pick
up a new program called auth/debug.

Run auth/debug.  It asks for your local user
password as well as the cpu hostowner name and
password.  It uses these to check that your
auth server is dialable and that it's giving out
correct tickets (which means it agrees with you
about those passwords).

The idea is that auth/debug will accumulate more
such sanity checks as time goes on.

For example, in my fairly complicated setup (three
p9sk1 domains), running auth/debug yields:

g% grep p9sk1 /mnt/factotum/ctl
key dom=cs.bell-labs.com proto=p9sk1 user=rsc !password?
key dom=outside.plan9.bell-labs.com proto=p9sk1 user=bozo !password?
key dom=insideout.plan9.bell-labs.com proto=p9sk1 role=speakfor user=glenda !password?
g% auth/debug
p9sk1 key: dom=cs.bell-labs.com proto=p9sk1 user=rsc !password?
	successfully dialed auth server
	password for rsc@cs.bell-labs.com [hit enter to skip test]:
	ticket request using rsc@cs.bell-labs.com key succeeded
	cpu server owner for domain cs.bell-labs.com [bootes]:
	password for bootes@cs.bell-labs.com [hit enter to skip test]:
	ticket request using bootes@cs.bell-labs.com key succeeded
p9sk1 key: dom=outside.plan9.bell-labs.com proto=p9sk1 user=bozo !password?
	successfully dialed auth server
	password for bozo@outside.plan9.bell-labs.com [hit enter to skip test]:
	ticket request using bozo@outside.plan9.bell-labs.com key succeeded
	cpu server owner for domain outside.plan9.bell-labs.com [bootes]: glenda
	password for glenda@outside.plan9.bell-labs.com [hit enter to skip test]:
	ticket request using glenda@outside.plan9.bell-labs.com key succeeded
p9sk1 key: dom=insideout.plan9.bell-labs.com proto=p9sk1 role=speakfor user=glenda !password?
	cannot dial auth server: no auth server found for insideout.plan9.bell-labs.com
	csquery authdom=insideout.plan9.bell-labs.com auth=* failed
	csquery dom=insideout.plan9.bell-labs.com auth=''
	dial net!!ticket failed: cs: can't translate address
g%

The first two sections are examples of domains
that worked: I have cs.bell-labs.com (used by plan9.bell-labs.com)
and outside.plan9.bell-labs.com (used by sources)
set up correctly.

In the third, auth/debug flags the fact that it can't
figure out the auth server for the domain and thus can't
dial it.  (That's okay because there is no auth server,
but this is a degenerate case.)

Let me know what you get when you run auth/debug and we'll
go from there.

Russ


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: [9fans] Auth problems (again?)
@ 2002-09-18 20:19 Russ Cox
  2002-09-19 17:07 ` Gabriel Diaz Lopez de la Llave
  0 siblings, 1 reply; 8+ messages in thread
From: Russ Cox @ 2002-09-18 20:19 UTC (permalink / raw)
  To: 9fans

ipsubmask= is now ignored.
the code searches all possible submasks
when walking the database.

on your cpu server, if you run

	cat /mnt/factotum/ctl

what do you see?



^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: [9fans] /sys/src/^(9 boot)^/pc/memory.c
@ 2002-09-18 16:46 Charles Forsyth
  2002-09-18 20:15 ` [9fans] Auth problems (again?) Gabriel Diaz Lopez de la Llave
  0 siblings, 1 reply; 8+ messages in thread
From: Charles Forsyth @ 2002-09-18 16:46 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 619 bytes --]

i think that's what we found when we did VESA-based
work for Inferno.  i'm happy to parcel that up yet
again if anyone's seriously interested in adapting it
for Plan 9, or even current Inferno, or anything else
for that matter, but it takes time to find all the bits,
so be reasonably sure you're going to have the stamina.
other `buts': it relied on software cursors in Inferno;
it relied on non-trivial changes to the bootstrap code
to do real-mode (unreal mode more like) BIOS calls
to gather data before loading the kernel, because cards
didn't implement the 32-bit variants; and it's all
a bit involved.

[-- Attachment #2: Type: message/rfc822, Size: 1571 bytes --]

From: "Russ Cox" <rsc@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] /sys/src/^(9 boot)^/pc/memory.c
Date: Wed, 18 Sep 2002 07:38:59 -0400
Message-ID: <c638d4fcbdf1f3ffb4afccb80d0178b0@plan9.bell-labs.com>

> VBE/AF Standard 1.0

Right.  If I recall correctly and nothing has changed since
then (neither is overwhemlingly likely; it was 1999), most
cards don't bother implementing this part of the standard.

Russ

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

end of thread, other threads:[~2002-09-20 17:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-20 16:22 [9fans] Auth problems (again?) Russ Cox
2002-09-20 16:44 ` [9fans] How Apache & Plan 9 will defeat Microsoft's Passport Arnaud SAHUGUET
2002-09-20 17:09 ` [9fans] Auth problems (again?) gabidiaz
  -- strict thread matches above, loose matches on Subject: below --
2002-09-20  5:03 Russ Cox
2002-09-20 10:16 ` Gabriel Diaz Lopez de la Llave
2002-09-18 20:19 Russ Cox
2002-09-19 17:07 ` Gabriel Diaz Lopez de la Llave
2002-09-18 16:46 [9fans] /sys/src/^(9 boot)^/pc/memory.c Charles Forsyth
2002-09-18 20:15 ` [9fans] Auth problems (again?) Gabriel Diaz Lopez de la Llave

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