From owner-freebsd-stable@FreeBSD.ORG Fri Jan 16 10:48:36 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30A181065741 for ; Fri, 16 Jan 2009 10:48:36 +0000 (UTC) (envelope-from marc@sanity.de) Received: from mail.adandbreakfast.com (mail.adandbreakfast.com [194.245.32.131]) by mx1.freebsd.org (Postfix) with ESMTP id 6F0668FC25 for ; Fri, 16 Jan 2009 10:48:35 +0000 (UTC) (envelope-from marc@sanity.de) Received: from localhost (localhost [127.0.0.1]) by mail.adandbreakfast.com (Postfix) with ESMTP id 050868C4053; Fri, 16 Jan 2009 11:48:34 +0100 (CET) Received: from mail.adandbreakfast.com ([194.245.32.131]) by localhost (mail.adandbreakfast.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22625-10; Fri, 16 Jan 2009 11:48:33 +0100 (CET) Received: from videoschnitt.agentur.local (unknown [192.168.83.220]) by mail.adandbreakfast.com (Postfix) with ESMTP id 7BAA28C404E; Fri, 16 Jan 2009 11:48:33 +0100 (CET) Message-ID: <49706601.4090405@sanity.de> Date: Fri, 16 Jan 2009 11:48:33 +0100 From: Marc Peters User-Agent: Thunderbird 2.0.0.19 (X11/20090106) MIME-Version: 1.0 To: "Paul B. Mahol" References: <496F0E85.5090904@sanity.de> <3a142e750901150252v5633f808q71d3fa3ab5050b20@mail.gmail.com> <496F458E.6050708@sanity.de> <3a142e750901150825r73fa6d82g6b14d20f3548b8eb@mail.gmail.com> In-Reply-To: <3a142e750901150825r73fa6d82g6b14d20f3548b8eb@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at agentur.local Cc: freebsd-stable@freebsd.org Subject: Re: kernel panics when connected through wpi to apple extreme ap 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: Fri, 16 Jan 2009 10:48:37 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 after searching the PR database it looks to me, that my problem is related to http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/128917 , which describes problem of if_wpi with WPA + TKIP. unfortunately the apple gui for their base stations don't give me any option to see, what encryption type it's using with WPA/WPA2 but it looks like their using TKIP with WPA and AES only with WPA2. i will try to force FreeBSD to use AES and will test a little further or switch the base station to WPA2, where it should use AES only. Paul B. Mahol schrieb: > On 1/15/09, Marc Peters wrote: > hi paul, > > msgbuf.txt: > [snipping dmesg and startup-messages] > Fatal trap 12: page fault while in kernel mode > cpuid = 1; apic id = 01 > fault virtual address = 0xffff > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc0e70dfc > stack pointer = 0x28:0xe58bbbe0 > frame pointer = 0x28:0xe58bbc9c > 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 = 25 (wpi0 taskq) > > ddb.txt (just bt output here): > > db> bt > > Tracing pid 25 tid 100024 td 0xc5189af0 > wpi_ops(c52c5000,1,c0b7cf36,0,0,...) at wpi_ops+0x89c > taskqueue_run(c52ab200,c52ab21c,0,c0b7cf36,0,...) at taskqueue_run+0x175 > taskqueue_thread_loop(c52c69b4,e58bbd38,0,0,0,...) at > taskqueue_thread_loop+0xbb > fork_exit(c07fb2b0,c52c69b4,e58bbd38) at fork_exit+0x99 > fork_trampoline() at fork_trampoline+0x8 > --- trap 0, eip = 0, esp = 0xe58bbd70, ebp = 0 --- > > version.txt: > FreeBSD 7.1-STABLE #0: Thu Jan 15 13:51:12 CET 2009 > root@lappi.agentur.local:/usr/obj/usr/src/sys/DEBUG_DRM > > if you need more information, i will provide it. it took wpi some time > to crash, so i stressed it a little bit with an ftp download and a > buildworld through an ssh-screen. > > >> Maybe it is some locking issue at first look. Send problem report so >> that this doesnt get lost. >> Are you sure this is regression? Anyway check if same issue is not >> already reported. > >> Give this a try: > >> gdb >> gdb> file /boot/YOUR_KERNEL/if_wpi.ko >> gdb> l *wpi_ops+0x89c > >> And post output. > > marc > > > Paul B. Mahol schrieb: >>>> On 1/15/09, Marc Peters wrote: >>>> hello list, >>>> >>>> i have a lenovo t60 with an integrated intel 3945ABG wireless chipset. >>>> when i was running 7.1-PRERELEASE i realised that the network connection >>>> of my wpi died after some time when connected to the mention apple >>>> access point. i had to restart the card and everything went fine, for >>>> some time (about half an hour). since 7.1-RELEASE and now with >>>> 7.1-STABLE the kernel panics with a fatal trap and dumps it's core after >>>> some minutes (this output ist from -RELEASE-p1, but it's identical to >>>> the one i got from -STABLE): >>>> >>>> Fatal trap 12: page fault while in kernel mode >>>> cpuid = 0; apic id = 00 >>>> fault virtual address = 0xffff >>>> fault code = supervisor read, page not present >>>> instruction pointer = 0x20:0xc0deadfc >>>> stack pointer = 0x28:0xe58bbbe0 >>>> frame pointer = 0x28:0xe58bbc9c >>>> 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 = 25 (wpi0 taskq) >>>> trap number = 12 >>>> panic: page fault >>>> cpuid = 0 >>>> Uptime: 6m 14s >>>> Physical memory: 2034 MB >>>> Dumping 149 MB: 134 118 192 86 70 65 38 22 6 >>>> Dump complete >>>> Automatic reboot in 15 seconds - press a key on the console to abort >>>> >>>> when i run this box connected to a netgear-ap i have at home, everything >>>> is fine (and was before, no panics, no connection dropping). i have the >>>> dump at hand, but since it's 150 MB i won't send it around via mail. if >>>> anyone is interested, i can upload it somewhere and send the link. >>>> >>>> anyone any ideas? >>>> >>>>> Enable textdump(8) and post bt output from debuger once panic happen. >>>>> (I'm not going to download 150MB) >>>> marc >>>> >>>> dmesg: >>>> >>>> Copyright (c) 1992-2009 The FreeBSD Project. >>>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >>>> The Regents of the University of California. All rights reserved. >>>> FreeBSD is a registered trademark of The FreeBSD Foundation. >>>> FreeBSD 7.1-STABLE #0: Wed Jan 14 13:23:00 CET 2009 >>>> root@lappi.agentur.local:/usr/obj/usr/src/sys/GENERIC_DRM >>>> Timecounter "i8254" frequency 1193182 Hz quality 0 >>>> CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (1995.02-MHz >>>> 686-class CPU) >>>> Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6 >>>> >>>> Features=0xbfebfbff >>>> >>>> Features2=0xe3bd >>>> AMD Features=0x20100000 >>>> AMD Features2=0x1 >>>> Cores per package: 2 >>>> real memory = 2146238464 (2046 MB) >>>> avail memory = 2090221568 (1993 MB) >>>> ACPI APIC Table: >>>> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs >>>> cpu0 (BSP): APIC ID: 0 >>>> cpu1 (AP): APIC ID: 1 >>>> ACPI Warning (tbfadt-0505): Optional field "Gpe1Block" has zero address >>>> or length: 0 102C/0 [20070320] >>>> ioapic0: Changing APIC ID to 1 >>>> ioapic0 irqs 0-23 on motherboard >>>> kbd1 at kbdmux0 >>>> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) >>>> acpi0: on motherboard >>>> acpi0: [ITHREAD] >>>> acpi_ec0: port 0x62,0x66 on acpi0 >>>> acpi0: Power Button (fixed) >>>> acpi0: reservation of 0, a0000 (3) failed >>>> acpi0: reservation of 100000, 7ff00000 (3) failed >>>> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 >>>> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 >>>> acpi_hpet0: iomem 0xfed00000-0xfed003ff on >>>> acpi0 >>>> Timecounter "HPET" frequency 14318180 Hz quality 900 >>>> acpi_lid0: on acpi0 >>>> acpi_button0: on acpi0 >>>> pcib0: port 0xcf8-0xcff on acpi0 >>>> pci0: on pcib0 >>>> pcib1: irq 16 at device 1.0 on pci0 >>>> pci1: on pcib1 >>>> vgapci0: port 0x2000-0x20ff mem >>>> 0xd8000000-0xdfffffff,0xee100000-0xee10ffff irq 16 at device 0.0 on pci1 >>>> drm0: on vgapci0 >>>> vgapci0: child drm0 requested pci_enable_busmaster >>>> info: [drm] Initialized radeon 1.29.0 20080613 >>>> hdac0: mem >>>> 0xee400000-0xee403fff irq 17 at device 27.0 on pci0 >>>> hdac0: HDA Driver Revision: 20090110_0123 >>>> hdac0: [ITHREAD] >>>> pcib2: irq 20 at device 28.0 on pci0 >>>> pci2: on pcib2 >>>> em0: port 0x3000-0x301f mem >>>> 0xee000000-0xee01ffff irq 16 at device 0.0 on pci2 >>>> em0: Using MSI interrupt >>>> em0: [FILTER] >>>> em0: Ethernet address: 00:16:41:e3:4a:ff >>>> pcib3: irq 21 at device 28.1 on pci0 >>>> pci3: on pcib3 >>>> wpi0: mem 0xedf00000-0xedf00fff irq 17 >>>> at device 0.0 on pci3 >>>> wpi0: Ethernet address: 00:19:d2:07:cf:36 >>>> wpi0: [ITHREAD] >>>> pcib4: irq 22 at device 28.2 on pci0 >>>> pci4: on pcib4 >>>> pcib5: irq 23 at device 28.3 on pci0 >>>> pci12: on pcib5 >>>> uhci0: port 0x1800-0x181f irq 16 at >>>> device 29.0 on pci0 >>>> uhci0: [GIANT-LOCKED] >>>> uhci0: [ITHREAD] >>>> usb0: on uhci0 >>>> usb0: USB revision 1.0 >>>> uhub0: on usb0 >>>> uhub0: 2 ports with 2 removable, self powered >>>> uhci1: port 0x1820-0x183f irq 17 at >>>> device 29.1 on pci0 >>>> uhci1: [GIANT-LOCKED] >>>> uhci1: [ITHREAD] >>>> usb1: on uhci1 >>>> usb1: USB revision 1.0 >>>> uhub1: on usb1 >>>> uhub1: 2 ports with 2 removable, self powered >>>> uhci2: port 0x1840-0x185f irq 18 at >>>> device 29.2 on pci0 >>>> uhci2: [GIANT-LOCKED] >>>> uhci2: [ITHREAD] >>>> usb2: on uhci2 >>>> usb2: USB revision 1.0 >>>> uhub2: on usb2 >>>> uhub2: 2 ports with 2 removable, self powered >>>> uhci3: port 0x1860-0x187f irq 19 at >>>> device 29.3 on pci0 >>>> uhci3: [GIANT-LOCKED] >>>> uhci3: [ITHREAD] >>>> usb3: on uhci3 >>>> usb3: USB revision 1.0 >>>> uhub3: on usb3 >>>> uhub3: 2 ports with 2 removable, self powered >>>> ehci0: mem >>>> 0xee404000-0xee4043ff irq 19 at device 29.7 on pci0 >>>> ehci0: [GIANT-LOCKED] >>>> ehci0: [ITHREAD] >>>> usb4: EHCI version 1.0 >>>> usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 >>>> usb4: on ehci0 >>>> usb4: USB revision 2.0 >>>> uhub4: on usb4 >>>> uhub4: 8 ports with 8 removable, self powered >>>> pcib6: at device 30.0 on pci0 >>>> pci21: on pcib6 >>>> cbb0: mem 0xe4300000-0xe4300fff irq 16 at >>>> device 0.0 on pci21 >>>> cardbus0: on cbb0 >>>> pccard0: <16-bit PCCard bus> on cbb0 >>>> cbb0: [ITHREAD] >>>> isab0: at device 31.0 on pci0 >>>> isa0: on isab0 >>>> atapci0: port >>>> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1880-0x188f at device 31.1 on pci0 >>>> ata0: on atapci0 >>>> ata0: [ITHREAD] >>>> atapci1: port >>>> 0x18c8-0x18cf,0x18ac-0x18af,0x18c0-0x18c7,0x18a8-0x18ab,0x18b0-0x18bf >>>> mem 0xee404400-0xee4047ff irq 16 at device 31.2 on pci0 >>>> atapci1: [ITHREAD] >>>> atapci1: AHCI Version 01.10 controller with 4 ports detected >>>> ata2: on atapci1 >>>> ata2: [ITHREAD] >>>> ata3: on atapci1 >>>> ata3: port not implemented >>>> ata3: [ITHREAD] >>>> ata4: on atapci1 >>>> ata4: port not implemented >>>> ata4: [ITHREAD] >>>> ata5: on atapci1 >>>> ata5: port not implemented >>>> ata5: [ITHREAD] >>>> pci0: at device 31.3 (no driver attached) >>>> acpi_tz0: on acpi0 >>>> acpi_tz1: on acpi0 >>>> atkbdc0: port 0x60,0x64 irq 1 on acpi0 >>>> atkbd0: irq 1 on atkbdc0 >>>> kbd0 at atkbd0 >>>> atkbd0: [GIANT-LOCKED] >>>> atkbd0: [ITHREAD] >>>> psm0: irq 12 on atkbdc0 >>>> psm0: [GIANT-LOCKED] >>>> psm0: [ITHREAD] >>>> psm0: model Generic PS/2 mouse, device ID 0 >>>> battery0: on acpi0 >>>> acpi_acad0: on acpi0 >>>> acpi_ibm0: on acpi0 >>>> cpu0: on acpi0 >>>> est0: on cpu0 >>>> p4tcc0: on cpu0 >>>> cpu1: on acpi0 >>>> est1: on cpu1 >>>> p4tcc1: on cpu1 >>>> pmtimer0 on isa0 >>>> orm0: at iomem >>>> 0xd0000-0xd0fff,0xd1000-0xd1fff,0xdc000-0xdffff,0xe0000-0xeffff pnpid >>>> ORM0000 on isa0 >>>> ppc0: parallel port not found. >>>> sc0: at flags 0x100 on isa0 >>>> sc0: VGA <16 virtual consoles, flags=0x300> >>>> sio0: configured irq 4 not in bitmap of probed irqs 0 >>>> sio0: port may not be enabled >>>> sio0: configured irq 4 not in bitmap of probed irqs 0 >>>> sio0: port may not be enabled >>>> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 >>>> sio0: type 8250 or not responding >>>> sio0: [FILTER] >>>> sio1: configured irq 3 not in bitmap of probed irqs 0 >>>> sio1: port may not be enabled >>>> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 >>>> ums0: >>> 2> on uhub0 >>>> ums0: 8 buttons and Z dir. >>>> ugen0: >>> 1.00/0.01, addr 2> on uhub3 >>>> Timecounters tick every 1.000 msec >>>> acd0: DVDR at ata0-master UDMA33 >>>> ad4: 152627MB at ata2-master SATA150 >>>> hdac0: HDA Codec #0: Analog Devices AD1981HD >>>> hdac0: HDA Codec #1: Conexant (Unknown) >>>> pcm0: at cad 0 nid 1 on hdac0 >>>> pcm1: at cad 0 nid 1 on hdac0 >>>> SMP: AP CPU #1 Launched! >>>> Trying to mount root from ufs:/dev/ad4s1a > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >> -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAklwZgEACgkQCnBgS+kUGEuw/ACcCnzXTOAIV0aSAUxtKna/SpBL 63UAnj6t+LR7LwEMmcCwxjchpg5Mrmpf =gnG0 -----END PGP SIGNATURE-----