Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2016 10:32:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 208357] i915kms do not work on mobile IvyBridge after r296719
Message-ID:  <bug-208357-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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: <ACPI Host-PCI bridge> 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: <ACPI PCI bus> 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: <IvyBridge mobile GT2 IG> 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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208357-8>