From owner-freebsd-wireless@FreeBSD.ORG Sat Feb 11 21:16:37 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F3971065670 for ; Sat, 11 Feb 2012 21:16:37 +0000 (UTC) (envelope-from venture37@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 87E298FC08 for ; Sat, 11 Feb 2012 21:16:35 +0000 (UTC) Received: by werm13 with SMTP id m13so4147503wer.13 for ; Sat, 11 Feb 2012 13:16:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Yy6bsmoGz6rtibtMEX3YKXRBRO0OfThDpPGkp0GoEe8=; b=mR3lsPqqEwHZbYxlyAHz76fmYEUDEyDU6EyqByeNTMBqQR6htul8chDTSqfjWCkq+K dyapDJ13m6m6grCuMq9cW9OWITNICzdLESkJZZfS//yWVIgi89ZAkNYEOMChOhDLtJJ4 oe9yoygx9R07XX02YgUBONp31PwHSj4Ac+wu0= Received: by 10.180.80.8 with SMTP id n8mr16434879wix.14.1328994995235; Sat, 11 Feb 2012 13:16:35 -0800 (PST) Received: from Sevans-MacBook-Pro.local (cpc2-brig17-2-0-cust527.3-3.cable.virginmedia.com. [81.101.198.16]) by mx.google.com with ESMTPS id cs4sm30781915wib.8.2012.02.11.13.16.33 (version=SSLv3 cipher=OTHER); Sat, 11 Feb 2012 13:16:34 -0800 (PST) Message-ID: <4F36DAB0.2020803@gmail.com> Date: Sat, 11 Feb 2012 21:16:32 +0000 From: Sevan / Venture37 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0) Gecko/20120129 Thunderbird/10.0 MIME-Version: 1.0 To: Adrian Chadd References: <4f35b920.4f2de70a.547c.ffffd746@mx.google.com> <4F36922D.5080904@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-wireless@freebsd.org" Subject: Re: wi driver X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Feb 2012 21:16:37 -0000 On 11/02/2012 19:29, Adrian Chadd wrote: > I mean, do you get a kernel crash dump? Or a text dump in/var/crash/ > ? something that lists exactly where in your kernel it died. > > It died inside wi_intr() but I'd like to know -what- is going on inside there.. > > > Adrian I have a dump in /var/crash & in core.txt is the following at the beginning panic: GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: interrupt enabled, resume, IOPL = 0 current process = 12 (irq16: cbb0 wi0+) Dumping 418 out of 8098 MB:..4%..12%..23%..31%..43%..54%..62%..73%..81%..92% Reading symbols from /boot/kernel/acpi_video.ko...Reading symbols from /boot/kernel/acpi_video.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi_video.ko Reading symbols from /boot/kernel/acpi_ibm.ko...Reading symbols from /boot/kernel/acpi_ibm.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi_ibm.ko Reading symbols from /boot/kernel/acpi_dock.ko...Reading symbols from /boot/kernel/acpi_dock.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi_dock.ko Reading symbols from /boot/kernel/green_saver.ko...Reading symbols from /boot/kernel/green_saver.ko.symbols...done. done. Loaded symbols for /boot/kernel/green_saver.ko #0 doadump (textdump=0) at /usr/src/sys/kern/kern_shutdown.c:260 260 if (textdump && textdump_pending) { (kgdb) #0 doadump (textdump=0) at /usr/src/sys/kern/kern_shutdown.c:260 #1 0xffffffff8031d770 in db_dump (dummy=Variable "dummy" is not available. ) at /usr/src/sys/ddb/db_command.c:537 #2 0xffffffff8031d0a1 in db_command (last_cmdp=0xffffffff8116a340, cmd_table=Variable "cmd_table" is not available. ) at /usr/src/sys/ddb/db_command.c:448 #3 0xffffffff8031d2f0 in db_command_loop () at /usr/src/sys/ddb/db_command.c:501 #4 0xffffffff8031f429 in db_trap (type=Variable "type" is not available. ) at /usr/src/sys/ddb/db_main.c:229 #5 0xffffffff8089cc71 in kdb_trap (type=12, code=0, tf=0xffffff822b85fa00) at /usr/src/sys/kern/subr_kdb.c:620 #6 0xffffffff80b659cd in trap_fatal (frame=0xffffff822b85fa00, eva=Variable "eva" is not available. ) at /usr/src/sys/amd64/amd64/trap.c:814 #7 0xffffffff80b65d36 in trap_pfault (frame=0xffffff822b85fa00, usermode=0) at /usr/src/sys/amd64/amd64/trap.c:735 #8 0xffffffff80b661ff in trap (frame=0xffffff822b85fa00) at /usr/src/sys/amd64/amd64/trap.c:474 #9 0xffffffff80b50203 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:228 #10 0xffffffff807657f1 in wi_info_intr (sc=0xfffffe0008037000) at /usr/src/sys/dev/wi/if_wi.c:1562 #11 0xffffffff807664df in wi_intr (arg=Variable "arg" is not available. ) at /usr/src/sys/dev/wi/if_wi.c:610 #12 0xffffffff80839324 in intr_event_execute_handlers (p=Variable "p" is not available. ) at /usr/src/sys/kern/kern_intr.c:1257 #13 0xffffffff8083aae4 in ithread_loop (arg=0xfffffe00058913a0) at /usr/src/sys/kern/kern_intr.c:1270 #14 0xffffffff808359bf in fork_exit ( callout=0xffffffff8083aa40 , arg=0xfffffe00058913a0, frame=0xffffff822b85fc50) at /usr/src/sys/kern/kern_fork.c:995 #15 0xffffffff80b5072e in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:602 #16 0x0000000000000000 in ?? () #17 0x0000000000000000 in ?? () #18 0x0000000000000001 in ?? () #19 0x0000000000000000 in ?? () #20 0x0000000000000000 in ?? () #21 0x0000000000000000 in ?? () #22 0x0000000000000000 in ?? () #23 0x0000000000000000 in ?? () #24 0x0000000000000000 in ?? () #25 0x0000000000000000 in ?? () #26 0x0000000000000000 in ?? () #27 0x0000000000000000 in ?? () #28 0x0000000000000000 in ?? () #29 0x0000000000000000 in ?? () #30 0x0000000000000000 in ?? () #31 0x0000000000000000 in ?? () #32 0x0000000000000000 in ?? () #33 0x0000000000000000 in ?? () #34 0x0000000000000000 in ?? () #35 0x0000000000000000 in ?? () #36 0x0000000000000000 in ?? () #37 0x0000000000000000 in ?? () #38 0x0000000000000000 in ?? () #39 0x0000000000000000 in ?? () #40 0xffffffff811bfe80 in tdq_cpu () #41 0xfffffe00058888c0 in ?? () #42 0x0000000000000000 in ?? () #43 0xfffffe00058888c0 in ?? () #44 0xffffff822b85fb40 in ?? () #45 0xffffff822b85fae8 in ?? () #46 0xfffffe00051a2000 in ?? () #47 0xffffffff8088f8c0 in sched_switch (td=0xffffffff8083aa40, newtd=0xfffffe00058913a0, flags=Variable "flags" is not available. ) at /usr/src/sys/kern/sched_ule.c:1848 Previous frame inner to this frame (corrupt stack?) (kgdb)