inara: panic(9) postmortem
Tuesday, 22 April 2014; 11 pm
panic: make_dev_credv: bad si_name (error=17, si_name=dri/card0)
Architecture: i386 v2
Length: 93831168B (89 MB)
Blocksize: 512
Dumptime: Tue Apr 22 23:14:25 2014
Hostname: inara.rulingia.com
Version String: FreeBSD 10.0-STABLE #0 r264725: Tue Apr 22 22:27:39 EST 2014 root@inara.rulingia.com:/usr/obj/usr/src/sys/inara
Postmortem analysis has determined that this panic occurred at frame
3, in function make_dev_credv
(in kern/kern_conf.c
).
This resulted from a bus reprobe request triggered by the loading of
the i915kms.ko
module using the KLD framework.
As i915drm
was already compiled into the running kernel (inara#0,
stable/10@264725), a device dri/card0
already existed at the point
where DRM code in i915kms was initialised. This initialisation
attempts to create device entries for all DRIs with no protection
against DRIs being created for already-existing cards.
make_dev_credv
ensures that device names in /dev are unique upon
their creation. This particular panic is triggered by a non-unique
device name in /dev (error 17, EEXIST), as a result of this module
conflict.
Suggested fix:
- Gated entry for KMS modules that forbid loading if DRM modules are loaded.
- Non-fatal preventative protection for DRI device node creation.
Related Posts
- The Art of Science Fiction 08 Oct 2013
- Host Naming 09 Apr 2014
- The curious incident of elspeth in the mid-afternoon 08 Jun 2014
- Mobile Phones: Assorted Thoughts 31 Jul 2013
- GNOME's Approach is Silly 12 Jan 2014
About this post
- Date & Time
- 22 April 2014, 23:14:25
- Words
- 184
- Tags
- inara, panic, freebsd, and postmortem