From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 80F701396D0 for ; Mon, 28 Aug 2017 15:11:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C35ECE0F35; Mon, 28 Aug 2017 15:11:23 +0000 (UTC) Received: from mail-qt0-x232.google.com (mail-qt0-x232.google.com [IPv6:2607:f8b0:400d:c0d::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 696E5E0F18 for ; Mon, 28 Aug 2017 15:11:23 +0000 (UTC) Received: by mail-qt0-x232.google.com with SMTP id x36so3481085qtx.2 for ; Mon, 28 Aug 2017 08:11:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=OmtkWFMfY+eK/VQnu7iEmAXbbWkwlG0N5PETQLhcgxM=; b=LgPD2317QQ2kJZ1h++rTThU8Zz6bmkXjnSWdgo7ih4Z8h4BwSxeGzd4GrAEhFjFYGu LWVlSjKPIWvMNlLEgeW6EeBi/zx9/lzjJVuon07KhtGm2LDkyHHsXD4TVDmGiJMTeg6q u042xyZNNc2K5Fva+t3EImCeH1zY53J4g/QbjcZixF21u7iJz+axkOcWN1RzugOFjCzb kbq1mIPhD2VZTPDSrmyRvdGi67m0af7NCC51COiYvX8DdqH4W1Nqt3W8B9zuZ1K1tIhh kPliSyJiN0TDCfw0mpms+zTv7eW6z7lJNQ482sawDTJWXC0htV1oSNRrkHqjqZhZufzp p9gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=OmtkWFMfY+eK/VQnu7iEmAXbbWkwlG0N5PETQLhcgxM=; b=ECX4WNATvDQV3Vu7QIJCfYWT6hVTWc7Pp3iO2Qb8CEmW7VaXd6AG6isfhi8gVNN2c8 epZeLVctKDWNSqKiuoBBzLUyXwnTt8n5HSvxRk5h1zCUR3QAdKO5LWTTE0JprQoZPExe yg5lR+girtoOUzS+/EqqSPvT/yzWup+4zLrbQrFicWSYtNLkLntxkc2UZqL+Rty5F2u6 MAdaPKW77z8ga1N/UG1LucYd32Jkoi37dm5LSaMgIBs3q71JBgybypVw/bmWEkGkSCC9 mqMxBVTL1RbpkCcMO4vivEEX6vrAw81Yq4RpUMsH6HzErmiWZ26iFcIyX+ffAVwZIxGW 4CXw== X-Gm-Message-State: AHYfb5gprqHuxR6sepsPehuUjmiIvOmyZyeWInH4e/tpglKIJ7KQgYVa XFCSbpNJFbLGDG3HRU0rYXJmz76+jP9+ X-Received: by 10.200.40.20 with SMTP id 20mr1383710qtq.180.1503933082528; Mon, 28 Aug 2017 08:11:22 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.237.44.195 with HTTP; Mon, 28 Aug 2017 08:11:21 -0700 (PDT) Received: by 10.237.44.195 with HTTP; Mon, 28 Aug 2017 08:11:21 -0700 (PDT) In-Reply-To: References: From: Alexander Kapshuk Date: Mon, 28 Aug 2017 18:11:21 +0300 Message-ID: Subject: Re: [gentoo-user] Failed to load driver: Nouveau To: Gentoo mailing list Content-Type: multipart/alternative; boundary="001a1142c00e266f630557d1b5a5" X-Archives-Salt: b3d82448-1bef-49de-adf2-21aaf3b562a4 X-Archives-Hash: d89322eaa72ecb3c8855c6ef6c8d6112 --001a1142c00e266f630557d1b5a5 Content-Type: text/plain; charset="UTF-8" On Aug 28, 2017 17:57, "Alexander Kapshuk" wrote: On Mon, Aug 28, 2017 at 5:38 PM, IceAmber wrote: > `du -a /lib/modules/`uname -r`/ | sed '/nouveau.ko$/!d;s/.*\t//'` as the > same result > > On Mon, Aug 28, 2017 at 2:36 PM, IceAmber wrote: >> >> the result is >> iceamber@localhost:~ $ modinfo nouveau | grep filename >> filename: >> /lib/modules/4.12.5-gentoo/kernel/drivers/gpu/drm/nouveau/nouveau.ko >> >> On Mon, Aug 28, 2017 at 2:17 PM, David Abbott wrote: >>> >>> On Mon, Aug 28, 2017 at 10:00 AM, IceAmber >>> wrote: >>> > so, what should I do to locate the driver? >>> > >>> > On Mon, Aug 28, 2017 at 11:48 AM, Alexander Kapshuk >>> > wrote: >>> >> >>> >> On Mon, Aug 28, 2017 at 2:41 PM, IceAmber >>> >> wrote: >>> >> > No, the error still there. >>> >> > And the script `modinfo /lib/modules/`uname -r`/path/to/nouveau.ko` >>> >> > shows >>> >> > iceamber@localhost:~ $ modinfo /lib/modules/`uname >>> >> > -r`/path/to/nouveau.ko >>> >> > modinfo: ERROR: Module /lib/modules/4.12.5-gentoo/ path/to/nouveau.ko >>> >> > not >>> >> > found. >>> >> > >>> >> >>> >> Note: 'path/to' in 'modinfo /lib/modules/`uname >>> >> -r`/path/to/nouveau.ko' above needs substituting for the path to your >>> >> nouveau.ko driver. Try locating it and rerun modinfo on it. >>> >> Alternatively, you could try compiling nouveau into the kernel by >>> >> setting CONFIG_DRM_NOUVEAU=y, reboot and see if that helps. >>> >> >>> > >>> >>> try; >>> modinfo nouveau | grep filename >>> >> > Now run: modinfo /lib/modules/4.12.5-gentoo/kernel/drivers/gpu/drm/nouveau/nouveau.ko To make 100 per cent certain your driver is loaded, can you also run: lsmod | grep nouveau --001a1142c00e266f630557d1b5a5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Aug 28, 2017 17:57, "Alexander Kapshuk" <= alexander.kapshuk@gmail.com<= /a>> wrote:
On Mon, Aug 28, 2017 at 5:38 PM, IceAmber <iceamber2015@gmail.com> wrote:
> `du -a /lib/modules/`uname -r`/ | sed '/nouveau.ko$/!d;s/.*\t//= 9;` as the
> same result
>
> On Mon, Aug 28, 2017 at 2:36 PM, IceAmber <iceamber2015@gmail.com> wrote:
>>
>> the result is
>> iceamber@localhost:~ $ modinfo nouveau | grep filename
>> filename:
>> /lib/modules/4.12.5-gentoo/kernel/drivers/gpu/drm/nouvea= u/nouveau.ko
>>
>> On Mon, Aug 28, 2017 at 2:17 PM, David Abbott <dabbott@gentoo.org> wrote:
>>>
>>> On Mon, Aug 28, 2017 at 10:00 AM, IceAmber <iceamber2015@gmail.com>
>>> wrote:
>>> > so, what should I do to locate the driver?
>>> >
>>> > On Mon, Aug 28, 2017 at 11:48 AM, Alexander Kapshuk
>>> > <alexan= der.kapshuk@gmail.com> wrote:
>>> >>
>>> >> On Mon, Aug 28, 2017 at 2:41 PM, IceAmber <iceamber2015@gmail.com>
>>> >> wrote:
>>> >> > No, the error still there.
>>> >> > And the script `modinfo /lib/modules/`uname -r`/= path/to/nouveau.ko`
>>> >> > shows
>>> >> > iceamber@localhost:~ $ modinfo /lib/modules/`una= me
>>> >> > -r`/path/to/nouveau.ko
>>> >> > modinfo: ERROR: Module /lib/modules/4.12.5-gento= o/path/to/nouveau.ko
>>> >> > not
>>> >> > found.
>>> >> >
>>> >>
>>> >> Note: 'path/to' in 'modinfo /lib/modules/= `uname
>>> >> -r`/path/to/nouveau.ko' above needs substituting = for the path to your
>>> >> nouveau.ko driver. Try locating it and rerun modinfo = on it.
>>> >> Alternatively, you could try compiling nouveau into t= he kernel by
>>> >> setting CONFIG_DRM_NOUVEAU=3Dy, reboot and see if tha= t helps.
>>> >>
>>> >
>>>
>>> try;
>>> modinfo nouveau | grep filename
>>>
>>
>
Now run:
modinfo /lib/modules/4.12.5-gentoo/kernel/drivers/gpu/drm/nouveau= /nouveau.ko

To make 100 per cent certain your driver is loaded, can = you also run:
lsmod | grep nou= veau

--001a1142c00e266f630557d1b5a5--