Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Mar 2006 14:41:33 +0100
From:      Manfred Lotz <manfred.lotz@arcor.de>
To:        freebsd-stable@freebsd.org
Subject:   panic (page fault) with iwi _control and wpa_supplicant
Message-ID:  <20060304144133.fad35989.manfred.lotz@arcor.de>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060304144133.fad35989.manfred.lotz>