From owner-freebsd-x11@freebsd.org Tue May 29 07:15:00 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 304FCEF5BC2 for ; Tue, 29 May 2018 07:15:00 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wr0-x22a.google.com (mail-wr0-x22a.google.com [IPv6:2a00:1450:400c:c0c::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9A03F7AC27 for ; Tue, 29 May 2018 07:14:59 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wr0-x22a.google.com with SMTP id a15-v6so23620461wrm.0 for ; Tue, 29 May 2018 00:14:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=i+HSNFGUDt/x3PIQYyYDIQkQvkeiHb0Xg867hy6yS/Y=; b=MAERuAM1jvZib8lxtOQ9hb5TsTLR6eBPEnr6OsFxDifoFm9z3Jjeg0LGxv8hd8lscC zXQFRAxZrB5CMIEugGbzcwnNEW/l7rsSp+9XyzXMZrdmgvKyl31zZ875QUvQmQRgBhRm xCg8aKk6cMQnGjYhbGeVmm4YKpOwHWJp6HAhr+FATRstxJfhFUJN0PgVYb3B2XodBjZC BPti6KRpnnt+k3EaKPI7i/Tyl/m5UmR4SeYry6hmkvb1zIrL26W4Fn5bZuFqvF4JR/d5 pXjvj0dc6vPdRB1uqizT3BguQsgrDjib3QOPGiDMMapjbHBkuDYL43PIRa/D/YFUIHlW ovYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=i+HSNFGUDt/x3PIQYyYDIQkQvkeiHb0Xg867hy6yS/Y=; b=Otgf7X9hWiZjPdTc1ngzxM4lRCP34GRWFKOfUlCZpRrk1xL4WxpqIRO7uBTry0ajze i8R/cfMuemgqdSUCMsvcAKOCcIODmMMWFnX5LyAknGPRcM/UxIeJNVWunqwW9XuWWlWw 0vCxWC4ipZgZdrjd59K4+intKUBvlWqgbGj9bDTyJ/SRBpOhPu1cZRFxJWLTH/4OJUfI JOIkgp7bY/11EQQPMLj4MAhoLINcGj7DgfrMdXNAH1WoLdyU54i7mWW4KjmVZMNK1Cau 2Ci/vckSxBi6yc01C4eFan4E03r3ktwPf8sySNfZYUJAPmUCYm5TUPkFtxuP/GOAVz0a 4CVQ== X-Gm-Message-State: ALKqPwcf82QOY4RZBGmUrT3qTkZNA82v6wimup4bf3dA76T0SFm+S98d zHIJtrXOYV5WjKt7dTR7tLzpiSI3g5Mdif8MR9WbsQ== X-Google-Smtp-Source: ADUXVKKS6YLJ/8fg4CTMzMlOEceeZjy6BcvP+TUeCx4NrMIF3inzYzL2uvBiiqqbtjqLmXWqDgGGTcQI5EAReub1Y1k= X-Received: by 2002:a5d:408f:: with SMTP id o15-v6mr4694214wrp.133.1527578098475; Tue, 29 May 2018 00:14:58 -0700 (PDT) MIME-Version: 1.0 References: <201805222212.w4MMCdA9031937@pdx.rh.CN85.dnsmgr.net> <54561d2004f34b3eb1e394d940aaf1ee@MSEXCH13.mands.hu> <861se1pdb7.fsf@gmail.com> <3a1bd4de94304bde8c04f13c271bef1a@MSEXCH13.mands.hu> In-Reply-To: From: Johannes Lundberg Date: Tue, 29 May 2018 08:14:21 +0100 Message-ID: Subject: Re: i915kms on Lenovo T510 To: Krasznai.Andras@mands.hu Cc: x11-list freebsd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2018 07:15:00 -0000 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 > wrote: > > > Andreas Nilsson writes: > > > On Thu, May 24, 2018 at 12:01 PM, Johannes Lundberg > > 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 > >