Testing the new i915 driver (rev. 3820047)

Arto Pekkanen isoa at kapsi.fi
Sun Oct 18 18:39:02 UTC 2015


Testing Scenario #2:
1. boot kernel.i915
   - with i915kms_load="YES"
   - with drm.debug=3
2. start Xorg from tty as normal user
3. repeat steps 3 to 5 as in Testing Scenario #1

Kernel booted, output some dmesg, but after a few seconds it hung. There was no panic, it just stuck doing nothing. The kernel debugger didn't start either.

Luckily, because of the awesome mentoring by Ed Maste (big thanks to Ed!), I was able to configure Intel AMT SOL (serial-over-lan) and capture dmesg via amtterm.

Attached is the captured dmesg. I hope it helps you figure out why the kernel freezes.

If you need more info about the internals of the kernel, I need some help to figure out how I could break into ddb and capture text dump somewhere. Because the freezing happens before USB devices are initialized, I am quite sure I cannot text dump into usb stick.

Maybe I could make text dump into console with ddb? Also I need to play around with amtterm and see if I can get input sent back to the system.

Jean-Sébastien Pédron kirjoitti 17.10.2015 16:26:
> Hi!
> 
> Lately, I fixed several issues with the GEM, people already reported
> this improved things for them.
> 
> I believe I fixed two problems with the output connectors too and I 
> hope
> that it will be fine now for people who reported eg. non-working HDMI.
> However, I can't test this myself.
> 
> I'm still chasing a problem with Mesa (Stellarium hangs on startup for 
> me).
> 
> As a reminder, informations are available on the wiki:
> https://wiki.freebsd.org/Graphics/Update%20i915%20GPU%20driver%20to%20Linux%203.8
> 
> Please continue to test! Thank you for your help :)

