From owner-freebsd-stable@FreeBSD.ORG Sun Mar 5 08:47:03 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAB2D16A422 for ; Sun, 5 Mar 2006 08:47:02 +0000 (GMT) (envelope-from manfred.lotz@arcor.de) Received: from mail-in-08.arcor-online.net (mail-in-08.arcor-online.net [151.189.21.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id B704543D46 for ; Sun, 5 Mar 2006 08:46:59 +0000 (GMT) (envelope-from manfred.lotz@arcor.de) Received: from mail-in-01-z2.arcor-online.net (mail-in-01-z2.arcor-online.net [151.189.8.13]) by mail-in-08.arcor-online.net (Postfix) with ESMTP id E4B39122417 for ; Sun, 5 Mar 2006 09:46:57 +0100 (CET) Received: from mail-in-05.arcor-online.net (mail-in-05.arcor-online.net [151.189.21.45]) by mail-in-01-z2.arcor-online.net (Postfix) with ESMTP id D652BBD950 for ; Sun, 5 Mar 2006 09:46:57 +0100 (CET) Received: from hermes.sanskrit.local.net (dslb-084-058-001-060.pools.arcor-ip.net [84.58.1.60]) by mail-in-05.arcor-online.net (Postfix) with ESMTP id 996A8121E61 for ; Sun, 5 Mar 2006 09:46:57 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by hermes.sanskrit.local.net (8.13.4/8.13.4) with SMTP id k24Dfc4N001989 for ; Sat, 4 Mar 2006 14:41:38 +0100 (CET) (envelope-from manfred.lotz@arcor.de) Date: Sat, 4 Mar 2006 14:41:33 +0100 From: Manfred Lotz To: freebsd-stable@freebsd.org Message-Id: <20060304144133.fad35989.manfred.lotz@arcor.de> X-Mailer: Sylpheed version 2.2.0 (GTK+ 2.8.12; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: panic (page fault) with iwi _control and wpa_supplicant X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Mar 2006 08:47:03 -0000 Hi all, I'm running FreeBSD 6.1-PRERELEASE on a Samsung X20 laptop. Sometimes, after resuming from a suspend state, the following messages show up in the messages file: Mar 4 11:21:13 hermes kernel: iwi0: could not allocate firmware DMAmemory Mar 4 11:21:13 hermes kernel: iwi0: could not load main firmware Mar 4 11:21:13 hermes kernel: iwi0: _ieee80211_crypto_delkey: NONE keyix 65535 flags 0x3 rsc 0 t sc 0 len 0 The last message is because debug was on. After that the system was dead and eventually it rebooted. A dump was written: Dump header from device /dev/ad0s2b Architecture: i386 Architecture Version: 2 Dump Length: 1063452672B (1014 MB) Blocksize: 512 Dumptime: Sat Mar 4 11:21:13 2006 Hostname: hermes.sanskrit.local.net Magic: FreeBSD Kernel Dump Version String: FreeBSD 6.1-PRERELEASE #20: Wed Mar 1 04:44:13 CET 2006 root@hermes.sanskrit.local.net:/usr/obj/usr/src/sys/SAMSUNG Panic String: page fault Dump Parity: 320812105 Bounds: 0 Dump Status: good kgdb shows: Unread portion of the kernel message buffer: kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode fault virtual address = 0x24 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0558c10 stack pointer = 0x28:0xe72f2af4 frame pointer = 0x28:0xe72f2b08 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 19243 (wpa_supplicant) trap number = 12 panic: page fault KDB: stack backtrace: kdb_backtrace(100,c590a300,28,e72f2ab4,c) at kdb_backtrace+0x29 panic(c06e1ed4,c070ec69,0,fffff,c09b) at panic+0xa8 trap_fatal(e72f2ab4,24) at trap_fatal+0x2a6 trap(e72f0008,c0530028,c5900028,0,c5a2d300) at trap+0xf6 calltrap() at calltrap+0x5 --- trap 0xc, eip = 0xc0558c10, esp = 0xe72f2af4, ebp = 0xe72f2b08 --- propagate_priority(c590a300,c4d2e600,c075d2c0,c4bbbc78,c590a300) at propagate_priority+0x60 turnstile_wait(c4bbbc78,c5a2d300) at turnstile_wait+0x272 _mtx_lock_sleep(c4bbbc78,c590a300,0,0,0) at _mtx_lock_sleep+0xb4 msleep(c4bbb000,c4bbbc78,0,c06eb3e4,12c) at msleep +0x2e6 iwi_load_firmware(c4bbb000,c4fe3000,1940) at iwi_load_firmware +0x4bb iwi_init(c4bbb000) at iwi_init+0x8e iwi_ioctl(c4bc7400,80206910,c6df58a0) at iwi_ioctl+0x9c ifhwioctl(80206910,c4bc7400,c6df58a0,c590a300,0) at ifhwioctl+0x337 ifioctl(c58f66f4,80206910,c6df58a0,c590a300,0) at ifioctl+0xc3 soo_ioctl(c8abadc8,80206910,c6df58a0,c8acfe00,c590a300) at soo_ioctl +0x487 ioctl(c590a300,e72f2d04,3,0,282) at ioctl+0x41d syscall(3b,3b,3b,bfbfe780,80682c0) at syscall+0x2b7 Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (54, FreeBSD ELF32, ioctl), eip = 0x28169b3f, esp = 0xbfbfe73c, ebp = 0xbfbfe798 --- Uptime: 2d10h19m47s Dumping 1014 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 1014MB (259472 pages) 998 982 966 950 934 918 902 886 870 854 838 822 806 790 774 758 742 726 710 694 678 662 646 630 614 (CTRL-C to abort) 598 582 566 550 534 518 502 486 470 454 438 422 406 390 374 358 342 326 310 294 278 262 246 230 214 198 182 166 150 134 118 102 86 70 54 38 22 (CTRL-C to abort) 6 #0 doadump () at pcpu.h:165 165 pcpu.h: No such file or directory. in pcpu.h Is this enough information for filing a PR? Am actually not quite sure if the error is within wpa_supplicant or within iwicontrol?! -- Manfred