From owner-freebsd-bugs@FreeBSD.ORG Wed Jan 28 19:00:12 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 815D31065675 for ; Wed, 28 Jan 2009 19:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5ADFE8FC24 for ; Wed, 28 Jan 2009 19:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0SJ0ARU031318 for ; Wed, 28 Jan 2009 19:00:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0SJ0A3V031317; Wed, 28 Jan 2009 19:00:10 GMT (envelope-from gnats) Resent-Date: Wed, 28 Jan 2009 19:00:10 GMT Resent-Message-Id: <200901281900.n0SJ0A3V031317@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mariusz Gromada Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EC261065729 for ; Wed, 28 Jan 2009 18:50:34 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id C0B5E8FC19 for ; Wed, 28 Jan 2009 18:50:33 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n0SIoX1p029913 for ; Wed, 28 Jan 2009 18:50:33 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n0SIoXAL029912; Wed, 28 Jan 2009 18:50:33 GMT (envelope-from nobody) Message-Id: <200901281850.n0SIoXAL029912@www.freebsd.org> Date: Wed, 28 Jan 2009 18:50:33 GMT From: Mariusz Gromada To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/131087: ipw / iwi - no sent/received packets; iwi needs to be restarted; ipw / iwi causes kernel panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2009 19:00:13 -0000 >Number: 131087 >Category: kern >Synopsis: ipw / iwi - no sent/received packets; iwi needs to be restarted; ipw / iwi causes kernel panic >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 28 19:00:10 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Mariusz Gromada >Release: FreeBSD 7.1-STABLE >Organization: >Environment: FreeBSD bumper.multifraktal.net 7.1-STABLE FreeBSD 7.1-STABLE #0: Tue Jan 27 18:50:42 CET 2009 bumper@bumper.multifraktal.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: I am running FreeBSD 7.1 STABLE on IBM T40 machine. I have Intel(R) PRO/Wireless 2100 MiniPCI card. bumper:bumper:~# dmesg | grep ipw0 ipw0: mem 0xc0210000-0xc0210fff irq 11 at device 2.0 on pci2 ipw0: Ethernet address: xx:xx:xx:xx:xx:xx Connection was tested using WinXP with AR5005G card. Problems description: Problem no. 1 -------------------------------------------- Driver is loaded, ipw0 interface can be found, adhoc connection established without encryption -> WinXP/AR5005G shows CRC errors when receiving data from FreeBSD/ipw0, it means that I have associated status in ifconfig ipw0, WinXP/AR5005G shows established connection (very good level of radio signal), no packets can be sent or received. my /boot/loader.conf if_ipw_load="YES" wlan_load="YES" firmware_load="YES" legal.intel_ipw.license_ack=1 ipw_bss_load="YES" ipw_ibss_load="YES" ipw_monitor_load="YES" Above problem can be solved by changing /boot/loader.conf as follows if_iwi_load="YES" wlan_load="YES" firmware_load="YES" legal.intel_iwi.license_ack=1 legal.intel_ipw.license_ack=1 iwi_bss_load="YES" iwi_ibss_load="YES" iwi_monitor_load="YES" iwi driver loads correctly, dmesg shows the same ipw0 Intel(R) PRO/Wireless 2100 MiniPCI card, now connection works properly. Problem no. 2: -------------------------------------------- ipw / iwi needs to be restarted to work properly - FreeBSD/ipw0 is connected to WinXP/AR5005G (adhoc mode) - I close the connection shutting down WinXP (or disabling AR5005G radio interface), FreeBSD/ipw0 stays untouched - I start again AR5005G on WinXP - connection seems to be established (signal level is good), but no packets can be sent or received Workaround solution is to restart ipw0 interface ifconfig ipw0 down ifconfig ipw0 up -> connection works properly Problem no. 3: -------------------------------------------- Sometimes, after ifconfig ipw0 (up/down/inet/etc..) command, kernel panics Sample panic info Architecture: i386 Architecture Version: 2 Dump Length: 56569856B (53 MB) Blocksize: 512 Dumptime: Mon Jan 26 18:42:34 2009 Hostname: bumper.multifraktal.net Magic: FreeBSD Kernel Dump Version String: FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Panic String: page fault Dump Parity: 1189822569 Bounds: 5 Dump Status: good I have been running IBM T40 (Intel(R) PRO/Wireless 2100 MiniPCI) for three years with WinXP, everything was fine. I am almost sure this is not a hardware issue. -------------------------------------- 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: Tue Jan 27 18:50:42 CET 2009 bumper@bumper.multifraktal.net:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1500MHz (1495.16-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x695 Stepping = 5 Features=0xa7e9f9bf Features2=0x180 real memory = 1073086464 (1023 MB) avail memory = 1036382208 (988 MB) kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) ACPI Warning (tbfadt-0505): Optional field "Gpe1Block" has zero address or length: 0 102C/0 [20070320] 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, 3ff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0x3000-0x30ff mem 0xe0000000-0xe7ffffff,0xc0100000-0xc010ffff irq 11 at device 0.0 on pci1 uhci0: port 0x1800-0x181f irq 11 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 11 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 11 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 ehci0: mem 0xc0000000-0xc00003ff irq 11 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered pcib2: at device 30.0 on pci0 pci2: on pcib2 cbb0: mem 0xb0000000-0xb0000fff irq 11 at device 0.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [ITHREAD] cbb1: mem 0xb1000000-0xb1000fff irq 11 at device 0.1 on pci2 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 cbb1: [ITHREAD] em0: port 0x8000-0x803f mem 0xc0220000-0xc023ffff,0xc0200000-0xc020ffff irq 11 at device 1.0 on pci2 em0: [FILTER] em0: Ethernet address: xx:xx:xx:xx:xx:xx pci2: at device 2.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1860-0x186f at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) pci0: at device 31.5 (no driver attached) pci0: at device 31.6 (no driver attached) acpi_tz0: 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 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] 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: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 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 battery0: on acpi0 acpi_acad0: on acpi0 cpu0: on acpi0 est0: on cpu0 p4tcc0: on cpu0 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcffff,0xd0000-0xd0fff,0xd1000-0xd1fff,0xdc000-0xdffff,0xe0000-0xeffff pnpid ORM0000 on isa0 ppc0: at port 0x3bc-0x3c3 irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 ppbus0: [ITHREAD] plip0: on ppbus0 plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> 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: on uhub1 ums0: 3 buttons and Z dir. Timecounter "TSC" frequency 1495156390 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, nat loadable, rule-based forwarding disabled, default to deny, logging disabled ad0: 57231MB at ata0-master UDMA100 acd0: CDRW at ata1-master UDMA33 Trying to mount root from ufs:/dev/ad0s1a ipw0: mem 0xc0210000-0xc0210fff irq 11 at device 2.0 on pci2 ipw0: Ethernet address: xx:xx:xx:xx:xx:xx ipw0: [ITHREAD] >How-To-Repeat: FreeBSD 7.1 STABLE, IBM T40 type 2373 >Fix: Workaround Problem no 1: use iwi instead of ipw driver Problem no 2: restart ipw interface (down/up) Problem no 3: unknown >Release-Note: >Audit-Trail: >Unformatted: