Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2023 00:49:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        wireless@FreeBSD.org
Subject:   [Bug 256255] Atheros AR9462 sometimes not recognised
Message-ID:  <bug-256255-21060-OFciGyDyf0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-256255-21060@https.bugs.freebsd.org/bugzilla/>
References:  <bug-256255-21060@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256255

Tom <freebsd@fizz.buzz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freebsd@fizz.buzz

--- Comment #14 from Tom <freebsd@fizz.buzz> ---
I've identified one cause of this issue as commit
https://cgit.freebsd.org/src/commit/?id=3D116679b39cb94fdb94c02dceb1c2cae71=
9bd3f42
which was cherry-picked into the releng/13.* tree in commit
fddbdafd2d112e65c61800edca087992e5b80abc . This commit happened chronologic=
ally
after the initial report, so it can't be the only cause, but I have the same
symptoms and the same work-arounds.

Methodology:

I can reproduce this issue with 100% success rate with only the base system=
 by
having my laptop (framework tigerlake) plugged into my dock (lenovo 40B0013=
5US)
when it boots. The issue doesn't happen on FreeBSD 13.1 but it happens on
FreeBSD 13.2.

I created a pristine boot environment by extracting base.txz and kernel.txz
from 13.1 into a zfs dataset. I never installed any additional software on =
it
(no packages or ports, just the base system. To change the git revision in
/usr/src I'd mount the boot environment from my linux install to use git fr=
om
there since its not in the base system). I put in the following configs:

/boot/loader.conf:
    zfs_load=3D"YES"

/etc/rc.conf
    wlans_ath0=3D"wlan0"
    ifconfig_wlan0=3D"WPA DHCP"

/etc/src.conf
    WITHOUT_LLVM_TARGET_ALL=3DYES

/etc/wpa_supplicant.conf
    ctrl_interface=3D/var/run/wpa_supplicant
    eapol_version=3D2
    ap_scan=3D1
    fast_reauth=3D1

    network=3D{
        ssid=3D"MyRealSSIDHere"
        psk=3D"MyRealPasswordHere"
        priority=3D5
    }

I then used git bisect between 8824cbace389c440394bb9ea6c127d0f8f85538b (git
merge-base releng/13.1 releng/13.2) and
4341433a673fde3e1c1554b9daa15d4db71f6edb (releng/13.2). At each step I woul=
d:

- compile FreeBSD from source and install it in-place over the  pristine bi=
nary
install (make buildworld buildkernel && make installkernel && reboot && make
installworld && etcupdate -B && reboot)
- reboot into the new system, and attempt to ping 8.8.4.4 and ifconfig.co .
- boot into my linux boot environment, zfs rollback to the pristine binary =
13.1
state from before compiling FreeBSD, and update /usr/src to the next revisi=
on
in the git bisect
- rinse and repeat for a day and half until reaching the "bad" commit

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256255-21060-OFciGyDyf0>