LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   slarm64 no wifi (https://www.linuxquestions.org/questions/slackware-arm-108/slarm64-no-wifi-4175660547/)

kermitdafrog8 09-08-2019 11:08 AM

slarm64 no wifi
 
I am not sure what I am missing. I installed Slarm64 on my Rpi3. For some reason the wifi adapter is not being found.

sndwvs 09-08-2019 11:49 AM

give the output of the following commands:
lsmod | grep brcmfmac
rfkill list
sudo dmesg | grep -i wifi

kermitdafrog8 09-08-2019 02:07 PM

slarm64 no wifi
 
nothing for all 3.

If I do insmod on the brcmfmac I get this.

insmod: ERROR: could not load module brcmfmac: No such file or directory

sndwvs 09-08-2019 02:26 PM

while you can see that your kernel is either not configured correctly or there is no firmware for the chip wifi.
try to take the compiled kernel modules and project firmware http://sarpi64.fatdog.eu/index.php?p=rpi3aarch64
kernel_sarpi3-4.14.10-aarch64-1_slackcurrent_sp1.txz
kernel-modules-sarpi3-4.14.10-aarch64-1_slackcurrent_sp1.txz
sarpi3-boot-firmware-aarch64-1_slackcurrent_sp1.txz

kermitdafrog8 09-08-2019 04:19 PM

slarm64 no wifi
 
I installed them but I'll do it again.

sndwvs 09-09-2019 09:52 AM

attach a log dmesg

kermitdafrog8 09-09-2019 02:24 PM

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.10-v8-arm64 (root@drie) (gcc version 5.5.0 (GCC)) #2 SMP PREEMPT Sun Jan 7 18:18:45 GMT 2018
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] Machine model: Raspberry Pi 3 Model B Rev 1.2
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 8 MiB at 0x000000003b800000
[ 0.000000] On node 0 totalpages: 245760
[ 0.000000] DMA zone: 3840 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 245760 pages, LIFO batch:31
[ 0.000000] random: fast init done
[ 0.000000] percpu: Embedded 22 pages/cpu @ffffffcbfb778000 s50456 r8192 d31464 u90112
[ 0.000000] pcpu-alloc: s50456 r8192 d31464 u90112 alloc=22*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 241920
[ 0.000000] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=646 bcm2708_fb.fbheight=406 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=tty1 nofont root=/dev/mmcblk0p3 rootfstype=ext4 rootwait ro
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.000000] Memory: 942824K/983040K available (6908K kernel code, 884K rwdata, 2352K rodata, 2624K init, 689K bss, 32024K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB)
[ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB)
[ 0.000000] .text : 0xffffff81c6480000 - 0xffffff81c6b40000 ( 6912 KB)
[ 0.000000] .rodata : 0xffffff81c6b40000 - 0xffffff81c6d90000 ( 2368 KB)
[ 0.000000] .init : 0xffffff81c6d90000 - 0xffffff81c7020000 ( 2624 KB)
[ 0.000000] .data : 0xffffff81c7020000 - 0xffffff81c70fd200 ( 885 KB)
[ 0.000000] .bss : 0xffffff81c70fd200 - 0xffffff81c71a9868 ( 690 KB)
[ 0.000000] fixed : 0xffffffbefe7fd000 - 0xffffffbefec00000 ( 4108 KB)
[ 0.000000] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB)
[ 0.000000] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum)
[ 0.000000] 0xffffffbf2f000000 - 0xffffffbf2ff00000 ( 15 MB actual)
[ 0.000000] memory : 0xffffffcbc0000000 - 0xffffffcbfc000000 ( 960 MB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 24959 entries in 98 pages
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] Failed to get local register map. FIQ is disabled for cpus > 1
[ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000244] Console: colour dummy device 80x25
[ 0.001101] console [tty1] enabled
[ 0.001136] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=19200)
[ 0.001182] pid_max: default: 32768 minimum: 301
[ 0.001534] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.001581] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.002596] Disabling memory control group subsystem
[ 0.007092] ASID allocator initialised with 65536 entries
[ 0.009085] Hierarchical SRCU implementation.
[ 0.011342] EFI services will not be available.
[ 0.013154] smp: Bringing up secondary CPUs ...
[ 0.020356] Detected VIPT I-cache on CPU1
[ 0.020421] CPU1: Booted secondary processor [410fd034]
[ 0.027460] Detected VIPT I-cache on CPU2
[ 0.027505] CPU2: Booted secondary processor [410fd034]
[ 0.034581] Detected VIPT I-cache on CPU3
[ 0.034622] CPU3: Booted secondary processor [410fd034]
[ 0.034764] smp: Brought up 1 node, 4 CPUs
[ 0.034893] SMP: Total of 4 processors activated.
[ 0.034922] CPU features: detected feature: 32-bit EL0 Support
[ 0.035148] CPU: All CPU(s) started at EL2
[ 0.035198] alternatives: patching kernel code
[ 0.036468] devtmpfs: initialized
[ 0.049521] Enabled cp15_barrier support
[ 0.049575] Enabled setend support
[ 0.049892] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[ 0.049947] futex hash table entries: 1024 (order: 5, 131072 bytes)
[ 0.050601] pinctrl core: initialized pinctrl subsystem
[ 0.050884] DMI not present or invalid.
[ 0.051223] NET: Registered protocol family 16
[ 0.056165] cpuidle: using governor menu
[ 0.056518] vdso: 2 pages (1 code @ ffffff81c6b46000, 1 data @ ffffff81c7024000)
[ 0.056567] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.060388] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.060545] Serial: AMBA PL011 UART driver
[ 0.062867] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.063533] uart-pl011 3f201000.serial: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
[ 0.097322] bcm2835-dma 3f007000.dma: DMA legacy API manager at ffffff800801d000, dmachans=0x1
[ 0.099133] SCSI subsystem initialized
[ 0.099290] usbcore: registered new interface driver usbfs
[ 0.099380] usbcore: registered new interface driver hub
[ 0.099531] usbcore: registered new device driver usb
[ 0.099762] dmi: Firmware registration failed.
[ 0.100103] raspberrypi-firmware soc:firmware: Attached to firmware from 2017-12-01 16:25
[ 0.101506] clocksource: Switched to clocksource arch_sys_counter
[ 0.195355] VFS: Disk quotas dquot_6.6.0
[ 0.195511] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.195720] FS-Cache: Loaded
[ 0.196029] CacheFiles: Loaded
[ 0.206708] NET: Registered protocol family 2
[ 0.207529] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.207699] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[ 0.207967] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.208209] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.208281] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.208613] NET: Registered protocol family 1
[ 0.209230] RPC: Registered named UNIX socket transport module.
[ 0.209260] RPC: Registered udp transport module.
[ 0.209284] RPC: Registered tcp transport module.
[ 0.209307] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.210723] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 0.212706] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[ 0.223558] FS-Cache: Netfs 'nfs' registered for caching
[ 0.224339] NFS: Registering the id_resolver key type
[ 0.224394] Key type id_resolver registered
[ 0.224420] Key type id_legacy registered
[ 0.227069] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.227288] io scheduler noop registered
[ 0.227317] io scheduler deadline registered
[ 0.227684] io scheduler cfq registered (default)
[ 0.227714] io scheduler mq-deadline registered
[ 0.227741] io scheduler kyber registered
[ 0.229653] gpio gpiochip1: GPIO chip parent is NULL
[ 0.230530] gpio gpiochip2: GPIO chip parent is NULL
[ 0.231190] BCM2708FB: allocated DMA memory fb850000
[ 0.231257] BCM2708FB: allocated DMA channel 0 @ ffffff800801d000
[ 0.238268] Console: switching to colour frame buffer device 80x25
[ 0.244741] bcm2835-rng 3f104000.rng: hwrng registered
[ 0.246206] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 0.249358] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.263078] brd: module loaded
[ 0.275793] loop: module loaded
[ 0.277103] Loading iSCSI transport class v2.0-870.
[ 0.279115] usbcore: registered new interface driver smsc95xx
[ 0.280448] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.509897] Core Release: 2.80a
[ 0.511164] Setting default values for core params
[ 0.512507] Finished setting default values for core params
[ 0.714128] Using Buffer DMA mode
[ 0.715487] Periodic Transfer Interrupt Enhancement - disabled
[ 0.716907] Multiprocessor Interrupt Enhancement - disabled
[ 0.718333] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 0.719798] Dedicated Tx FIFOs mode
[ 0.721726] WARN::dwc_otg_hcd_init:1032: FIQ DMA bounce buffers: virt = 0x08181000 dma = 0xfb844000 len=9024
[ 0.724754] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 0.731693] dwc_otg: Microframe scheduler enabled
[ 0.731747] WARN::hcd_init_fiq:486: MPHI regs_base at 0x08045000
[ 0.733250] dwc_otg 3f980000.usb: DWC OTG Controller
[ 0.734702] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 0.737523] dwc_otg 3f980000.usb: irq 15, io mem 0x00000000
[ 0.739027] Init: Port Power? op_state=1
[ 0.740485] Init: Power Port (0)
[ 0.742125] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.743597] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.746394] usb usb1: Product: DWC OTG Controller
[ 0.747841] usb usb1: Manufacturer: Linux 4.14.10-v8-arm64 dwc_otg_hcd
[ 0.749337] usb usb1: SerialNumber: 3f980000.usb
[ 0.751505] hub 1-0:1.0: USB hub found
[ 0.752938] hub 1-0:1.0: 1 port detected
[ 0.754908] dwc_otg: FIQ enabled
[ 0.754917] dwc_otg: NAK holdoff enabled
[ 0.754925] dwc_otg: FIQ split-transaction FSM enabled
[ 0.754938] Module dwc_common_port init
[ 0.755545] usbcore: registered new interface driver usb-storage
[ 0.757077] IR NEC protocol handler initialized
[ 0.758493] IR RC5(x/sz) protocol handler initialized
[ 0.759922] IR RC6 protocol handler initialized
[ 0.761334] IR JVC protocol handler initialized
[ 0.762691] IR Sony protocol handler initialized
[ 0.764027] IR SANYO protocol handler initialized
[ 0.765353] IR Sharp protocol handler initialized
[ 0.766599] IR MCE Keyboard/mouse protocol handler initialized
[ 0.767852] IR XMP protocol handler initialized
[ 0.769695] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[ 0.771317] bcm2835-cpufreq: min=600000 max=1200000
[ 0.773045] sdhci: Secure Digital Host Controller Interface driver
[ 0.774374] sdhci: Copyright(c) Pierre Ossman
[ 0.775951] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[ 0.777411] Error: Driver 'sdhost-bcm2835' is already registered, aborting...
[ 0.778755] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.782863] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.784437] hidraw: raw HID events driver (C) Jiri Kosina
[ 0.785992] usbcore: registered new interface driver usbhid
[ 0.787419] usbhid: USB HID core driver
[ 0.789057] Initializing XFRM netlink socket
[ 0.790450] NET: Registered protocol family 17
[ 0.791931] Key type dns_resolver registered
[ 0.794369] registered taskstats version 1
[ 0.803976] uart-pl011 3f201000.serial: cts_event_workaround enabled
[ 0.805584] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 72, base_baud = 0) is a PL011 rev2
[ 0.810570] sdhost: log_buf @ ffffff800808d000 (fb847000)
[ 0.856514] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 0.859845] of_cfs_init
[ 0.861444] of_cfs_init: OK
[ 0.863567] Waiting for root device /dev/mmcblk0p3...
[ 0.925688] mmc0: host does not support reading read-only switch, assuming write-enable
[ 0.930810] mmc0: new high speed SDXC card at address 59b4
[ 0.932920] bounce: isa pool size: 16 pages
[ 0.934558] mmcblk0: mmc0:59b4 SDU3 118 GiB
[ 0.937507] mmcblk0: p1 p2 p3
[ 0.964988] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[ 0.967967] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
[ 0.977636] devtmpfs: mounted
[ 0.984196] Freeing unused kernel memory: 2624K
[ 0.985909] Indeed it is in host mode hprt0 = 00021501
[ 1.160303] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.162127] Indeed it is in host mode hprt0 = 00001101
[ 1.350050] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 1.350062] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.350908] hub 1-1:1.0: USB hub found
[ 1.351044] hub 1-1:1.0: 5 ports detected
[ 1.637533] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 1.726987] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 1.728501] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.734190] smsc95xx v1.0.6
[ 1.782024] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:54:ab:87
[ 1.937923] udevd[102]: starting eudev-3.2.8
[ 2.162918] random: crng init done
[ 2.259527] usb 1-1.4: new high-speed USB device number 4 using dwc_otg
[ 2.350270] usb 1-1.4: New USB device found, idVendor=0781, idProduct=5581
[ 2.351952] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.355041] usb 1-1.4: Product: Ultra
[ 2.356586] usb 1-1.4: Manufacturer: SanDisk
[ 2.358068] usb 1-1.4: SerialNumber: 4C530001260811101212
[ 2.360424] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[ 2.363157] scsi host0: usb-storage 1-1.4:1.0
[ 3.234192] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[ 3.426997] scsi 0:0:0:0: Direct-Access SanDisk Ultra 1.00 PQ: 0 ANSI: 6
[ 3.432577] sd 0:0:0:0: [sda] 489160704 512-byte logical blocks: (250 GB/233 GiB)
[ 3.437239] sd 0:0:0:0: [sda] Write Protect is off
[ 3.439079] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 3.439856] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 3.458233] sda: sda1
[ 3.464614] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 7.849356] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 9.373909] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
[ 162.136688] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)

