Bug 194420 - unloading i915kms causes black screen and reboot.
Summary: unloading i915kms causes black screen and reboot.
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: i915
Depends on:
Blocks:
 
Reported: 2014-10-17 16:16 UTC by sasamotikomi
Modified: 2023-10-18 23:06 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sasamotikomi 2014-10-17 16:16:16 UTC
I update my system (freebsd-update) from 10.1-RC1 to 10.1-RC2 and I see problem with unloading kernel module:
I can load module(without X):
# kldload i915kms (I think all fine but screen isn't cleaning for some reason)
If I try unload kernel module (without X):
# kldload i915kms
I got black screen and system freeze(keyboard and mouse isn't work) and after 5-10 min just reboot without panic or any message.
Hardware is intel GMA 3150.
Comment 1 Ed Maste freebsd_committer freebsd_triage 2014-10-17 18:23:16 UTC
> If I try unload kernel module (without X):
> # kldload i915kms

Presumably you meant "kldunload i915kms" there.  This is an issue with the i915 driver, it is not currently unloadable.

(There is a related vt issue in code review D687, but the driver needs to be sorted out first for that to matter here.  https://reviews.freebsd.org/D687 )
Comment 2 sasamotikomi 2014-10-17 19:13:31 UTC
(In reply to Ed Maste from comment #1)
> > If I try unload kernel module (without X):
> > # kldload i915kms
> 
> Presumably you meant "kldunload i915kms" there.  This is an issue with the
> i915 driver, it is not currently unloadable.
> 
> (There is a related vt issue in code review D687, but the driver needs to be
> sorted out first for that to matter here.  https://reviews.freebsd.org/D687 )
Yes, sorry it's my mistake, this is look like my problem, it's patch should include in RC3?
Comment 3 Ed Maste freebsd_committer freebsd_triage 2014-10-17 19:42:18 UTC
The change in code review is not in 10.1-RC3
Comment 4 Eitan Adler freebsd_committer freebsd_triage 2018-05-20 23:53:12 UTC
For bugs matching the following conditions:
- Status == In Progress
- Assignee == "bugs@FreeBSD.org"
- Last Modified Year <= 2017

Do
- Set Status to "Open"
Comment 5 Ed Maste freebsd_committer freebsd_triage 2022-03-03 15:11:58 UTC
Black screen upon 'kldunload i915kms' still reproducible on 14-CURRENT. Observed hang not panic, perhaps due to different default panic action.
Comment 6 qmr 2023-10-18 23:06:58 UTC
also experiencing this on 13.2-RELEASE-p4

it would be nice if this kicked back an error of some kind instead of crashing the whole machine