Date: Fri, 16 Jan 2009 10:10:50 +0100 From: Marc Peters <marc@sanity.de> To: "Paul B. Mahol" <onemda@gmail.com> Cc: freebsd-stable@freebsd.org Subject: Re: kernel panics when connected through wpi to apple extreme ap Message-ID: <49704F1A.8060706@sanity.de> In-Reply-To: <3a142e750901150825r73fa6d82g6b14d20f3548b8eb@mail.gmail.com> References: <496F0E85.5090904@sanity.de> <3a142e750901150252v5633f808q71d3fa3ab5050b20@mail.gmail.com> <496F458E.6050708@sanity.de> <3a142e750901150825r73fa6d82g6b14d20f3548b8eb@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Paul B. Mahol schrieb: > On 1/15/09, Marc Peters <marc@sanity.de> 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. i will to so and send a PR. i will include our mailings. > >> Give this a try: > >> gdb >> gdb> file /boot/YOUR_KERNEL/if_wpi.ko Reading symbols from /boot/kernel/if_wpi.ko...Reading symbols from /boot/kernel/if_wpi.ko.symbols...done. >> gdb> l *wpi_ops+0x89c (the mail will wrap the first line) 0x9dfc is in wpi_ops (/usr/src/sys/modules/wpi/../../dev/wpi/if_wpi.c:2411). 2406 /* update adapter's configuration */ 2407 sc->config.associd = 0; 2408 sc->config.filter &= ~htole32(WPI_FILTER_BSS); 2409 IEEE80211_ADDR_COPY(sc->config.bssid, ni->ni_bssid); 2410 sc->config.chan = ieee80211_chan2ieee(ic, ni->ni_chan); 2411 if (IEEE80211_IS_CHAN_2GHZ(ni->ni_chan)) { 2412 sc->config.flags |= htole32(WPI_CONFIG_AUTO | 2413 WPI_CONFIG_24GHZ); 2414 } 2415 switch (ic->ic_curmode) { > >> And post output. > > marc > > > Paul B. Mahol schrieb: >>>> On 1/15/09, Marc Peters <marc@sanity.de> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> >>>> >>>> Features2=0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM> >>>> AMD Features=0x20100000<NX,LM> >>>> AMD Features2=0x1<LAHF> >>>> Cores per package: 2 >>>> real memory = 2146238464 (2046 MB) >>>> avail memory = 2090221568 (1993 MB) >>>> ACPI APIC Table: <LENOVO TP-79 > >>>> 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 <Version 2.0> irqs 0-23 on motherboard >>>> kbd1 at kbdmux0 >>>> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) >>>> acpi0: <LENOVO TP-79> on motherboard >>>> acpi0: [ITHREAD] >>>> acpi_ec0: <Embedded Controller: GPE 0x1c, ECDT> 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: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on >>>> acpi0 >>>> Timecounter "HPET" frequency 14318180 Hz quality 900 >>>> acpi_lid0: <Control Method Lid Switch> on acpi0 >>>> acpi_button0: <Sleep Button> on acpi0 >>>> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 >>>> pci0: <ACPI PCI bus> on pcib0 >>>> pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0 >>>> pci1: <ACPI PCI bus> on pcib1 >>>> vgapci0: <VGA-compatible display> port 0x2000-0x20ff mem >>>> 0xd8000000-0xdfffffff,0xee100000-0xee10ffff irq 16 at device 0.0 on pci1 >>>> drm0: <ATI Mobility Radeon X1400> on vgapci0 >>>> vgapci0: child drm0 requested pci_enable_busmaster >>>> info: [drm] Initialized radeon 1.29.0 20080613 >>>> hdac0: <Intel 82801G High Definition Audio Controller> mem >>>> 0xee400000-0xee403fff irq 17 at device 27.0 on pci0 >>>> hdac0: HDA Driver Revision: 20090110_0123 >>>> hdac0: [ITHREAD] >>>> pcib2: <ACPI PCI-PCI bridge> irq 20 at device 28.0 on pci0 >>>> pci2: <ACPI PCI bus> on pcib2 >>>> em0: <Intel(R) PRO/1000 Network Connection 6.9.6> 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: <ACPI PCI-PCI bridge> irq 21 at device 28.1 on pci0 >>>> pci3: <ACPI PCI bus> on pcib3 >>>> wpi0: <Intel(R) PRO/Wireless 3945ABG> mem 0xedf00000-0xedf00fff irq 17 >>>> at device 0.0 on pci3 >>>> wpi0: Ethernet address: 00:19:d2:07:cf:36 >>>> wpi0: [ITHREAD] >>>> pcib4: <ACPI PCI-PCI bridge> irq 22 at device 28.2 on pci0 >>>> pci4: <ACPI PCI bus> on pcib4 >>>> pcib5: <ACPI PCI-PCI bridge> irq 23 at device 28.3 on pci0 >>>> pci12: <ACPI PCI bus> on pcib5 >>>> uhci0: <UHCI (generic) USB controller> port 0x1800-0x181f irq 16 at >>>> device 29.0 on pci0 >>>> uhci0: [GIANT-LOCKED] >>>> uhci0: [ITHREAD] >>>> usb0: <UHCI (generic) USB controller> on uhci0 >>>> usb0: USB revision 1.0 >>>> uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0 >>>> uhub0: 2 ports with 2 removable, self powered >>>> uhci1: <UHCI (generic) USB controller> port 0x1820-0x183f irq 17 at >>>> device 29.1 on pci0 >>>> uhci1: [GIANT-LOCKED] >>>> uhci1: [ITHREAD] >>>> usb1: <UHCI (generic) USB controller> on uhci1 >>>> usb1: USB revision 1.0 >>>> uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1 >>>> uhub1: 2 ports with 2 removable, self powered >>>> uhci2: <UHCI (generic) USB controller> port 0x1840-0x185f irq 18 at >>>> device 29.2 on pci0 >>>> uhci2: [GIANT-LOCKED] >>>> uhci2: [ITHREAD] >>>> usb2: <UHCI (generic) USB controller> on uhci2 >>>> usb2: USB revision 1.0 >>>> uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2 >>>> uhub2: 2 ports with 2 removable, self powered >>>> uhci3: <UHCI (generic) USB controller> port 0x1860-0x187f irq 19 at >>>> device 29.3 on pci0 >>>> uhci3: [GIANT-LOCKED] >>>> uhci3: [ITHREAD] >>>> usb3: <UHCI (generic) USB controller> on uhci3 >>>> usb3: USB revision 1.0 >>>> uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3 >>>> uhub3: 2 ports with 2 removable, self powered >>>> ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> 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: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0 >>>> usb4: USB revision 2.0 >>>> uhub4: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb4 >>>> uhub4: 8 ports with 8 removable, self powered >>>> pcib6: <ACPI PCI-PCI bridge> at device 30.0 on pci0 >>>> pci21: <ACPI PCI bus> on pcib6 >>>> cbb0: <TI1510 PCI-CardBus Bridge> mem 0xe4300000-0xe4300fff irq 16 at >>>> device 0.0 on pci21 >>>> cardbus0: <CardBus bus> on cbb0 >>>> pccard0: <16-bit PCCard bus> on cbb0 >>>> cbb0: [ITHREAD] >>>> isab0: <PCI-ISA bridge> at device 31.0 on pci0 >>>> isa0: <ISA bus> on isab0 >>>> atapci0: <Intel ICH7 UDMA100 controller> port >>>> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1880-0x188f at device 31.1 on pci0 >>>> ata0: <ATA channel 0> on atapci0 >>>> ata0: [ITHREAD] >>>> atapci1: <Intel AHCI controller> 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: <ATA channel 0> on atapci1 >>>> ata2: [ITHREAD] >>>> ata3: <ATA channel 1> on atapci1 >>>> ata3: port not implemented >>>> ata3: [ITHREAD] >>>> ata4: <ATA channel 2> on atapci1 >>>> ata4: port not implemented >>>> ata4: [ITHREAD] >>>> ata5: <ATA channel 3> on atapci1 >>>> ata5: port not implemented >>>> ata5: [ITHREAD] >>>> pci0: <serial bus, SMBus> at device 31.3 (no driver attached) >>>> acpi_tz0: <Thermal Zone> on acpi0 >>>> acpi_tz1: <Thermal Zone> on acpi0 >>>> atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 >>>> atkbd0: <AT Keyboard> irq 1 on atkbdc0 >>>> kbd0 at atkbd0 >>>> atkbd0: [GIANT-LOCKED] >>>> atkbd0: [ITHREAD] >>>> psm0: <PS/2 Mouse> irq 12 on atkbdc0 >>>> psm0: [GIANT-LOCKED] >>>> psm0: [ITHREAD] >>>> psm0: model Generic PS/2 mouse, device ID 0 >>>> battery0: <ACPI Control Method Battery> on acpi0 >>>> acpi_acad0: <AC Adapter> on acpi0 >>>> acpi_ibm0: <IBM ThinkPad ACPI Extras> on acpi0 >>>> cpu0: <ACPI CPU> on acpi0 >>>> est0: <Enhanced SpeedStep Frequency Control> on cpu0 >>>> p4tcc0: <CPU Frequency Thermal Control> on cpu0 >>>> cpu1: <ACPI CPU> on acpi0 >>>> est1: <Enhanced SpeedStep Frequency Control> on cpu1 >>>> p4tcc1: <CPU Frequency Thermal Control> on cpu1 >>>> pmtimer0 on isa0 >>>> orm0: <ISA Option ROMs> at iomem >>>> 0xd0000-0xd0fff,0xd1000-0xd1fff,0xdc000-0xdffff,0xe0000-0xeffff pnpid >>>> ORM0000 on isa0 >>>> ppc0: parallel port not found. >>>> sc0: <System console> 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: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 >>>> ums0: <Logitech USB-PS/2 Optical Mouse, class 0/0, rev 2.00/27.20, addr >>>> 2> on uhub0 >>>> ums0: 8 buttons and Z dir. >>>> ugen0: <STMicroelectronics Biometric Coprocessor, class 0/0, rev >>>> 1.00/0.01, addr 2> on uhub3 >>>> Timecounters tick every 1.000 msec >>>> acd0: DVDR <HL-DT-ST DVDRAM GSA-4083N/1.08> at ata0-master UDMA33 >>>> ad4: 152627MB <SAMSUNG HM160HI HR100-08> at ata2-master SATA150 >>>> hdac0: HDA Codec #0: Analog Devices AD1981HD >>>> hdac0: HDA Codec #1: Conexant (Unknown) >>>> pcm0: <HDA Analog Devices AD1981HD PCM #0 Analog> at cad 0 nid 1 on hdac0 >>>> pcm1: <HDA Analog Devices AD1981HD PCM #1 Digital> 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) iEYEARECAAYFAklwTxoACgkQCnBgS+kUGEtxkQCgnfjsmtfjEMcRW10ps3rRXf7l Mj8AnRwN178JrMkqeKMKQnCIKz7a/ohA =uGLT -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49704F1A.8060706>