From nobody Thu Jun 8 23:02:19 2023 X-Original-To: wireless@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qcfqb6s5Nz4br3V for ; Thu, 8 Jun 2023 23:02:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qcfqb5ls5z3PDx for ; Thu, 8 Jun 2023 23:02:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686265339; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WkLuqhvIJo30DpW/U1vOTocHLbOq17ng//tA3TBXek0=; b=x13vxFFMniSjpwLgEGbxvCE+vJEcLmpjaru1GzgPZGXhOq3pBKqFhTFkBdSO/1jeQ3VStu w5fXFSnVfQaNm6twRXQRMJkS04rAwrterNvXH1BpJ3CoINNAXoqbRhgHrOdp4qXWDpCJVW slCdMLAjKJkuj9fY2FKyo7k3oWBJimZ6yP0h33C4jTxadhHNCWCjvfGZj8lDNjNpwqGxeI kGrkqpnfr7Zk/Jh1ilIIgl2KI6z117WdvIUck8iNlslUhugTIjxZPyS6el+OYiwBIgH+CH Q69Uo538dmCi9wq39XZJkcYE4VzDvB1omxmJmLjYXzNBU9stxOZMJ7CJ0u+UFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686265339; a=rsa-sha256; cv=none; b=lWlexaEYEO/dcr2O6k3oPtYH22zCMUZDrMfceYGxCJeq2EoLIupKDdrPyt9JnyyZR78o87 +dq86jt9vuaDPH/aHRA98ToskcCAIT2kH3F77Hd/N1JiavjZWul05VDZtvqwu72Fq2g+aS KfVRk2Ag5p9UAf9SMEwRDw9ioKscJrrnVAi9CTsNnR9oJSSBKw6VifM77ObV6Vj2r/yQpz 6XR0qX5l9W2zyb6GtAy0KHUAxbmiklC0VlTQwTQ2H40ANEwiZ830kKLzI7seSHV3ooUeQ+ NVvdf6wdu1FXbwColOo/zq149jQlfCIacysa8NhgX58WXJVcH2UELCfMsChO3g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Qcfqb4qvfz1Bsh for ; Thu, 8 Jun 2023 23:02:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 358N2J1c023110 for ; Thu, 8 Jun 2023 23:02:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 358N2J8K023109 for wireless@FreeBSD.org; Thu, 8 Jun 2023 23:02:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 255337] ath(4): Atheros AR9462 identified correctly but does not function Date: Thu, 08 Jun 2023 23:02:19 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: john@jnielsen.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255337 --- Comment #10 from John Nielsen --- According to feedback from Adrian and others on freebsd-wireless it seems t= he EEPROM is not being read correctly for this card under FreeBSD. This is par= t of the dmesg output from FreeBSD on my laptop: ath0: mem 0xf7a00000-0xf7a7ffff at device 0.0 on pc= i4 ar9300_flash_map: unimplemented for now Restoring Cal data from DRAM Restoring Cal data from EEPROM Restoring Cal data from Flash Restoring Cal data from Flash Restoring Cal data from OTP ar9300_eeprom_restore_internal[4338] No vaid CAL, calling default template It tries to read all the places and doesn't succeed from any of them. The hard-coded ar9300 default template is where the 00:02:03:04:05:06 MAC addre= ss comes from. I was able to boot the same laptop under Linux (where the wireless works as expected) with the ath9k EEPROM debug messages enabled and got the followin= g: [ 0.039398] Kernel command line: BOOT_IMAGE=3D/arch/boot/x86_64/vmlinuz-linux-jn archisobasedir=3Darch archisodevice=3DUUID=3D2023-06-08-21-40-20-00 ath9k.debug=3D0x4 [ 17.692752] ath9k 0000:04:00.0: enabling device (0000 -> 0002) [ 17.696711] ath: phy0: Trying EEPROM access at Address 0x03ff [ 17.697238] ath: phy0: Found valid EEPROM data [ 17.697763] ath: phy0: Found block at 3ff: code=3D3 ref=3D4 length=3D794= major=3D4 minor=3D6 [ 17.803208] ath: phy0: checksum a5cc a5cc [ 17.803214] ath: phy0: restore eeprom 0: block, reference 4, length 794 It succeeds at reading the EEPROM data on the first attempt and gets all the appropriate information (including a valid MAC address). Hopefully this gets us closer to at least knowing where the problem is. I p= lan to keep poking at it as I have time. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=