From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 14 May 2001 16:30:24 -0400 Message-ID: <20010514203054.27065.qmail@dirac.net> To: 9fans@cse.psu.edu From: kjn9@citizenearth.com Topicbox-Message-UUID: 9fb9d644-eac9-11e9-9e20-41e7f4b1d025 kjn9@citizenearth.com> Subject: [9fans] Rebuilding Plan9 for an ATI Xpert98 Graphics Card Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: 14 May 2001 20:30:54 -0000 Dear 9fans, I had problems installing Plan 9 because my OEM ATI Xpert98 video card was not quite right. Charles Forsyth kindly supplied a modified boot disk, which worked with the card, booted into rio, and let me install Plan 9. I now need to integrate Charles' revisions (see the end of this message) into the system on my hard drive, so that it will recognise the graphics card and boot into rio. After modifying two source files, I need to run cd /sys/src/9/pc; mk installall cd /sys/src/cmd/aux/vga; mk install I can boot from the hard drive to a 'dos-like' screen (therefore I do not have the convenience of sam etc). I have installed the wrap0730 upgrade from the CD, and the three large updates from the Bell Labs site. Before modifying the source files, to check that everything was working, I tried to build the unmodified source code. Although the command cd /sys/src/cmd/aux/vga; mk install works without a hitch, the command cd /sys/src/9/pc; mk installall gives these errors: ../boot/libboot.a8 doesn't exist: assuming it will be an archive 8a l.s mk: no recipe to make dial.8 mk: for (i in pc ... : exit status=rc 231:mk 233:error I would be grateful for any help in getting this to work properly, as I am keen to try out Plan 9, and I must be very close now to having a working system! Best wishes, Keith Nash. ----- Original Message ----- From: To: Sent: Thursday, February 08, 2001 8:39 AM Subject: Re: new boot diskette > you'll need to make appropriate changes to the mach64xx code > in the kernel and aux/vga, and remake both. > cd /sys/src/9/pc; mk installall > cd /sys/src/cmd/aux/vga; mk install > > you should first apply the relevant updates from > http://plan9.bell-labs.com/magic/9down/ureg?haveread=yes&exportok=yes > > then apply the following changes. > you'll need to check that the line numbers below make sense in context. > the first adds an entry to a table, the second set add cases to two switches. > > diff /n/dump/2001/0105/sys/src/9/pc/vgamach64xx.c /sys/src/9/pc/vgamach64xx.c > 26a27 > > ('G'<<8)|'R', > > diff /n/dump/2001/0105/sys/src/cmd/aux/vga/mach64xx.c /sys/src/cmd/aux/vga/mach64xx.c > 423a424 > > case ('G'<<8)|'R': > 835a837 > > case ('G'<<8)|'R': > > oh. you'll need to add that line to vgadb as well. > > 0xC0000-0xC0200="MACH64GM" > >> 0xC0000-0xC0200="MACH64GR" > 0xC0000-0xC0200="MACH64GZ"