2022-06-29
03:43L1Q has quit [Quit: Leaving]
06:26m1n1m4[m]<mps> "and I have this https://arvanta..." <- i was looking recently for this link on this list of links of your site https://arvanta.net/alpine/ , and could not find it.
07:09m1n1m4[m]<m1n1m4[m]> "i see by the notes that i missed..." <- By running setup-xorg-base, i get the OK message and the byte count of the transfer, but after i get these two errors:
07:40mpsm1n1m4[m]: alpine basic tools are busybox applets, so dd is simple one and doesn't have progress option
07:42mpsm1n1m4[m]: there is https://dev.alpinelinux.org/~mps/m1/install-nvme.sh script which you can follow to install alpine on nvme or any other disk
07:43mpsbut it would be better if you follow this guide https://arvanta.net/alpine/install-alpine-m1/
08:41m1n1m4[m]<mps> "m1n1m4!: also https://wiki...." <- i confirm, got a clean install and i have XFCE4 running!
08:44m1n1m4[m]BUT... i had to uninstall libudev-zero and re-run the setup-xorg-base, then all went smooth.
08:45m1n1m4[m]Second thing: was using iwd for wifi at install with internet and i think that the setup of xfce changed it to some sort of network manager that i do not have control. How can i change it back to iwd?
08:51m1n1m4[m]UPDATE: after checking the issues of running network manager over iwd here: ( https://wiki.alpinelinux.org/wiki/NetworkManager ) i think it is better to stop using iwd and just configure the wpa_s etc...
09:01m1n1m4[m]is there a way using apk to detect the dependencies of network-manager and list them so that i can test removing them?
09:03mpsbut apk will remove deps automatically if some dependant pkgs are not installed manually or pinned
09:10m1n1m4[m]<mps> "m1n1m4!: you could probably..." <- yes yes good, i am at that room, good idea, but i think i have enough to solve this
09:18m1n1m4[m]mps: yes, pretty simple, i followed your guide and formatted nvme linux partition with btrfs before the "install nvme" step i think.
09:21m1n1m4[m]<mps> "there are a lot more people with..." <- yes, i see, but in this case having M1 experience, as a beta user, i think here is better.
09:21m1n1m4[m]just one thing, because i have to reboot to comeback here, since matrix on phone is just to complex, so i try to take all the info at one time
09:22m1n1m4[m]so i will disable the network manager service then how do i get iwd back to work, because i cannot even see the device with iwctl
09:25m1n1m4[m]OK so rebooting to fix this already 2 and a half day adventure... I am happy with the result, because i am learning a lot, which is great.
09:47Catyre_ has quit [Remote host closed the connection]
09:48Catyre has joined #asahi-alt
10:33m1n1m4[m]i disabled networking, hostname and chronyd ( because they are network related ) . Enabled iwd. rebooted but the thing is, i think modprobe for loading the brcmf ( wifi drivers ) is constantly echoing on the screen messages. The drivers it is using are a fallback to some generic raspberry thing. It should be associated with BCM4378/3 that i find on the nvme install.
10:34m1n1m4[m]so maybe i have to reverse the process ( unload the kernel module ) and reinstall the firmware.
10:37m1n1m4[m]since the wifi is not working i have to come here for internet and apk seems to need net too
10:42m1n1m4[m]just to inform that modprobe page on alpine wiki does not have info. https://wiki.alpinelinux.org/wiki/Modprobe
10:47m1n1m4[m]mps: before installing setup-xorg-base, i followed your guide and all worked. I had the firmware installed on USB and iwd just started at boot with the correct wifi connection and i had internet right away.( I have an .img of that that i backed up before any changes )
10:49m1n1m4[m]Also the guide of installing the XFCE4 desktop worked, but then it replaced iwd with networking and this is the situation i am now trying to revert back to iwd.
10:50m1n1m4[m]mps: on iwctl ( device list ) is empty, i do not see wlan0. The driver somehow is not the correct one so it was lost whith the desktop install.
10:55m1n1m4[m]mps: i will check after reboot, but i am constantly having a message on the screen ( 2 lines ) something starting with brcmfmac failed to load driver and the second message also starting with brcmfmac says it loaded some fallback driver arduino or something, not the correct one i said above.
10:56m1n1m4[m]and this BCM... is correctly loaded when i boot with this system on nvme, so the name comes from there
11:07m1n1m4[m]<mps> "m1n1m4!: lsmod | grep brcm" <- great and to disable it i will check this: Module Loading
11:07m1n1m4[m]'/etc/init.d/modules' loads all modules specified in '/etc/modules' and '/(etc|run|usr/lib|lib)/modules-load.d/*.conf'
11:08m1n1m4[m]<j`ey> "if you can get a picture/video..." <- i am totally sure that iwd was working well, then i installed xfce and, i think it replaced it by networking service and wpa_... and i lost internet
11:09m1n1m4[m]<mps> "m1n1m4!: lsmod | grep brcm" <- and what is the command to unload the module if i need to?
11:11m1n1m4[m]if i need to unload a module what is the command? i was thinking of unloading brcf and reinstall the wifi driver then load it again
11:18mpsafter remove of /etc/modprobe.d/blacklist-brcmfmac.conf file on next reboots module will be loaded automatically
12:13* m1n1m4[m]posted a file: (7KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/GTiMUqIIXDJRjjmTQVpCjNkv/2022.06.29-report.txt >
12:22j`eyhm actually "Falling back to sysfs fallbac" this looks wrong.. i think you dont have the firmware
12:25m1n1m4[m]j`ey: i do! it is there and iwd was working before the install of xfce4... So how can he not find it?
12:28m1n1m4[m]so i could not unload the brcm, i will now try the config files on /module-load.d/.cfg
12:29m1n1m4[m]the output of lsmod is supposed to not show all processes? is it possible to force it to show who is using the module?
12:39m1n1m4[m]mps: Kernel Virtual Machine, it's on OVH and it is a direct console to the server remotely
12:40m1n1m4[m]j`ey: i am only suggesting it might have hold on some handle of the network somehow not allowing me to unload the brmcf module
13:51m1n1m4[m]OK so, i tried to reinstall the drivers although they were at the same place, nothing changed
13:54m1n1m4[m]and what i can think could have changed this behavior was the change from libdev-zero to udev. Does it make any sense? is there a way i can test this deeper?
13:55m1n1m4[m]I mean setup-xorg-base conflicted with libdev-zero. i uninstalled it, re-run and the install continued nice
15:22* m1n1m4[m]posted a file: (56KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/zCZsdbFhZLmLqatzaraGoYIl/2022.06.29-report.2.txt >
15:29j`eym1n1m4[m]: in your firmware folder can you copy brcmfmac4378b1-pcie.apple,shikoku.bin to brcmfmac4378b1-pcie.apple,shikoku-RASP-m-6.11-X3.bin
15:34j`eyoh.. is this the issue where it takes a long time to boot because I just noticed that the time between the last 2 firmware messages was 61seconds
15:40j`eymps: you didnt have any trouble with that option, im not sure why, but it looks like it might be the issue
15:58j`eyIve been meaning to rename my firmware to the most specific one, so it doesnt have those messages in dmesg :D
16:11Catyre_ has joined #asahi-alt
16:16m1n1m4[m]j`ey: OK, on the brcm folder i found bins that i think are related to locations, they do not have specification of RASP or pcie. What i found was a txt maybe differentating them.
16:17Catyre has quit [Ping timeout: 480 seconds]
16:17m1n1m4[m]j`ey: the boot is quite fast, but as you see in the dmesg he keeps giving me the messages ( 2 at a time ) of failure
16:23m1n1m4[m]j`ey: on the second report that i've sent you have a listing of the fw folder after reinstall. if you do:
16:24j`eycopy *brcmfmac4378b1-pcie.apple,shikoku.bin* to *brcmfmac4378b1-pcie.apple,shikoku-RASP-m-6.11-X3.bin*
16:38dogdroid[m] has joined #asahi-alt
16:50* m1n1m4[m]posted a file: (31KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/AKpsXnqnpmKhCmLhXTSyaUMO/2022.06.29-report.3.txt >
16:54j`eythat error is a flakey one, so just shows up at random "error at soc_component_read_no_lock on cs42l42.2-0048 for register: [0x00001101] -6"
17:02m1n1m4[m]the usb key image has 5GB for root, so it might be possible to install some >magic tools< to debug the thing no?
17:08m1n1m4[m]OK as soon as the dump from the usb is done ( 7GB ) i will compress and send a link to download via we transfer ( no email needed ). Is it OK?
17:18m1n1m4[m]i can use password for the file if that is the problem with wetransfer or use any other service. The server itself is from a place i volunteer and ssh is already in place. I create a user and then delete it. I would not like to touch the config or change the software there. You understand?