It's obvious that something strange is happening with AGP and XFree86 4.4. The latest patched driver for the epia M crashes in backend.c, function agp_backend_initialize() of the agpgart driver, at bridge->driver->configure(). Commenting out that line will enable the driver to be installed but Xwindows will crash hard while attempting to play mpeg videos. I was able to use AGP stuff posted by Dave Ashley in "Question about AGP (epia-m)" post but my system will not crash everytime will attempting to set the graphics aperture size. Since this is getting into kernel issues, I'll simply post the log that I have, grab V2 and start from there. Thanks.
LinuxBIOS-1.0.0 Thu Sep 9 10:03:48 EDT 2004 starting... 80 08 07 0d 0a 01 40 00 04 75 75 00 82 08 00 01 0e 04 0c 01 02 20 c0 a0 75 00 00 50 3c 50 2d 40 a0 a0 50 50 00 00 00 00 00 41 4b 34 32 75 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Copying LinuxBIOS to ram. Jumping to LinuxBIOS. LinuxBIOS-1.0.0 Thu Sep 9 10:03:48 EDT 2004 booting... Finding PCI configuration type. PCI: Using configuration type 1 Scanning PCI bus...PCI: pci_scan_bus for bus 0 PCI: 00:00.0 [1106/3123] PCI: 00:01.0 [1106/b091] PCI: 00:0d.0 [1106/3044] PCI: 00:10.0 [1106/3038] PCI: 00:10.1 [1106/3038] PCI: 00:10.2 [1106/3038] PCI: 00:10.3 [1106/3104] PCI: 00:11.0 [1106/3177] PCI: 00:11.1 [1106/0571] PCI: 00:11.5 [1106/3059] PCI: 00:12.0 [1106/3065] PCI: pci_scan_bus for bus 1 PCI: 01:00.0 [1106/3122] PCI: pci_scan_bus returning with max=01 PCI: pci_scan_bus returning with max=01 done turning framebuffer on Allocating PCI resources... ASSIGN RESOURCES, bus 0 PCI: 00:00.0 10 <- [0x00000000 - 0xf7ffffff] prefmem PCI: 00:01.0 1c <- [0x00001000 - 0x00000fff] bus 1 io PCI: 00:01.0 24 <- [0xf8000000 - 0xfbffffff] bus 1 prefmem PCI: 00:01.0 20 <- [0xfc000000 - 0xfcffffff] bus 1 mem ASSIGN RESOURCES, bus 1 PCI: 01:00.0 10 <- [0xf8000000 - 0xfbffffff] prefmem PCI: 01:00.0 14 <- [0xfc000000 - 0xfcffffff] mem ASSIGNED RESOURCES, bus 1 PCI: 00:0d.0 10 <- [0xfd000000 - 0xfd0007ff] mem PCI: 00:0d.0 14 <- [0x00001800 - 0x0000187f] io PCI: 00:10.0 20 <- [0x00001880 - 0x0000189f] io PCI: 00:10.1 20 <- [0x000018a0 - 0x000018bf] io PCI: 00:10.2 20 <- [0x000018c0 - 0x000018df] io PCI: 00:10.3 10 <- [0xfd001000 - 0xfd0010ff] mem PCI: 00:11.1 20 <- [0x000018e0 - 0x000018ef] io PCI: 00:11.5 10 <- [0x00001000 - 0x000010ff] io PCI: 00:12.0 10 <- [0x00001400 - 0x000014ff] io PCI: 00:12.0 14 <- [0xfd002000 - 0xfd0020ff] mem ASSIGNED RESOURCES, bus 0 Allocating VGA resource done. Enabling PCI resourcess...PCI: 00:00.0 cmd <- 06 PCI: 00:01.0 cmd <- 07 PCI: 00:0d.0 cmd <- 83 PCI: 00:10.0 cmd <- 01 PCI: 00:10.1 cmd <- 01 PCI: 00:10.2 cmd <- 01 PCI: 00:10.3 cmd <- 02 PCI: 00:11.0 cmd <- 07 PCI: 00:11.1 cmd <- 07 PCI: 00:11.5 cmd <- 01 PCI: 00:12.0 cmd <- 83 PCI: 01:00.0 cmd <- 03 done. Initializing PCI devices... PCI devices initialized totalram: 96M Initializing CPU #0 Enabling cache... Setting fixed MTRRs(0-88) type: UC Setting fixed MTRRs(0-16) type: WB DONE fixed MTRRs Setting variable MTRR 0, base: 0MB, range: 64MB, type WB Setting variable MTRR 1, base: 64MB, range: 32MB, type WB DONE variable MTRRs Clear out the extra MTRR's call intel_enable_fixed_mtrr() call intel_enable_var_mtrr() Leave setup_mtrrs done.
Max cpuid index : 1 Vendor ID : CentaurHauls Processor Type : 0x00 Processor Family : 0x06 Processor Model : 0x09 Processor Mask : 0x00 Processor Stepping : 0x01 Feature flags : 0x0380b135
MTRR check Fixed MTRRs : Enabled Variable MTRRs: Enabled
Disabling local apic...done. CPU #0 Initialized mainboard fixup northbridge_fixup southbridge_fixup final mainboard fixup final Southbridge fixup enabling video shadow RAM setting firewire Assigning IRQ 10 to 0:d.0 Readback = 10 setting usb Assigning IRQ 11 to 0:10.0 Readback = 11 Assigning IRQ 10 to 0:10.1 Readback = 10 Assigning IRQ 12 to 0:10.2 Readback = 12 Assigning IRQ 5 to 0:10.3 Readback = 5 setting vt8235 Assigning IRQ 5 to 0:11.1 Readback = 5 Assigning IRQ 12 to 0:11.5 Readback = 12 setting ethernet Assigning IRQ 11 to 0:12.0 Readback = 11 setting vga Assigning IRQ 11 to 1:0.0 Readback = 11 setting pci slot setting vt8235 slot Assigning IRQ 5 to 0:11.1 Readback = 5 Assigning IRQ 12 to 0:11.5 Readback = 12 INSTALL REAL-MODE IDT DO THE VGA BIOS found VGA: vid=1106, did=3122 Setting up VGA, VGABIOS_START: 0xfffc0000 Looks like VGA_ROM is good: 0x55 0xaa VGA copy looks good write_protect_vgabios bus/devfn = 0x100 biosint: # 0x15, eax 0x5f00 ebx 0x100 ecx 0x100 edx 0x12 biosint: ebp 0x11af4 esp 0xff2 edi 0xdb4c esi 0x12410 biosint: ip 0x637f cs 0xc000 flags 0x46 biosint: # 0x1a, eax 0xb108 ebx 0x0 ecx 0x0 edx 0x3d5 biosint: ebp 0x11af4 esp 0xfcc edi 0xf6 esi 0x155eb biosint: ip 0x40da cs 0xc000 flags 0x46 0xb108: bus 0 devfn 0x0 reg 0xf6 val 0x3 biosint: # 0x15, eax 0x5f02 ebx 0x100 ecx 0x101 edx 0x3d5 biosint: ebp 0x11af4 esp 0xfb8 edi 0x44 esi 0x155eb biosint: ip 0x63cb cs 0xc000 flags 0x46 biosint: # 0x15, eax 0x5f02 ebx 0x100 ecx 0x101 edx 0x3d5 biosint: ebp 0x11af4 esp 0xfb8 edi 0x44 esi 0x155eb biosint: ip 0x63cb cs 0xc000 flags 0x46 biosint: # 0x15, eax 0x5f02 ebx 0x100 ecx 0x101 edx 0x3d5 biosint: ebp 0x11af4 esp 0xfb8 edi 0x44 esi 0x155eb biosint: ip 0x63cb cs 0xc000 flags 0x46 biosint: # 0x15, eax 0x5f0f ebx 0x100 ecx 0x100 edx 0x3d5 biosint: ebp 0x11af4 esp 0xfee edi 0x44 esi 0x12410 biosint: ip 0x647e cs 0xc000 flags 0x2 biosint: # 0x15, eax 0x5f02 ebx 0x0 ecx 0x1 edx 0x0 biosint: ebp 0x11af4 esp 0xfdc edi 0x44 esi 0x12410 biosint: ip 0x63cb cs 0xc000 flags 0x46 biosint: # 0x15, eax 0x5f18 ebx 0x1 ecx 0x0 edx 0x0 biosint: ebp 0x11af4 esp 0xfde edi 0x44 esi 0x12410 biosint: ip 0x6496 cs 0xc000 flags 0x46 Checking IRQ routing tables... Copying IRQ routing tables to 0xf0000...done. Verifing priq routing tables copy at 0xf0000...failed Wrote linuxbios table at: 00000500 - 0000066c checksum c8a8
Welcome to elfboot, the open sourced starter. January 2002, Eric Biederman. Version 1.2
37:init_bytes() - zkernel_start:0xfffd0000 zkernel_mask:0x0000ffff Found ELF candiate at offset 0 New segment addr 0x94000 size 0x71e8 offset 0x80 filesize 0x3650 (cleaned up) New segment addr 0x94000 size 0x71e8 offset 0x80 filesize 0x3650 Dropping non PT_LOAD segment Loading Segment: addr: 0x0000000000094000 memsz: 0x00000000000071e8 filesz: 0x0000000000003650 Clearing Segment: addr: 0x0000000000097650 memsz: 0x0000000000003b98 Jumping to boot code at 0x94000 ROM segment 0x9bb4 length 0x36f0 reloc 0x9400 Etherboot 5.0.8 (GPL) Tagged ELF for [VIA 86C100] Boot from (N)etwork or from (L)ocal? clocks_per_tick = 630286 N Probing...[VIA 86C100]Found VIA 6102 ROM address 0x0000 rhine.c v1.0.0 2000-01-07 IO address 1400 Ethernet Address: 00:40:63:CC:22:C3 Analyzing Media type,this will take several seconds........OK Linespeed=100Mbs Fullduplex The PCI BIOS has not enabled this device! Updating PCI command 0083->0087. pci_bus 00 pci_device_fn 90 Searching for server (DHCP)... ..Me: 192.168.1.116, Server: 192.168.1.100, Gateway 192.168.1.1 Loading 192.168.1.100:etherboot/bzImage ...(ELF)... ...................................................................................................... .............................................................................. .............................................................................. .......................................................done rhine disable Unknown bootloader class! type=0x00000000 data=0x000986AE Firmware type: LinuxBIOS Linux version 2.6.6-epia (_root@dhlinux1_ (mailto:root@dhlinux1) ) (gcc version 3.3.1 (SuSE Linux)) #12 Wed Sep 8 23:13:05 EDT 2004 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 00000000000006d8 (reserved) BIOS-e820: 00000000000006d8 - 00000000000a0000 (usable) BIOS-e820: 0000000000100000 - 0000000006000000 (usable) 0MB HIGHMEM available. 96MB LOWMEM available. On node 0 totalpages: 24576 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 20480 pages, LIFO batch:5 HighMem zone: 0 pages, LIFO batch:1 DMI not present. ACPI: Unable to locate RSDP Built 1 zonelists Kernel command line: root=0100 rw console=ttyS0,115200n8 console=tty0 Initializing CPU#0
: : :
EXT3 FS on hda1, internal journal EXT3-fs: recovery complete. EXT3-fs: mounted filesystem with ordered data mode.
BusyBox v1.00-rc2 (2004.08.11-20:42+0000) Built-in shell (ash) Enter 'help' for a list of built-in commands.
$ $ insmod agpgart.ko
Linux agpgart interface v0.100 (c) Dave Jones
$ insmod via-agp.ko
agpgart: Detected VIA CLE266 chipset agpgart: Maximum main memory to use for agp memory: 62M agpgart: ok, memset(bridge->key_list, 0, PAGE_SIZE * 4) agpgart: disabling bridge->driver->configure() call for now (epia M AGP is spawn of the Devil) agpgart: AGP aperture is 128M @ 0x0
$ /usr/X11R6/bin/xinit /etc/site.xinitrc -- /usr/X11R6/bin/XFree86 tty0
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/(none):0 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
XFree86 Version 4.4.0 Release Date: 29 February 2004 X Protocol Version 11, Revision 0, Release 6.6 Build Operating System: Linux 2.4.21-99-smp4G i686 [ELF] Current Operating System: Linux (none) 2.6.6-epia #12 Wed Sep 8 23:13:05 EDT 2004 i686 Build Date: 16 July 2004 Changelog Date: 29 February 2004 Before reporting problems, check _http://www.XFree86.Org/_ (http://www.XFree86.Org/) to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/XFree86.0.log", Time: Thu Jan 2 11:43:29 2003 (==) Using config file: "/etc/X11/XF86Config-4" (EE) VIA(0): vm86() syscall generated signal 8. Linear memory allocation failed (EE) VIA(0): [XvMC] Cannot use XvMC without DRI! (EE) Couldn't load XKB keymap, falling back to pre-XKB keymap atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0). atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly. atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0). atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly. Could not init font path element /usr/X11R6/lib/X11/fonts/local, removing from list!
This should not happen! An unresolved function was called!
Fatal server error:
When reporting a problem related to a server crash, please send the full server output, not just the last messages. This can be found in the log file "/var/log/XFree86.0.log". Please report problems to _xfree86@xfree86.org_ (mailto:xfree86@xfree86.org) .