From owner-freebsd-bugs@freebsd.org Mon Mar 28 10:32:26 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4243DAE0F41 for ; Mon, 28 Mar 2016 10:32:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 330A51C09 for ; Mon, 28 Mar 2016 10:32:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u2SAWQVV016850 for ; Mon, 28 Mar 2016 10:32:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 208357] i915kms do not work on mobile IvyBridge after r296719 Date: Mon, 28 Mar 2016 10:32:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: wulf@cicgroup.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 10:32:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208357 Bug ID: 208357 Summary: i915kms do not work on mobile IvyBridge after r296719 Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: wulf@cicgroup.ru Created attachment 168725 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D168725&action= =3Dedit verbose boot log On my IvyBridge laptop (Acer Aspire S7-191) vt console cannot output anythi= ng to screen before agp(4) is loaded. r296719 removed SandyBridge support from agp(4) so laptop becomes unusable.= It can boot multiuser but screen freezes at one point during a boot. Reverting r296719 makes things working again. following is some parts of verbose boot log (full listing is attached) of p= re r296719 kernel with agp(4) compiled as module and loaded from command promp= t: random: harvesting attach, 8 bytes (4 bits) from pci_link7 pcib0: port 0xcf8-0xcff on acpi0 pcib0: decoding 5 range 0-0xfe pcib0: decoding 4 range 0-0xcf7 pcib0: decoding 4 range 0xd00-0xffff pcib0: decoding 3 range 0xa0000-0xbffff pcib0: decoding 3 range 0x3fa00000-0xfeafffff pci0: on pcib0 pci0: domain=3D0, physical bus=3D0 found-> vendor=3D0x8086, dev=3D0x0154, revid=3D0x09 domain=3D0, bus=3D0, slot=3D0, func=3D0 class=3D06-00-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0006, statreg=3D0x2090, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) found-> vendor=3D0x8086, dev=3D0x0166, revid=3D0x09 domain=3D0, bus=3D0, slot=3D2, func=3D0 class=3D03-00-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0007, statreg=3D0x0090, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D7 powerspec 2 supports D0 D3 current D0 MSI supports 1 message map[10]: type Memory, range 64, base 0x50000000, size 22, enabled pcib0: allocated type 3 (0x50000000-0x503fffff) for rid 10 of pci0:0:2:0 map[18]: type Prefetchable Memory, range 64, base 0x40000000, size = 28, enabled >>>>>>>>>>>>>>>>>>>>>>>>>> Screen updating stops HERE >>>>>>>>>>>>>>>>>>>>>>>>>> pci0: pci0:0:2:0 bar 0x18 failed to allocate map[20]: type I/O Port, range 32, base 0x2000, size 6, enabled pcib0: allocated type 4 (0x2000-0x203f) for rid 20 of pci0:0:2:0 pcib0: matched entry for 0.2.INTA pcib0: slot 2 INTA hardwired to IRQ 16 >>>>>>>>>>>>>>>>>>>>>>>>>> Some output skipped >>>>>>>>>>>>>>>>>>>>>>>>>> SMP: passed TSC synchronization test Timecounter "TSC" frequency 1795968296 Hz quality 1000 Trying to mount root from zfs:zroot/ROOT/default []... battery0: battery initialization done, tried 1 times start_init: trying /sbin/init >>>>>>>>>>>>>>>>>>>>>>>>>> Now I blindly type "kldload agp" from command prompt and screen updating starts again >>>>>>>>>>>>>>>>>>>>>>>>>> agp0: on vgapci0 pcib0: allocated type 3 (0x80000000-0x8fffffff) for rid 18 of vgapci0 vgapci0: Lazy allocation of 0x10000000 bytes rid 0x18 type 3 at 0x80000000 agp0: aperture size is 256M, detected 65532k stolen memory agp0: AGP_SNB_GFX_MODE: 00000000 agp0: AGP_SNB_GCC1: 0x0211 agp0: Mappable GTT entries: 65536 agp0: Total GTT entries: 524288 random: harvesting attach, 8 bytes (4 bits) from agp0 --=20 You are receiving this mail because: You are the assignee for the bug.=