Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2018 08:14:21 +0100
From:      Johannes Lundberg <johalun0@gmail.com>
To:        Krasznai.Andras@mands.hu
Cc:        x11-list freebsd <freebsd-x11@freebsd.org>
Subject:   Re: i915kms on Lenovo T510
Message-ID:  <CAECmPwtNPb39etax12X2=kVGE-%2BSS35WLbA=RL3OdsSXPGwCDA@mail.gmail.com>
In-Reply-To: <ca08d4cb77734f95b46ae76d8707549a@MSEXCH13.mands.hu>
References:  <201805222212.w4MMCdA9031937@pdx.rh.CN85.dnsmgr.net> <m1fLQNs-0000G0C@stereo.hq.phicoh.net> <54561d2004f34b3eb1e394d940aaf1ee@MSEXCH13.mands.hu> <CAECmPws4roMamP8zZ%2BBVkMW2F6CsqPkw9%2BUEHg5L2k1XwZXd6g@mail.gmail.com> <CAPS9%2BSvfRnTgW6K5Kmh0PJLASkP0iTfmJQAOw5LQmSKUReW1Hg@mail.gmail.com> <861se1pdb7.fsf@gmail.com> <CAECmPwuGNQs_yy2qVukrJoaqOAVCOCciueUXfr9ofOa56iUk-g@mail.gmail.com> <3a1bd4de94304bde8c04f13c271bef1a@MSEXCH13.mands.hu> <CAECmPwvtKADwekriNNqwa1anAa8Y-2PLN-%2BaJjQbFa67pauTfw@mail.gmail.com> <ca08d4cb77734f95b46ae76d8707549a@MSEXCH13.mands.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 29, 2018 at 7:52 AM M&S - Krasznai Andr=C3=A1s <
Krasznai.Andras@mands.hu> wrote:

> Hi
>
>
>
> yesterday and today I did some testing:
>
>
>
> installed a new freebsd-current, upgraded the source to #...... and
> compiled a GENERIC kernel with a minimal src.conf (just be able to use
> ccache for compiling).
>
>
>
> After successful installation of the new GENERIC kernel I tested the
> drm-stable-kmod and drm-next-kmod with the appropriate changes to rc.conf
> and /boot/loader.conf.
>
>
>
> In both cases I got the fatal trap 12, immediately after manually loading
> the /boot/modules/i915kms.ko module.
>
>
>
> I attach 4 pictures of my screen; the first two shows the trap itself and
> the stack trace for drm-kmod-stable, and the 3rd and 4th are the same for
> drm-next-kmod.
>
>
>

Hi!  Thanks for the report. I looks like you have an older card that's
supported by drm2 in the kernel but not drm-stable-kmod.
However, good news! We just enabled older devices in the drm-stable-kmod
branch.

You can try build from source here
https://github.com/FreeBSDDesktop/kms-drm/tree/drm-v4.9

Or wait a week or so until we have updated the drm-stable-kmod to use the
new version. (drm-next-kmod will not be updated for this since it will soon
be replaced with a new version)



>
>
> rgds
>
>
>
> Andr=C3=A1s Krasznai
>
>
>
>
>
> *From:* Johannes Lundberg [mailto:johalun0@gmail.com]
> *Sent:* Thursday, May 24, 2018 1:14 PM
> *To:* M&S - Krasznai Andr=C3=A1s
> *Cc:* x11-list freebsd
> *Subject:* Re: i915kms on Lenovo T510
>
>
>
>
>
> On Thu, May 24, 2018 at 12:10 PM M&S - Krasznai Andr=C3=A1s <
> Krasznai.Andras@mands.hu> wrote:
>
> Hi
>
>
>
> explicitly specifying the path for the modules did not help.
>
>
>
> Hans Peter Selansky looked at the Fatal trap and suggested to compile a
> GENERIC kernel with debugging support so we can see  the backtrace, I am
> now compiling. It will take 3-4 hours so I will report the results tomorr=
ow.
>
> rgds
>
>
>
> Great! Thanks. We really appreciate you're taking the time to track this
> down.
>
>
>
>
> Andr=C3=A1s Krasznai
>
>
>
>
>
> *Felad=C3=B3:* Johannes Lundberg [mailto:johalun0@gmail.com]
> *K=C3=BCldve:* 2018. m=C3=A1jus 24. 12:31
> *C=C3=ADmzett:* M&S - Krasznai Andr=C3=A1s
> *M=C3=A1solatot kap:* x11-list freebsd
> *T=C3=A1rgy:* Re: i915kms on Lenovo T510
>
>
>
>
>
> On Thu, May 24, 2018 at 11:18 AM Johannes Lundberg <johalun0@gmail.com>
> wrote:
>
>
> Andreas Nilsson writes:
>
> > On Thu, May 24, 2018 at 12:01 PM, Johannes Lundberg <johalun0@gmail.com=
>
> > wrote:
> >
> >> On Thu, May 24, 2018 at 7:33 AM M&S - Krasznai Andr=C3=A1s <
> >> Krasznai.Andras@mands.hu> wrote:
> >>
> >> > hi
> >> >
> >> > I am using a Lenovo T510 laptop with FreeBSD-CURRENT.
> >> >
> >> > It contains Intel I5 processor and integrated Intel graphics adapter=
.
> >> >
> >> > I tried to set it to drm-stable-kmod as well as to drm-next-kmod, no=
ne
> >> was
> >> > working, I got a fatal trap, kernel panic during boot.
> >> >
> >> > Compiling the packages on my system did not help. The graphics adapt=
er
> >> can
> >> > be old for drm-xxxx-kmod packages.
> >> >
> >> > Drm2 from the base works correctly on my laptop.
> >> >
> >> > rgds
> >> >
> >> > Andras Krasznai
> >> >
> >> >
> >>
> >> Hi
> >>
> >> Starting a new thread with cc: graphics mailing list.
> >>
> >> So, this is a 64 bit machine and you're running freebsd-amd64, right?
> >>
> >> Do you know if the CPU architecture is Ivybridge, Sandybridge or
> Haswell?
> >> _______________________________________________
> >> freebsd-x11@freebsd.org mailing list
> >> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
> >> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org"
> >>
> >
> > Hello,
> >
> > As far  as I know the t510 had a first gen core i-series cpu. My t510
> with
> > a core i7 did not have a integrated gpu, but the i5 did. I think it mig=
ht
> > have something like:
> >
> https://ark.intel.com/products/49653/Intel-Core-i5-560M-Processor-3M-Cach=
e-2_66-GHz
> >
>
> Thanks! Seems like Arrandale, predecessor to Sandy Bridge.
>
> To OP:
> Can you put
> dev.drm.drm_debug=3D-1
> in /boot/loader.conf and send a dmesg output? (or /var/crash/core.txt.X)
>
>
>
> One more thing to check is if the correct drm module is loaded. Safest is
> to do
>
> kldload /boot/modules/drm.ko
>
> kldload /boot/modules/i915kms.ko
>
> and with kldstat -v check that the modules are loaded from /boot/modules
> and not /boot/kernel/
>
>
>
> > Best regards
> > Andreas
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAECmPwtNPb39etax12X2=kVGE-%2BSS35WLbA=RL3OdsSXPGwCDA>