Date: Mon, 24 Sep 2007 15:42:59 +0100 From: Tom Evans <tevans.uk@googlemail.com> To: vermaden <vermaden@interia.pl> Cc: freebsd-x11@freebsd.org Subject: Re: ASUS P5B-MX + 6.2-STABLE + xf86-video-intel Message-ID: <1190644979.4366.7.camel@localhost> In-Reply-To: <20070924130245.12FEB12390B@f44.poczta.interia.pl> References: <20070924130245.12FEB12390B@f44.poczta.interia.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-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: <A_M_I_ OEMAPIC > > 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,= PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > Features2=3D0xe39d<SSE3,RSVD2,MON,DS_CPL,EST,TM2,<b9>,CX16,<b14>,<b15>> > AMD Features=3D0x20100000<NX,LM> > AMD Features2=3D0x1<LAHF> > Cores per package: 2 > real memory =3D 1064960000 (1015 MB) > avail memory =3D 1028931584 (981 MB) > ioapic0 <Version 2.0> irqs 0-23 on motherboard > kbd1 at kbdmux0 > ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413= ) > acpi0: <A_M_I_ OEMRSDT> 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: <ACPI CPU> on acpi0 > pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 > pci0: <ACPI PCI bus> on pcib0 > pci0: <display, VGA> at device 2.0 (no driver attached) > pci0: <multimedia> at device 27.0 (no driver attached) > uhci0: <UHCI (generic) USB controller> port 0xd400-0xd41f irq 23 at devic= e 29.0 on pci0 > uhci0: [GIANT-LOCKED] > usb0: <UHCI (generic) USB controller> 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: <UHCI (generic) USB controller> port 0xd480-0xd49f irq 19 at devic= e 29.1 on pci0 > uhci1: [GIANT-LOCKED] > usb1: <UHCI (generic) USB controller> 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: <UHCI (generic) USB controller> port 0xd800-0xd81f irq 18 at devic= e 29.2 on pci0 > uhci2: [GIANT-LOCKED] > usb2: <UHCI (generic) USB controller> 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: <UHCI (generic) USB controller> port 0xd880-0xd89f irq 16 at devic= e 29.3 on pci0 > uhci3: [GIANT-LOCKED] > usb3: <UHCI (generic) USB controller> 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: <Intel 82801GB/R (ICH7) USB 2.0 controller> 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: <Intel 82801GB/R (ICH7) USB 2.0 controller> 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: <ACPI PCI-PCI bridge> at device 30.0 on pci0 > pci1: <ACPI PCI bus> on pcib1 > rl0: <RealTek 8139 10/100BaseTX> port 0xe800-0xe8ff mem 0xfebffc00-0xfebf= fcff irq 19 at device 0.0 on pci1 > miibus0: <MII bus> on rl0 > rlphy0: <RealTek internal media interface> on miibus0 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > rl0: Ethernet address: 00:90:cc:de:5e:0c > isab0: <PCI-ISA bridge> at device 31.0 on pci0 > isa0: <ISA bus> on isab0 > atapci0: <Intel ICH7 UDMA100 controller> port 0xc480-0xc487,0xc400-0xc403= ,0x8f0-0x8f7,0x8f8-0x8fb,0xbc00-0xbc0f irq 18 at device 31.1 on pci0 > ata2: <ATA channel 0> on atapci0 > ata3: <ATA channel 1> on atapci0 > atapci1: <Intel ICH7 SATA300 controller> port 0xd080-0xd087,0xd000-0xd003= ,0xcc00-0xcc07,0xc880-0xc883,0xc800-0xc80f irq 19 at device 31.2 on pci0 > ata4: <ATA channel 0> on atapci1 > ata5: <ATA channel 1> on atapci1 > pci0: <serial bus, SMBus> at device 31.3 (no driver attached) > acpi_button0: <Power Button> on acpi0 > ppc0: <ECP parallel printer port> 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: <Parallel port bus> on ppc0 > plip0: <PLIP network interface> on ppbus0 > lpt0: <Printer> on ppbus0 > lpt0: Interrupt-driven port > ppi0: <Parallel I/O> on ppbus0 > atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 > atkbd0: <AT Keyboard> irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > psm0: <PS/2 Mouse> 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: <ISA Option ROM> 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: <System console> 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: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > Timecounter "TSC" frequency 1800012429 Hz quality 800 > Timecounters tick every 1.000 msec > acd0: CDROM <SAMSUNG CD-ROM SC-148S/SS03> at ata2-slave PIO4 > ad8: 152627MB <WDC WD1600JS-60MHB5 10.02E04> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1190644979.4366.7.camel>