glorsplitz 09-09-2019 07:34 PM

did you do a complete install?

what does
Code:

find /lib/modules/ -name brcm*
return?

for my sarpi rpi3 install
Code:

grep -i brcmfmac /var/log/dmesg
[    3.979531] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[    3.986719] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[    3.993253] usbcore: registered new interface driver brcmfmac
[    4.241219] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[    4.247649] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[    4.254984] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Oct 23 2017 03:55:53 version 7.45.98.38 (r674442 CY) FWID 01-e58d21

Code:

lsmod | grep brcmfmac
brcmfmac              311296  0
brcmutil              16384  1 brcmfmac
cfg80211              614400  1 brcmfmac


sndwvs said 'attach', you can use Manage Attachments to attach the log when you post a reply

kermitdafrog8 09-09-2019 08:58 PM

find: ‘/lib/modules/’: No such file or directory

I tried to attach but it didn't work for some reason. So I pasted it inside the message. I do not have a modules dir in /lib for some reason. I did a full install yes.

*Edit*
I copied everything manually from the kernel and sarpi packages to the place they belonged. Don't know why those packages wasn't installing. I'll see if that fixes the problem.

kermitdafrog8 09-11-2019 09:13 AM

Now I am able to manually modprobe brcmfmac but no device shows up in ifconfig or iwconfig. It loades the module but doesn't show the device.

sndwvs 09-11-2019 10:20 AM

Do not forget to copy the firmware, and again, where is the log dmesg

kermitdafrog8 09-11-2019 10:36 AM

1 Attachment(s)
I installed them all. Ok finally able to attach the dmesg log instead of posting it in a reply.

sndwvs 09-11-2019 12:21 PM

it seems that the driver is not included in the kernel

zcat /proc/config.gz | grep -i brcmfmac

kermitdafrog8 09-11-2019 12:24 PM

slarm64 no wifi
 
CONFIG_BRCMFMAC=m
CONFIG_BRCMFMAC_PROTO_BCDC=y
CONFIG_BRCMFMAC_SDIO=y
CONFIG_BRCMFMAC_USB=y

sndwvs 09-11-2019 12:27 PM

what lsmod says
and modprobe brcmfmac


All times are GMT -5. The time now is 11:43 PM.