kloadload i915kms cause kernel core dump

Arto Pekkanen isoa at kapsi.fi
Wed Apr 13 23:18:52 UTC 2016


If the kernel core dumps when X.org loads the i915kms driver, then there
is a bug in the driver itself.

The best course of action would be to make a PR. The PR should contain a
full description of your hardware, full "pciconf -lvbe" output,
description of actions that reproduce a kernel panic,
/var/log/Xorg.0.log just before kernel panic and then a link to the core
dump itself.

To obtain an initial core dump, please follow these instructions:
https://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html#kerneldebug-obtain

You can submit a PR here:
https://bugs.freebsd.org/bugzilla/enter_bug.cgi

After the initial PR has been submitted, the developers will sooner or
later contact you and provide more information on what need be done.

Do note that I have an Ivy Bridge laptop, and the i915kms + X.org work
flawlessly without any problems. It is rather peculiar that it core
dumps on your laptop with the same chipset. Thus it is just best let the
developers figure it out.

On 13.04.2016 17:32, 承恩徐 wrote:
> Thanks for your reply!
> 
> I've already done the stuff listed in
> https://www.freebsd.org/doc/handbook/x-config.html.
> <https://www.freebsd.org/doc/handbook/x-config.html>
> 
> 
>     vgapci1 at pci0:0:2:0:     class=0x030000 card=0x0934152d
>     chip=0x01668086 rev=0x09 hdr=0x00
>         vendor     = 'Intel Corporation'
>         device     = '3rd Gen Core processor Graphics Controller'
>         class      = display
>         subclass   = VGA
>         bar   [10] = type Memory, range 64, base 0xd3000000, size
>     4194304, enabled
>         bar   [18] = type Prefetchable Memory, range 64, base
>     0xc0000000, size 268435456, enabled
>         bar   [20] = type I/O Port, range 32, base 0x5000, size 64, enabled
>         cap 05[90] = MSI supports 1 message
>         cap 01[d0] = powerspec 2  supports D0 D3  current D0
>         cap 13[a4] = PCI Advanced Features: FLR TP
> 
> 
> Here is my xorg.conf
> 
>      Section "Device"
>             Identifier "Card0"
>             Driver  "vesa"
>             BusId   "PCI:0:2:0"
>     EndSection
> 
> I've changed driver to "vesa", because as long as I use "intel", kernel
> core dumped at once because of the "i915kms" driver!
> I've just want know how to make intel driver works for me.
> Thank you.
>  
> 
> 
> On Wed, Apr 13, 2016 at 3:20 AM, Arto Pekkanen <isoa at kapsi.fi
> <mailto:isoa at kapsi.fi>> wrote:
> 
>     This topic has been discussed already many times before, so I am just
>     going to link the relevant Handbook article:
>     https://www.freebsd.org/doc/handbook/x-config.html
> 
>     Read through the section "Setting the Video Driver in a File"
> 
>     To set the Intel® driver in a configuration file:
> 
>     Example 5.1. Select Intel® Video Driver in a File
>     /usr/local/etc/X11/xorg.conf.d/driver-intel.conf
> 
>     Section "Device"
>             Identifier "Card0"
>             Driver     "intel"
>             # BusID    "PCI:1:0:0"
>     EndSection
> 
>     If more than one video card is present, the BusID identifier can be
>     uncommented and set to select the desired card. A list of video card bus
>     IDs can be displayed with pciconf -lv | grep -B3 display.
> 
>     ... and in your case, you MUST set the BusID attribute or X won't be
>     able to figure out which device to configure.
> 
>     On 09.04.2016 09:31, 承恩徐 wrote:
>     > Hi, everyone.
>     >
>     > I'using a Hasee laptop Model:K580S-i7 D0. It has a optimus dual
>     cards, one
>     > is Intel HD4000, the other nvidia GT650M. There is no option in
>     BIOS to
>     > disable optimus.
>     >
>     > I follow the link https://wiki.freebsd.org/Graphics.
>     >
>     > I've the problem enabling intel card.
>     > When I just use "intel" driver in xorg.conf, X won't start,
>     compaining no
>     > device detected. I can only use the "vesa" driver, this way, X
>     starts well,
>     > But I cannot switch back to console. When I pressed Alt-Shift-F1,
>     it just
>     > went black, no response to any key but pressing power putton for 5
>     seconds.
>     >
>     > Everytime trying loading i915kms kernel module, the kernel core dumps.
>     > If i compiled the module into kernel or put it in /boot/loader.conf or
>     > /etc/rc.conf, It will core dump in next booting process.
>     > If I manully kldload the module, kernel will core dump right after
>     i press
>     > Enter.
>     >
>     > I don't know why and how to resolve this.
>     > Any help will be appreciated! Thanks.
>     >
>     >
>     >
>     > _______________________________________________
>     > freebsd-x11 at freebsd.org <mailto:freebsd-x11 at freebsd.org> mailing list
>     > https://lists.freebsd.org/mailman/listinfo/freebsd-x11
>     > To unsubscribe, send any mail to
>     "freebsd-x11-unsubscribe at freebsd.org
>     <mailto:freebsd-x11-unsubscribe at freebsd.org>"
>     >
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20160414/1f068e61/attachment.sig>


More information about the freebsd-x11 mailing list