From owner-freebsd-bugs@FreeBSD.ORG Sat Mar 14 15:30:01 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B37DA1065674 for ; Sat, 14 Mar 2009 15:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8CCE88FC1E for ; Sat, 14 Mar 2009 15:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2EFU1IG079525 for ; Sat, 14 Mar 2009 15:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2EFU1wu079522; Sat, 14 Mar 2009 15:30:01 GMT (envelope-from gnats) Resent-Date: Sat, 14 Mar 2009 15:30:01 GMT Resent-Message-Id: <200903141530.n2EFU1wu079522@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Olivier Cochard-Labbe Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99589106566C for ; Sat, 14 Mar 2009 15:28:43 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 6D2CA8FC08 for ; Sat, 14 Mar 2009 15:28:43 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n2EFSg83090477 for ; Sat, 14 Mar 2009 15:28:42 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n2EFSgBM090476; Sat, 14 Mar 2009 15:28:42 GMT (envelope-from nobody) Message-Id: <200903141528.n2EFSgBM090476@www.freebsd.org> Date: Sat, 14 Mar 2009 15:28:42 GMT From: Olivier Cochard-Labbe To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/132625: iwn drivers don't support setting country X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Mar 2009 15:30:02 -0000 >Number: 132625 >Category: kern >Synopsis: iwn drivers don't support setting country >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 14 15:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Olivier Cochard-Labbe >Release: current >Organization: >Environment: FreeBSD d630.freenas.org 8.0-CURRENT FreeBSD 8.0-CURRENT #14: Thu Mar 12 14:17:22 CET 2009 root@d630.freenas.org:/usr/obj/usr/src/sys/DellD630 amd64 >Description: Using this 2 configurations lines in rc.conf: wlans_iwn0="wlan0" ifconfig_wlan0="country FR WPA DHCP" Prevent the iwn0 card to works and generate theses errors messages in logs: iwn0: error, INTR=2000000 STATUS=0x0 iwn0: error, INTR=2000000 STATUS=0x0 iwn0: iwn_config: configure command failed, error 35 iwn0: iwn_init_locked: could not configure device, error 35 iwn0: iwn_config: configure command failed, error 35 iwn0: iwn_init_locked: could not configure device, error 35 iwn0: iwn_transfer_firmware: timeout waiting for first alive notice, error 35 iwn0: iwn_init_locked: could not load firmware, error 35 And from information in the freebsd-current mailing, setting other country value like "US" create the same problem. You can peraps find more information on this thread: http://lists.freebsd.org/pipermail/freebsd-current/2009-March/004521.html >How-To-Repeat: By setting a country value to an iwn card. >Fix: This problem can be fixed by do not seting the country value: In my case it was replacing: ifconfig_wlan0="country FR WPA DHCP" by: ifconfig_wlan0="WPA DHCP" But, this workaround generate a second problem on my laptop: It crash my FreeBSD during startup (without generating a crash dump file), that is (manualy write down) : Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0x28 fault code = supervisor read data, page not present instruction pointer = 0x8:0xffffffff8044b253 stack pointer = 0x10:0xffffffffe4002ca20 frame pointer = 0x10:0xffffffff.4002cb10 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrrupts enabled, resume , IOPL = 0 current process = 12 (swi4: clock) [thread pid 12 tid 100007 ] stopped at igmp_fasttimo+0x296: movl 0x28(%r14), %eax I need to reboot in single mode and comment the iwn0 configuration line in rc.conf for using my system again. But once booted, In can manually configure the iwn0 card without crashing the kernel. I think that this igmp crash with wifi is reported in this actual thread too: http://lists.freebsd.org/pipermail/freebsd-current/2009-March/004530.html Peraps that I meet a second kernel bug :-) >Release-Note: >Audit-Trail: >Unformatted: