update:
Since I do have the 2.6.10-5 kernel working with ATI's fglrx driver, I figured I'd install the kernel source and patch arch/i386/kernel/io_apic.c to fix the 2x timer/clock issue. Worked like a charm. I also would like to say that I've run the 2.6.11 kernel with DMA enabled( console mode only ) and it's run without problems through many kernel compiles so I think that ATIIXP chipset driver is fine and that the problem resides with the ATI fglrx graphics card driver.
I installed Ubuntu v5.04 and with kernel v2.6.10-5 I was able to get the fglrx driver from ATI working but since the R4000 also has the ATI chipset, DMA was not functioning with this kernel( broken atiixp ).
Here's some of what I did to get stuff up and running with the stock 2.6.10-5-i386 kernel:
notes:
You might have to install your gcc compiler if that's not already installed since the ATI driver needs to compile and link the driver code to your kernel. That also means you'll need to install the kernel-headers if you've not already done that.
1) The trick to getting fglrx working was to first add "Option "noaccel" to the ati driver section of /etc/X11/xorg.conf. You'll need to do this from the ctl-alt-f1 console when the system first start the Xserver.
2) uninstall the current fglrx driver with Synaptic. Search for fglrx
3) install ATI's driver for the Radeon Xpress 200M using these:
sudo alien fglrx_6_8_0-LATEST-DRIVER.i386.rpm
sudo dpkg --force-overwrite -i fglrx-_6_8_0-LATEST-DRIVER-i368.deb
get the driver here:
https://support.ati.com/ics/support/...p?folderID=358
4) change all occurances of pci_find_class to pci_get_class in the newly installed fglrx file:
/lib/modules/fglrx/build_mod/agpgart_be.c ( vi command: :1,$s;pci_find_class;pci_get_class;g )
5) run both build scripts in this order:
cd /lib/modules/fglrx/build_mod; sudo sh ./make.sh
cd /lib/modules/fglrx; sudo sh make_install.sh
6) run the Xorg config utility using defaults if you don't know the answers: sudo fglrxconfig
7) install the fireglcontrol application so it's menu icon works:
cd /usr/X11R6/bin; sudo bzip2 -d firecontrol.qt3.gcc3.3.3.bz2
sudo ln -s fireglcontrol.qt3.gcc3.3.3 fireglcontrol
As for kernel 2.6.11, DMA seems to work with this( atiixp loads ) but the ATI driver did not compile with the above steps. I had to apply two patches first. You'll find them here:
http://ati.cchtml.com/show_bug.cgi?id=110
apply these patches and then edit the agpgart_be.c file
This generates a loadable fglrx module for the 2.6.11 Ubuntu kernel but whenever I login to the system/GUI, sortly after, it locks up hard. Even changing the xorg.conf back to the original one with the ati driver module and 'option "noaccel"', it still locks up. This tells me that the atiixp IDE driver might be bad or incompatible with the R4000, or something....
Another note about the R4000 and GNU/Linux, it seems the clock/timer is off on this. I've heard that there passing no_timer_clock to the kernel at bootime will fix this but no with the current 2.6.11 Ubuntu precompile kernel. This results in the CPU running at 50% when it should be idling at 0%.
Getting DMA working is a must since I've seen how fast the default ati driver without acceleration ran when it ran for a short period with DMA enabled. It was faster than the 2.6.10 kernel with the 3D support running on the fglrx driver. Or atleast things loaded/started very fast...
I hope to find others attempting to install GNU/Linux on the Compaq R4000 so we can all hash this out together. I'm sticking with the 32bit stuff now since I could not get Java3D working on the 64bit kernel. Test with the Ubuntu64 LiveCD with Java/Java3D tar'ed from a USB-drive for testing.
UPDATE2:
I got IDE DMA working on the 2.6.10 kernel! So the Compaq R4000 is pretty much fully operations( as far as I'm concerned ). Here's what I did:
1) copy drivers/ide/pci/atiixp.c from the 2.6.11 kernel
2) edit line 346 so that "return" moved to line 347 as "return 0"
3) replace in include/linux/pci_ids.h, lines 346 and 347 with:
3a) #define PCI_DEVICE_ID_ATI_IXP200_IDE 0x4349
3b) #define PCI_DEVICE_ID_ATI_IXP300_IDE 0x4369
3c) #define PCI_DEVICE_ID_ATI_IXP400_IDE 0x4376
4) compile and install the new kernel with IDE DMA working!
So, to recap what's working on a Ubuntu v5.04/Debian install:
1) full ATI proprietary driver( 2D and 3D ) fglrx_6_8_0-8.13.4-1.i386.rpm
2) builtin wifi with ndiswrapper and bcmwl5.inf driver
3) builtin sound, ethernet, usb, 2nd video output, powernowd, pcmcia, touchpad, cdrom
4) Timerhack/2x problem and CD/HD with DMA!
YeAH!