>Turn on debugging in atyfb.c and post the results.
> * Debug flags.
OK. I'm afraid I haven't got that much time to spare on this, which is why I
asked if anyone else had managed this!
What I've got is linux-2.4.3.mips-src-01.00.tar.gz (from ftp.mips.com)
patched to make the FPU emulator work reliably (taken from the mail list),
aty.h and atyfb.c from linux-2.4.6.tar.gz (from ftp.kernel.org) with DEBUG
defined. The kernel is configured for a little endian Malta board, virtual
terminal, framebuffer, ATI Mach64, PS2 keyboard (I had to change the MIPS
config.in for this), GDB debugging.
The relevant console output is:
atyfb: 3D RAGE (XL) [0x4752 rev 0x65] 512K SGRAM, 14.31818 MHz XTAL, 230 MHz
, 120 Mhz MCLK
BUS_CNTL DAC_CNTL MEM_CNTL EXT_MEM_CNTL CRTC_GEN_CNTL DSP_CONFIG DSP_ON_OFF
80000001 06010000 00085838 00000081 04000000 00000000 00000000
PLL ac ac 24 df f6 04 00 fd 8e 9e 65 05 00 00 00 00
It hangs here.
Adding printk()'s, it seems that one of the places it hangs is in
wait_for_fifo() reading FIFO_STAT.