From owner-freebsd-net@FreeBSD.ORG Tue Sep 3 21:39:04 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0D4289AF for ; Tue, 3 Sep 2013 21:39:04 +0000 (UTC) (envelope-from juris.kaminskis@gmail.com) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9980D2C34 for ; Tue, 3 Sep 2013 21:39:03 +0000 (UTC) Received: by mail-wi0-f169.google.com with SMTP id hj3so2431247wib.2 for ; Tue, 03 Sep 2013 14:39:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=H5WA7qvpgLVyyHNoSX1HeFf1Ex1xKMOqVOyX/aXe6fE=; b=Yi1h8cPhIFMY2L1St2NuIDVd7Zut3r4pnQ8zczo6UeH8RAteXS3qDYO0B+VEBqCg7a xws/4PkLHUn9z7v7wkS20AgRDFuoFl/205WLJ03iMtIiHGxSeOc7rn8N4e+EgNPFvCvs DgW735AOAOJmw5H9jO0CDX7uFKTMCI3iDGZBrRcXZ2z0UEb9LrLTfcacnbptcOWwrZa+ WEovinoVqE8iXy7YuLP9EmTxP00pTYP/IINRp1KzKxf6E6DUG00aJA2CxW1fBfSJaWR+ i02gZRrUTuuQoIZyipElHrh/oGefDcMPYe7AcDCd1IrNznZeHHoW2zbXMH2Nl6bTcnRk DeRQ== MIME-Version: 1.0 X-Received: by 10.180.12.243 with SMTP id b19mr19798882wic.18.1378244341861; Tue, 03 Sep 2013 14:39:01 -0700 (PDT) Received: by 10.194.83.225 with HTTP; Tue, 3 Sep 2013 14:39:01 -0700 (PDT) Date: Wed, 4 Sep 2013 00:39:01 +0300 Message-ID: Subject: Restart of wireless service creates crash in system From: Juris Kaminskis To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Sep 2013 21:39:04 -0000 Hello, I was trying to set up new wireless network. I had sucessful setup in my home over wireless but when I moved to hotel and wanted to hook up to wireless network i got some problems. first I changed /etc/wpa_supplicant.conf to read new network ssid and psk. then I did: ifconfig wlan0 destroy and then after: service netif start After I got crash of my freebsd system and reboot. Contents of my /etc/rc.conf: wlans_iwi0="wlan0" ifconfig_wlan0="WPA DHCP" and details of /var/crash/core.txt.8 (not all): Unread portion of the kernel message buffer: wlan0: ieee80211_new_state_locked: pending SCAN -> AUTH transition lost Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xc66561d4 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0751582 stack pointer = 0x28:0xc3bdab58 frame pointer = 0x28:0xc3bdac08 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 Even if I did something wrong probably system should not just crash and reboot. But I also do not know what I did wrong. What is interesting that after crash and reboot of system my /etc/wpa_supplicant.conf become empty. And to actually fix my wireless network I changed once again /etc/wpa_supplicant.conf and just rebooted computer which did the trick. regards Juris