From owner-freebsd-questions@freebsd.org Sat Jul 22 08:53:26 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 697BBCFF88D for ; Sat, 22 Jul 2017 08:53:26 +0000 (UTC) (envelope-from matt.xtaz@gmail.com) Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EE738720A9 for ; Sat, 22 Jul 2017 08:53:25 +0000 (UTC) (envelope-from matt.xtaz@gmail.com) Received: by mail-wm0-x244.google.com with SMTP id 65so9288463wmf.0 for ; Sat, 22 Jul 2017 01:53:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=A/u325i6QObboH8G+7alThXpOwim7SIngYYDAO0W3dg=; b=rEBS/27hu76Jb8DGWrm7c8og9vUefpTeiN/86adUpZcSANZDPhFUyp5SntqPfpM5nL AqxerPC1CalqptKllaOSK2rgII11J+EwSDWbZ438bNqTSO66hw7v1r+l+lOS158KCned hPGWdQ0bdL78vl5TTQft0iWREND3Z6SedYQrd83lPMtnKmgtQEfk4hfDZLdiAngk58LP ebudbwsvd1MjGMWpceYgfDJeSfHW1r5vL5ymCbmEAnKGwZ/+LbaJYkHfNtHDHXf4iBGA PcOO1tCYTXBB7aQ19rsZVNrE7gj85YySg0TNiv+ouyI+0iLRuG/yDNZCbutl+i1WwJRx ZRPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=A/u325i6QObboH8G+7alThXpOwim7SIngYYDAO0W3dg=; b=s85TfcIUFFeI7nItg42yC9bnHp/fiNzbeSPQxvBWNyMSsWOQQCSjQX2NJl5nf/yp6S kSsdamwBmTdxcQ7hTj0IDRsGbxDmAbmKIV7h+Mw3cS4oq98dYrn93UJYo+kV9DaiGVlB rEvuNptKHGsdNjQcJDxPDYm1TKkIyZwdK5FdsC2R08wnC1Dpvjukup6rpesfupcC1Fkt uqb3zDeG7YsM048mq3okKkKzMdRxfNEM67wKVC6Yj2YeIc51iyqL1LCr8pVD26TYvuM+ BIG+dxhlsvNHJs4qBL+ZMXN1c6QHoMSu5utdqUJbn5hekjqrKhqlRZlj3DBvkD71OZ+w MOKg== X-Gm-Message-State: AIVw112W6ocMYnMx57iJqHq+67vYUuNaeJ500mJxs9xhfVBAZS9enjzg 2dBA3eFDgu5hGA== X-Received: by 10.28.226.137 with SMTP id z131mr1044453wmg.151.1500713604401; Sat, 22 Jul 2017 01:53:24 -0700 (PDT) Received: from gmail.com (tao.xtaz.uk. [2001:8b0:fe33::10]) by smtp.gmail.com with ESMTPSA id 34sm8416518wrt.36.2017.07.22.01.53.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 22 Jul 2017 01:53:24 -0700 (PDT) Date: Sat, 22 Jul 2017 09:53:22 +0100 From: Matt Smith To: Manish Jain Cc: "freebsd-questions@freebsd.org" Subject: Re: Why does loading radeonkms via /boot/loader.conf fail ? Message-ID: <20170722085322.GA55111@gmail.com> Mail-Followup-To: Matt Smith , Manish Jain , "freebsd-questions@freebsd.org" References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jul 2017 08:53:26 -0000 On Jul 22 03:35, Manish Jain wrote: > >Hi, > >On FreeBSD 10.3 amd64 with a Radeon R5 230 card, I am trying to figure >out why does the boot process fail early on, halting in the attempt to >load radeonkms by setting this in /boot/loader.conf : > >radeon_load="YES" >radeonkms_load="YES" > >If I do that, the radeon kld does get loaded, but radeonkms does not get >loaded, halting the boot with a message that the GPU firmware >(radeonkmsfw_CAICOS_pfp in particular) could not be loaded. The system >hangs, and has to be cold-booted. > >The only way I could boot the system was by escaping to the loader >prompt and issuing "disable-module radeonkms". > >I have a nice hack that solves the problem of auto-loading radeon* >kld's. Load them via /etc/rc.local : > >kldload radeon >kldload radeonkms > >The above succeeds very sweetly, but for kicks I need to know why the >regular method fails, hanging the system dead. > >Thanks for any reply. >Manish Jain I thought that the new recommended way of loading modules is now to use /etc/rc.conf like this rather than using loader.conf. kld_list="radeon radeonkms" This is how I've been loading my modules since I read about it on one of the forum or mailing lists. Might be worth giving that a go? -- Matt