Re: ath (AR9460) no longer works after going to 11-STABLE r302483

From: Adrian Chadd <adrian_at_freebsd.org>
Date: Sat, 9 Jul 2016 12:33:39 -0700
hi,

There weren't any changes in net80211 between those times, and ath(4)
only has some changes for locationing; nothing that should cause that
particular issue.

I'll go update to the latest -head on something with that NIC and test
it out some more.

Try reverting sys/dev/ath/ and sys/contrib/dev/ath/ back to r302387
and test? (but leave the rest of the kernel as-is.)

Thanks,



-adrian

On 9 July 2016 at 12:01, Wolfgang Zenker <wolfgang_at_lyxys.ka.sub.org> wrote:
> Hi,
>
> I just brought my Acer C720 from HEAD r302387 up to 11-STABLE r302483,
> using a GENERIC kernel. After the upgrade wlan0 failed to connect.
>
> Booting back into kernel.old with the new userland, wlan0 connects with
> IPv4, IPv6 only startet working after manually calling rtsol (or I might
> just have been to impatient).
>
> Relevant lines from /var/log/messages:
>
> Before the upgrade:
> Jul  9 11:58:19 faunus kernel: FreeBSD 11.0-ALPHA6 #26 r302387: Thu Jul  7 14:35:59 CEST 2016
> Jul  9 11:58:19 faunus kernel: wolfgang_at_faunus:/usr/obj/usr/src/sys/GENERIC amd64
> Jul  9 11:58:19 faunus kernel: FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0)
> Jul  9 11:58:19 faunus kernel: WARNING: WITNESS option enabled, expect reduced performance.
> Jul  9 11:58:19 faunus kernel: can't re-use a leaf (ixl_rx_miss_bufs)!
> Jul  9 11:58:19 faunus kernel: VT(vga): resolution 640x480
> Jul  9 11:58:19 faunus kernel: CPU: Intel(R) Celeron(R) 2955U _at_ 1.40GHz (1396.79-MHz K8-class CPU)
> Jul  9 11:58:19 faunus kernel: Origin="GenuineIntel"  Id=0x40651  Family=0x6  Model=0x45  Stepping=1
> [..]
> Jul  9 11:58:19 faunus kernel: TSC: P-state invariant, performance statistics
> Jul  9 11:58:19 faunus kernel: real memory  = 4301258752 (4102 MB)
> Jul  9 11:58:19 faunus kernel: avail memory = 1914245120 (1825 MB)
> Jul  9 11:58:19 faunus kernel: Event timer "LAPIC" quality 600
> Jul  9 11:58:19 faunus kernel: ACPI APIC Table: <CORE   COREBOOT>
> Jul  9 11:58:19 faunus kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> Jul  9 11:58:19 faunus kernel: FreeBSD/SMP: 1 package(s) x 2 core(s)
> [..]
> Jul  9 11:58:19 faunus kernel: pcib1: <ACPI PCI-PCI bridge> at device 28.0 on pci0
> Jul  9 11:58:19 faunus kernel: pci1: <ACPI PCI bus> on pcib1
> Jul  9 11:58:19 faunus kernel: ath0: <Atheros AR946x/AR948x> mem 0xe0400000-0xe047ffff at device 0.0 on pci1
> Jul  9 11:58:19 faunus kernel: ar9300_attach: calling ar9300_hw_attach
> Jul  9 11:58:19 faunus kernel: ar9300_hw_attach: calling ar9300_eeprom_attach
> Jul  9 11:58:19 faunus kernel: ar9300_flash_map: unimplemented for now
> Jul  9 11:58:19 faunus kernel: Restoring Cal data from DRAM
> Jul  9 11:58:19 faunus kernel: Restoring Cal data from EEPROM
> Jul  9 11:58:19 faunus kernel: Restoring Cal data from Flash
> Jul  9 11:58:19 faunus kernel: Restoring Cal data from Flash
> Jul  9 11:58:19 faunus kernel: Restoring Cal data from OTP
> Jul  9 11:58:19 faunus kernel: ar9300_hw_attach: ar9300_eeprom_attach returned 0
> Jul  9 11:58:19 faunus kernel: ath0: [HT] enabling HT modes
> Jul  9 11:58:19 faunus kernel: ath0: [HT] enabling short-GI in 20MHz mode
> Jul  9 11:58:19 faunus kernel: ath0: [HT] 1 stream STBC receive enabled
> Jul  9 11:58:19 faunus kernel: ath0: [HT] 1 stream STBC transmit enabled
> Jul  9 11:58:19 faunus kernel: ath0: [HT] LDPC transmit/receive enabled
> Jul  9 11:58:19 faunus kernel: ath0: [HT] 2 RX streams; 2 TX streams
> Jul  9 11:58:19 faunus kernel: ath0: AR9460 mac 640.2 RF5110 phy 610.2
> Jul  9 11:58:19 faunus kernel: ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000
> [..]
> Jul  9 11:58:19 faunus kernel: SMP: AP CPU #1 Launched!
> Jul  9 11:58:19 faunus kernel: Timecounter "TSC" frequency 1396793908 Hz quality 1000
> Jul  9 11:58:19 faunus kernel: WARNING: WITNESS option enabled, expect reduced performance.
> Jul  9 11:58:19 faunus kernel: Trying to mount root from zfs:zroot/ROOT/default []...
> Jul  9 11:58:19 faunus kernel: wlan0: Ethernet address: 9c:d2:1e:9b:e6:41
> Jul  9 11:58:19 faunus kernel: wlan0: link state changed to UP
>
> After the upgrade:
> Jul  9 20:14:19 faunus kernel: FreeBSD 11.0-BETA1 #0 r302483: Sat Jul  9 18:15:16 CEST 2016
> Jul  9 20:14:19 faunus kernel: wolfgang_at_faunus:/usr/obj/usr/src/sys/GENERIC amd64
> Jul  9 20:14:19 faunus kernel: FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0)
> Jul  9 20:14:19 faunus kernel: can't re-use a leaf (ixl_rx_miss_bufs)!
> Jul  9 20:14:19 faunus kernel: VT(vga): resolution 640x480
> Jul  9 20:14:19 faunus kernel: CPU: Intel(R) Celeron(R) 2955U _at_ 1.40GHz (1396.80-MHz K8-class CPU)
> Jul  9 20:14:19 faunus kernel: Origin="GenuineIntel"  Id=0x40651  Family=0x6  Model=0x45  Stepping=1
> [..]
> Jul  9 20:14:19 faunus kernel: TSC: P-state invariant, performance statistics
> Jul  9 20:14:19 faunus kernel: real memory  = 4301258752 (4102 MB)
> Jul  9 20:14:19 faunus kernel: avail memory = 1918545920 (1829 MB)
> Jul  9 20:14:19 faunus kernel: Event timer "LAPIC" quality 600
> Jul  9 20:14:19 faunus kernel: ACPI APIC Table: <CORE   COREBOOT>
> Jul  9 20:14:19 faunus kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> Jul  9 20:14:19 faunus kernel: FreeBSD/SMP: 1 package(s) x 2 core(s)
> [..]
> Jul  9 20:14:19 faunus kernel: pcib1: <ACPI PCI-PCI bridge> at device 28.0 on pci0
> Jul  9 20:14:19 faunus kernel: pci1: <ACPI PCI bus> on pcib1
> Jul  9 20:14:19 faunus kernel: ath0: <Atheros AR946x/AR948x> mem 0xe0400000-0xe047ffff at device 0.0 on pci1
> Jul  9 20:14:19 faunus kernel: ar9300_attach: calling ar9300_hw_attach
> Jul  9 20:14:19 faunus kernel: ar9300_hw_attach: calling ar9300_eeprom_attach
> Jul  9 20:14:19 faunus kernel: ar9300_flash_map: unimplemented for now
> Jul  9 20:14:19 faunus kernel: Restoring Cal data from DRAM
> Jul  9 20:14:19 faunus kernel: Restoring Cal data from EEPROM
> Jul  9 20:14:19 faunus kernel: Restoring Cal data from Flash
> Jul  9 20:14:19 faunus kernel: Restoring Cal data from Flash
> Jul  9 20:14:19 faunus kernel: Restoring Cal data from OTP
> Jul  9 20:14:19 faunus kernel: ar9300_hw_attach: ar9300_eeprom_attach returned 0
> Jul  9 20:14:19 faunus kernel: ath0: [HT] enabling HT modes
> Jul  9 20:14:19 faunus kernel: ath0: [HT] enabling short-GI in 20MHz mode
> Jul  9 20:14:19 faunus kernel: ath0: [HT] 1 stream STBC receive enabled
> Jul  9 20:14:19 faunus kernel: ath0: [HT] 1 stream STBC transmit enabled
> Jul  9 20:14:19 faunus kernel: ath0: [HT] LDPC transmit/receive enabled
> Jul  9 20:14:19 faunus kernel: ath0: [HT] 2 RX streams; 2 TX streams
> Jul  9 20:14:19 faunus kernel: ath0: AR9460 mac 640.2 RF5110 phy 449.2
> Jul  9 20:14:19 faunus kernel: ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000
> [..]
> Jul  9 20:14:19 faunus kernel: SMP: AP CPU #1 Launched!
> Jul  9 20:14:19 faunus kernel: Timecounter "TSC" frequency 1396796704 Hz quality 1000
> Jul  9 20:14:19 faunus kernel: Trying to mount root from zfs:zroot/ROOT/default []...
> Jul  9 20:14:19 faunus kernel: wlan0: Ethernet address: 9c:d2:1e:9b:e6:41
> Jul  9 20:14:20 faunus wpa_supplicant[295]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress
> Jul  9 20:14:20 faunus wpa_supplicant[295]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1
> Jul  9 20:14:21 faunus wpa_supplicant[295]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress
> Jul  9 20:14:21 faunus wpa_supplicant[295]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1
>
>
> The final messages from wpa_supplicant keep repeating until reboot.
>
>
> Any hints what to do to help tracking this down? And probably unrelated
> to this: Does anyone know why this machine thinks that only 2 of the 4GB
> RAM are usable?
>
> Wolfgang
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Sat Jul 09 2016 - 17:33:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:06 UTC