From owner-freebsd-current@FreeBSD.ORG Thu Jan 3 17:49:32 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 1239916A419 for ; Thu, 3 Jan 2008 17:49:32 +0000 (UTC) (envelope-from hwhartman@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.190]) by mx1.freebsd.org (Postfix) with ESMTP id 9FDB513C442 for ; Thu, 3 Jan 2008 17:49:31 +0000 (UTC) (envelope-from hwhartman@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so6218084rvb.43 for ; Thu, 03 Jan 2008 09:49:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=1dm7Oazd7mdEBJtlgFsDLMYOuR2e3vbafEABZgzlsrI=; b=J6JoSSaKKPn6yFNbVrcyJd/kYiRJGqyDyBXAgFC0bGrUal3thwecMfRvHE2V+jQGSNv4KOQdjlhLaXCeXfpbSm+EoZ2M1T+AG0vWALBDBjwOiLey1x1/2+ThzMd1nS4YcsbckpbqMYikcLpW5jSlTCf7fv0jWx5L2tskyKC3V8Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=l1RzlCWjwjympOgmSD9tr82AgbFNMbaEgBR6zFif7YxJw7NCyqA5+qR9fGbVe16xbuA7Y0rk4c2FIKE7lzUrU6ZS03EaxNNeAUmVz1hinTworCiMnKBu4z49YiWbhPoLHiLAXT8kB9tOMzvUQ5pTV6yfRDKFcuUV2EccnOeAJ7g= Received: by 10.140.54.6 with SMTP id c6mr8252421rva.37.1199380972534; Thu, 03 Jan 2008 09:22:52 -0800 (PST) Received: by 10.140.136.2 with HTTP; Thu, 3 Jan 2008 09:22:52 -0800 (PST) Message-ID: Date: Thu, 3 Jan 2008 09:22:52 -0800 From: "Hanns Hartman" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: panic about half the time with WPA+WPI during startup 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: Thu, 03 Jan 2008 17:49:32 -0000 Hi All, I am running FreeBSD 7-Prerelease on an Lenovo T61. I am having problems with the WPI driver doing WPA TKIP authentication during startup. Sometimes it works perfectly with no problems, other times it kernel panics (see the kgdb output below). If you need more debugging information or if you need me to try something just let me know and I will be happy to help. Also if this email is not appropriate for this list please feel free to direct me to the appropriate one. thanks Hanns Here is how I start WPA auth on my WPI wireless card. rc.conf: ifconfig_wpi0=3D"WPA DHCP" Start of Kgdb output: Unread portion of the kernel message buffer: Copyright (c) 1992-2007 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.0-PRERELEASE #2: Mon Dec 24 10:51:35 PST 2007 hhartman@t61-laptop.localhost:/usr/obj/usr/src/sys/MYKERNEL12_22 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz (2194.52-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x6fb Stepping =3D 11 Features=3D0xbfebfbff Features2=3D0xe3bd AMD Features=3D0x20100000 AMD Features2=3D0x1 Cores per package: 2 real memory =3D 2112552960 (2014 MB) avail memory =3D 2053394432 (1958 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 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, 7df00000 (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 acp= i0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 coretemp0: on cpu0 est0: on cpu0 p4tcc0: on cpu0 cpu1: on acpi0 coretemp1: on cpu1 est1: on cpu1 p4tcc1: on cpu1 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 nvidia0: port 0x2000-0x207f mem 0xd2000000-0xd2ffffff,0xe0000000-0xefffffff,0xd0000000-0xd1ffffff irq 16 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] nvidia0: [ITHREAD] em0: port 0x1840-0x1= 85f mem 0xfe200000-0xfe21ffff,0xfe225000-0xfe225fff irq 20 at device 25.0 on pc= i0 em0: Using MSI interrupt em0: Ethernet address: 00:1e:37:16:06:e1 em0: [FILTER] uhci0: port 0x1860-0x187f irq 20 at device 26.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 0x1880-0x189f irq 21 at device 26.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 ehci0: mem 0xfe226c00-0xfe226fff irq 22= at device 26.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb2: EHCI version 1.0 usb2: companion controllers, 2 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: on usb2 uhub2: 4 ports with 4 removable, self powered pcm0: mem 0xfe220000-0xfe223fff irq 17 at device 27.0 on pci0 pcm0: [ITHREAD] pcib2: irq 20 at device 28.0 on pci0 pci2: on pcib2 pci2: at device 0.0 (no driver attached) pcib3: irq 21 at device 28.1 on pci0 pci3: on pcib3 wpi0: mem 0xd7dff000-0xd7dfffff irq 17 at device 0.0 on pci3 bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. bus_dmamem_alloc failed to align memory properly. wpi0: Ethernet address: 00:1c:bf:04:2e:03 wpi0: [ITHREAD] wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbp= s 36Mbps 48Mbps 54Mbps pcib4: irq 22 at device 28.2 on pci0 pci4: on pcib4 pcib5: irq 23 at device 28.3 on pci0 pci5: on pcib5 pcib6: irq 20 at device 28.4 on pci0 pci13: on pcib6 uhci2: port 0x18a0-0x18bf irq 16 at device 29.0 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb3: on uhci2 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered uhci3: port 0x18c0-0x18df irq 17 at device 29.1 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb4: on uhci3 usb4: USB revision 1.0 uhub4: on usb4 uhub4: 2 ports with 2 removable, self powered uhci4: port 0x18e0-0x18ff irq 18 at device 29.2 on pci0 uhci4: [GIANT-LOCKED] uhci4: [ITHREAD] usb5: on uhci4 usb5: USB revision 1.0 uhub5: on usb5 uhub5: 2 ports with 2 removable, self powered ehci1: mem 0xfe227000-0xfe2273ff irq 19= at device 29.7 on pci0 ehci1: [GIANT-LOCKED] ehci1: [ITHREAD] usb6: EHCI version 1.0 usb6: companion controllers, 2 ports each: usb3 usb4 usb5 usb6: on ehci1 usb6: USB revision 2.0 uhub6: on usb6 uhub6: 6 ports with 6 removable, self powered pcib7: at device 30.0 on pci0 pci21: on pcib7 cbb0: mem 0xf8100000-0xf8100fff irq 16 at devi= ce 0.0 on pci21 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [ITHREAD] fwohci0: <1394 Open Host Controller Interface> mem 0xf8101000-0xf81017ff ir= q 17 at device 0.1 on pci21 fwohci0: [FILTER] fwohci0: OHCI version 1.10 (ROM=3D0) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:06:1b:03:2a:15:86:fa fwohci0: Phy 1394a available S400, 1 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x7b858000 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=3D0xc800ffc0, gen=3D1, CYCLEMASTER mode isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1830-0x183f at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0x1c48-0x1c4f,0x1c1c-0x1c1f,0x1c40-0x1c47,0x1c18-0x1c1b,0x1c20-0x1c3f mem 0xfe226000-0xfe2267ff irq 16 at device 31.2 on pci0 atapci1: [ITHREAD] atapci1: AHCI Version 01.10 controller with 3 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] pci0: at device 31.3 (no driver attached) acpi_dock0: on acpi0 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 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcefff,0xcf000-0xcffff,0xd0000-0xd0fff,0xd1000-0xd3fff,0xe0000-0xe= ffff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: cannot reserve I/O port range 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 Timecounters tick every 1.000 msec WARNING: apm_saver module requires apm enabled firewire0: 1 nodes, maxhop <=3D 0, cable IRM =3D 0 (me) firewire0: bus manager 0 (me) acd0: CDRW at ata0-master UDMA33 ad4: 95396MB at ata2-master SATA150 pcm0: pcm0: GEOM_LABEL: Label for provider ad4s2 is msdosfs/SERVICEV001. SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad4s1a WARNING: / was not properly dismounted <118>Loading configuration files. <118>kernel dumps on /dev/ad4s1b <118>Entropy harvesting: <118> interrupts <118> ethernet <118> point_to_point <118> kickstart <118>. <118>swapon: adding /dev/ad4s1b as swap device <118>Starting file system checks: <118>/dev/ad4s1a: 3029 files, 136398 used, 876617 free (985 frags, 109454 blocks, 0.1% fragmentation) <118>/dev/ad4s1e: DEFER FOR BACKGROUND CHECKING <118>/dev/ad4s1f: DEFER FOR BACKGROUND CHECKING <118>/dev/ad4s1d: DEFER FOR BACKGROUND CHECKING <118>Setting hostuuid: d98c9601-48de-11cb-8437-9f645358500e. <118>Setting hostid: 0x5068f7a9. <118>Mounting local file systems: WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted /var: mount pending error: blocks 68 files 11 <118>. <118>Setting hostname: t61-laptop.localhost. <118>net.inet6.ip6.auto_linklocal: <118>1 <118> -> <118>0 <118> <118>Starting wpa_supplicant. <118>wpi0: no link ... <118>. <118>. <118>. <118> got link <118>DHCPREQUEST on wpi0 to 255.255.255.255 port 67 <118> Fatal trap 12: page fault while in kernel mode cpuid =3D 1; apic id =3D 01 fault virtual address =3D 0xc fault code =3D supervisor read, page not present instruction pointer =3D 0x20:0xc05da11f stack pointer =3D 0x28:0xe5a75b00 frame pointer =3D 0x28:0xe5a75b18 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 33 (irq17: pcm0 wpi0++) trap number =3D 12 panic: page fault cpuid =3D 1 Uptime: 14s Physical memory: 1998 MB Dumping 77 MB: 62 46 30 14 #0 doadump () at pcpu.h:195 195 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:195 #1 0xc059286a in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:4= 09 #2 0xc0592b3d in panic (fmt=3DVariable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xc07cfd44 in trap_fatal (frame=3D0xe5a75ac0, eva=3D12) at /usr/src/sys/i386/i386/trap.c:899 #4 0xc07cff94 in trap_pfault (frame=3D0xe5a75ac0, usermode=3D0, eva=3D12) at /usr/src/sys/i386/i386/trap.c:812 #5 0xc07d08fa in trap (frame=3D0xe5a75ac0) at /usr/src/sys/i386/i386/trap.= c:490 #6 0xc07b82db in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc05da11f in m_copydata (m=3D0x0, off=3D4, len=3D8, cp=3D0xe5a75b38 "= =D0=F2d=C5") at /usr/src/sys/kern/uipc_mbuf.c:808 #8 0xc0638952 in tkip_demic (k=3D0xc564f2d0, m=3D0xc5654700, force=3D0) at /usr/src/sys/net80211/ieee80211_crypto_tkip.c:338 #9 0xc064238e in ieee80211_input (ic=3D0xc564e008, m=3D0xc5654700, ni=3D0x= c5b66000, rssi=3D51, noise=3D0, rstamp=3D0) at ieee80211_crypto.h:186 #10 0xc07ae7f7 in wpi_intr (arg=3D0xc564e000) at /usr/src/sys/dev/wpi/if_wpi.c:1699 #11 0xc0576df2 in ithread_loop (arg=3D0xc562caf0) at /usr/src/sys/kern/kern_intr.c:1036 #12 0xc0573e01 in fork_exit (callout=3D0xc0576c51 , arg=3D0xc562caf0, frame=3D0xe5a75d38) at /usr/src/sys/kern/kern_fork.c:754 #13 0xc07b8350 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:= 205 --=20 Hanns Hartman Identity Engines Inc. - Senior Software Engineer hhartman@idengines.com Western Collegiate Cycling - Conference Director hhartman@usacycling.org