From owner-freebsd-x11@freebsd.org Fri Jan 13 04:34:20 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 E13E9CAD34B for ; Fri, 13 Jan 2017 04:34:20 +0000 (UTC) (envelope-from anindya49@hotmail.com) Received: from SNT004-OMC3S21.hotmail.com (snt004-omc3s21.hotmail.com [65.55.90.160]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9A0AB1C53 for ; Fri, 13 Jan 2017 04:34:20 +0000 (UTC) (envelope-from anindya49@hotmail.com) Received: from NAM01-BY2-obe.outbound.protection.outlook.com ([65.55.90.136]) by SNT004-OMC3S21.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Thu, 12 Jan 2017 20:33:13 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=TSzTabTr15LpTjk5n4sodG8LT72B6RXgwWWdKoFIKmA=; b=DtkquVRpbd0tOwvGywkRsvCHMp3A514caGcTOnX1Ar+XHucYM0l2AfMfsKikn1gBtPH7RmHgPjXIzBOKgsqmkn95oUFUJpUddLs8FOCrHXCv1D5iNc4nTgfujmjXEuvoqWwCd9SxsdP4iWEa17pUpcS3jcVoSM/2AHmI4Mm2xCebsMLr2uFMQX1HjmI0haWLmc80ezIL5DIkF/RH2YD86wfW5BbE2v219f7vdTB379MGsalLzDnOY3AWaJ3HGe7g5z2rmortG8n9f/thradDyg/q3IjAOH4cVVE2kneZa6+OJE/1YwaEuBGid+dQFQQMBbUdTnNevrq9uxwlNLQCuw== Received: from BN3NAM01FT058.eop-nam01.prod.protection.outlook.com (10.152.66.59) by BN3NAM01HT252.eop-nam01.prod.protection.outlook.com (10.152.67.178) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.8; Fri, 13 Jan 2017 04:33:12 +0000 Received: from BN6PR22MB0802.namprd22.prod.outlook.com (10.152.66.55) by BN3NAM01FT058.mail.protection.outlook.com (10.152.66.246) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.8 via Frontend Transport; Fri, 13 Jan 2017 04:33:12 +0000 Received: from BN6PR22MB0802.namprd22.prod.outlook.com ([10.171.180.21]) by BN6PR22MB0802.namprd22.prod.outlook.com ([10.171.180.21]) with mapi id 15.01.0829.019; Fri, 13 Jan 2017 04:33:12 +0000 From: Anindya Mukherjee To: Matthew Macy CC: "freebsd-x11@freebsd.org" Subject: RE: Crash with radeonkms Thread-Topic: Crash with radeonkms Thread-Index: AQHSbLrUdbJV/fwgGU2gnolYOEFheqE1HyEJgABSF4CAAFjLOYAAAxYAgAADaZs= Date: Fri, 13 Jan 2017 04:33:12 +0000 Message-ID: References: , <15994d9f54d.10dcb859e146706.6480944492081388621@nextbsd.org> , <15996070960.c3ab3668162091.4357860180622603422@nextbsd.org> In-Reply-To: <15996070960.c3ab3668162091.4357860180622603422@nextbsd.org> Accept-Language: en-CA, en-US Content-Language: en-CA X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nextbsd.org; dkim=none (message not signed) header.d=none;nextbsd.org; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:CF83D56ABB188A785D25F4676A762ABADDC3DC1968C42D9FBACDE99F27C7439E; UpperCasedChecksum:4BC3443C0713FF7B0F6CBFFD87649D77637BFE0EF63E5B65C24FF7CA887623E6; SizeAsReceived:7990; Count:40 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [zT/toIF9HIwM5cCeJvQha1cOPhych6/j] x-incomingheadercount: 40 x-eopattributedmessage: 0 x-microsoft-exchange-diagnostics: 1; BN3NAM01HT252; 7:WuC6BFNYFeX7bcb7mRI8xWfAdsNMGMYoD4PYrVJ7Vh4Ls/7J0dqHGyTCAT/rOfbHAf0Ba8s79L7qVM6rsK9oalmTTrIdvJkC+67bCmrgez9OIzAKmxvUTlhD7ylQr2mqe5uOGTX6NIt0A3cupKEEM7VkhjnHHCalxTZmowEp1rkyld7ue+XLylHp4XDZ/kDP5VgutWLsZRe0REQRhyxy3RvlAnDCavxrA9RMtU4aqTs0hk8En6eKgYR8Fht0iAhTsWxYVDokLMj8zw4KYzuQxsQN1zKDqTggfmLn25PhqZbVHnrEM0PtuikIPiGQuyqJzlceIjpnWP/OxVlMyMHp/v4kEz07PClateakkafrke1gfiq7X1WMUdbrpqd5pTRjVQLsqLA00qJ0g2tCofvZDdP7p4ALF4sczgbTrQHvuDPsdvBeBNDEstDU24rm9PCrd4pDDGotcKB7pai1p2qBTA== x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(10019020)(98900003); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3NAM01HT252; H:BN6PR22MB0802.namprd22.prod.outlook.com; FPR:; SPF:None; LANG:en; x-ms-office365-filtering-correlation-id: 627a4744-24f2-418b-b61b-08d43b6d48dc x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(1601124038)(5061506344)(1603103113)(1603101340)(1601125047)(1701031023); SRVR:BN3NAM01HT252; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444111334)(444112120)(432015012)(82015046); SRVR:BN3NAM01HT252; BCL:0; PCL:0; RULEID:; SRVR:BN3NAM01HT252; x-forefront-prvs: 018632C080 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jan 2017 04:33:12.5200 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3NAM01HT252 X-OriginalArrivalTime: 13 Jan 2017 04:33:13.0506 (UTC) FILETIME=[26F04020:01D26D56] 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 04:34:21 -0000 Interesting... I did build a new kernel from the drm-next branch: uname -a FreeBSD triskelion 12.0-CURRENT FreeBSD 12.0-CURRENT #0 7ec6ee8bca5(drm-nex= t): Tue Jan 10 22:06:43 PST 2017 root@triskelion:/usr/obj/usr/home/anin= dya/graphics/freebsd-base-graphics/sys/GENERIC amd64 anindya@triskelion:~/graphics/freebsd-base-graphics [20:30:22]% git branch * drm-next drm-next-4.7 My /boot/kernel/kernel file is also new and different from the installed ve= rsion. There were no errors during the build. I wonder if I made a mistake = somewhere. Anindya ________________________________________ From: Matthew Macy [mmacy@nextbsd.org] Sent: January 12, 2017 8:12 PM To: Anindya Mukherjee Cc: freebsd-x11@freebsd.org Subject: RE: Crash with radeonkms I'm guessing you're trying to run it on a kernel that isn't drm-next. -M ---- On Thu, 12 Jan 2017 20:08:38 -0800 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/c= ommon/include/acpi/acpifx.h:494. Perhaps all of them are missing? Can we ad= d a linker script or something similar? > > 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" modul= e (#15). It then tries to unload it, and crashes. > > Correct. It's almost certainly missing symbols. To find out what they ar= e without crashing your system, load linuxkpi, then load drm, and *then* lo= ad radeon. Note that if your hardware is SI or newer it's supported by amdg= pu. > > -M > > > _______________________________________________ > > freebsd-x11@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org= " > > > > >