From owner-freebsd-current@FreeBSD.ORG Fri May 16 18:55:49 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA4E81065672 for ; Fri, 16 May 2008 18:55:49 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id B49B18FC14 for ; Fri, 16 May 2008 18:55:49 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.2/8.14.2) with ESMTP id m4GIoFBt038086 for ; Fri, 16 May 2008 11:50:15 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.2/8.14.2/Submit) id m4GIoF6o038085 for freebsd-current@freebsd.org; Fri, 16 May 2008 11:50:15 -0700 (PDT) (envelope-from sgk) Date: Fri, 16 May 2008 11:50:15 -0700 From: Steve Kargl To: freebsd-current@freebsd.org Message-ID: <20080516185015.GA37995@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: wlan0 kernel panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 16 May 2008 18:55:50 -0000 Ran ifconfig wlan0 create wlandev wpi0 followed by this script #!/bin/sh ifconfig wlan0 create wlandev wpi0 ifconfig wlan0 inet 192.168.0.10 ifconfig wlan0 ssid "ValidSSID" mode 11g channel 11 wepmode on ifconfig wlan0 wepkey 0xdeadbeefdeadbeefdeadbeefde deftxkey 1 ifconfig wlan0 route add default 192.168.0.1 Led to Script started on Fri May 16 11:36:32 2008 % kgdb /boot/kernel/kernel vmcore.1 Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0xdeadc13a fault code = supervisor read, page not present instruction pointer = 0x20:0xc06eff60 stack pointer = 0x28:0xe631ab44 frame pointer = 0x28:0xe631aba8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1422 (ifconfig) Physical memory: 1006 MB Dumping 51 MB: 36 20 4 #0 doadump () at pcpu.h:196 196 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:196 #1 0xc04967f9 in db_fncall (dummy1=1, dummy2=0, dummy3=-1063075072, dummy4=0xe631a8d8 "") at /usr/src/sys/ddb/db_command.c:516 #2 0xc0496d7c in db_command (last_cmdp=0xc09a8090, cmd_table=0x0, dopager=1) at /usr/src/sys/ddb/db_command.c:413 #3 0xc0496e8a in db_command_loop () at /usr/src/sys/ddb/db_command.c:466 #4 0xc049867d in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_main.c:228 #5 0xc0646d56 in kdb_trap (type=12, code=0, tf=0xe631ab04) at /usr/src/sys/kern/subr_kdb.c:534 #6 0xc08869cf in trap_fatal (frame=0xe631ab04, eva=3735929146) at /usr/src/sys/i386/i386/trap.c:885 #7 0xc0886bf0 in trap_pfault (frame=0xe631ab04, usermode=0, eva=3735929146) at /usr/src/sys/i386/i386/trap.c:807 #8 0xc0887532 in trap (frame=0xe631ab04) at /usr/src/sys/i386/i386/trap.c:485 #9 0xc086bbab in calltrap () at /usr/src/sys/i386/i386/exception.s:146 #10 0xc06eff60 in in_control (so=0xc4365188, cmd=2151704858, data=0xc449fb40 "wlan0", ifp=0xc3e72800, td=0xc4249000) at /usr/src/sys/netinet/in.c:252 #11 0xc06b8b8f in ifioctl (so=0xc4365188, cmd=2151704858, data=0xc449fb40 "wlan0", td=0xc4249000) at /usr/src/sys/net/if.c:1934 #12 0xc065f5b7 in soo_ioctl (fp=0xc41d65b0, cmd=2151704858, data=0xc449fb40, active_cred=0xc4264200, td=0xc4249000) at /usr/src/sys/kern/sys_socket.c:200 #13 0xc0659b08 in kern_ioctl (td=0xc4249000, fd=3, com=2151704858, data=0xc449fb40 "wlan0") at file.h:254 #14 0xc0659c74 in ioctl (td=0xc4249000, uap=0xe631acfc) at /usr/src/sys/kern/sys_generic.c:677 #15 0xc0886e93 in syscall (frame=0xe631ad38) at /usr/src/sys/i386/i386/trap.c:1026 #16 0xc086bc10 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:203 #17 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) quit % exit Script done on Fri May 16 11:36:59 2008 -- Steve