From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <34a6236ecdc6dc8dbdfbb8587e346f49@plan9.bell-labs.com> From: "rob pike, esq." To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] Updated Fourth Edition now available Date: Thu, 2 May 2002 23:19:27 -0400 Topicbox-Message-UUID: 85fe8442-eaca-11e9-9e20-41e7f4b1d025 The inevitable sequence of glitches, omissions and outright errors of putting out a distribution has gotten long enough that we have put together an updated package. Details are below, including information about how to update if you've already got the previous (April 27) package. We plan to make future updates incremental and easy to apply. Go to http://plan9.bell-labs.com/plan9dist for the updated package. ===================== If you have already installed Plan 9 and wish to install the changed files, the best way to do this is: * remove /dist/replica/plan9.iso* if they exist. * download a new install floppy (and optionally, archive) * boot the install floppy. * point mountfs at your kfs; tell it to `keep' your old fs * download the new archive or point mountdist at it * run copydist (note that bootsetup will be the default since you've already got a 4e install, albeit an old one). * (optional) install the new kernel by drawing a new window and running g% mount /srv/kfs._dev_sdC0_fs /n/kfs (replace sdC0 with the disk holding your kfs) g% cp /n/kfs/386/9pcdisk /n/9fat * run stop (note that bootsetup will still be the default). * reboot without the floppy If you feel like getting your hands dirty, you can avoid the boot floppy download. Download the CD-ROM image, uncompress it, mount it on /n/dist, and then g% disk/kfscmd allow g% replica/pull /dist/replica/cd After you do this you'll have to reboot, since pretty much every binary gets updated (a bug was fixed in print). In the near future, we will set up an external file server so that it is not necessary to download the whole CD-ROM image in order to get updates. ===================== Here is a short list of the changes and affected files since the last package. It is probably incomplete but the major changes are listed. ===== /sys/doc and /sys/man Lots of documentation tweaks ===== /sys/src/cmd/ssh/pubkey.c The first 11 downloads picked up a copy of /sys/src/cmd/ssh/pubkey.c that could smash your saved keys. You want to see this at /sys/src/cmd/ssh/pubkey.c:165 h, mpsignif(k->n), k->ek, k->n); /* correct */ If you have this, fix the line and recompile if you don't want to download. host, mpsignif(hostkey->n), hostkey->ek, hostkey->n); /* incorrect */ ===== /sys/src/libc/fmt/dofmt.c Two parts: 1) missing code to implement %hh 2) fix portability problem with fetch ===== /sys/src/9/pc/ether8139.c Variable name change to permit compilation. ===== /sys/src/9/bitsy/..., /rc/bin/reboot, /lib/font/bit/lucm/passwd.9.font, /sys/src/cmd/factotum/fgui.c and mkfile Pieces were missing to build bitsy kernel ===== /sys/src/9/pc/devvga.c Touching ovlctl in cga mode caused crash. ===== /sys/src/9/port/devproc.c Protect kernel memory from everyone but hostowner. ===== /sys/src/cmd/aux/vga, /sys/src/9/pc/vga* A number of changes to configure new card variants and one fix to 3dfx.c from Forsyth. Lots of driver tweaks, especially to vmware, nvidia, voodoo ===== /libndb/common venti and wiki port defn's omitted from /lib/ndb/common ===== /sys/src/cmd/upas/filterkit/list.c Fix bug in ! pattern ===== /sys/src/9/port/proc.c Fix calculation of cpu time in wait system call - old long-standing stupid bug! ===== /sys/src/9/port/devmouse.c '#m/mousein' now openable only by hostowner. Also serial mouse support restored. ===== /mail/lib/rewrite.direct /mail/lib/rewrite.gateway Were missing. ===== /sys/src/9/pc New plan9.ini entries *noetherprobe= *nousbprobe= pccard0=disabled pcmcia0=disabled documented in plan9.ini(8) ===== /sys/src/9/port/devproc.c,sysproc.c,proc.c,swap.c "noswap" process control message implemented. (Had been documented before implementation, a first.) ===== /sys/src/cmd/vnc, /sys/src/cmd/auth/factotum They now talk to each other. ===== /sys/src/cmd/disk/kfs When serving 9P on the network can now use factotum to authenticate. ===== /sys/src/cmd/auth/factotum Can write its own tickets when the auth server is unavailable (and it has all the necessary keys). Thus an auth server can once again authenticate itself to a file server at boot time. Thanks to Forsyth. ===== /sys/src/9/pc/usbuhci.c Bad data structure in USB device tree slowed down video on some machines, sometimes spectacularly. ===== /sys/src/cmd/kl Some tweaks to Sparc compiler (sic) again from Forsyth. ===== /sys/src/cmd/unix/drawterm drawterm should compile and run on more Linuxes now. Fixed long-standing error in our assembly for tas x86 gcc. ===== /sys/src/cmd/ndb/dnserver.c, dblookup.c Fixed ttl for negative soa response ===== /sys/src/9/ip/ip.c We were not recalculating the ip length field when stripping ip options out.