[9fans] [9front] enabling authentication on cpu server.

2014-04-14 Thread Eric Lynema
Hello, just getting into the world of plan9/9front here.
I setup a 9front cpu server, and configured a netboot setup so that I
can boot into it remotely, but it does not ask for a password for my
users, and infact, I can't seem to set one ether.

Things I tried so far:
auth/changeuser glenda : changeuser: can't create user glenda:
'/mnt/keys/glenda' create prohibited
local!/dev/sdC0/fscache -c : noauth, noauth, end : system refuses to boot
and maybe a few other things.

Just wondering if there was a guide I missed or research I didn't find
while googling for it?
Any pointers would be greatly appreciated.

Thanks,
Eric



Re: [9fans] [9front] enabling authentication on a cpu server.

2014-04-14 Thread sl
 I setup a 9front cpu server, and configured a netboot
 setup so that I can boot into it remotely, but it does
 not ask for a password for my users, and infact, I can't
 seem to set one ether.

This description is somewhat confusing. Are you attempting
to cpu into your cpu server, or are you attempting to boot
a machine from it over the network? Do you understand the
difference?


 Just wondering if there was a guide I missed

https://code.google.com/p/plan9front/wiki/fqa

sl



Re: [9fans] [9front] enabling authentication on a cpu server.

2014-04-14 Thread Eric Lynema
I think I found it. I am trying to both cpu/drawterm to it and network
boot to it. I was mainly missing the auth server combined with the
noauth in the cachefs -c. Works great now.

On Mon, Apr 14, 2014 at 4:44 PM,  s...@9front.org wrote:
 I setup a 9front cpu server, and configured a netboot
 setup so that I can boot into it remotely, but it does
 not ask for a password for my users, and infact, I can't
 seem to set one ether.

 This description is somewhat confusing. Are you attempting
 to cpu into your cpu server, or are you attempting to boot
 a machine from it over the network? Do you understand the
 difference?


 Just wondering if there was a guide I missed

 https://code.google.com/p/plan9front/wiki/fqa

 sl




[9fans] nvidia 7600GS works now

2014-04-14 Thread kokamoto
I managed to work nVidia 7600GS (10de/0392) card for Plan 9.
As I don't know to whom I send this patch, and it's very small,
I decided to post it here.

/sys/src/cmd/aux/vga/nvidia.c should be changed as follows:

===from here===
208c208
   case 0x0390:
---
   case 0x0390:/* nvidia 7600 */
810c810
   nv-pramin[0x0818] = 0x0100805F;
---
   nv-pramin[0x0818] = 0x0100805F;/*WaitVSync not 
 possible, if possible =0x01008062 */
929c929
   nv-pgraph[0x0608/4] |= 0x0010;
---
   nv-pgraph[0x0608/4] |= 
 nv-pfb[(0x0608/4)] | 0x0010;   /* K.Okamoto */
1013,1015c1013,1023
   } else {
   nv-pgraph[0x09F0/4] = 
nv-pfb[0x0200/4];
   nv-pgraph[0x09F4/4] = 
nv-pfb[0x0204/4];
---
   } else {/* K.Okamoto */
   if ((nv-did  0xfff0) == 0x0090 ||
   (nv-did  0xfff0) == 0x01D0 ||
   (nv-did  0xfff0) == 0x0290 ||
   (nv-did  0xfff0) == 0x0390) {
   nv-pgraph[0x0DF0/4] = 
 nv-pfb[0x0200/4];
   nv-pgraph[0x0DF4/4] = 
 nv-pfb[0x0204/4];
   } else {
   nv-pgraph[0x09F0/4] = 
 nv-pfb[0x0200/4];
   nv-pgraph[0x09F4/4] = 
 nv-pfb[0x0204/4];
   }
===to here==

Kenji

PS. nVidia 7950 card should work, too.




Re: [9fans] nvidia 7600GS works now

2014-04-14 Thread kokamoto
I'm using this for 1680x1050x32 Nanao S2231W
LCD deisplay.
The entry for this display in /lib/vgadb is as follows:

==from here
#
# EIZO Flexscan s2231W (LCD) Analog
#
s2231wA=1680x1050
defaultclock=146.25
shb=1784 ehb=1960 ht=2240
vrs=1053 vre=1059 vt=1089
hsync=- vsync=+

#
# EIZO Flexscan s2231w (LCD) Digital
#
s2231wD=1680x1050
defaultclock=119.0
shb=1728 ehb=1760 vt=1840
vrs=1053 vre=1059 vt=1080
hsync=+ vsync=-
=to here==

Kenji