From owner-freebsd-x11@freebsd.org Fri Jan 13 04:54:15 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 DAA92CAD7AC for ; Fri, 13 Jan 2017 04:54:15 +0000 (UTC) (envelope-from anindya49@hotmail.com) Received: from BAY004-OMC2S26.hotmail.com (bay004-omc2s26.hotmail.com [65.54.190.101]) (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 9E3D212D7 for ; Fri, 13 Jan 2017 04:54:15 +0000 (UTC) (envelope-from anindya49@hotmail.com) Received: from NAM01-BN3-obe.outbound.protection.outlook.com ([65.54.190.123]) by BAY004-OMC2S26.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Thu, 12 Jan 2017 20:53:09 -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=daTvGlwzdW4I9h80vEof4flFY6JM+jGcoDEzZo9UXOY=; b=f5GBBcFzUh9eC+avtlUlm46JJVlQj+/IiP4DefFtgket3JteHa7dqwbytXsW3MQ901LsAEIQQvC/g8qkL72YleeOCvfNle/T4NxSmkuLUn/MtQPzgg7hcLU7Fplrd1lszioFycZReEGmEJlP7wTXV1eCkP0nQp7wlsvW9tPKMvf0gEsd0dS/H8VADW//sZ72LMg5MtyVoynVoUi9wQds1H9eE1clKLauGcixo3gI9WE15+g05Ru/UDeOekidTD4Y9pXKqk7RFvnxTnjU01ALcvpOFP4u3Jvnbd9UNvEYzOIH6uMMkNOLX/aLvZ20wVCChaj2J7qTJc63qdD9Bn5r3Q== Received: from BN3NAM01FT048.eop-nam01.prod.protection.outlook.com (10.152.66.55) by BN3NAM01HT046.eop-nam01.prod.protection.outlook.com (10.152.66.120) 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:53:08 +0000 Received: from DM5PR22MB0810.namprd22.prod.outlook.com (10.152.66.53) by BN3NAM01FT048.mail.protection.outlook.com (10.152.66.124) 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:53:07 +0000 Received: from DM5PR22MB0810.namprd22.prod.outlook.com ([10.171.160.21]) by DM5PR22MB0810.namprd22.prod.outlook.com ([10.171.160.21]) with mapi id 15.01.0845.013; Fri, 13 Jan 2017 04:53:08 +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/fwgGU2gnolYOEFheqE1HyEJgABSF4CAAFjLOYAAAxYAgAADaZuAAAT0AIAAAaz6 Date: Fri, 13 Jan 2017 04:53:08 +0000 Message-ID: References: , <15994d9f54d.10dcb859e146706.6480944492081388621@nextbsd.org> , <15996070960.c3ab3668162091.4357860180622603422@nextbsd.org> , <1599622717e.b20ae7df163785.3066731730254505348@nextbsd.org> In-Reply-To: <1599622717e.b20ae7df163785.3066731730254505348@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:8828E9C02B5B7DF3F7C024BFA6A02FD7F00F6B83336C7399EF2C498EAFD120EB; UpperCasedChecksum:D147F07E13CBE5964D4DA2B8E65783953A1D562F28FE66AFAE80D9BF56C12DFD; SizeAsReceived:8147; Count:40 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [n+Qqfi6bsW5+EtUq0lFgGcUDdUDsKKW3] x-incomingheadercount: 40 x-eopattributedmessage: 0 x-microsoft-exchange-diagnostics: 1; BN3NAM01HT046; 7:yKx5WX1w9k/V/Ix4b42N7F/ljejFW+5ReWbE7YokLK6upQIhisy617FUZMW3zGkop+/HMjQAeyV48QL+fPijtzFshg0TdUtHPDa4QlfIo5nAWd+tjKJr8+o8cbB34rfjMHjciMFXB78aVp09rgw7Muc7F71PZFIOokYej1dZvmU6QQWgk0dwgroTA10p9sXDcMzJJ+7l9EkcESDtr+wVmp8CQ+FtQsU7USKGJmBKkPOHGHsZsWeTmPauveYPH4R/UlACCTxk4fmG35BgoWDgaWtSrHJt+Gvu8H0GGItjq4nzjkVtyz/lSeAN1UDIIkAW6bVN7RWsoO+Mwx8Mhybssjx479l99LmIKN74H6K3K0BUpVF+9FZGj1FSM2Ry7y67zBT3Y2KpQcFeACk6cqjn70KP3qU532YIq6fS4FlgXuf6RVMdrMmlqrMwoVmlMCIPecgZAoEfJ5L9qP/GJ7h4sg== x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(10019020)(98900003); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3NAM01HT046; H:DM5PR22MB0810.namprd22.prod.outlook.com; FPR:; SPF:None; LANG:en; x-ms-office365-filtering-correlation-id: 56494779-6a57-4407-f897-08d43b7011a3 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(1601124038)(5061506344)(5061507293)(1603103113)(1603101340)(1601125047)(1701031023); SRVR:BN3NAM01HT046; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444111334)(444112120)(432015012)(82015046); SRVR:BN3NAM01HT046; BCL:0; PCL:0; RULEID:; SRVR:BN3NAM01HT046; 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:53:08.2705 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3NAM01HT046 X-OriginalArrivalTime: 13 Jan 2017 04:53:09.0470 (UTC) FILETIME=[EFC9DFE0:01D26D58] 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:54:16 -0000 Thanks! Trying to load amdgpu gives me the same error (missing acpi_get_tab= le). However, i915kms loads (successfully?) with the following message: linux_pci_find failed! Anindya ________________________________________ From: Matthew Macy [mmacy@nextbsd.org] Sent: January 12, 2017 8:42 PM To: Anindya Mukherjee Cc: freebsd-x11@freebsd.org Subject: RE: Crash with radeonkms OK. That's odd. I'll look in to it and get back to you. Does the same thing= not happen when you load amdgpu or i915? -M ---- On Thu, 12 Jan 2017 20:33:12 -0800 Anindya Mukherjee wrote ---- > 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-= next): Tue Jan 10 22:06:43 PST 2017 root@triskelion:/usr/obj/usr/home/a= nindya/graphics/freebsd-base-graphics/sys/GENERIC amd64 > > anindya@triskelion:~/graphics/freebsd-base-graphics [20:30:22]% git bran= ch > * drm-next > drm-next-4.7 > > My /boot/kernel/kernel file is also new and different from the installed= version. There were no errors during the build. I wonder if I made a mista= ke 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 l= oad 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/linuxkp= i/common/include/acpi/acpifx.h:494. Perhaps all of them are missing? Can we= add 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" mo= dule (#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 a= mdgpu. > > > > -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" > > > > > > > > > > > >