[FS#3489] BulletM5 ath9k wlan not detected

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Sat Dec 5 05:47:00 EST 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#3489 - BulletM5 ath9k wlan not detected
User who did this - Russell Senior (russell)

----------
I don't know what you'd expect under /sys/firmware. All I see is some references to the device tree. The calibration data is in the art partition, afaik. I see data when I do this: 

  dd if=/dev/mtd8 | hexdump -C

I flashed this so long ago, I don't recall what version of Ubiquiti's software was on it, but it would have been 5.5.something.  Here's the hash of my u-boot:

# dd if=/dev/mtd0 bs=64k | sha256sum
4+0 records in
4+0 records out
4371527ea4d5ff526884ed387fbc084c73722b76488a0d3dc02a55c297e658e8  -


Here's my bootlog (note, this is a custom build, it has batman-adv installed).

U-Boot 1.1.4.2 (Jul 13 2010 - 20:06:30)

Board: Ubiquiti Networks XM board (rev 0.0 e205)
DRAM:  32 MB
Flash:  8 MB
Net:   eth0, eth1
Hit any key to stop autoboot:  0 
## Booting image at 9f050000 ...
   Image Name:   MIPS OpenWrt Linux-5.4.81
   Created:      2020-12-05   9:26:39 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1988520 Bytes =  1.9 MB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 5.4.81 (openwrt at hawg) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r15142-0efbfef4f6)) #0 Sat Dec 5 09:26:39 2020
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] MIPS: machine is Ubiquiti Bullet M (XM AR7240)
[    0.000000] SoC: Atheros AR7240 rev 2
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000]   Normal zone: 72 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8120
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 24960K/32768K available (4751K kernel code, 181K rwdata, 1096K rodata, 1196K init, 195K bss, 7808K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] random: get_random_bytes called from start_kernel+0x32c/0x518 with crng_init=0
[    0.000000] CPU clock: 390.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9801335621 ns
[    0.000012] sched_clock: 32 bits at 195MHz, resolution 5ns, wraps every 11012737021ns
[    0.007887] Calibrating delay loop... 259.58 BogoMIPS (lpj=519168)
[    0.046048] pid_max: default: 32768 minimum: 301
[    0.050892] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.058187] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.072312] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.082068] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.089019] pinctrl core: initialized pinctrl subsystem
[    0.095663] NET: Registered protocol family 16
[    0.142525] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.157052] clocksource: Switched to clocksource MIPS
[    0.163935] NET: Registered protocol family 2
[    0.169620] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.178032] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.185685] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.192728] TCP: Hash tables configured (established 1024 bind 1024)
[    0.199295] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.205876] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.213310] NET: Registered protocol family 1
[    0.217719] PCI: CLS 0 bytes, default 32
[    0.227143] workingset: timestamp_bits=14 max_order=13 bucket_order=0
[    0.245125] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.250940] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.282576] pinctrl-single 18040028.pinmux: 64 pins, size 8
[    0.289665] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.297170] printk: console [ttyS0] disabled
[    0.301518] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 12187500) is a 16550A
[    0.310207] printk: console [ttyS0] enabled
[    0.318604] printk: bootconsole [early0] disabled
[    0.338068] spi-nor spi0.0: mx25l6405d (8192 Kbytes)
[    0.343196] 6 fixed-partitions partitions found on MTD device spi0.0
[    0.349591] Creating 6 MTD partitions on "spi0.0":
[    0.354443] 0x000000000000-0x000000040000 : "u-boot"
[    0.360890] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.367675] 0x000000050000-0x0000007a0000 : "firmware"
[    0.379190] 2 uimage-fw partitions found on MTD device firmware
[    0.385208] Creating 2 MTD partitions on "firmware":
[    0.390219] 0x000000000000-0x0000001f0000 : "kernel"
[    0.396536] 0x0000001f0000-0x000000750000 : "rootfs"
[    0.402945] mtd: device 4 (rootfs) set to be root filesystem
[    0.411384] 1 squashfs-split partitions found on MTD device rootfs
[    0.417698] 0x000000590000-0x000000750000 : "rootfs_data"
[    0.424555] 0x0000007a0000-0x0000007b0000 : "board_config"
[    0.431563] 0x0000007b0000-0x0000007f0000 : "cfg"
[    0.437853] 0x0000007f0000-0x000000800000 : "art"
[    0.447096] libphy: Fixed MDIO Bus: probed
[    0.799191] libphy: ag71xx_mdio: probed
[    0.804145] libphy: ar8xxx-mdio: probed
[    0.811514] switch0: Atheros AR724X/AR933X built-in rev. 2 switch registered on mdio.0
[    0.851248] ag71xx 19000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[    0.861366] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[    0.867711] i2c /dev entries driver
[    0.874570] NET: Registered protocol family 10
[    0.887018] Segment Routing with IPv6
[    0.890965] NET: Registered protocol family 17
[    0.895537] 8021q: 802.1Q VLAN Support v1.8
[    0.900992] PCI host bridge /ahb/apb/pcie-controller at 180c0000 ranges:
[    0.907577]  MEM 0x0000000010000000..0x0000000013ffffff
[    0.912850]   IO 0x0000000000000000..0x0000000000000000
[    0.918384] PCI host bridge to bus 0000:00
[    0.922562] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.929481] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.935102] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.941934] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.949947] pci 0000:00:00.0: [168c:002a] type 00 class 0x028000
[    0.956069] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    0.963075] pci 0000:00:00.0: supports D1
[    0.967124] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.974477] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.981194] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    1.003297] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.020442] Freeing unused kernel memory: 1196K
[    1.025035] This architecture does not have kernel memory protection.
[    1.031504] Run /sbin/init as init process
[    1.145066] random: fast init done
[    2.257914] init: Console is alive
[    2.261815] init: - watchdog -
[    3.840862] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.212726] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.231665] init: - preinit -
[    6.615968] random: jshn: uninitialized urandom read (4 bytes read)
[    7.083695] random: jshn: uninitialized urandom read (4 bytes read)
[    7.229904] random: jshn: uninitialized urandom read (4 bytes read)
[    7.638095] urandom_read: 3 callbacks suppressed
[    7.638107] random: jshn: uninitialized urandom read (4 bytes read)
[    8.041590] eth0: link up (100Mbps/Full duplex)
[    8.048098] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.074665] random: procd: uninitialized urandom read (4 bytes read)
[   12.457838] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[   12.471368] urandom-seed: Seed file not found (/etc/urandom.seed)
[   12.632908] eth0: link down
[   12.655777] procd: - early -
[   12.658927] procd: - watchdog -
[   13.351570] procd: - watchdog -
[   13.514313] procd: - ubus -
[   13.568258] random: ubusd: uninitialized urandom read (4 bytes read)
[   13.575371] random: ubusd: uninitialized urandom read (4 bytes read)
[   13.583423] procd: - init -
[   15.037949] kmodloader: loading kernel modules from /etc/modules.d/*
[   15.389252] Loading modules backported from Linux version v5.8-0-gbcf876870b95
[   15.396555] Backport generated by backports.git v5.8-1-0-g79400d9e
[   15.630160] batman_adv: B.A.T.M.A.N. advanced 2020.4-openwrt-1 (compatibility version 15) loaded
[   15.680215] ath9k 0000:00:00.0: Direct firmware load for ath9k-eeprom-pci-0000:00:00.0.bin failed with error -2
[   15.690438] ath9k 0000:00:00.0: Falling back to sysfs fallback for: ath9k-eeprom-pci-0000:00:00.0.bin
[   16.055260] urngd: v1.0.2 started.
[   16.384366] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[   16.393042] ath: EEPROM regdomain sanitized
[   16.393049] ath: EEPROM regdomain: 0x64
[   16.393055] ath: EEPROM indicates we should expect a direct regpair map
[   16.393081] ath: Country alpha2 being used: 00
[   16.393086] ath: Regpair used: 0x64
[   16.410269] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.413742] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=13
[   16.506281] kmodloader: done loading kernel modules from /etc/modules.d/*
[   16.653430] random: crng init done
[   34.125963] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   34.145113] jffs2_build_filesystem(): unlocking the mtd device... 
[   34.145123] done.
[   34.153302] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   39.627668] eth0: link up (100Mbps/Full duplex)
[   39.643261] br-pub: port 1(eth0) entered blocking state
[   39.648591] br-pub: port 1(eth0) entered disabled state
[   39.686951] device eth0 entered promiscuous mode
[   39.711684] br-pub: port 1(eth0) entered blocking state
[   39.717017] br-pub: port 1(eth0) entered forwarding state
[   40.644449] IPv6: ADDRCONF(NETDEV_CHANGE): br-pub: link becomes ready
[   41.592881] 8021q: adding VLAN 0 to HW filter on device bat0
[   41.627962] br-pub: port 2(bat0) entered blocking state
[   41.633297] br-pub: port 2(bat0) entered disabled state
[   41.639039] device bat0 entered promiscuous mode
[   41.643948] br-pub: port 2(bat0) entered blocking state
[   41.649246] br-pub: port 2(bat0) entered forwarding state
[   42.117161] batman_adv: bat0: No IGMP Querier present - multicast optimizations disabled
[   42.125318] batman_adv: bat0: No MLD Querier present - multicast optimizations disabled
[   42.803746] ath: EEPROM regdomain: 0x8348
[   42.803758] ath: EEPROM indicates we should expect a country code
[   42.803770] ath: doing EEPROM country->regdmn map search
[   42.803780] ath: country maps to regdmn code: 0x3a
[   42.803787] ath: Country alpha2 being used: US
[   42.803792] ath: Regpair used: 0x3a
[   42.803803] ath: regdomain 0x8348 dynamically updated by user
[   46.685558] br-pub: port 3(wlan0) entered blocking state
[   46.691095] br-pub: port 3(wlan0) entered disabled state
[   46.696945] device wlan0 entered promiscuous mode
[   46.742160] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   46.748834] br-pub: port 3(wlan0) entered blocking state
[   46.754229] br-pub: port 3(wlan0) entered forwarding state
[   48.471185] IPv6: ADDRCONF(NETDEV_CHANGE): mesh0: link becomes ready
[   49.002802] batman_adv: bat0: Adding interface: mesh0
[   49.007982] batman_adv: bat0: Interface activated: mesh0
[   51.015360] done.
[   51.017543] jffs2: notice: (1400) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   51.596099] overlayfs: upper fs does not support tmpfile.
[   66.540065] device wlan0 left promiscuous mode
[   66.544773] br-pub: port 3(wlan0) entered disabled state
[   66.964531] batman_adv: bat0: Interface deactivated: mesh0
[   67.516085] batman_adv: bat0: Removing interface: mesh0
[   73.052820] br-pub: port 3(wlan0) entered blocking state
[   73.058388] br-pub: port 3(wlan0) entered disabled state
[   73.064266] device wlan0 entered promiscuous mode
[   73.219758] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   73.226424] br-pub: port 3(wlan0) entered blocking state
[   73.231819] br-pub: port 3(wlan0) entered forwarding state
[   74.993646] IPv6: ADDRCONF(NETDEV_CHANGE): mesh0: link becomes ready
[   75.802603] batman_adv: bat0: Adding interface: mesh0
[   75.808045] batman_adv: bat0: Interface activated: mesh0
----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3489#comment9100

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list