Bug 225175 - Kernel panic - i915_gem* functions problem?
Summary: Kernel panic - i915_gem* functions problem?
Status: Closed Unable to Reproduce
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.1-STABLE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords: i915
Depends on:
Blocks:
 
Reported: 2018-01-15 07:43 UTC by Petr Fischer
Modified: 2018-11-19 02:03 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Fischer 2018-01-15 07:43:10 UTC
Backtrace from kernel crashlog:

----------------------------------
cpuid = 0; apic id = 00
fault virtual address   = 0x40
fault code      = supervisor read data, page not present
instruction pointer = 0x20:0xffffffff8260f700
stack pointer           = 0x0:0xfffffe0466418580
frame pointer           = 0x0:0xfffffe04664185b0
code segment        = base rx0, limit 0xfffff, type 0x1b
            = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags    = interrupt enabled, resume, IOPL = 0
current process     = 1895 (Compositor)
trap number     = 12
panic: page fault
cpuid = 0
KDB: stack backtrace:
#0 0xffffffff80aadac7 at kdb_backtrace+0x67
#1 0xffffffff80a6bba6 at vpanic+0x186
#2 0xffffffff80a6ba13 at panic+0x43
#3 0xffffffff80edf832 at trap_fatal+0x322
#4 0xffffffff80edf889 at trap_pfault+0x49
#5 0xffffffff80edf0c6 at trap+0x286
#6 0xffffffff80ec36d1 at calltrap+0x8
#7 0xffffffff824f4aff at i915_gem_evict_something+0x9f   <-----------
#8 0xffffffff824f0f5f at i915_gem_object_pin+0x37f
#9 0xffffffff824eeac9 at i915_gem_pager_populate+0x1a9
#10 0xffffffff80d57c99 at vm_fault_hold+0x1179
#11 0xffffffff80d56ad5 at vm_fault+0x75
#12 0xffffffff80edf927 at trap_pfault+0xe7
#13 0xffffffff80edf170 at trap+0x330
#14 0xffffffff80ec36d1 at calltrap+0x8
Uptime: 10m22s
Dumping 1205 out of 16271 MB:..2%..11%..22%..31%..42%..51%..62%..71%..81%..91%

<loading symbols - stripped>

#0  doadump (textdump=<value optimized out>) at pcpu.h:222
    in pcpu.h
222 pcpu.h: No such file or directory.
(kgdb)
----------------------------------

HW: Toshiba Z30-A laptop
Machine class:  amd64
CPU Model:      Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz
Haswell-ULT Integrated Graphics Controller
Comment 1 Niclas Zeising freebsd_committer freebsd_triage 2018-05-20 08:34:01 UTC
Hi!
Are you still having this problem?
What version of FreeBSD are you using?  Are you using the graphics/drm-stable-kmod or graphics/drm-next-kmod ports?
Comment 2 Petr Fischer 2018-05-22 08:53:27 UTC
I am rolling with latest RELEASE, so 11.1-RELEASE-p10 now.

I am not using drm-*-kmod ports. I have loaded i915kms.ko, which is in the base, right?

The last crash was about 3 weeks ago, but unfortunately I no longer have latest kernel crash log.

I can still wait and watch it and post crash logs or you can close it.
Comment 3 Niclas Zeising freebsd_committer freebsd_triage 2018-06-10 06:53:04 UTC
It's been a few weeks.  Have you seen the crash again?
Comment 4 Petr Fischer 2018-06-10 12:50:54 UTC
Yes, the computer crashed about 3 times but /var/crash is empty on 11.1-RELEASE-p10.

I have dumpdev="/dev/ada0p4" in rc.conf (it worked previously), but the crashlog stopped storing in /var/crash - I need to investigate it another time, so I am closing this issue and I will wait for FreeBSD 12...

Thanks!
Comment 5 Niclas Zeising freebsd_committer freebsd_triage 2018-06-10 13:48:28 UTC
Check that you have room in /var/crash, so that it isn't filling up and failing to dump.

You could also jump to FreeBSD 11.2 (it's currently in RC2, slated to be released later this month) and try with graphics/drm-stable-kmod instead.