From owner-freebsd-x11@freebsd.org Fri Jul 17 09:59:56 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 890E735F6FA for ; Fri, 17 Jul 2020 09:59:56 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B7RSC26Krz3bWx for ; Fri, 17 Jul 2020 09:59:54 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id 06H9xekl092772 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 17 Jul 2020 12:59:43 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 06H9xekl092772 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id 06H9xe4o092771; Fri, 17 Jul 2020 12:59:40 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 17 Jul 2020 12:59:40 +0300 From: Konstantin Belousov To: Emmanuel Vadot Cc: Ronald Klop , freebsd-x11@freebsd.org Subject: Re: vboxvideo module does not load Message-ID: <20200717095940.GR44314@kib.kiev.ua> References: <791556969.17.1594974560193@localhost> <20200717103924.1aa1a7849fb925f7504129c4@bidouilliste.com> <1164188649.16.1594976757897@localhost> <20200717111220.66edd4428696ce7d45d290d5@bidouilliste.com> <20200717113531.61af2bdc67fe7ceff03f4890@bidouilliste.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200717113531.61af2bdc67fe7ceff03f4890@bidouilliste.com> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on tom.home X-Rspamd-Queue-Id: 4B7RSC26Krz3bWx X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=gmail.com (policy=none); spf=softfail (mx1.freebsd.org: 2001:470:d5e7:1::1 is neither permitted nor denied by domain of kostikbel@gmail.com) smtp.mailfrom=kostikbel@gmail.com X-Spamd-Result: default: False [1.35 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; NEURAL_SPAM_SHORT(0.51)[0.513]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; NEURAL_SPAM_MEDIUM(0.75)[0.752]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.08)[0.081]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[gmail.com]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jul 2020 09:59:56 -0000 On Fri, Jul 17, 2020 at 11:35:31AM +0200, Emmanuel Vadot wrote: > On Fri, 17 Jul 2020 11:12:20 +0200 > Emmanuel Vadot wrote: > > > On Fri, 17 Jul 2020 11:05:57 +0200 (CEST) > > Ronald Klop wrote: > > > > > Thanks for the quick answer. > > > > > > A recompile and kldload gave: > > > > > > Jul 17 11:01:18 sjakie pkg-static[7338]: drm-devel-kmod-5.3.g20200710 deinstalled > > > Jul 17 11:01:19 sjakie pkg-static[7522]: drm-devel-kmod-5.3.g20200710 installed > > > Jul 17 11:02:07 sjakie kernel: link_elf_obj: symbol ttm_bo_dma_acc_size undefined > > > Jul 17 11:02:08 sjakie kernel: linker_load_file: /boot/modules/drm.ko - unsupported file type > > > Jul 17 11:02:08 sjakie kernel: KLD vboxvideo.ko: depends on drmn - not available or version mismatch > > > Jul 17 11:02:08 sjakie kernel: linker_load_file: /boot/modules/vboxvideo.ko - unsupported file type > > > > > > Regards, > > > Ronald. > > > > Yeah I figured that there was other stuff needed, I'll have a look > > this weekend and let you know. > > Thanks for the report. > > Can you try by kldload ttm before ? vboxvideo now depends on it but > the dependancy wasn't added. This is not how modules work. You need to explicitly list the module as a dependency for its symbol to participate in resolution.