[Bug 220384] Loading kernel module i915 after i915kms panics

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jun 30 14:27:27 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220384

            Bug ID: 220384
           Summary: Loading kernel module i915 after i915kms panics
           Product: Base System
           Version: 11.0-RELEASE
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: martin at sugioarto.com

Hi,

this happens on 11.0-RELEASE and 11.1-BETA2. Even more annoying is that Xorg
xf86-video-intel driver loads both kernel modules and causes the same panic
(since March this year). I reduced it to a simple sequence of kldload commands.

Steps to reproduce (on many systems one of the modules is already loaded in
/boot/loader.conf):

1) kldload i915kms
2) kldload i915

Both modules want to install the device /dev/dri/card0 which causes a clash
(errno EEXIST) and a subsequent panic.

Stack trace:

make_dev_sv
make_dev
drm_attach
i915_attach
device_attach
...

Panic message:
panic: make_dev_sv: bad si_name (error=17, si_name=dri/card0)

Expected behavior:

Only one of the kernel modules should load. The other subsequent kldload should
fail to load without causing a panic.

--
Martin

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list