From owner-freebsd-x11@freebsd.org Fri Jan 13 16:09:46 2017 Return-Path: Delivered-To: freebsd-x11@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 66EB8CAD989 for ; Fri, 13 Jan 2017 16:09:46 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) by mx1.freebsd.org (Postfix) with ESMTP id 03AA41CA6; Fri, 13 Jan 2017 16:09:45 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Subject: Re: Crash with radeonkms To: Anindya Mukherjee , Matthew Macy References: <15994d9f54d.10dcb859e146706.6480944492081388621@nextbsd.org> Cc: "freebsd-x11@freebsd.org" From: Jung-uk Kim Message-ID: Date: Fri, 13 Jan 2017 11:09:45 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.23 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, 13 Jan 2017 16:09:46 -0000 On 01/12/2017 23:08, Anindya Mukherjee wrote: > Thanks for the tip! I loaded linuxkpi, drm first, and then tried to load radeonkms with the following results: > > [drm] Initialized > link_elf_obj: symbol acpi_get_table undefined > linker_load_file: Unsupported file type > > I see a protoype for this function (and others) in sys/compat/linuxkpi/common/include/acpi/acpifx.h:494. Perhaps all of them are missing? Can we add a linker script or something similar? Please try this patch. https://patch-diff.githubusercontent.com/raw/FreeBSDDesktop/freebsd-base-graphics/pull/110.diff Jung-uk Kim > Anindya > > ________________________________________ > From: Matthew Macy [mmacy@nextbsd.org] > Sent: January 12, 2017 2:43 PM > To: Anindya Mukherjee > Cc: freebsd-x11@freebsd.org > Subject: RE: Crash with radeonkms > > ---- On Thu, 12 Jan 2017 09:52:21 -0800 Anindya Mukherjee wrote ---- > > There seems to be an error while trying to load the "radeonkms" module (#15). It then tries to unload it, and crashes. > > Correct. It's almost certainly missing symbols. To find out what they are without crashing your system, load linuxkpi, then load drm, and *then* load radeon. Note that if your hardware is SI or newer it's supported by amdgpu. > > -M