Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2017 14:27:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 220384] Loading kernel module i915 after i915kms panics
Message-ID:  <bug-220384-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220384

            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@FreeBSD.org
          Reporter: martin@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 comma=
nds.

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=3D17, si_name=3Ddri/card0)

Expected behavior:

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

--
Martin

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220384-8>