-- 
Arto Pekkanen
-------------- next part --------------
/boot/kernel.i915/kernel text=0x1380750 data=0x137368+0x4d4dc0 syms=[0x8+0x15c228+0x8+0x177c1b]
/boot/kernel.i915/i915kms.ko size 0xdf7a8 at 0x2061000
loading required module 'iicbb'
/boot/kernel.i915/iicbb.ko size 0x5510 at 0x2141000
loading required module 'iicbus'
/boot/kernel.i915/iicbus.ko size 0x6c20 at 0x2147000
loading required module 'iic'
/boot/kernel.i915/iic.ko size 0x4578 at 0x214e000
loading required module 'drmn'
/boot/kernel.i915/drm2.ko size 0x7cf68 at 0x2153000
/boot/kernel.i915/sem.ko size 0xb678 at 0x21d0000
Booting...
Start @ 0xffffffff802fa000 ...
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2015 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 11.0-CURRENT #1 3820047(drm-i915-update-38): Sun Oct 18 00:16:56 EEST 2015
    root at leno:/usr/obj/root/freebsd-base-graphics/sys/GENERIC amd64
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
WARNING: WITNESS option enabled, expect reduced performance.
VT(efifb): resolution 1600x900
info: [drm] Initialized drm 1.1.0 20060810
CPU: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz (2594.17-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x306a9  Family=0x6  Model=0x3a  Stepping=9
  Features=0xbfebfbff<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=0x7fbae3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=0x1<LAHF>
  Structured Extended Features=0x281<FSGSBASE,SMEP,ERMS>
  XSAVE Features=0x1<XSAVEOPT>
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
  TSC: P-state invariant, performance statistics
real memory  = 8589934592 (8192 MB)
avail memory = 8074452992 (7700 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <LENOVO TP-G1   >
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
ioapic0 <Version 2.0> irqs 0-23 on motherboard
random: entropy device external interface
kbd1 at kbdmux0
netmap: loaded module
module_register_init: MOD_LOAD (vesa, 0xffffffff80eb8560, 0) error 19
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
cryptosoft0: <software crypto> on motherboard
acpi0: <LENOVO TP-G1> on motherboard
acpi_ec0: <Embedded Controller: GPE 0x11, ECDT> port 0x62,0x66 on acpi0
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 550
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
Event timer "HPET3" frequency 14318180 Hz quality 440
Event timer "HPET4" frequency 14318180 Hz quality 440
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0x5000-0x503f mem 0xf0000000-0xf03fffff,0xe0000000-0xefffffff at device 2.0 on pci0
agp0: <IvyBridge mobile GT2 IG> on vgapci0
agp0: aperture size is 256M, detected 65532k stolen memory
[drm:pid0:drm_probe_helper] drmn0 desc: Intel IvyBridge (M)
drmn0: <Intel IvyBridge (M)> on vgapci0
[drm:pid0:drm_get_pci_dev]
[drm:pid0:drm_ctxbitmap_next] bit : 0
[drm:pid0:drm_ctxbitmap_init] drm_ctxbitmap_init : 0
[drm:pid0:drm_get_minor]
[drm:pid0:drm_get_minor] new minor assigned 64
[drm:pid0:drm_get_minor]
[drm:pid0:drm_get_minor] new minor assigned 0
[drm:KMS:pid0:i915_dump_device_info] i915 device info: gen=7, pciid=0x0166 flags=is_mobile,need_gfx_hws,is_ivybridge,has_force_wake,has_hotplug,has_bsd_ring,has_blt_ring,has_llc,info: [drm] Memory usable by graphics device = 2048M
[drm:KMS:pid0:i915_gem_gtt_init] GMADR size = 256M
[drm:KMS:pid0:i915_gem_gtt_init] GTT stolen size = 0M
[drm:pid0:drm_addmap_core] offset = 0xf0000000, size = 0x00200000, type = 1
info: [drm] MTRR allocation failed.  Graphics performance may suffer.
[drm:KMS:pid0:intel_detect_pch] Found PatherPoint PCH
iicbus0: <Philips I2C bus> on iicbb0 addr 0xff
iic0: <I2C generic I/O> on iicbus0
iic1: <I2C generic I/O> on iicbus1
iicbus2: <Philips I2C bus> on iicbb1 addr 0x0
iic2: <I2C generic I/O> on iicbus2
iic3: <I2C generic I/O> on iicbus3
iicbus4: <Philips I2C bus> on iicbb2 addr 0x0
iic4: <I2C generic I/O> on iicbus4
iic5: <I2C generic I/O> on iicbus5
iicbus6: <Philips I2C bus> on iicbb3 addr 0x0
iic6: <I2C generic I/O> on iicbus6
iic7: <I2C generic I/O> on iicbus7
iicbus8: <Philips I2C bus> on iicbb4 addr 0x0
iic8: <I2C generic I/O> on iicbus8
iic9: <I2C generic I/O> on iicbus9
iicbus10: <Philips I2C bus> on iicbb5 addr 0x0
iic10: <I2C generic I/O> on iicbus10
iic11: <I2C generic I/O> on iicbus11
[drm:pid0:intel_opregion_setup] graphic opregion physical addr: 0xdaf55018
[drm:pid0:intel_opregion_setup] Public ACPI methods supported
[drm:pid0:intel_opregion_setup] SWSCI supported
[drm:pid0:intel_opregion_setup] ASLE supported
[drm:pid0:drm_pci_enable_msi] MSI count = 1
info: [drm] MSI enabled 1 message(s)
info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
info: [drm] Driver supports precise vblank timestamp query.
[drm:KMS:pid0:init_vbt_defaults] Set default to SSC at 100MHz
[drm:KMS:pid0:intel_parse_bios] Using VBT from OpRegion: $VBT SNB/IVB-MOBILE d
[drm:KMS:pid0:parse_general_features] BDB_GENERAL_FEATURES int_tv_support 0 int_crt_support 1 lvds_use_ssc 0 lvds_ssc_freq 120 display_clock_mode 0 fdi_rx_polarity_inverted 0
[drm:KMS:pid0:parse_general_definitions] crt_ddc_bus_pin: 2
[drm:KMS:pid0:parse_lfp_panel_data] Found panel mode in BIOS VBT tables:
[drm:KMS:pid0:drm_mode_debug_printmodeline] Modeline 0:"1024x768" 0 65000 1024 1048 1184 1344 768 771 777 806 0x8 0xa
[drm:KMS:pid0:parse_lfp_panel_data] VBT initial LVDS value 300
[drm:KMS:pid0:parse_sdvo_panel_data] Found SDVO panel mode in BIOS VBT tables:
[drm:KMS:pid0:drm_mode_debug_printmodeline] Modeline 0:"1600x1200" 0 162000 1600 1664 1856 2160 1200 1201 1204 1250 0x8 0xa
[drm:KMS:pid0:parse_sdvo_device_mapping] No SDVO device info is found in VBT
[drm:KMS:pid0:intel_modeset_init] 3 display pipes available.
[drm:KMS:pid0:intel_lvds_init] using preferred mode from EDID: [drm:KMS:pid0:drm_mode_debug_printmodeline] Modeline 12:"1600x900" 60 110000 1600 1664 1706 2010 900 903 906 912 0x48 0xa
[drm:KMS:pid0:intel_panel_get_backlight] get backlight PWM = 4438
[drm:KMS:pid0:intel_gmbus_force_bit] enabling bit-banging on Philips I2C bus. force bit now 75547417
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20151018/92ed68fd/attachment.bin>


More information about the freebsd-x11 mailing list