Panic when enabling 5GHz radio on Linksys e3000

Enabling the 5GHz radio with plain 18.06.2 on a Linksys e3000 leads to the following panic. As I understand the 5GHz interface requires the broadcom-wl drivers, but it would be nice to not panic.

Thanks, Roger.

    0.000000] Linux version 4.14.95 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7627-753531d)) #0 Mon Jan 28 08:54:32 2019
[    0.000000] CPU0 revision is: 00019740 (MIPS 74Kc)
[    0.000000] bcm47xx: Using bcma bus
[    0.000000] bcma: bus0: Found chip with id 0x4716, rev 0x01 and package 0x0A
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 32kB, 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-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] random: get_random_bytes called from 0x80455734 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 60004K/65536K available (3805K kernel code, 160K rwdata, 460K rodata, 172K init, 280K bss, 5532K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 128
[    0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x1F, class 0x0)
[    0.000000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x11, class 0x0)
[    0.000000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x00, class 0x0)
[    0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0x01, class 0x0)
[    0.000000] bcma: bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id 0x819, rev 0x04, class 0x0)
[    0.000000] bcma: bus0: Core 5 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0E, class 0x0)
[    0.000000] bcma: bus0: Core 6 found: DDR1/DDR2 Memory Controller (manuf 0x4BF, id 0x82E, rev 0x01, class 0x0)
[    0.000000] bcma: bus0: Core 7 found: Internal Memory (manuf 0x4BF, id 0x80E, rev 0x07, class 0x0)
[    0.000000] bcma: bus0: Core 8 found: I2S (manuf 0x4BF, id 0x834, rev 0x00, class 0x0)
[    0.000000] bcma: bus0: Early bus registered
[    0.000000] MIPS: machine is Linksys E3000 V1
[    0.000000] bcm47xx: Setting up vectored interrupts
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7963585194 ns
[    0.000016] sched_clock: 32 bits at 240MHz, resolution 4ns, wraps every 8947848189ns
[    0.000110] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
[    0.070027] pid_max: default: 32768 minimum: 301
[    0.070436] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070480] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.074334] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.074389] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.075751] NET: Registered protocol family 16
[    0.076775] Can't analyze schedule() prologue at 803b3c18
[    0.106221] clocksource: Switched to clocksource MIPS
[    0.108634] NET: Registered protocol family 2
[    0.110203] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.110350] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.110393] TCP: Hash tables configured (established 1024 bind 1024)
[    0.110673] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.110731] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.111186] NET: Registered protocol family 1
[    0.166526]  2(S)*
[    0.166534]  3
[    0.166558]  4
[    0.166574]  5
[    0.166589]  6
[    0.166603]  D
[    0.166618]  I
[    0.166632]
[    0.166663]  2(S)
[    0.166670]  3*
[    0.166686]  4
[    0.166700]  5
[    0.166714]  6
[    0.166729]  D
[    0.166743]  I
[    0.166757]
[    0.166788]  2(S)
[    0.166795]  3
[    0.166810]  4*
[    0.166825]  5
[    0.166839]  6
[    0.166853]  D
[    0.166867]  I
[    0.166881]
[    0.166911]  2(S)
[    0.166919]  3
[    0.166933]  4
[    0.166948]  5
[    0.166962]  6
[    0.166976]  D
[    0.166990]  I*
[    0.167004]
[    0.167035]  2(S)
[    0.167042]  3
[    0.167057]  4
[    0.167072]  5*
[    0.167086]  6
[    0.167100]  D
[    0.167114]  I
[    0.167128]
[    0.167159]  2(S)
[    0.167166]  3
[    0.167181]  4
[    0.167196]  5
[    0.167210]  6*
[    0.167224]  D
[    0.167238]  I
[    0.167252]
[    0.167283]  2(S)
[    0.167290]  3
[    0.167305]  4
[    0.167319]  5
[    0.167334]  6
[    0.167348]  D*
[    0.167362]  I
[    0.167376]
[    0.167406]  2(S)
[    0.167413]  3
[    0.167428]  4
[    0.167442]  5
[    0.167457]  6
[    0.167471]  D
[    0.167485]  I*
[    0.167499]
[    0.167529]  2(S)*
[    0.167536]  3
[    0.167551]  4
[    0.167566]  5
[    0.167580]  6
[    0.167594]  D
[    0.167609]  I
[    0.167622]
[    0.167647] bcma: bus0: PCIEcore in host mode found
[    0.371566] PCI host bridge to bus 0000:00
[    0.371624] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0bffffff]
[    0.371654] pci_bus 0000:00: root bus resource [io  0x0100-0x07ff]
[    0.371683] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.371715] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.371844] bcma: PCI: Fixing up bridge 0000:00:00.0
[    0.371871] bcma: PCI: Fixing up device 0000:00:00.0
[    0.372018] pci 0000:00:00.0: enabling Extended Tags
[    0.372589] bcma: PCI: Fixing up bridge 0000:00:00.1
[    0.372624] bcma: PCI: Fixing up device 0000:00:00.1
[    0.372768] pci 0000:00:00.1: enabling Extended Tags
[    0.373557] pci 0000:00:01.0: enabling Extended Tags
[    0.373598] bcma: PCI: Fixing up addresses 0000:00:01.0
[    0.373646] pci 0000:00:01.0: BAR 0: assigned [mem 0x08000000-0x08003fff 64bit]
[    0.374460] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[    0.374495] bcma: PCI: Fixing up device 0000:00:01.0
[    0.426268] ssb: Found chip with id 0x4322, rev 0x01 and package 0x0A
[    0.697318] ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0
[    0.699063] bcma: bus0: Bus registered
[    0.700517] Crashlog allocated RAM at address 0x3f00000
[    0.709120] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.718697] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.718735] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.738814] io scheduler noop registered
[    0.738853] io scheduler deadline registered (default)
[    0.739432] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.743750] console [ttyS0] disabled
[    0.764024] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2, base_baud = 1250000) is a U6_16550A
[    1.435296] console [ttyS0] enabled
[    1.440391] physmap platform flash device: 02000001 at 1c000000
[    1.446624] physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0000cb
[    1.457107] Amd/Fujitsu Extended Query Table at 0x0040
[    1.462347]   Amd/Fujitsu Extended Query version 1.1.
[    1.467546] number of CFI chips: 1
[    1.515553] 3 bcm47xxpart partitions found on MTD device physmap-flash.0
[    1.522418] Creating 3 MTD partitions on "physmap-flash.0":
[    1.528139] 0x000000000000-0x000000040000 : "boot"
[    1.538905] 0x000000040000-0x0000007f0000 : "firmware"
[    1.545635] 3 trx partitions found on MTD device firmware
[    1.551237] Creating 3 MTD partitions on "firmware":
[    1.556346] 0x00000000001c-0x000000000948 : "loader"
[    1.566003] 0x000000000948-0x000000172c00 : "linux"
[    1.573485] 0x000000172c00-0x0000007b0000 : "rootfs"
[    1.580097] mtd: device 4 (rootfs) set to be root filesystem
[    1.585903] 1 squashfs-split partitions found on MTD device rootfs
[    1.592314] 0x0000003f0000-0x0000007b0000 : "rootfs_data"
[    1.603210] 0x0000007f0000-0x000000800000 : "nvram"
[    1.615528] libphy: Fixed MDIO Bus: probed
[    1.620260] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds)
[    1.628237] GPIO_WDT: failed to register misc device
[    1.635322] NET: Registered protocol family 10
[    1.647721] Segment Routing with IPv6
[    1.651625] NET: Registered protocol family 17
[    1.656349] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.669571] 8021q: 802.1Q VLAN Support v1.8
[    1.684123] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.692540] Freeing unused kernel memory: 172K
[    1.697145] This architecture does not have kernel memory protection.
[    2.486320] init: Console is alive
[    2.490266] init: - watchdog -
[    2.546246] random: fast init done
[    3.730345] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.877412] usbcore: registered new interface driver usbfs
[    3.883248] usbcore: registered new interface driver hub
[    3.888953] usbcore: registered new device driver usb
[    3.903260] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.912650] ehci-platform: EHCI generic platform driver
[    3.918239] ehci-platform ehci-platform.0: EHCI Host Controller
[    3.924373] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    3.932860] ehci-platform ehci-platform.0: irq 5, io mem 0x18004000
[    3.966285] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    3.974547] hub 1-0:1.0: USB hub found
[    3.979183] hub 1-0:1.0: 2 ports detected
[    3.988661] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.997695] ohci-platform: OHCI generic platform driver
[    4.003160] ohci-platform ohci-platform.0: Generic Platform OHCI controller
[    4.010409] ohci-platform ohci-platform.0: new USB bus registered, assigned bus number 2
[    4.018843] ohci-platform ohci-platform.0: irq 5, io mem 0x18009000
[    4.091946] hub 2-0:1.0: USB hub found
[    4.096706] hub 2-0:1.0: 2 ports detected
[    4.108849] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.127569] init: - preinit -
[    5.652339] random: jshn: uninitialized urandom read (4 bytes read)
[    5.819545] random: jshn: uninitialized urandom read (4 bytes read)
[    5.935828] random: jshn: uninitialized urandom read (4 bytes read)
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    9.821835] jffs2: notice: (389) jffs2_build_xattr_subsystem: complete building xattr subsystem, 25 of xdatum (0 unchecked, 23 orphan) and 26 of xref (23 dead, 0 orphan) found.
[    9.839980] mount_root: switching to jffs2 overlay
[    9.885783] overlayfs: upper fs does not support tmpfile.
[    9.900355] urandom-seed: Seeding with /etc/urandom.seed
[   10.037222] procd: - early -
[   10.040405] procd: - watchdog -
[   10.759782] procd: - watchdog -
[   10.763783] procd: - ubus -
[   10.868453] urandom_read: 1 callbacks suppressed
[   10.868468] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.884927] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.892270] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.901129] procd: - init -
Please press Enter to activate this console.
[   11.805274] kmodloader: loading kernel modules from /etc/modules.d/*
[   11.898899] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   11.928903] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   11.937154] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   11.949045] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.969719] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   12.076191] xt_time: kernel timezone is -0000
[   12.083677] bgmac_bcma bcma0:2: Found PHY addr: 30 (NOREGS)
[   12.127875] libphy: bcma_mdio mii bus: probed
[   12.132342] bgmac_bcma bcma0:2: Support for Roboswitch not implemented
[   12.311747] b53_common: found switch: BCM53115, rev 8
[   12.318830] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
[   12.567445] PPP generic driver version 2.4.2
[   12.587908] NET: Registered protocol family 24
[   12.613896] b43-phy0: Broadcom 4716 WLAN found (core revision 17)
[   12.732117] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 5
[   12.738424] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2056, Revision 7, Version 0
[   12.746946] b43-phy1: Broadcom 4322 WLAN found (core revision 16)
[   12.910552] b43-phy1: Found PHY: Analog 8, Type 4 (N), Revision 4
[   12.916860] b43-phy1: Found Radio: Manuf 0x17F, ID 0x2056, Revision 3, Version 0
[   12.954599] Broadcom 43xx driver loaded [ Features: PNL ]
[   12.996071] kmodloader: done loading kernel modules from /etc/modules.d/*
[   25.588729] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   25.642343] br-lan: port 1(eth0.2) entered blocking state
[   25.647995] br-lan: port 1(eth0.2) entered disabled state
[   25.654099] device eth0.2 entered promiscuous mode
[   25.659103] device eth0 entered promiscuous mode
[   25.722725] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   25.878897] IPv6: ADDRCONF(NETDEV_UP): eth0.20: link is not ready
[   26.646914] bgmac_bcma bcma0:2 eth0: Link is Up - 1Gbps/Full - flow control off
[   26.654445] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   26.770005] br-lan: port 1(eth0.2) entered blocking state
[   26.775567] br-lan: port 1(eth0.2) entered forwarding state
[   26.781677] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.20: link becomes ready
[   26.906376] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   31.776369] b43-phy1: Loading firmware version 666.2 (2011-02-23 01:15:07)
[   31.833071] Data bus error, epc == 801c59f8, ra == 80252ebc
[   31.838740] Oops[#1]:
[   31.841062] CPU: 0 PID: 1337 Comm: hostapd Not tainted 4.14.95 #0
[   31.847249] task: 838e4b00 task.stack: 8338e000
[   31.851847] $ 0   : 00000000 1100b400 00000002 1100b403
[   31.857186] $ 4   : a80003fa 83823858 00000108 00007000
[   31.862519] $ 8   : 0000002e 00000000 00000001 8338fbf4
[   31.867852] $12   : 00000000 00000006 00000002 00000000
[   31.873184] $16   : 83823800 83823858 000003fa 83823b28
[   31.878517] $20   : 83823834 00000017 00000007 00000002
[   31.883850] $24   : 00000000 80252e5c
[   31.889183] $28   : 8338e000 8338fb08 833df500 80252ebc
[   31.894517] Hi    : 00000006
[   31.897448] Lo    : a8f5c2aa
[   31.900385] epc   : 801c59f8 0x801c59f8
[   31.904281] ra    : 80252ebc 0x80252ebc
[   31.908174] Status: 1100b403	KERNEL EXL IE
[   31.912445] Cause : 4080801c (ExcCode 07)
[   31.916520] PrId  : 00019740 (MIPS 74Kc)
[   31.920502] Modules linked in: pppoe ppp_async b43 pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 bgmac_bcma xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat bgmac_bcma_mdio bgmac ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables leds_gpio ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common ssb_hcd bcma_hcd
[   31.992378] Process hostapd (pid: 1337, threadinfo=8338e000, task=838e4b00, tls=77f2edc0)
[   32.000670] Stack : 804aea98 80430000 00000001 801fce60 80435460 804389e8 82c205b0 82c205b0
[   32.009204]         00000000 8338fb40 80435460 00000001 00000001 0c080083 00000001 0c080083
[   32.017732]         00000080 00000000 00000004 80482324 00000001 83108804 00000007 00000002
[   32.026259]         833df500 83108800 00000000 00000095 00007000 83294dac 00000008 1100b400
[   32.034787]         80482324 00000074 832cb330 00000095 00007000 8338fbc0 833df500 802607d8
[   32.043313]         ...
[   32.045805] Call Trace:
[   32.045821] [<801fce60>] 0x801fce60
[   32.051912] [<83294dac>] 0x83294dac [b43@83280000+0x579d0]
[   32.057493] [<802607d8>] 0x802607d8
[   32.061068] [<83294d48>] 0x83294d48 [b43@83280000+0x579d0]
[   32.066646] [<83293550>] 0x83293550 [b43@83280000+0x579d0]
[   32.072231] [<83293c98>] 0x83293c98 [b43@83280000+0x579d0]
[   32.077827] [<83297cf4>] 0x83297cf4 [b43@83280000+0x579d0]
[   32.083395] [<801cf24c>] 0x801cf24c
[   32.086974] [<80252814>] 0x80252814
[   32.090523] [<80252778>] 0x80252778
[   32.094106] [<832944e0>] 0x832944e0 [b43@83280000+0x579d0]
[   32.099714] [<83294558>] 0x83294558 [b43@83280000+0x579d0]
[   32.105313] [<832879c4>] 0x832879c4 [b43@83280000+0x579d0]
[   32.110886] [<8026ad94>] 0x8026ad94
[   32.114461] [<83288414>] 0x83288414 [b43@83280000+0x579d0]
[   32.120050] [<83203280>] 0x83203280 [mac80211@83200000+0x67de0]
[   32.126080] [<832177dc>] 0x832177dc [mac80211@83200000+0x67de0]
[   32.132105] [<80289438>] 0x80289438
[   32.135663] [<80289784>] 0x80289784
[   32.139237] [<80289870>] 0x80289870
[   32.142791] [<802a68dc>] 0x802a68dc
[   32.146348] [<80306b7c>] 0x80306b7c
[   32.149902] [<802a68dc>] 0x802a68dc
[   32.153466] [<8026770c>] 0x8026770c
[   32.157039] [<800ec214>] 0x800ec214
[   32.160589] [<8026d53c>] 0x8026d53c
[   32.164149] [<80268d68>] 0x80268d68
[   32.167724] [<800ec304>] 0x800ec304
[   32.171275] [<8000fc98>] 0x8000fc98
[   32.174834]
[   32.176352] Code: 03e00008  00000000  94820000 <3042ffff> 0000000f  03e00008  00000000  8c820000  0000000f
[   32.186313]
[   32.187987] ---[ end trace aa1bf2837d417b52 ]---
[   32.196659] Kernel panic - not syncing: Fatal exception
[   32.204157] Rebooting in 3 seconds..
[   35.203282] bcm47xx: Please stand by while rebooting the system...

If you understand, why did you enable it with b43 drivers then?

https://openwrt.org/packages/pkgdata/kmod-brcm-wl