From owner-freebsd-x11@FreeBSD.ORG Mon Sep 24 15:08:54 2007 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 820CC16A419 for ; Mon, 24 Sep 2007 15:08:54 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.freebsd.org (Postfix) with ESMTP id D7E4613C46E for ; Mon, 24 Sep 2007 15:08:53 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by nf-out-0910.google.com with SMTP id b2so1196751nfb for ; Mon, 24 Sep 2007 08:08:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; bh=44cv4+H6QLH7spVrKOVmsNVJ/9qdA2SDFivpHjrluJc=; b=TsqJvpuwlvtBjfELoivkDTBH3Vglr0INm2i7Ox3In6STKnOlBwFI65bF4V8YXnkdRC3ys/4ynEMhQDhydMjS1Z9zWa2avBG4UdLtu72NR5W4L+ugbScoXmuwONqdugFhNFkNFc+562skrGgXiQudKtPvUv1bJZzZvnQkEX6tHLQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=YL0Iww1+loeC0onaYANKp0nfRlQ4So4p9caW3FteKxM5buLFMgYfLyrY/+WqrtEXVXb7T6WVYKpH+Mts4fsKr7xCQVXhDFbaYbtCrsropkZMBPzCq7G941QhAzbh9ITA1Dc/r14KhjLN0V7ATPDiDX+DksA16zOXB/rZg0x6lVo= Received: by 10.86.9.8 with SMTP id 8mr4766317fgi.1190645018671; Mon, 24 Sep 2007 07:43:38 -0700 (PDT) Received: from ?127.0.0.1? ( [217.206.187.79]) by mx.google.com with ESMTPS id 31sm584593nfu.2007.09.24.07.43.12 (version=SSLv3 cipher=RC4-MD5); Mon, 24 Sep 2007 07:43:37 -0700 (PDT) From: Tom Evans To: vermaden In-Reply-To: <20070924130245.12FEB12390B@f44.poczta.interia.pl> References: <20070924130245.12FEB12390B@f44.poczta.interia.pl> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ffmezOJlMzfy8mwbKLVY" Date: Mon, 24 Sep 2007 15:42:59 +0100 Message-Id: <1190644979.4366.7.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 FreeBSD GNOME Team Port Cc: freebsd-x11@freebsd.org Subject: Re: ASUS P5B-MX + 6.2-STABLE + xf86-video-intel X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Sep 2007 15:08:54 -0000 --=-ffmezOJlMzfy8mwbKLVY Content-Type: multipart/mixed; boundary="=-QBzAXzXCCAaTTtWC5x//" --=-QBzAXzXCCAaTTtWC5x// Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2007-09-24 at 15:02 +0200, vermaden wrote: > Long story short. >=20 > Can not get intel driver (from xf86-video-intel 2.1.1) to work with Asus = P5B-MX IGA. >=20 > vesa driver works, but that is not the point here... >=20 > kernel config: GENERIC >=20 > # uname -a > FreeBSD siewa 6.2-STABLE FreeBSD 6.2-STABLE #0: Mon Sep 24 12:58:17 CEST = 2007 root@siewa:/usr/obj/usr/src/sys/CUSTOM i386 >=20 > # kldstat > Id Refs Address Size Name > 1 12 0xc0400000 7cfd04 kernel > 2 1 0xc0bd0000 6348c acpi.ko > 3 1 0xc52b1000 1c000 linux.ko > 4 1 0xc5543000 6000 i915.ko > 5 1 0xc5549000 f000 drm.ko >=20 > # dmesg > Copyright (c) 1992-2007 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 6.2-STABLE #0: Mon Sep 24 12:58:17 CEST 2007 > root@siewa:/usr/obj/usr/src/sys/CUSTOM > ACPI APIC Table: > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Genuine Intel(R) CPU 2160 @ 1.80GHz (1800.01-MHz 686-cla= ss CPU) > Origin =3D "GenuineIntel" Id =3D 0x6f2 Stepping =3D 2 > Features=3D0xbfebfbff > Features2=3D0xe39d,CX16,,> > AMD Features=3D0x20100000 > AMD Features2=3D0x1 > Cores per package: 2 > real memory =3D 1064960000 (1015 MB) > avail memory =3D 1028931584 (981 MB) > ioapic0 irqs 0-23 on motherboard > kbd1 at kbdmux0 > ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413= ) > acpi0: on motherboard > acpi0: Power Button (fixed) > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 > cpu0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pci0: at device 2.0 (no driver attached) > pci0: at device 27.0 (no driver attached) > uhci0: port 0xd400-0xd41f irq 23 at devic= e 29.0 on pci0 > uhci0: [GIANT-LOCKED] > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > uhci1: port 0xd480-0xd49f irq 19 at devic= e 29.1 on pci0 > uhci1: [GIANT-LOCKED] > usb1: on uhci1 > usb1: USB revision 1.0 > uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub1: 2 ports with 2 removable, self powered > uhci2: port 0xd800-0xd81f irq 18 at devic= e 29.2 on pci0 > uhci2: [GIANT-LOCKED] > usb2: on uhci2 > usb2: USB revision 1.0 > uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub2: 2 ports with 2 removable, self powered > uhci3: port 0xd880-0xd89f irq 16 at devic= e 29.3 on pci0 > uhci3: [GIANT-LOCKED] > usb3: on uhci3 > usb3: USB revision 1.0 > uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub3: 2 ports with 2 removable, self powered > ehci0: mem 0xfe9f7c00-0xfe9f7= fff irq 23 at device 29.7 on pci0 > ehci0: [GIANT-LOCKED] > usb4: EHCI version 1.0 > usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 > usb4: on ehci0 > usb4: USB revision 2.0 > uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 > uhub4: 8 ports with 8 removable, self powered > pcib1: at device 30.0 on pci0 > pci1: on pcib1 > rl0: port 0xe800-0xe8ff mem 0xfebffc00-0xfebf= fcff irq 19 at device 0.0 on pci1 > miibus0: on rl0 > rlphy0: on miibus0 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > rl0: Ethernet address: 00:90:cc:de:5e:0c > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port 0xc480-0xc487,0xc400-0xc403= ,0x8f0-0x8f7,0x8f8-0x8fb,0xbc00-0xbc0f irq 18 at device 31.1 on pci0 > ata2: on atapci0 > ata3: on atapci0 > atapci1: port 0xd080-0xd087,0xd000-0xd003= ,0xcc00-0xcc07,0xc880-0xc883,0xc800-0xc80f irq 19 at device 31.2 on pci0 > ata4: on atapci1 > ata5: on atapci1 > pci0: at device 31.3 (no driver attached) > acpi_button0: on acpi0 > ppc0: port 0x378-0x37f,0x778-0x77f irq 7 drq = 3 on acpi0 > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/9 bytes threshold > ppbus0: on ppc0 > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: model IntelliMouse, device ID 3 > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on a= cpi0 > sio0: type 16550A > pmtimer0 on isa0 > orm0: at iomem 0xc0000-0xcafff on isa0 > ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 > ata1 at port 0x170-0x177,0x376 irq 15 on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=3D0x300> > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > Timecounter "TSC" frequency 1800012429 Hz quality 800 > Timecounters tick every 1.000 msec > acd0: CDROM at ata2-slave PIO4 > ad8: 152627MB at ata4-master SATA150 > Trying to mount root from ufs:/dev/ad8s1a >=20 > # pciconf -lv > hostb0@pci0:0:0: class=3D0x060000 card=3D0x823b1043 chip=3D0x29708= 086 rev=3D0x02 hdr=3D0x00 > vendor =3D 'Intel Corporation' > class =3D bridge > subclass =3D HOST-PCI > none0@pci0:2:0: class=3D0x030000 card=3D0x823b1043 chip=3D0x29728086 rev= =3D0x02 hdr=3D0x00 ^^^^^ > vendor =3D 'Intel Corporation' > class =3D display > subclass =3D VGA xf86-video-intel requires AGP, and agp_i810.c doesn't support chip 0x29708086 (Intel i946GZ). It may be as simple as the attached patch, but then again, it might not.=20 I don't know how different 945GM is from 946GZ (I'm guessing 'not much'). Patch agp_i810.c in /usr/src/sys/pci --=-QBzAXzXCCAaTTtWC5x// Content-Disposition: attachment; filename=946gz.diff.txt Content-Type: text/x-patch; name=946gz.diff.txt; charset=UTF-8 Content-Transfer-Encoding: base64 LS0tIGFncF9pODEwLmMub3JpZwkyMDA3LTA5LTI0IDE1OjM0OjQ0LjAwMDAwMDAwMCArMDEwMA0K KysrIGFncF9pODEwLmMJMjAwNy0wOS0yNCAxNTozOToxMi4wMDAwMDAwMDAgKzAxMDANCkBAIC0x NTIsNiArMTUyLDkgQEANCiANCiAJY2FzZSAweDI3QTI4MDg2Og0KIAkJcmV0dXJuICgiSW50ZWwg ODI5NDVHTSAoOTQ1R00gR01DSCkgU1ZHQSBjb250cm9sbGVyIik7DQorDQorCWNhc2UgMHgyOTcw ODA4NjoNCisJCXJldHVybiAoIkludGVsIDgyOTQ2R1ogKDk0NkdaKSBTVkdBIGNvbnRyb2xsZXIi KTsNCiAJfTsNCiANCiAJcmV0dXJuIE5VTEw7DQpAQCAtMjYwLDYgKzI2Myw3IEBADQogCQljYXNl IDB4MjU5MjgwODY6DQogCQljYXNlIDB4Mjc3MjgwODY6CS8qIDk0NUcgR01DSCAqLw0KIAkJY2Fz ZSAweDI3QTI4MDg2OgkvKiA5NDVHTSBHTUNIICovDQorCQljYXNlIDB4Mjk3MDgwODY6CS8qIDk0 NkdaICovDQogCQkJZ2NjMSA9IHBjaV9yZWFkX2NvbmZpZyhiZGV2LCBBR1BfSTkxNV9ERVZFTiwg NCk7DQogCQkJaWYgKChnY2MxICYgQUdQX0k5MTVfREVWRU5fRDJGMCkgPT0NCiAJCQkgICAgQUdQ X0k5MTVfREVWRU5fRDJGMF9ESVNBQkxFRCkgew0KQEAgLTMxNSw2ICszMTksNyBAQA0KIAljYXNl IDB4MjU5MjgwODY6DQogCWNhc2UgMHgyNzcyODA4NjoJLyogOTQ1RyBHTUNIICovDQogCWNhc2Ug MHgyN0EyODA4NjoJLyogOTQ1R00gR01DSCAqLw0KKwljYXNlIDB4Mjk3MDgwODY6CS8qIDk0Nkda ICovDQogCQlzYy0+Y2hpcHR5cGUgPSBDSElQX0k5MTU7DQogCQlicmVhazsNCiAJfTsNCg== --=-QBzAXzXCCAaTTtWC5x//-- --=-ffmezOJlMzfy8mwbKLVY Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBG98zvlcRvFfyds/cRAkWuAKCF4Ehi2uJDS1wLOXuEgrSD06H/0QCbBFrn qwP5Ghlo3Nx53gqv5Yau8hg= =ckYK -----END PGP SIGNATURE----- --=-ffmezOJlMzfy8mwbKLVY--