Bug 202538 - "i915kms_load="YES"" in /boot/loader.conf panics kernel in 10.1
Summary: "i915kms_load="YES"" in /boot/loader.conf panics kernel in 10.1
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.1-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-21 01:54 UTC by Bob Madden
Modified: 2021-07-08 23:30 UTC (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Madden 2015-08-21 01:54:59 UTC
My HW: AMD FX-8300 3.3GHz Eight-Core OEM CPU/Asus M5A78L-M/USB3 mATX MB/8GB DDR3 1866 Kingston HyperX Fury Red Memory/128GB Adata Premier Pro SSD/CPU Cooler

My dilemma: When I installed 10.1 I realized that I had no virtual terminals. I researched this and realized that I needed to add a few things into my /boot/loader.conf to correct this. This is what I added:
root@hendrix:/boot # cat loader.conf
hw.vga.textmode=1
kern.vty=vt
# i915kms_load="YES"
kern.vt.fb.default_mode="640x480"
sem_load="YES"
snd_driver_load="YES"

The relevant issue is that when I switch to a virtual terminal the typeface is far too small, so I was looking to increase the Text Size. In my research it was advised to add "i915kms_load="YES"" ... but after doing that, which did NOT fix my ability to modify the Text Size, I realized that this consistently Panicked my Kernel after 10 minutes.

I thought I might bring this to your attention.

Thank you for your time.
Comment 1 Johannes Lundberg 2016-03-14 21:57:03 UTC
I was gonna file a bug report but found this.
On Macbook Air's 2012 (Sandybridge) and 2013 (Haswell) I can not load i915kms from loader.conf. If I do the system hangs. Loading is with kldload or via startx both works fine.
Comment 2 Andy 2016-03-23 02:08:43 UTC
I am having the same problem with a Thinkpad T440p.
I'm not running the most current current, but I didn't see any i915-related svn commits since.  From uname:

11.0-CURRENT FreeBSD 11.0-CURRENT #0 r297046: Sat Mar 19 02:16:14 EDT 2016
 
The cpu is:

CPU: Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz (2594.05-MHz K8-class CPU)

When I load i915kms from /boot/loader.conf it will show the system booting and then go black.  No amount of blindly typing in l/p/shutdown works, so I have to power cycle.  Booting with that line commented out in loader.conf works fine, and I can then kldload i915kms without issue.

I'm not sure what more information I can provide that will be useful, but please let me know, I'm eager to help.
Comment 3 Ed Maste freebsd_committer freebsd_triage 2017-09-12 20:11:20 UTC
My co-op student at the FreeBSD Foundation encountered this issue on a brand-new 12-current installation at r323435.
Comment 4 Zak 2017-09-12 20:54:17 UTC
(In reply to Ed Maste from comment #3)

setting: 
kern.smb.disabled=1 
i915kms_load="yes"
in /boot/loader.conf

allows my system to boot
Comment 5 Warner Losh freebsd_committer freebsd_triage 2021-07-08 23:30:59 UTC
i915kms has been removed from the base system.
The new out-of-tree modules are documented as not working from the loader and we filter out their loading by default.