Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2017 04:53:08 +0000
From:      Anindya Mukherjee <anindya49@hotmail.com>
To:        Matthew Macy <mmacy@nextbsd.org>
Cc:        "freebsd-x11@freebsd.org" <freebsd-x11@freebsd.org>
Subject:   RE: Crash with radeonkms
Message-ID:  <DM5PR22MB08101AA1D9E34A27CED8698BB6780@DM5PR22MB0810.namprd22.prod.outlook.com>
In-Reply-To: <1599622717e.b20ae7df163785.3066731730254505348@nextbsd.org>
References:  <BN6PR22MB080230C1AB38509A1B1884E7B6790@BN6PR22MB0802.namprd22.prod.outlook.com> <BN6PR22MB0802DF955E47C5219CE1348EB6790@BN6PR22MB0802.namprd22.prod.outlook.com>, <15994d9f54d.10dcb859e146706.6480944492081388621@nextbsd.org> <BN6PR22MB0802583736833E04615747EFB6780@BN6PR22MB0802.namprd22.prod.outlook.com>, <15996070960.c3ab3668162091.4357860180622603422@nextbsd.org> <BN6PR22MB08020CCEFE819CA98C868044B6780@BN6PR22MB0802.namprd22.prod.outlook.com>, <1599622717e.b20ae7df163785.3066731730254505348@nextbsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <anindya49@hotma=
il.com> 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 <anindya49@ho=
tmail.com> 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 <anindya49=
@hotmail.com> 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"
 >  >  >
 >  >
 >  >
 >  >
 >
 >
 >





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DM5PR22MB08101AA1D9E34A27CED8698BB6780>