`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 >> >> >