From owner-freebsd-current@FreeBSD.ORG Wed Nov 26 17:27:35 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BF489EFA for ; Wed, 26 Nov 2014 17:27:35 +0000 (UTC) Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 50E307FD for ; Wed, 26 Nov 2014 17:27:35 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id bs8so13258509wib.10 for ; Wed, 26 Nov 2014 09:27:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=6vumtyTEW9pfG/vR+XR42RizoRMO1+wn3IaIqITbt3k=; b=AGb9c/VI23ZChabZW6CicSmH8Ne5nwDKUDUCAjLYbgDxoX0Z4j31uxNOqVfLYfAGPB DgnZihtTY6Rf1gf5DIgpjAdz6Fg4le2HRmXokELIMFubXM4jNZlqdtdK3kb0vwKByGTQ fjEgoxARr/1ffrjqHMQUGjb9C4wI7kpaU87FMFZAkHgScn2Hu/2UwDZ/HnPxKFJV90w1 jwmswivocThm0UW/TaFTzONUEgVID87pJFfuuePNSaC1MUUDWkR7h3cGEktXLCWhB6rk 4RFzoAKrUdXqqzTmXmxbq/0yySjOdY0aTDISi1xDp67sNHmbXeO/h+lyI+Ny5dEcahI0 WaSA== MIME-Version: 1.0 X-Received: by 10.180.83.98 with SMTP id p2mr43001285wiy.20.1417022852867; Wed, 26 Nov 2014 09:27:32 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.106.136 with HTTP; Wed, 26 Nov 2014 09:27:32 -0800 (PST) In-Reply-To: <1734439.MVPFiyHCOv@nexus> References: <1734439.MVPFiyHCOv@nexus> Date: Wed, 26 Nov 2014 09:27:32 -0800 X-Google-Sender-Auth: ORfXCe7KmmRUQLH6j_H9BPh1Ukg Message-ID: Subject: Re: iwn(4) crashing when wlan device is brought up, CA-N-6200 From: Adrian Chadd To: Felix Palmen Content-Type: text/plain; charset=UTF-8 Cc: freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2014 17:27:35 -0000 Hi! Oh! Please file a PR for this. This is two problems: * the NIC isn't being setup fully correctly - I'll see if i have an Intel 6200 in my pile-o-nics; * .. and the re-initialise path is slightly broken it seems and it's panicing. :) Thanks! -adrian On 26 November 2014 at 09:02, Felix Palmen wrote: > Hi all, > > I just bought a Centrino Advanced N-6200 mini-pcie card because it should be > supported by iwn(4) -- unfortunately it leads to a kernel panic the instant I > try to do > > # ifconfig wlan0 up > > The creation of wlan0 on top of iwn0 works. Here are the (I hope) most > relevant exerpts from core.txt: > > FreeBSD photon.home.palmen-it.de 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r275075: > Wed Nov 26 11:06:23 CET 2014 root@photon.home.palmen- > it.de:/usr/obj/usr/src/sys/NODEBUG amd64 > > dmesg: > [...] > iwn0: mem 0xf0200000-0xf0201fff at device 0.0 > on pci1 > wlan0: Ethernet address: 00:27:c1:03:a0:89 > iwn0: iwn_read_firmware: ucode rev=0x09dd0401 > iwn0: iwn_intr: fatal firmware error > iwn_fatal_intr: bad firmware error log address 0x00000000 > iwn0: iwn_panicked: controller panicked, iv_state = 0; resetting... > iwn0: iwn_read_firmware: ucode rev=0x09dd0401 > iwn0: iwn_hw_init: timeout waiting for adapter to initialize, error 35 > iwn0: iwn_init_locked: could not initialize hardware, error 35 > iwn0: iwn5000_post_alive: could not configure WiMAX coexistence, error 35 > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0xffffffffffffffe0 > fault code = supervisor write data, page not present > instruction pointer = 0x20:0xffffffff809a300a > stack pointer = 0x28:0xfffffe0107cdda70 > frame pointer = 0x28:0xfffffe0107cddaa0 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 0 (iwn0 net80211 taskq) > trap number = 12 > > stacktrace: > (kgdb) #0 doadump (textdump=) at pcpu.h:219 > #1 0xffffffff80962918 in kern_reboot (howto=260) > at /usr/src/sys/kern/kern_shutdown.c:447 > #2 0xffffffff80962e40 in panic (fmt=) > at /usr/src/sys/kern/kern_shutdown.c:746 > #3 0xffffffff80dae65f in trap_fatal (frame=, > eva=) at /usr/src/sys/amd64/amd64/trap.c:866 > #4 0xffffffff80dae9ac in trap_pfault (frame=0xfffffe0107cdd9c0, > usermode=) at /usr/src/sys/amd64/amd64/trap.c:677 > #5 0xffffffff80dadfce in trap (frame=0xfffffe0107cdd9c0) > at /usr/src/sys/amd64/amd64/trap.c:426 > #6 0xffffffff80d90342 in calltrap () > at /usr/src/sys/amd64/amd64/exception.S:231 > #7 0xffffffff809a300a in firmware_put (p=0x0, flags=1) > at /usr/src/sys/kern/subr_firmware.c:367 > #8 0xffffffff82638c58 in iwn_init_locked (sc=0xfffffe0002599000) > at /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:8646 > #9 0xffffffff82633e3c in iwn_ioctl (ifp=, > cmd=, data=) > at /usr/src/sys/modules/iwn/../../dev/iwn/if_iwn.c:4924 > #10 0xffffffff809b4975 in taskqueue_run_locked (queue=0xfffff80005efe900) > at /usr/src/sys/kern/subr_taskqueue.c:356 > #11 0xffffffff809b5788 in taskqueue_thread_loop (arg=) > at /usr/src/sys/kern/subr_taskqueue.c:623 > #12 0xffffffff8092aa8a in fork_exit ( > callout=0xffffffff809b56c0 , > arg=0xfffffe0001de70f0, frame=0xfffffe0107cddc00) > at /usr/src/sys/kern/kern_fork.c:977 > #13 0xffffffff80d9087e in fork_trampoline () > at /usr/src/sys/amd64/amd64/exception.S:605 > #14 0x0000000000000000 in ?? () > > I pasted the complete core.txt here: http://pastebin.com/KipkYx1y > > Best regards, > Felix > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"