From owner-freebsd-stable@freebsd.org Wed Oct 5 21:29:48 2016 Return-Path: Delivered-To: freebsd-stable@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 25A62AF724F for ; Wed, 5 Oct 2016 21:29:48 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 52A5B774 for ; Wed, 5 Oct 2016 21:29:46 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id AAA05556; Thu, 06 Oct 2016 00:29:45 +0300 (EEST) (envelope-from avg@icyb.net.ua) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1brtl3-0008fc-2f; Thu, 06 Oct 2016 00:29:45 +0300 Subject: Re: aibs(4) / atk0110 support for newer systems To: Torfinn Ingolfsen , freebsd-stable@freebsd.org References: <86cf8380-ac6f-55f0-f0f8-16000d7f04b2@FreeBSD.org> <20160930145704.4dbc9d90011154b38493964e@getmail.no> <7d498084-ec05-d4c9-5f49-6aef32495caf@FreeBSD.org> <20160930205928.77d7e74f7bd1a35fcf1aa50a@getmail.no> <7a868c22-e0bd-f677-e4ad-2bdf6f3605d0@FreeBSD.org> <20161003201511.7258687453f12c44a46a361a@getmail.no> <20161005143723.4273657959160b67637a5adf@getmail.no> <4c431c8a-7c8c-4336-b948-6e9ae882c0fc@FreeBSD.org> <20161005222831.e674c3a134266c2e1edc523e@getmail.no> Newsgroups: gmane.os.freebsd.stable From: Andriy Gapon Message-ID: <40888093-cd47-dff1-7bdc-6cd7b63af0b4@icyb.net.ua> Date: Thu, 6 Oct 2016 00:28:33 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161005222831.e674c3a134266c2e1edc523e@getmail.no> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2016 21:29:48 -0000 On 05/10/2016 23:28, Torfinn Ingolfsen wrote: > Unfortunately, my machines panics as soon as this module is loaded: Not good... > (kgdb) #0 doadump (textdump=) at pcpu.h:235 > #1 0xffffffff80900b06 in kern_reboot (howto=260) > at /usr/src/sys/kern/kern_shutdown.c:454 > #2 0xffffffff80901007 in panic (fmt=0x1
) > at /usr/src/sys/kern/kern_shutdown.c:642 > #3 0xffffffff80ce6887 in trap_fatal (frame=0xc, eva=) > at /usr/src/sys/amd64/amd64/trap.c:876 > #4 0xffffffff80ce6bd1 in trap_pfault (frame=0xffffff88b8554380, usermode=0) > at /usr/src/sys/amd64/amd64/trap.c:798 > #5 0xffffffff80ce7199 in trap (frame=0xffffff88b8554380) > at /usr/src/sys/amd64/amd64/trap.c:462 > #6 0xffffffff80cd0081 in calltrap () > at /usr/src/sys/amd64/amd64/exception.S:238 > #7 0xffffffff81bcb078 in aibs_add_sensor () from /boot/kernel/aibs.ko > #8 0xffffffff81bcb4b4 in aibs_attach_sif () from /boot/kernel/aibs.ko > #9 0xffffffff81bcb901 in aibs_attach () from /boot/kernel/aibs.ko I see that line numbers are not reported for the module, so it probably lacks debug symbols. But it seems that you compile your kernel with them. Please try to compile the module using make KERNBUILDDIR=/usr/obj/... > #10 0xffffffff8093424c in device_attach (dev=0x0) at device_if.h:180 > #11 0xffffffff8033bd43 in acpi_driver_added (dev=, > driver=) at /usr/src/sys/dev/acpica/acpi.c:841 > #12 0xffffffff809323d5 in devclass_driver_added (dc=0xfffffe00093c5900, > driver=0xffffffff81bcbe9c) at bus_if.h:204 > #13 0xffffffff80932f13 in devclass_add_driver (dc=0xfffffe00093c5900, > driver=0xffffffff81bcc140, pass=2147483647, dcp=0xffffffff81bcc1e0) > at /usr/src/sys/kern/subr_bus.c:1086 > #14 0xffffffff808ebef8 in module_register_init (arg=) > at /usr/src/sys/kern/kern_module.c:123 > #15 0xffffffff808e38ae in linker_load_module (kldname=, > modname=0xfffffe03ec774000 "aibs", parent=0x0, verinfo=0x0, > lfpp=0xffffff88b8554aa0) at /usr/src/sys/kern/kern_linker.c:233 > #16 0xffffffff808e3fc4 in kern_kldload (td=, > file=0xfffffe03ec774000 "aibs", fileid=0xffffff88b8554af4) > at /usr/src/sys/kern/kern_linker.c:1038 > #17 0xffffffff808e40d4 in sys_kldload (td=0xfffffe020f434490, > uap=) at /usr/src/sys/kern/kern_linker.c:1064 > #18 0xffffffff80ce5ffa in amd64_syscall (td=0xfffffe020f434490, traced=0) > at subr_syscall.c:142 > #19 0xffffffff80cd0367 in Xfast_syscall () > at /usr/src/sys/amd64/amd64/exception.S:398 > #20 0x000000080085d10c in ?? () > Previous frame inner to this frame (corrupt stack?) > (kgdb)