9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] ati mach switch vga problem
@ 2003-03-21  0:02 Chris Silva
  2003-03-21 19:09 ` Russ Cox
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Silva @ 2003-03-21  0:02 UTC (permalink / raw)
  To: 9fans

Hello all,

Recently I switched a ATI xpert98 card to a generic ATI Mach64 card and 
I'm having a vga pannic;

cpu0: registers for vga 47
FLAGS=10245 TRAP=0 ECODE=80100366 PC=8013A49A SS=0004 USP=6CA0
AX 00617D9  BX 307FFC90 CX 802587A8 DX 000000000
SI 000000FB  DI  00000202 BP 8026C90B
CS 0010 DS 008 ES 008 FS 001B GS 001B
CR0 800010039 CR2 e07fff10 CR3 01da7000 CR4 00000050
MCA 00000000 MCT 00000000
ur 803fe3d4 up 80272dd8
panic: divide error
ktrace /kernel/path 8010644c 803fe1e8
...
...
...
cpu0: exiting

Is there anyway to fix things?

Thanks,

Chris



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

* Re: [9fans] ati mach switch vga problem
  2003-03-21  0:02 [9fans] ati mach switch vga problem Chris Silva
@ 2003-03-21 19:09 ` Russ Cox
  2003-03-21 20:15   ` Chris Silva
  0 siblings, 1 reply; 4+ messages in thread
From: Russ Cox @ 2003-03-21 19:09 UTC (permalink / raw)
  To: 9fans

> Is there anyway to fix things?

go back to the xpert98.  or buy an nvidia card.
seriously.  i hate the mach64 series.
they're awful to program.

but if you're hell-bent on using it...

let's assume you can boot without vga
and compile a kernel.  (to boot without
vga log in as none during the boot sequence.)

there is a call:

	init_overlayclock(scr);

in /sys/src/9/pc/vgamach64xx.c.  
comment it out.  i think that will
make your problem go away.



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

* Re: [9fans] ati mach switch vga problem
  2003-03-21 19:09 ` Russ Cox
@ 2003-03-21 20:15   ` Chris Silva
  2003-03-21 20:23     ` Russ Cox
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Silva @ 2003-03-21 20:15 UTC (permalink / raw)
  To: 9fans

I'm able to boot up fine with plan9 boot disks. So, I was wondering if 
there were vga settings I could fool around with? since I know that the 
65mhz  generic monitor with 600x800 16bit settings of the boot disk 
works.

On Friday, March 21, 2003, at 12:09 PM, Russ Cox wrote:

>> Is there anyway to fix things?
>
> go back to the xpert98.  or buy an nvidia card.
> seriously.  i hate the mach64 series.
> they're awful to program.
>
> but if you're hell-bent on using it...
>
> let's assume you can boot without vga
> and compile a kernel.  (to boot without
> vga log in as none during the boot sequence.)
>
> there is a call:
>
> 	init_overlayclock(scr);
>
> in /sys/src/9/pc/vgamach64xx.c.
> comment it out.  i think that will
> make your problem go away.
>
>



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

* Re: [9fans] ati mach switch vga problem
  2003-03-21 20:15   ` Chris Silva
@ 2003-03-21 20:23     ` Russ Cox
  0 siblings, 0 replies; 4+ messages in thread
From: Russ Cox @ 2003-03-21 20:23 UTC (permalink / raw)
  To: 9fans

I think the boot disk works because it is very old 
and doesn't have that vga code.  I'm almost certain
you need to rebuild the kernel to fix it.





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

end of thread, other threads:[~2003-03-21 20:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-21  0:02 [9fans] ati mach switch vga problem Chris Silva
2003-03-21 19:09 ` Russ Cox
2003-03-21 20:15   ` Chris Silva
2003-03-21 20:23     ` Russ Cox

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