From owner-freebsd-stable@FreeBSD.ORG Thu May 8 05:33:15 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8958237B401 for ; Thu, 8 May 2003 05:33:15 -0700 (PDT) Received: from mx1.dev.itouchnet.net (itouchlabs.com [196.15.188.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A9F843FAF for ; Thu, 8 May 2003 05:33:13 -0700 (PDT) (envelope-from bvi@moria.org) Received: from nobody by mx1.dev.itouchnet.net with scanned_ok (Exim 3.35 #1) id 19Dkdt-0007CR-00 for freebsd-stable@freebsd.org; Thu, 08 May 2003 14:36:57 +0200 X-TLS: TLSv1:RC4-MD5:128 itouchlabs.com -> mx1.dev.itouchnet.net Received: from itouchlabs.com ([196.15.188.2] helo=Beastie) by mx1.dev.itouchnet.net with smtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 19Dkds-0007CI-00; Thu, 08 May 2003 14:36:56 +0200 Message-ID: <01b501c3155d$c0397a40$4508a8c0@Beastie> From: "Barry Irwin" To: Date: Thu, 8 May 2003 14:31:29 +0200 Organization: Moria Research MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Checked: This message has been scanned for any virusses and unauthorized attachments. X-iScan-ID: 27673-1052397416-65728@unconfigured version $Name: REL_2_0_4 $ Subject: Problex with Matrox G450 and XFree86 4.3.0 on 4.8-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Barry Irwin List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 May 2003 12:33:15 -0000 Hi All I have just finished a re-install of a box that was previously working fine under 4.7. The problem is that the matrox drm kernel module is failinf to initialise correctly. :from the dmesg: FreeBSD 4.8-STABLE #0: Thu May 8 11:41:26 SAST 2003 root@shagrat.prv.moria.org:/usr/src/sys/compile/SHAGRAT48 Timecounter "i8254" frequency 1193182 Hz CPU: Intel Pentium III (548.54-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x681 Stepping = 1 Features=0x383f9ff real memory = 402587648 (393152K bytes) avail memory = 386310144 (377256K bytes) Preloaded elf kernel "kernel" at 0xc04fe000. Preloaded elf module "vesa.ko" at 0xc04fe09c. Preloaded elf module "linux.ko" at 0xc04fe138. Preloaded elf module "agp.ko" at 0xc04fe1d8. Preloaded elf module "mga.ko" at 0xc04fe274. VESA: v3.0, 32768k memory, flags:0x1, mode table:0xc00c52cd (c00052cd) VESA: Matrox Graphics Inc. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 7 entries at 0xc00fdba0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 drm0: mem 0xe5000000-0xe57fffff,0xe4000000-0xe4003fff,0xe8000000-0xe9ffffff irq 11 at device 0.0 on pci1 error: [drm:mga_init] *ERROR* Cannot initialize the agpgart module. device_probe_and_attach: drm0 attach returned 12 System is running a world and kernel CVSUP'd today. The agpgart device exists: -bash-2.05b$ ls -lad /dev/agpgart crw------- 1 root wheel 148, 0 May 8 11:06 /dev/agpgart Kernel Configuration also includes "agp" -bash-2.05b$ kldstat Id Refs Address Size Name 1 6 0xc0100000 3bae20 kernel 2 1 0xc04bb000 5448 vesa.ko 3 1 0xc04c1000 18ba4 linux.ko 4 1 0xc04da000 ac8c agp.ko 5 1 0xc04e5000 1738c mga.ko 6 1 0xc1d9b000 2000 green_saver.ko When trying to start X: XFree86 Version 4.3.0 Release Date: 27 February 2003 X Protocol Version 11, Revision 0, Release 6.6 Build Operating System: FreeBSD 4.8 i386 [ELF] Build Date: 08 May 2003 Before reporting problems, check 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 May 8 14:36:26 2003 (==) Using config file: "/etc/X11/XF86Config" (EE) MGA: Failed to load module "mga_hal" (module does not exist, 0) (EE) MGA: Failed to load module "mga_hal" (module does not exist, 0) (EE) MGA(1): Not initializing the DRI on the second head I cant find any reference to the mga_hal module. I know that Previously I needed to build the X Server with GXX_MATROX enable to use the matrox supplied HAL driver. In XFree86.0.log: =snip= (--) MGA(0): Chipset: "mgag400" (G450) (II) Loading sub module "mga_hal" (II) LoadModule: "mga_hal" (WW) Warning, couldn't open module mga_hal (II) UnloadModule: "mga_hal" (EE) MGA: Failed to load module "mga_hal" (module does not exist, 0) (==) MGA(0): Matrox HAL module not loaded - using builtin mode setup instead (**) MGA(0): Depth 24, (--) framebuffer bpp 32 (==) MGA(0): RGB weight 888 (==) MGA(0): Using AGP 1x mode (--) MGA(0): Linear framebuffer at 0xE8000000 (--) MGA(0): MMIO registers at 0xE4000000 (--) MGA(0): Pseudo-DMA transfer window at 0xE5000000 (==) MGA(0): BIOS at 0xC0000 (--) MGA(0): Video BIOS info block at offset 0x07CE0 (WW) MGA(0): Video BIOS info block not detected! (II) MGA(0): MGABios.RamdacType = 0x0 (==) MGA(0): Write-combining range (0xe4000000,0x4000) was already clear (==) MGA(0): Write-combining range (0xe8000000,0x2000000) (==) MGA(0): Write-combining range (0xe5000000,0x800000) was already clear (--) MGA(0): Crtc2 will use 8192K of VideoRam (--) MGA(0): VideoRAM: 24576 kByte =snip= Any bright ideas. I've had a look at http://people.freebsd.org/~anholt/dri/index.html and all seems ane to me. Regards, Barry -- Barry Irwin bvi@moria.org