I emerged X.org X11 v6.8.0 doing an "emerge --update world" then, X11 always hung when exiting. The console is completely frozen but loging with SSH still works. Reproducible: Always Steps to Reproduce: 1. Emerge X11 >=6.8.0 on a VIA EPIA CL-6000 2. Use "via" driver in xorg.conf 3. Start X11 and quit Actual Results: Console froze up. numlock doesn't even work! Expected Results: The console returns to text mode. Shell is ready to handle more input. I'm using kernel 2.4. The problem I see comes from these lines in /var/log/Xorg.0.log : Symbol drmAgpUnbind from module /usr/X11R6/lib/modules/drivers/via_drv.o is unresolved! Symbol drmRmMap from module /usr/X11R6/lib/modules/drivers/via_drv.o is unresolved! Symbol drmAgpUnbind from module /usr/X11R6/lib/modules/drivers/via_drv.o is unresolved! Symbol drmRmMap from module /usr/X11R6/lib/modules/drivers/via_drv.o is unresolved! Here is a complete copy of /var/log/Xorg.0.log : >>>> BEGIN XORG.0.LOG <<<< Release Date: 18 December 2003 X Protocol Version 11, Revision 0, Release 6.7 Build Operating System: Linux 2.4.26-gentoo-r13 i686 [ELF] Current Operating System: Linux midget 2.4.26-gentoo-r13 #1 Sat Mar 5 16:51:19 EST 2005 i686 Build Date: 10 March 2005 Before reporting problems, check http://wiki.X.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/Xorg.0.log", Time: Fri Mar 11 13:50:51 2005 (==) Using config file: "/etc/X11/xorg.conf" (==) ServerLayout "Layout-1" (**) |-->Screen "Screen-1" (0) (**) | |-->Monitor "NEC M500" (**) | |-->Device "OnBoard VIA" (**) |-->Input Device "Mouse1" (**) |-->Input Device "Keyboard1" (**) Option "XkbModel" "pc104" (**) XKB: model: "pc104" (==) Keyboard: CustomKeycode disabled (**) FontPath set to "/usr/share/fonts/local/,/usr/share/fonts/misc/,/usr/share/fonts/75dpi/:unscaled,/usr/share/fonts/100dpi/:unscaled,/usr/share/fonts/Type1/,/usr/share/fonts/TTF/,/usr/share/fonts/CID/,/usr/share/fonts/Speedo/,/usr/share/fonts/75dpi/,/usr/share/fonts/100dpi/" (**) RgbPath set to "/usr/X11R6/lib/X11/rgb" (==) ModulePath set to "/usr/X11R6/lib/modules" (**) Option "BlankTime" "10" (**) Option "StandbyTime" "20" (**) Option "SuspendTime" "30" (**) Option "OffTime" "60" (WW) Open APM failed (/dev/apm_bios) (No such file or directory) (II) Module ABI versions: X.Org ANSI C Emulation: 0.2 X.Org Video Driver: 0.7 X.Org XInput driver : 0.4 X.Org Server Extension : 0.2 X.Org Font Renderer : 0.4 (II) Loader running on linux (II) LoadModule: "bitmap" (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a (II) Module bitmap: vendor="X.Org Foundation" compiled for 6.7.0, module version = 1.0.0 Module class: X.Org Font Renderer ABI class: X.Org Font Renderer, version 0.4 (II) Loading font Bitmap (II) LoadModule: "pcidata" (II) Loading /usr/X11R6/lib/modules/libpcidata.a (II) Module pcidata: vendor="X.Org Foundation" compiled for 6.7.0, module version = 1.0.0 ABI class: X.Org Video Driver, version 0.7 Using vt 7 (--) using VT number 7 (II) PCI: Probing config type using method 1 (II) PCI: Config type is 1 (II) PCI: stages = 0x03, oldVal1 = 0x80008d48, mode1Res1 = 0x80000000 (II) PCI: PCI scan (all values are in hex) (II) PCI: 00:00:0: chip 1106,3123 card 1106,aa01 rev 00 class 06,00,00 hdr 00 (II) PCI: 00:01:0: chip 1106,b091 card 0000,0000 rev 00 class 06,04,00 hdr 01 (II) PCI: 00:0f:0: chip 1106,3106 card 1106,0102 rev 8b class 02,00,00 hdr 00 (II) PCI: 00:10:0: chip 1106,3038 card 1106,aa01 rev 80 class 0c,03,00 hdr 80 (II) PCI: 00:10:1: chip 1106,3038 card 1106,aa01 rev 80 class 0c,03,00 hdr 80 (II) PCI: 00:10:2: chip 1106,3038 card 1106,aa01 rev 80 class 0c,03,00 hdr 80 (II) PCI: 00:10:3: chip 1106,3104 card 1106,3104 rev 82 class 0c,03,20 hdr 00 (II) PCI: 00:11:0: chip 1106,3177 card 1106,aa01 rev 00 class 06,01,00 hdr 80 (II) PCI: 00:11:1: chip 1106,0571 card 1106,aa01 rev 06 class 01,01,8a hdr 00 (II) PCI: 00:11:5: chip 1106,3059 card 1106,aa01 rev 50 class 04,01,00 hdr 00 (II) PCI: 00:12:0: chip 1106,3065 card 1106,0102 rev 74 class 02,00,00 hdr 00 (II) PCI: 01:00:0: chip 1106,3122 card 1106,3122 rev 03 class 03,00,00 hdr 00 (II) PCI: End of PCI scan (II) Host-to-PCI bridge: (II) Bus 0: bridge is at (0:0:0), (0,0,1), BCTRL: 0x0008 (VGA_EN is set) (II) Bus 0 I/O range: [0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B] (II) Bus 0 non-prefetchable memory range: [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B] (II) Bus 0 prefetchable memory range: [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B] (II) PCI-to-PCI bridge: (II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x000c (VGA_EN is set) (II) Bus 1 non-prefetchable memory range: [0] -1 0 0xe4000000 - 0xe5ffffff (0x2000000) MX[B] (II) Bus 1 prefetchable memory range: [0] -1 0 0xe0000000 - 0xe3ffffff (0x4000000) MX[B] (II) PCI-to-ISA bridge: (II) Bus -1: bridge is at (0:17:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set) (--) PCI:*(1:0:0) unknown vendor (0x1106) unknown chipset (0x3122) rev 3, Mem @ 0xe0000000/26, 0xe4000000/24 (II) Addressable bus resource ranges are [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B] [1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B] (II) OS-reported resource ranges: [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) [1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [6] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] (II) PCI Memory resource overlap reduced 0xe6000000 from 0xe6ffffff to 0xe5ffffff (II) Active PCI resource ranges: [0] -1 0 0xe7002000 - 0xe70020ff (0x100) MX[B] [1] -1 0 0xe7001000 - 0xe70010ff (0x100) MX[B] [2] -1 0 0xe7000000 - 0xe70000ff (0x100) MX[B] [3] -1 0 0xe6000000 - 0xe5ffffff (0x0) MX[B]O [4] -1 0 0xe4000000 - 0xe4ffffff (0x1000000) MX[B](B) [5] -1 0 0xe0000000 - 0xe3ffffff (0x4000000) MX[B](B) [6] -1 0 0x0000e800 - 0x0000e8ff (0x100) IX[B] [7] -1 0 0x0000e400 - 0x0000e4ff (0x100) IX[B] [8] -1 0 0x0000e000 - 0x0000e00f (0x10) IX[B] [9] -1 0 0x0000dc00 - 0x0000dc1f (0x20) IX[B] [10] -1 0 0x0000d800 - 0x0000d81f (0x20) IX[B] [11] -1 0 0x0000d400 - 0x0000d41f (0x20) IX[B] [12] -1 0 0x0000d000 - 0x0000d0ff (0x100) IX[B] (II) Active PCI resource ranges after removing overlaps: [0] -1 0 0xe7002000 - 0xe70020ff (0x100) MX[B] [1] -1 0 0xe7001000 - 0xe70010ff (0x100) MX[B] [2] -1 0 0xe7000000 - 0xe70000ff (0x100) MX[B] [3] -1 0 0xe6000000 - 0xe5ffffff (0x0) MX[B]O [4] -1 0 0xe4000000 - 0xe4ffffff (0x1000000) MX[B](B) [5] -1 0 0xe0000000 - 0xe3ffffff (0x4000000) MX[B](B) [6] -1 0 0x0000e800 - 0x0000e8ff (0x100) IX[B] [7] -1 0 0x0000e400 - 0x0000e4ff (0x100) IX[B] [8] -1 0 0x0000e000 - 0x0000e00f (0x10) IX[B] [9] -1 0 0x0000dc00 - 0x0000dc1f (0x20) IX[B] [10] -1 0 0x0000d800 - 0x0000d81f (0x20) IX[B] [11] -1 0 0x0000d400 - 0x0000d41f (0x20) IX[B] [12] -1 0 0x0000d000 - 0x0000d0ff (0x100) IX[B] (II) OS-reported resource ranges after removing overlaps with PCI: [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) [1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [6] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] (II) All system resource ranges: [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) [1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [5] -1 0 0xe7002000 - 0xe70020ff (0x100) MX[B] [6] -1 0 0xe7001000 - 0xe70010ff (0x100) MX[B] [7] -1 0 0xe7000000 - 0xe70000ff (0x100) MX[B] [8] -1 0 0xe6000000 - 0xe5ffffff (0x0) MX[B]O [9] -1 0 0xe4000000 - 0xe4ffffff (0x1000000) MX[B](B) [10] -1 0 0xe0000000 - 0xe3ffffff (0x4000000) MX[B](B) [11] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [12] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] [13] -1 0 0x0000e800 - 0x0000e8ff (0x100) IX[B] [14] -1 0 0x0000e400 - 0x0000e4ff (0x100) IX[B] [15] -1 0 0x0000e000 - 0x0000e00f (0x10) IX[B] [16] -1 0 0x0000dc00 - 0x0000dc1f (0x20) IX[B] [17] -1 0 0x0000d800 - 0x0000d81f (0x20) IX[B] [18] -1 0 0x0000d400 - 0x0000d41f (0x20) IX[B] [19] -1 0 0x0000d000 - 0x0000d0ff (0x100) IX[B] (II) LoadModule: "dbe" (II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a (II) Module dbe: vendor="X.Org Foundation" compiled for 6.7.0, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 0.2 (II) Loading extension DOUBLE-BUFFER (II) LoadModule: "extmod" (II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a (II) Module extmod: vendor="X.Org Foundation" compiled for 6.7.0, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 0.2 (II) Loading extension SHAPE (II) Loading extension MIT-SUNDRY-NONSTANDARD (II) Loading extension BIG-REQUESTS (II) Loading extension SYNC (II) Loading extension MIT-SCREEN-SAVER (II) Loading extension XC-MISC (II) Loading extension XFree86-VidModeExtension (II) Loading extension XFree86-Misc (II) Loading extension DPMS (II) Loading extension FontCache (II) Loading extension TOG-CUP (II) Loading extension Extended-Visual-Information (II) Loading extension XVideo (II) Loading extension XVideo-MotionCompensation (II) Loading extension X-Resource (II) LoadModule: "type1" (II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a (II) Module type1: vendor="X.Org Foundation" compiled for 6.7.0, module version = 1.0.2 Module class: X.Org Font Renderer ABI class: X.Org Font Renderer, version 0.4 (II) Loading font Type1 (II) Loading font CID (II) LoadModule: "freetype" (II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.so (II) Module freetype: vendor="X.Org Foundation & the After X-TT Project" compiled for 6.7.0, module version = 2.1.0 Module class: X.Org Font Renderer ABI class: X.Org Font Renderer, version 0.4 (II) Loading font FreeType (II) LoadModule: "via" (II) Loading /usr/X11R6/lib/modules/drivers/via_drv.o (II) Module via: vendor="X.Org Foundation" compiled for 4.3.99.902, module version = 4.1.30 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 0.7 (II) LoadModule: "mouse" (II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o (II) Module mouse: vendor="X.Org Foundation" compiled for 6.7.0, module version = 1.0.0 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 0.4 (II) via: driver for VIA chipsets: CLE266, KM400, K8M800 (II) Primary Device is: PCI 01:00:0 (--) Assigning device section with no busID to primary device (--) Chipset CLE266 found (II) resource ranges after xf86ClaimFixedResources() call: [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) [1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [5] -1 0 0xe7002000 - 0xe70020ff (0x100) MX[B] [6] -1 0 0xe7001000 - 0xe70010ff (0x100) MX[B] [7] -1 0 0xe7000000 - 0xe70000ff (0x100) MX[B] [8] -1 0 0xe6000000 - 0xe5ffffff (0x0) MX[B]O [9] -1 0 0xe4000000 - 0xe4ffffff (0x1000000) MX[B](B) [10] -1 0 0xe0000000 - 0xe3ffffff (0x4000000) MX[B](B) [11] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [12] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] [13] -1 0 0x0000e800 - 0x0000e8ff (0x100) IX[B] [14] -1 0 0x0000e400 - 0x0000e4ff (0x100) IX[B] [15] -1 0 0x0000e000 - 0x0000e00f (0x10) IX[B] [16] -1 0 0x0000dc00 - 0x0000dc1f (0x20) IX[B] [17] -1 0 0x0000d800 - 0x0000d81f (0x20) IX[B] [18] -1 0 0x0000d400 - 0x0000d41f (0x20) IX[B] [19] -1 0 0x0000d000 - 0x0000d0ff (0x100) IX[B] (II) resource ranges after probing: [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) [1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [5] -1 0 0xe7002000 - 0xe70020ff (0x100) MX[B] [6] -1 0 0xe7001000 - 0xe70010ff (0x100) MX[B] [7] -1 0 0xe7000000 - 0xe70000ff (0x100) MX[B] [8] -1 0 0xe6000000 - 0xe5ffffff (0x0) MX[B]O [9] -1 0 0xe4000000 - 0xe4ffffff (0x1000000) MX[B](B) [10] -1 0 0xe0000000 - 0xe3ffffff (0x4000000) MX[B](B) [11] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B] [12] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B] [13] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B] [14] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [15] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] [16] -1 0 0x0000e800 - 0x0000e8ff (0x100) IX[B] [17] -1 0 0x0000e400 - 0x0000e4ff (0x100) IX[B] [18] -1 0 0x0000e000 - 0x0000e00f (0x10) IX[B] [19] -1 0 0x0000dc00 - 0x0000dc1f (0x20) IX[B] [20] -1 0 0x0000d800 - 0x0000d81f (0x20) IX[B] [21] -1 0 0x0000d400 - 0x0000d41f (0x20) IX[B] [22] -1 0 0x0000d000 - 0x0000d0ff (0x100) IX[B] [23] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B] [24] 0 0 0x000003c0 - 0x000003df (0x20) IS[B] (II) Setting vga for screen 0. (II) Loading sub module "vgahw" (II) LoadModule: "vgahw" (II) Loading /usr/X11R6/lib/modules/libvgahw.a (II) Module vgahw: vendor="X.Org Foundation" compiled for 6.7.0, module version = 0.1.0 ABI class: X.Org Video Driver, version 0.7 (**) VIA(0): Depth 24, (--) framebuffer bpp 32 (==) VIA(0): RGB weight 888 (==) VIA(0): Default visual is TrueColor (==) VIA(0): Using HW cursor (==) VIA(0): Not using video BIOS to set modes (II) Loading sub module "int10" (II) LoadModule: "int10" (II) Loading /usr/X11R6/lib/modules/linux/libint10.a (II) Module int10: vendor="X.Org Foundation" compiled for 6.7.0, module version = 1.0.0 ABI class: X.Org Video Driver, version 0.7 (II) VIA(0): Primary V_BIOS segment is: 0xc000 (WW) System lacks support for changing MTRRs (II) Loading sub module "vbe" (II) LoadModule: "vbe" (II) Loading /usr/X11R6/lib/modules/libvbe.a (II) Module vbe: vendor="X.Org Foundation" compiled for 6.7.0, module version = 1.1.0 ABI class: X.Org Video Driver, version 0.7 (II) VIA(0): VESA BIOS detected (II) VIA(0): VESA VBE Version 3.0 (II) VIA(0): VESA VBE Total Mem: 16384 kB (II) VIA(0): VESA VBE OEM: VIA CLE266 (II) VIA(0): VESA VBE OEM Software Rev: 1.0 (II) VIA(0): VESA VBE OEM Vendor: (II) VIA(0): VESA VBE OEM Product: (II) VIA(0): VESA VBE OEM Product Rev: (--) VIA(0): Chipset: "CLE266" (--) VIA(0): Chipset Rev.: 17 (II) VIA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000 (--) VIA(0): mapping MMIO @ 0xe4000000 with size 0x9000 (--) VIA(0): mapping BitBlt MMIO @ 0xe4200000 with size 0x10000 (II) VIA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000 (==) VIA(0): Using gamma correction (1.0, 1.0, 1.0) (--) VIA(0): videoram = 16384k (II) Loading sub module "i2c" (II) LoadModule: "i2c" (II) Loading /usr/X11R6/lib/modules/libi2c.a (II) Module i2c: vendor="X.Org Foundation" compiled for 6.7.0, module version = 1.2.0 ABI class: X.Org Video Driver, version 0.7 (II) VIA(0): I2C bus "I2C bus 1" initialized. (II) VIA(0): I2C bus "I2C bus 2" initialized. (II) Loading sub module "ddc" (II) LoadModule: "ddc" (II) Loading /usr/X11R6/lib/modules/libddc.a (II) Module ddc: vendor="X.Org Foundation" compiled for 6.7.0, module version = 1.0.0 ABI class: X.Org Video Driver, version 0.7 (II) Loading sub module "ddc" (II) LoadModule: "ddc" (II) Reloading /usr/X11R6/lib/modules/libddc.a (II) VIA(0): VESA VBE DDC supported (II) VIA(0): VESA VBE DDC Level 2 (II) VIA(0): VESA VBE DDC transfer in appr. 1 sec. (II) VIA(0): VESA VBE DDC read successfully (II) VIA(0): Manufacturer: NEC Model: 3d68 Serial#: 16843009 (II) VIA(0): Year: 1997 Week: 36 (II) VIA(0): EDID Version: 1.1 (II) VIA(0): Analog Display Input, Input Voltage Level: 0.700/0.300 V (II) VIA(0): Sync: Separate Composite (II) VIA(0): Max H-Image Size [cm]: horiz.: 28 vert.: 21 (II) VIA(0): Gamma: 2.20 (II) VIA(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display (II) VIA(0): redX: 0.635 redY: 0.330 greenX: 0.297 greenY: 0.605 (II) VIA(0): blueX: 0.150 blueY: 0.065 whiteX: 0.300 whiteY: 0.315 (II) VIA(0): Supported VESA Video Modes: (II) VIA(0): 720x400@70Hz (II) VIA(0): 720x400@88Hz (II) VIA(0): 640x480@60Hz (II) VIA(0): 640x480@67Hz (II) VIA(0): 640x480@72Hz (II) VIA(0): 640x480@75Hz (II) VIA(0): 800x600@56Hz (II) VIA(0): 800x600@60Hz (II) VIA(0): 800x600@72Hz (II) VIA(0): 800x600@75Hz (II) VIA(0): 832x624@75Hz (II) VIA(0): 1024x768@87Hz (interlaced) (II) VIA(0): 1024x768@60Hz (II) VIA(0): 1024x768@70Hz (II) VIA(0): 1024x768@75Hz (II) VIA(0): 1152x870@75Hz (II) VIA(0): Manufacturer's mask: 0 (II) VIA(0): Supported additional Video Mode: (II) VIA(0): clock: 108.5 MHz Image Size: 260 x 195 mm (II) VIA(0): h_active: 1280 h_sync: 1344 h_sync_end 1472 h_blank_end 1696 h_border: 0 (II) VIA(0): v_active: 1024 v_sync: 1025 v_sync_end 1028 v_blanking: 1066 v_border: 0 (II) VIA(0): Ranges: V min: 55 V max: 120 Hz, H min: 31 H max: 69 kHz, PixClock max 120 MHz (II) VIA(0): Monitor name: NEC M500 (II) VIA(0): Serial No: 7905731RA (II) VIA(0): NEC M500: Using hsync range of 31.00-69.00 kHz (II) VIA(0): NEC M500: Using vrefresh range of 55.00-120.00 Hz (II) VIA(0): Clock range: 20.00 to 230.00 MHz (II) VIA(0): Not using default mode "320x175" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "320x200" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "360x200" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "576x432" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "640x480" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "1280x960" (hsync out of range) (II) VIA(0): Not using default mode "640x480" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "640x512" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "1280x1024" (hsync out of range) (II) VIA(0): Not using default mode "640x512" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "1280x1024" (hsync out of range) (II) VIA(0): Not using default mode "640x512" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "1600x1200" (hsync out of range) (II) VIA(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "1600x1200" (hsync out of range) (II) VIA(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "1600x1200" (hsync out of range) (II) VIA(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "1600x1200" (hsync out of range) (II) VIA(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "1600x1200" (hsync out of range) (II) VIA(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "1792x1344" (hsync out of range) (II) VIA(0): Not using default mode "896x672" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "1792x1344" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "896x672" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "1856x1392" (hsync out of range) (II) VIA(0): Not using default mode "928x696" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "1856x1392" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "928x696" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "1920x1440" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "960x720" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "1920x1440" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "960x720" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "416x312" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "576x384" (bad mode clock/interlace/doublescan) (WW) (1400x1050,NEC M500) mode clock 122MHz exceeds DDC maximum 120MHz (II) VIA(0): Not using default mode "700x525" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "1400x1050" (hsync out of range) (II) VIA(0): Not using default mode "700x525" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "800x512" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "1920x1440" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "960x720" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan) (II) VIA(0): Not using default mode "1400x1050" (width too large for virtual size) (II) VIA(0): Not using default mode "1280x1024" (width too large for virtual size) (II) VIA(0): Not using default mode "1280x960" (width too large for virtual size) (--) VIA(0): Virtual size is 1152x864 (pitch 1152) (**) VIA(0): *Default mode "1152x864": 108.0 MHz (scaled from 0.0 MHz), 67.5 kHz, 75.0 Hz (II) VIA(0): Modeline "1152x864" 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (**) VIA(0): Default mode "1152x768": 65.0 MHz (scaled from 0.0 MHz), 44.2 kHz, 54.8 Hz (II) VIA(0): Modeline "1152x768" 65.00 1152 1178 1314 1472 768 771 777 806 +hsync +vsync (**) VIA(0): Default mode "1024x768": 94.5 MHz (scaled from 0.0 MHz), 68.7 kHz, 85.0 Hz (II) VIA(0): Modeline "1024x768" 94.50 1024 1072 1168 1376 768 769 772 808 +hsync +vsync (**) VIA(0): Default mode "1024x768": 78.8 MHz (scaled from 0.0 MHz), 60.1 kHz, 75.1 Hz (II) VIA(0): Modeline "1024x768" 78.80 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (**) VIA(0): Default mode "1024x768": 75.0 MHz (scaled from 0.0 MHz), 56.5 kHz, 70.1 Hz (II) VIA(0): Modeline "1024x768" 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (**) VIA(0): Default mode "1024x768": 65.0 MHz (scaled from -0.0 MHz), 48.4 kHz, 60.0 Hz (II) VIA(0): Modeline "1024x768" 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (**) VIA(0): Default mode "1024x768": 44.9 MHz (scaled from 0.0 MHz), 35.5 kHz, 87.1 Hz (I) (II) VIA(0): Modeline "1024x768" 44.90 1024 1032 1208 1264 768 768 776 817 interlace +hsync +vsync (**) VIA(0): Default mode "832x624": 57.3 MHz (scaled from 0.0 MHz), 49.7 kHz, 74.6 Hz (II) VIA(0): Modeline "832x624" 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (**) VIA(0): Default mode "800x600": 56.3 MHz (scaled from 0.0 MHz), 53.7 kHz, 85.1 Hz (II) VIA(0): Modeline "800x600" 56.30 800 832 896 1048 600 601 604 631 +hsync +vsync (**) VIA(0): Default mode "800x600": 49.5 MHz (scaled from 0.0 MHz), 46.9 kHz, 75.0 Hz (II) VIA(0): Modeline "800x600" 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (**) VIA(0): Default mode "800x600": 50.0 MHz (scaled from 0.0 MHz), 48.1 kHz, 72.2 Hz (II) VIA(0): Modeline "800x600" 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (**) VIA(0): Default mode "800x600": 40.0 MHz (scaled from 0.0 MHz), 37.9 kHz, 60.3 Hz (II) VIA(0): Modeline "800x600" 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (**) VIA(0): Default mode "800x600": 36.0 MHz (scaled from 0.0 MHz), 35.2 kHz, 56.2 Hz (II) VIA(0): Modeline "800x600" 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (**) VIA(0): Default mode "640x480": 36.0 MHz (scaled from 0.0 MHz), 43.3 kHz, 85.0 Hz (II) VIA(0): Modeline "640x480" 36.00 640 696 752 832 480 481 484 509 -hsync -vsync (**) VIA(0): Default mode "640x480": 31.5 MHz (scaled from 0.0 MHz), 37.5 kHz, 75.0 Hz (II) VIA(0): Modeline "640x480" 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (**) VIA(0): Default mode "640x480": 31.5 MHz (scaled from 0.0 MHz), 37.9 kHz, 72.8 Hz (II) VIA(0): Modeline "640x480" 31.50 640 664 704 832 480 489 491 520 -hsync -vsync (**) VIA(0): Default mode "640x480": 25.2 MHz (scaled from 0.0 MHz), 31.5 kHz, 60.0 Hz (II) VIA(0): Modeline "640x480" 25.20 640 656 752 800 480 490 492 525 -hsync -vsync (**) VIA(0): Default mode "720x400": 35.5 MHz (scaled from 0.0 MHz), 37.9 kHz, 85.0 Hz (II) VIA(0): Modeline "720x400" 35.50 720 756 828 936 400 401 404 446 -hsync +vsync (**) VIA(0): Default mode "640x400": 31.5 MHz (scaled from 0.0 MHz), 37.9 kHz, 85.1 Hz (II) VIA(0): Modeline "640x400" 31.50 640 672 736 832 400 401 404 445 -hsync +vsync (**) VIA(0): Default mode "640x350": 31.5 MHz (scaled from 0.0 MHz), 37.9 kHz, 85.1 Hz (II) VIA(0): Modeline "640x350" 31.50 640 672 736 832 350 382 385 445 +hsync -vsync (--) VIA(0): Display dimensions: (280, 210) mm (--) VIA(0): DPI set to (104, 104) (II) Loading sub module "fb" (II) LoadModule: "fb" (II) Loading /usr/X11R6/lib/modules/libfb.a (II) Module fb: vendor="X.Org Foundation" compiled for 6.7.0, module version = 1.0.0 ABI class: X.Org ANSI C Emulation, version 0.2 (II) Loading sub module "xaa" (II) LoadModule: "xaa" (II) Loading /usr/X11R6/lib/modules/libxaa.a (II) Module xaa: vendor="X.Org Foundation" compiled for 6.7.0, module version = 1.1.0 ABI class: X.Org Video Driver, version 0.7 (II) Loading sub module "ramdac" (II) LoadModule: "ramdac" (II) Loading /usr/X11R6/lib/modules/libramdac.a (II) Module ramdac: vendor="X.Org Foundation" compiled for 6.7.0, module version = 0.1.0 ABI class: X.Org Video Driver, version 0.7 (**) VIA(0): Option: Cap0_FieldSwap Disabled (--) Depth 24 pixmap format is 32 bpp (II) do I need RAC? No, I don't. (II) resource ranges after preInit: [0] 0 0 0xe4000000 - 0xe4ffffff (0x1000000) MS[B] [1] 0 0 0xe0000000 - 0xe3ffffff (0x4000000) MS[B] [2] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) [3] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [4] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [5] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [6] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [7] -1 0 0xe7002000 - 0xe70020ff (0x100) MX[B] [8] -1 0 0xe7001000 - 0xe70010ff (0x100) MX[B] [9] -1 0 0xe7000000 - 0xe70000ff (0x100) MX[B] [10] -1 0 0xe6000000 - 0xe5ffffff (0x0) MX[B]O [11] -1 0 0xe4000000 - 0xe4ffffff (0x1000000) MX[B](B) [12] -1 0 0xe0000000 - 0xe3ffffff (0x4000000) MX[B](B) [13] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B] [14] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B] [15] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B] [16] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [17] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] [18] -1 0 0x0000e800 - 0x0000e8ff (0x100) IX[B] [19] -1 0 0x0000e400 - 0x0000e4ff (0x100) IX[B] [20] -1 0 0x0000e000 - 0x0000e00f (0x10) IX[B] [21] -1 0 0x0000dc00 - 0x0000dc1f (0x20) IX[B] [22] -1 0 0x0000d800 - 0x0000d81f (0x20) IX[B] [23] -1 0 0x0000d400 - 0x0000d41f (0x20) IX[B] [24] -1 0 0x0000d000 - 0x0000d0ff (0x100) IX[B] [25] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B] [26] 0 0 0x000003c0 - 0x000003df (0x20) IS[B] (--) VIA(0): mapping framebuffer @ 0xe0000000 with size 0x1000000 (--) VIA(0): Frame buffer start: 0x40315000, free start: 0x3cc000 end: 0x1000000 (--) VIA(0): mapping MMIO @ 0xe4000000 with size 0x9000 (--) VIA(0): mapping BitBlt MMIO @ 0xe4200000 with size 0x10000 (II) VIA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000 (II) VIA(0): I2C device "I2C bus 2:TV" registered at address 0x00. (II) VIA(0): I2C device "I2C bus 2:TV" removed. (II) VIA(0): 3D Engine has been initialized. (II) VIA(0): VIAInternalScreenInit (II) VIA(0): Clipping pixmap cache for old DRI/DRM module. (II) VIA(0): Using XFree86 Acceleration Architecture (XAA) Screen to screen bit blits Solid filled rectangles 8x8 mono pattern filled rectangles 8x8 color pattern filled rectangles Screen to Screen color expansion Solid Lines Dashed Lines Image Writes Offscreen Pixmaps Setting up tile and stipple cache: 8 128x57 slots 7 8x8 color pattern slots (==) VIA(0): Backing store disabled (**) Option "dpms" "true" (**) VIA(0): DPMS enabled (II) VIA(0): direct rendering disabled (II) VIA(0): I2C device "I2C bus 2:TV Probe" registered at address 0x88. (II) VIA(0): I2C device "I2C bus 2:SAA7113H" removed. (II) VIA(0): I2C device "I2C bus 2:SAA7113H" removed. (II) VIA(0): I2C device "I2C bus 2:SAA7114H" removed. (II) VIA(0): I2C device "I2C bus 2:TV Probe" removed. (==) RandR enabled Symbol drmAgpUnbind from module /usr/X11R6/lib/modules/drivers/via_drv.o is unresolved! Symbol drmRmMap from module /usr/X11R6/lib/modules/drivers/via_drv.o is unresolved! Symbol drmAgpUnbind from module /usr/X11R6/lib/modules/drivers/via_drv.o is unresolved! Symbol drmRmMap from module /usr/X11R6/lib/modules/drivers/via_drv.o is unresolved! (II) Setting vga for screen 0. (II) Initializing built-in extension MIT-SHM (II) Initializing built-in extension XInputExtension (II) Initializing built-in extension XTEST (II) Initializing built-in extension XKEYBOARD (II) Initializing built-in extension LBX (II) Initializing built-in extension XC-APPGROUP (II) Initializing built-in extension SECURITY (II) Initializing built-in extension XINERAMA (II) Initializing built-in extension XFree86-Bigfont (II) Initializing built-in extension RENDER (II) Initializing built-in extension RANDR (**) Option "Protocol" "PS/2" (**) Mouse1: Device: "/dev/mouse" (**) Mouse1: Protocol: "PS/2" (**) Option "CorePointer" (**) Mouse1: Core Pointer (**) Option "Device" "/dev/mouse" (==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50 (==) Mouse1: Buttons: 3 (**) Mouse1: SmartScroll: 1 (II) Keyboard "Keyboard1" handled by legacy driver (II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE) (II) Mouse1: ps2EnableDataReporting: succeeded Could not init font path element /usr/share/fonts/local/, removing from list! Could not init font path element /usr/share/fonts/CID/, removing from list! Could not init font path element /usr/share/fonts/Speedo/, removing from list! (WW) Open APM failed (/dev/apm_bios) (No such file or directory) (II) VIA(0): I2C device "I2C bus 2:TV" registered at address 0x00. (II) VIA(0): I2C device "I2C bus 2:TV" removed. (II) Mouse1: ps2EnableDataReporting: succeeded >>>> END XORG.0.LOG <<<< >>>> OUTPUT FROM EMERGE INFO <<<< Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.4.26-gentoo-r13 i686) ================================================================= System uname: 2.4.26-gentoo-r13 i686 VIA Samuel 2 Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 6 2005, 23:51:35)] distcc 2.16 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-Os -march=c3 -fomit-frame-pointer -pipe" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=c3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://mirrors.tds.net/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X alsa apache2 apm avi berkdb bitmap-fonts crypt cups curl emboss encode esd fam foomaticdb gif gnome gstreamer gtk gtk2 imlib java jpeg junit libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg msn mysql ncurses nls oggvorbis oss pam pdflib perl png postgres python quicktime readline samba sdl slang spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
If you build X with USE=dlloader, you can debug this problem using gdb from a remote computer. Take a look at http://wiki.x.org/wiki/DebuggingTheXserver for some more info. Also, you might want to try 6.8.2 to be sure you've got the latest release, or even replace the drivers with the latest stuff from unichrome.sf.net.
I didn't copy the content of the good Xorg.0.log! Anyways, the unresolved symbols are viaRestoreVideo, viaSaveVideo and viaExitVideo. These are function calls from the file via_video.c It seems like this file is not included while building and/or linking. I don't have much time to investigate...
If you don't think it's included, attach a build log.
I think I found the "bug"... I was compiling with a USE variable containing "-xv". This causes the via_video.c file to exclude almost its entire content (I think). My assumption is based on the "#ifndef XvExtension ... #else ... #endif" starting on line 83. So, if someone wants to use the stock via drivers from Xorg, it has to be built with "xv". I had removed it because it depends on opengl and I wanted to exclude opengl support. Well, I guess I'll have to enable xv and opengl and test the build again... This takes HOURS to build. I'll give feedback as soon as it's ready.
Could you please file a bug at bugs.freedesktop.org stating that the via driver is broken when xv is disabled?
The bug has been submitted as bug #2711 at bugs.freedesktop.org. I compiled with USE comtaining xv and opengl and everything works. I don't like the fact that some USE flag combination can completely freeze up my computer. What can be done about that? Maybe put up a warning when the package is emerged?
We'll track it there, since it's an upstream bug.
This should be fixed in modular (7.0).
Marking fixed.