Plan 9 from Bell Labs’s /usr/web/sources/extra/changes/2005/0904

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Install new kernels for these recent changes:
Clean up error messages from namec.
Add more PC MMU checking on suicide (debugging some
random suicides that Geoff has been seeing).
 [rsc] --rwxrwxr-x M 190743 glenda sys 1838424 Sep  4 08:05 386/9pc
	/sys/src/9/pc/l.s:_multibootheader
	/sys/src/9/pc/mmu.c:checkmmu
	/sys/src/9/pc/mmu.c:mmuinit
	/sys/src/9/pc/trap.c:_dumpstack
	/sys/src/9/port/chan.c:ewalk
	/sys/src/9/port/chan.c:growparse
	/sys/src/9/port/chan.c:namec
	/sys/src/9/port/chan.c:nameerror
	/sys/src/9/port/chan.c:namelenerror
	/sys/src/9/port/chan.c:parsename
	/sys/src/9/port/chan.c:validname0
	/sys/src/9/port/chan.c:walk
	/sys/src/9/port/devkprof.c:kprofattach
	/sys/src/libc/port/utfnlen.c:utfnlen
 [rsc] --rwxrwxr-x M 190743 glenda sys 1492680 Sep  4 08:05 386/9pccpu
	/sys/src/9/pc/l.s:_multibootheader
	/sys/src/9/pc/mmu.c:checkmmu
	/sys/src/9/pc/mmu.c:mmuinit
	/sys/src/9/pc/sdscsi.c:scsiid
	/sys/src/9/pc/trap.c:_dumpstack
	/sys/src/9/port/chan.c:ewalk
	/sys/src/9/port/chan.c:growparse
	/sys/src/9/port/chan.c:namec
	/sys/src/9/port/chan.c:nameerror
	/sys/src/9/port/chan.c:namelenerror
	/sys/src/9/port/chan.c:parsename
	/sys/src/9/port/chan.c:validname0
	/sys/src/9/port/chan.c:walk
	/sys/src/9/port/devkprof.c:kprofattach
	/sys/src/libc/port/utfnlen.c:utfnlen
 [rsc] --rwxrwxr-x M 190743 glenda sys 2044222 Sep  4 08:05 386/9pcdisk
 [rsc] --rwxrwxr-x M 190743 presotto sys 2387046 Sep  4 08:05 386/9pcf
	/sys/src/9/pc/l.s:_multibootheader
	/sys/src/9/pc/mmu.c:checkmmu
	/sys/src/9/pc/mmu.c:mmuinit
	/sys/src/9/pc/trap.c:_dumpstack
	/sys/src/9/port/chan.c:ewalk
	/sys/src/9/port/chan.c:growparse
	/sys/src/9/port/chan.c:namec
	/sys/src/9/port/chan.c:nameerror
	/sys/src/9/port/chan.c:namelenerror
	/sys/src/9/port/chan.c:parsename
	/sys/src/9/port/chan.c:validname0
	/sys/src/9/port/chan.c:walk
	/sys/src/9/port/devkprof.c:kprofattach
	/sys/src/libc/port/utfnlen.c:utfnlen

Add /dev/kbmap to termrc's construction of /dev.
 [rsc] --rwxrwxr-x M 190743 glenda sys 2653 Sep  4 08:08 rc/bin/termrc
	/n/sourcesdump/2005/0904/plan9/rc/bin/termrc:54,60 - 
	/n/sourcesdump/2005/0905/plan9/rc/bin/termrc:54,60
	  	/bin/bind -a '#t' /dev >/dev/null >[2=1]
	  	/bin/bind -a '#A' /dev >/dev/null >[2=1]
	  case NCR* 'AT&TNSX'* generic* _MP_* 'alpha apc'*
	- 	for(i in H w f t m v L S P U '$' Σ)
	+ 	for(i in H w f t m v L S P U '$' Σ κ)
	  		/bin/bind -a '#'^$i /dev >/dev/null >[2=1]
	  	for(disk in /dev/sd??) {
	  		if(test -f $disk/data && test -f $disk/ctl)

Be consistent about root qid: use 0 not 42 (no idea what 42 was).
 [rsc] --rw-rw-r-- M 190743 glenda sys 15730 Sep  4 08:09 sys/src/cmd/wikifs/fs.c
	/n/sourcesdump/2005/0904/plan9/sys/src/cmd/wikifs/fs.c:109,115 - 
	/n/sourcesdump/2005/0905/plan9/sys/src/cmd/wikifs/fs.c:109,115
	  	r->fid->aux = a;
	  	a->name = s_copy(r->ifcall.uname);
	  
	- 	r->ofcall.qid = (Qid){mkqid(Droot, 0, 0, 42), 0, QTDIR};
	+ 	r->ofcall.qid = (Qid){mkqid(Droot, 0, 0, 0), 0, QTDIR};
	  	r->fid->qid = r->ofcall.qid;
	  	respond(r, nil);
	  }
 [sys] --rwxrwxr-x M 190743 glenda sys 202134 Sep  4 23:10 386/bin/wikifs
	/sys/src/cmd/wikifs/fs.c:fsattach


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].