`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 <[email protected]> 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 <[email protected]> wrote:
>
>> On Mon, Aug 28, 2017 at 10:00 AM, IceAmber <[email protected]>
>> wrote:
>> > so, what should I do to locate the driver?
>> >
>> > On Mon, Aug 28, 2017 at 11:48 AM, Alexander Kapshuk
>> > <[email protected]> wrote:
>> >>
>> >> On Mon, Aug 28, 2017 at 2:41 PM, IceAmber <[email protected]>
>> 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
>>
>>
>

Reply via email to