tech-x11 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: nouveau problem (amd64/8.99.42)
On Fri, May 31, 2019 at 09:44:37PM +0200, Thomas Klausner wrote:
> That's before the function is even trying path lookups - cwdi0 doesn't
> seem to be filled in enough yet. All the lines are before wd0 is even
> detected (I'm not sure if that's necessary, but that's where / lives).
I guess this won't change much, but I think this is definitely needed:
/usr/src/sys/external/bsd/drm2> cvs di
Index: nouveau/files.nouveau
===================================================================
RCS file: /cvsroot/src/sys/external/bsd/drm2/nouveau/files.nouveau,v
retrieving revision 1.26
diff -u -r1.26 files.nouveau
--- nouveau/files.nouveau 4 Feb 2019 08:18:08 -0000 1.26
+++ nouveau/files.nouveau 3 Jun 2019 14:06:57 -0000
@@ -3,7 +3,7 @@
version 20180827
define nouveaufbbus { }
-device nouveau: drmkms, drmkms_ttm, nouveaufbbus
+device nouveau: drmkms, drmkms_ttm, nouveaufbbus, firmload
attach nouveau at pci with nouveau_pci: drmkms_pci
file external/bsd/drm2/nouveau/nouveau_pci.c nouveau_pci
For comparison:
/usr/src/sys/external/bsd/drm2> grep -r firmload .
./i915drm/files.i915drmkms:device i915drmkms: drmkms, drmkms_pci, intelfbbus, agp_i810, firmload
...
./radeon/files.radeon:device radeon: drmkms, drmkms_pci, drmkms_ttm, radeonfbbus, firmload
./amdgpu/files.amdgpu:device amdgpu: drmkms, drmkms_pci, drmkms_ttm, amdgpufbbus, firmload
I see that autoconf(9) mentions:
config_mountroot(dev, func)
Called by the child to defer the remainder of its configuration
until the root file system is mounted. At this point, the
function func is called with the argument dev. This is used for
devices that need to load firmware image from a mounted file
system.
Is this the case here? I'm not sure if the file system must be mounted or
how this works if not.
Thomas
Home |
Main Index |
Thread Index |
Old Index