Date: Tue, 7 Feb 2012 05:43:30 GMT From: bob frazier <bobf@mrp3.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/164839: upgrade from 7-STABLE to 8-STABLE causes wifi / wlan failure Message-ID: <201202070543.q175hUlV023066@red.freebsd.org> Resent-Message-ID: <201202070550.q175oBUW053316@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 164839 >Category: kern >Synopsis: upgrade from 7-STABLE to 8-STABLE causes wifi / wlan failure >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 07 05:50:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: bob frazier >Release: 8.2 (STABLE) amd64 >Organization: S.F.T. Inc. >Environment: FreeBSD BSDSilver.SFT.local 8.2-STABLE FreeBSD 8.2-STABLE #0: Mon Feb 6 18:42:35 PST 2012 root@BSDSilver.SFT.local:/usr/obj/usr/src/sys/GENERIC amd64 >Description: prior to upgrading from FreeBSD 7-STABLE to FreeBSD 8-STABLE the wifi interface was working as expected. after upgrading, every ifconfig operation that attempts to change the setting of ANY wireless device (ath, urtw) results in an error similar to the following: ifconfig: SIOCS80211: Invalid argument I attempted this with 3 different devices, one a built-in atheros device (one that had NOT been recognized in 7-STABLE), one an external (cardbus) atheros device, and the third a USB device that was recognized as 'urtw0'. The kernel drivers recognized all 3 of the devices. I also removed the built-in radio to see if there was any chance it was interfering, but it made no difference whatsoever (and after removing the device, 'ath0' was no longer discovered by the drivers on bootup). computer model: HP Pavilion dv7 tested with these wireless adaptors: atheros AR5BXB92 (internal mini PCI, now removed) Airlink 101 AWLC4030-II (atheros AR5212, in dmesg) Trendnet TEW-424UB (USB wireless, realtek) dmesg output (with Airlink 101 in cardbus adaptor, in 'express' slot): Copyright (c) 1992-2012 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 8.2-STABLE #0: Mon Feb 6 18:42:35 PST 2012 root@BSDSilver.SFT.local:/usr/obj/usr/src/sys/GENERIC amd64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Turion(tm) X2 Dual-Core Mobile RM-72 (2100.09-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x200f31 Family = 11 Model = 3 Stepping = 1 Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> Features2=0x2001<SSE3,CX16> AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!> AMD Features2=0x131f<LAHF,CMP,SVM,ExtAPIC,CR8,Prefetch,OSVW,SKINIT> TSC: P-state invariant real memory = 4294967296 (4096 MB) avail memory = 3824381952 (3647 MB) ACPI APIC Table: <HPQOEM SLIC-MPC> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 4 ioapic0 <Version 2.1> irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: <HPQOEM SLIC-MPC> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 acpi_ec0: <Embedded Controller: GPE 0x3> port 0x62,0x66 on acpi0 acpi_button0: <Power Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 vgapci0: <VGA-compatible display> port 0x7000-0x70ff mem 0xc0000000-0xcfffffff,0xd2400000-0xd240ffff,0xd2300000-0xd23fffff irq 18 at device 5.0 on pci1 pci1: <multimedia, HDA> at device 5.1 (no driver attached) pcib2: <ACPI PCI-PCI bridge> at device 4.0 on pci0 pci2: <ACPI PCI bus> on pcib2 pcib3: <ACPI PCI-PCI bridge> at device 0.0 on pci2 pci3: <ACPI PCI bus> on pcib3 ath0: <Atheros 5212> mem 0xd1200000-0xd120ffff irq 16 at device 0.0 on pci3 ath0: [ITHREAD] ath0: AR2413 mac 7.9 RF2413 phy 4.5 pcib4: <ACPI PCI-PCI bridge> at device 5.0 on pci0 pci8: <ACPI PCI bus> on pcib4 pci8: <base peripheral> at device 0.0 (no driver attached) pci8: <base peripheral, SD host controller> at device 0.2 (no driver attached) pci8: <base peripheral> at device 0.3 (no driver attached) pci8: <base peripheral> at device 0.4 (no driver attached) pcib5: <ACPI PCI-PCI bridge> at device 7.0 on pci0 pci9: <ACPI PCI bus> on pcib5 re0: <RealTek 810xE PCIe 10/100baseTX> port 0x2000-0x20ff mem 0xd1010000-0xd1010fff,0xd1000000-0xd100ffff irq 19 at device 0.0 on pci9 re0: Using 1 MSI-X message re0: Chip rev. 0x24800000 re0: MAC rev. 0x00000000 miibus0: <MII bus> on re0 rlphy0: <RTL8201L 10/100 media interface> PHY 1 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow re0: Ethernet address: 00:1e:ec:fe:df:1a re0: [ITHREAD] atapci0: <ATI IXP700/800 SATA300 controller> port 0x8038-0x803f,0x804c-0x804f,0x8030-0x8037,0x8048-0x804b,0x8010-0x801f mem 0xd2508000-0xd25083ff irq 22 at device 17.0 on pci0 atapci0: [ITHREAD] atapci0: AHCI v1.10 controller with 6 3Gbps ports, PM supported ata2: <ATA channel> at channel 0 on atapci0 ata2: port is not ready (timeout 0ms) tfd = 000001d0 ata2: software reset clear timeout ata2: [ITHREAD] ata3: <ATA channel> at channel 1 on atapci0 ata3: [ITHREAD] ata4: <ATA channel> at channel 2 on atapci0 ata4: [ITHREAD] ata5: <ATA channel> at channel 3 on atapci0 ata5: port is not ready (timeout 0ms) tfd = 00000180 ata5: software reset clear timeout ata5: [ITHREAD] ata6: <ATA channel> at channel 4 on atapci0 ata6: [ITHREAD] ata7: <ATA channel> at channel 5 on atapci0 ata7: [ITHREAD] ohci0: <OHCI (generic) USB controller> mem 0xd2507000-0xd2507fff irq 16 at device 18.0 on pci0 ohci0: [ITHREAD] usbus0: <OHCI (generic) USB controller> on ohci0 ohci1: <OHCI (generic) USB controller> mem 0xd2506000-0xd2506fff irq 16 at device 18.1 on pci0 ohci1: [ITHREAD] usbus1: <OHCI (generic) USB controller> on ohci1 ehci0: <EHCI (generic) USB 2.0 controller> mem 0xd2508500-0xd25085ff irq 17 at device 18.2 on pci0 ehci0: [ITHREAD] ehci0: AMD SB600/700 quirk applied usbus2: EHCI version 1.0 usbus2: <EHCI (generic) USB 2.0 controller> on ehci0 ohci2: <OHCI (generic) USB controller> mem 0xd2505000-0xd2505fff irq 18 at device 19.0 on pci0 ohci2: [ITHREAD] usbus3: <OHCI (generic) USB controller> on ohci2 ohci3: <OHCI (generic) USB controller> mem 0xd2504000-0xd2504fff irq 18 at device 19.1 on pci0 ohci3: [ITHREAD] usbus4: <OHCI (generic) USB controller> on ohci3 ehci1: <EHCI (generic) USB 2.0 controller> mem 0xd2508400-0xd25084ff irq 19 at device 19.2 on pci0 ehci1: [ITHREAD] ehci1: AMD SB600/700 quirk applied usbus5: EHCI version 1.0 usbus5: <EHCI (generic) USB 2.0 controller> on ehci1 pci0: <serial bus, SMBus> at device 20.0 (no driver attached) atapci1: <ATI IXP700/800 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8000-0x800f irq 16 at device 20.1 on pci0 ata1: <ATA channel> at channel 1 on atapci1 ata1: [ITHREAD] pci0: <multimedia, HDA> at device 20.2 (no driver attached) isab0: <PCI-ISA bridge> at device 20.3 on pci0 isa0: <ISA bus> on isab0 pcib6: <ACPI PCI-PCI bridge> at device 20.4 on pci0 pci128: <ACPI PCI bus> on pcib6 acpi_acad0: <AC Adapter> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_tz0: <Thermal Zone> on acpi0 atrtc0: <AT realtime clock> port 0x70-0x71 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 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: cannot reserve I/O port range acpi_throttle0: <ACPI CPU Throttling> on cpu0 hwpstate0: <Cool`n'Quiet 2.0> on cpu0 RTC BIOS diagnostic error 80<clock_battery> Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 480Mbps High Speed USB v2.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 480Mbps High Speed USB v2.0 ad4: 305245MB <FUJITSU MHZ2320BH G2 8909> at ata2-master UDMA100 SATA 3Gb/s ugen0.1: <ATI> at usbus0 uhub0: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 ugen1.1: <ATI> at usbus1 uhub1: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1 ugen2.1: <ATI> at usbus2 uhub2: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2 ugen3.1: <ATI> at usbus3 uhub3: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3 ugen4.1: <ATI> at usbus4 uhub4: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4 ugen5.1: <ATI> at usbus5 uhub5: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus5 uhub0: 3 ports with 3 removable, self powered uhub1: 3 ports with 3 removable, self powered uhub3: 3 ports with 3 removable, self powered uhub4: 3 ports with 3 removable, self powered GEOM: ad4s1: geometry does not match label (255h,63s != 16h,63s). acd0: DVDR <TSSTcorp CDDVDW TS-L633L/0400> at ata5-master UDMA100 SATA 1.5Gb/s SMP: AP CPU #1 Launched! Root mount waiting for: usbus5 usbus2 Root mount waiting for: usbus5 usbus2 uhub2: 6 ports with 6 removable, self powered uhub5: 6 ports with 6 removable, self powered ugen2.2: <Image Processor> at usbus2 Trying to mount root from ufs:/dev/ad4s1a hdac0: <ATI SB600 High Definition Audio Controller> mem 0xd2500000-0xd2503fff irq 16 at device 20.2 on pci0 hdac0: HDA Driver Revision: 20100226_0142 hdac0: [ITHREAD] hdac0: HDA Codec #0: IDT 92HD71B7 hdac0: HDA Codec #1: Lucent/Agere Systems (Unknown) hdac1: <ATI RS780 High Definition Audio Controller> mem 0xd2410000-0xd2413fff irq 19 at device 5.1 on pci1 hdac1: HDA Driver Revision: 20100226_0142 hdac1: [ITHREAD] hdac1: HDA Codec #0: ATI RS690/780 HDMI pcm0: <HDA IDT 92HD71B7 PCM #0 Analog> at cad 0 nid 1 on hdac0 pcm1: <HDA IDT 92HD71B7 PCM #1 Analog> at cad 0 nid 1 on hdac0 pcm2: <HDA IDT 92HD71B7 PCM #2 Digital> at cad 0 nid 1 on hdac0 pcm3: <HDA ATI RS690/780 HDMI PCM #0 HDMI> at cad 0 nid 1 on hdac1 re0: link state changed to UP output of pciconf -lv hostb0@pci0:0:0:0: class=0x060000 card=0x30fc103c chip=0x96001022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' class = bridge subclass = HOST-PCI pcib1@pci0:0:1:0: class=0x060400 card=0x30fc103c chip=0x9602103c rev=0x00 hdr=0x01 vendor = 'Hewlett-Packard Company' class = bridge subclass = PCI-PCI pcib2@pci0:0:4:0: class=0x060400 card=0x30fc103c chip=0x96041022 rev=0x00 hdr=0x01 vendor = 'Advanced Micro Devices (AMD)' class = bridge subclass = PCI-PCI pcib4@pci0:0:5:0: class=0x060400 card=0x30fc103c chip=0x96051022 rev=0x00 hdr=0x01 vendor = 'Advanced Micro Devices (AMD)' class = bridge subclass = PCI-PCI pcib5@pci0:0:7:0: class=0x060400 card=0x30fc103c chip=0x96071022 rev=0x00 hdr=0x01 vendor = 'Advanced Micro Devices (AMD)' class = bridge subclass = PCI-PCI atapci0@pci0:0:17:0: class=0x010601 card=0x30fc103c chip=0x43911002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'SB700 SATA Controller [AHCI mode]' class = mass storage subclass = SATA ohci0@pci0:0:18:0: class=0x0c0310 card=0x30fc103c chip=0x43971002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'SB700 USB OHCI0 Controller' class = serial bus subclass = USB ohci1@pci0:0:18:1: class=0x0c0310 card=0x30fc103c chip=0x43981002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'Standard OpenHCD USB-Hostcontroller (SB700)' class = serial bus subclass = USB ehci0@pci0:0:18:2: class=0x0c0320 card=0x30fc103c chip=0x43961002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'SB700 USB EHCI Controller' class = serial bus subclass = USB ohci2@pci0:0:19:0: class=0x0c0310 card=0x30fc103c chip=0x43971002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'SB700 USB OHCI0 Controller' class = serial bus subclass = USB ohci3@pci0:0:19:1: class=0x0c0310 card=0x30fc103c chip=0x43981002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'Standard OpenHCD USB-Hostcontroller (SB700)' class = serial bus subclass = USB ehci1@pci0:0:19:2: class=0x0c0320 card=0x30fc103c chip=0x43961002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'SB700 USB EHCI Controller' class = serial bus subclass = USB none0@pci0:0:20:0: class=0x0c0500 card=0x30fc103c chip=0x43851002 rev=0x3a hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'ATI SMBus (ATI RD600/RS600)' class = serial bus subclass = SMBus atapci1@pci0:0:20:1: class=0x01018a card=0x30fc103c chip=0x439c1002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'PATA 133 Controller (SB7xx)' class = mass storage subclass = ATA hdac0@pci0:0:20:2: class=0x040300 card=0x30fc103c chip=0x43831002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'IXP SB600 High Definition Audio Controller' class = multimedia subclass = HDA isab0@pci0:0:20:3: class=0x060100 card=0x30fc103c chip=0x439d1002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'SB700 LPC host controller' class = bridge subclass = PCI-ISA pcib6@pci0:0:20:4: class=0x060401 card=0x00000000 chip=0x43841002 rev=0x00 hdr=0x01 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'IXP SB600 PCI to PCI Bridge' class = bridge subclass = PCI-PCI hostb1@pci0:0:24:0: class=0x060000 card=0x00000000 chip=0x13001022 rev=0x40 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = '(Family 11h) Athlon64/Opteron/Sempron HyperTransport Technology Configuration' class = bridge subclass = HOST-PCI hostb2@pci0:0:24:1: class=0x060000 card=0x00000000 chip=0x13011022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = '(Family 11h) Athlon64/Opteron/Sempron Address Map' class = bridge subclass = HOST-PCI hostb3@pci0:0:24:2: class=0x060000 card=0x00000000 chip=0x13021022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = '(Family 11h) Athlon64/Opteron/Sempron DRAM Controller' class = bridge subclass = HOST-PCI hostb4@pci0:0:24:3: class=0x060000 card=0x00000000 chip=0x13031022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = '(Family 11h) Athlon64/Opteron/Sempron Miscellaneous Control' class = bridge subclass = HOST-PCI hostb5@pci0:0:24:4: class=0x060000 card=0x00000000 chip=0x13041022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = '(Family 11h) Athlon64/Opteron/Sempron Link Control' class = bridge subclass = HOST-PCI vgapci0@pci0:1:5:0: class=0x030000 card=0x30fc103c chip=0x96121002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'ATI RADEON HD 3200 Graphics (RS780M)' class = display subclass = VGA hdac1@pci0:1:5:1: class=0x040300 card=0x960f1002 chip=0x960f1002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' class = multimedia subclass = HDA pcib3@pci0:2:0:0: class=0x060400 card=0x00000000 chip=0x8231104c rev=0x03 hdr=0x01 vendor = 'Texas Instruments (TI)' device = 'PCI-Express to PCI/PCI-X bridge (XIO2000A)' class = bridge subclass = PCI-PCI ath0@pci0:3:0:0: class=0x020000 card=0x001017f9 chip=0x0013168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = '802.11a/b/g Wireless Adapter (AR2312)' class = network subclass = ethernet none1@pci0:8:0:0: class=0x088000 card=0x30fc103c chip=0x2382197b rev=0x00 hdr=0x00 vendor = 'JMicron Technology Corp.' device = 'JMB38X SD/MMC Host Controller (JMB38X)' class = base peripheral none2@pci0:8:0:2: class=0x080501 card=0x30fc103c chip=0x2381197b rev=0x00 hdr=0x00 vendor = 'JMicron Technology Corp.' class = base peripheral subclass = SD host controller none3@pci0:8:0:3: class=0x088000 card=0x30fc103c chip=0x2383197b rev=0x00 hdr=0x00 vendor = 'JMicron Technology Corp.' device = 'JMB38X MS Host Controller (JMB38X)' class = base peripheral none4@pci0:8:0:4: class=0x088000 card=0x30fc103c chip=0x2384197b rev=0x00 hdr=0x00 vendor = 'JMicron Technology Corp.' device = 'JMB38X xD Host Controller (JMB38X)' class = base peripheral re0@pci0:9:0:0: class=0x020000 card=0x30fc103c chip=0x813610ec rev=0x02 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'Realtek 10/100/1000 PCI-E NIC Family all in one NDIS Driver v5.728.0604.2009 06/04/2009 (Rtl8023)' class = network subclass = ethernet >How-To-Repeat: for the 'ath0' device, this is sufficient ifconfig ath0 up ssid "" expected result: ifconfig: SIOCS80211: Invalid argument (all of this hardware worked properly in 7-STABLE prior to the upgrade) >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202070543.q175hUlV023066>