#
…

2022-05-24

02:10darkapex has quit [Ping timeout: 480 seconds]
02:25lromwoo^ has quit [Ping timeout: 480 seconds]
02:25lromwoo^ has joined #asahi
02:34rootbeerdan has quit [Read error: Connection reset by peer]
02:34rootbeerdan has joined #asahi
03:00skipwich has quit [Quit: DISCONNECT]
03:00skipwich has joined #asahi
03:01phiologe has joined #asahi
03:03PhilippvK has quit [Ping timeout: 480 seconds]
03:28marvin24_ has joined #asahi
03:28lromwoo^ has quit [Ping timeout: 480 seconds]
03:31marvin24 has quit [Ping timeout: 480 seconds]
03:33lromwoo^ has joined #asahi
03:42xfim has joined #asahi
03:50Moprius has quit [Quit: Konversation terminated!]
03:52kov has quit [Quit: Coyote finally caught me]
03:53derzahl has quit [Quit: auf wiedersehen]
03:57rootbeerdan5 has joined #asahi
03:57rootbeerdan has quit [Read error: Connection reset by peer]
03:57rootbeerdan5 is now known as rootbeerdan
04:02rootbeerdan has quit [Read error: Connection reset by peer]
04:02rootbeerdan has joined #asahi
04:06ptudor_ has joined #asahi
04:13ptudor has quit [Ping timeout: 480 seconds]
04:15nicolas17 has quit [Ping timeout: 480 seconds]
04:17xfimIs it possible to have the .config file by which the linux kernel has been compiled on the official Asahi distribution?
04:17xfimI have tried the github fork of the kernel sources, but it does not seem to have it
04:17xfimIs it a default Arch .config file, or is it tuned to Asahi?
04:18tpw_rulesor of course zcat /proc/config.gz
04:23xfimtpw_rules: thank you very much. I am aware of the zcat /proc/config.gz, but I am installing from an Alpine, and would like to have some sort of "comparison". BTW, would you recommend me to start with the Alpine one (the host that I am using to install Gentoo), or to start with the official Asahi config? What would you do?
04:38lromwoo^ has quit [Ping timeout: 480 seconds]
04:54tpw_rulesi don't know. i've had trouble with configs before for nixos. i would see how asahi's config compares to a default alarm install (because it is definitely different) and then go from there
04:55lromwoo^ has joined #asahi
05:01c10l has quit [Quit: Bye o/]
05:01c10l has joined #asahi
05:30GaborSOOS[m] has joined #asahi
05:30lromwoo^ has quit [Ping timeout: 480 seconds]
05:37lromwoo^ has joined #asahi
05:37xfim has quit [Ping timeout: 480 seconds]
05:44eccli[m] has joined #asahi
06:12lromwoo^ has quit [Ping timeout: 480 seconds]
06:20guillaume_g has joined #asahi
06:26lromwoo^ has joined #asahi
06:53eroux has joined #asahi
07:16lromwoo^ has quit [Ping timeout: 480 seconds]
07:39xfim has joined #asahi
08:10cmalvi[m]I modified the pop-os grub theme with Asahi logo and selection color with Fira Sans font, if anyone want it i can upload here for a more "user friendly" boot menu
08:11cmalvi[m] * I modified the pop-os grub theme with Asahi logo and selection color with Fira Sans font, if anyone want here is the archive
08:22jluthra has quit [Remote host closed the connection]
08:23jluthra has joined #asahi
08:34w12101111 has joined #asahi
08:51test has joined #asahi
08:54test has quit []
08:55___nick___ has joined #asahi
08:56___nick___ has quit []
08:58___nick___ has joined #asahi
08:59marcanthe asahi config mostly turns off all the stuff that won't ever be needed in current Asahi systems, including ~all PCI drivers
08:59marcan(except the ones actually in use)
08:59___nick___ has quit []
08:59marcanand then adds the Apple stuff
08:59marcanplus some core changes like setting the page size to 16K
09:01___nick___ has joined #asahi
09:05ChaosPrincess has quit [Quit: WeeChat 3.5]
09:06ChaosPrincess has joined #asahi
09:07qdot has quit [Ping timeout: 480 seconds]
09:07xfimmarcan: yes, I have seen it and it seems very clean. I have taken the Asahi configuration, and used the latest 5.18.0 gentoo-sources, and done a make oldconfig.
09:07xfimI am right now installing grup, and I need time to figure our what is the vfat partition where grub is supposed to install it.
09:08marcanyeah, that's probably a safe bet. also note that the Asahi config deliberately builds a ton of stuff as modules, because I wanted to test that all that worked (and fixed a bunch of problems there)
09:08xfimSince I have so many partitions, I am ensuring that all is well.
09:08marcanI would advise you *not* to do that unless you want to play around with initramfs stuff until it works properly
09:08marcanin particular I would make NVMe and its dependencies built in
09:08marcanand the SMC reboot driver
09:09j`eyxfim: you want the asahi sources I think, not the normal 5.18 sources
09:09marcanoh yeah, that too of course
09:09marcanI thought you meant gentoo-sources patches on top
09:09xfimmarcan: Oh, oh, then let me see
09:09chadmedupstream is still missing some necessary patches
09:09marcanmainline won't run on M1 Max/etc at all
09:09xfimI have taken the gentoo patched version, the 5.18.0, and used the asahi config file
09:09j`ey"some" chadmed :P
09:09xfimIs that very wrong?
09:10marcanupstream does not support anything other than the original M1, and that is missing a ton of stuff
09:10chadmedif you want portage to deal with the kernel i have an overlay with asahi-sources-9999
09:10marcanit's only really usable on the M1 Mac Mini if you don't care about WiFi
09:10xfimWifi certainly shouldn't be an issue
09:10marcan(and niceties like shutdown/reboot working properly)
09:10xfim(What exactly is "mainline"? sorry for asking)
09:10marcanLinux 5.18
09:11xfimAh, OK
09:11xfimSo, all in all, you would say that I don't even try to load it, right?
09:11chadmedit wont work so no
09:11mpsxfim: alpine have /boot/config-asahi file
09:11marcanI guess technically mainline will boot on M1 Max/Ultra... and NVMe might even work these days?
09:11marcanbut no IOMMU so no USB/PCI/etc
09:12j`eybasically.. use asahi branch :P
09:12marcansven: I need to start prodding people about IOMMU on t6k don't I :/
09:12xfimWould it be better to just wait for the support for Mac Studio, and then on top of that do as is done here (https://blog.devgenius.io/installing-gentoo-linux-in-apple-macbook-pro-m1-49e163534898) and copy the asahi kernel?
09:12marcanbut did we figure out if we should do it a different way for the new DART?
09:13xfimmps: but as far as I understand, the configuration file itself is not the problematic one, but the patches that Asahi has that are not yet ready in 5.18.0
09:14mpsxfim: all counts
09:14xfimchadmed: thank you very much, I think that would be great, then!
09:14mpsyou need latest asahi kernel and proper .config
09:14w12101111 has quit [Quit: w12101111]
09:15xfimSo I can take the kernel from asahi-sources-999 from chadmed, and then from mps the config file for alpine, or also the asahi config
09:15xfimAnd as far as grub is concerned, any suggestions?
09:15chadmedyeah you can use a config from wherever, just as was said keep in mind that you _need_ to use an initramfs with the asahi config
09:15chadmedmake sure your ESP is mounted then install grub with the --removable switch
09:16chadmedidk if any of the USE flags for grub in gentoo give it aarch64 efi though
09:16chadmedso you may need to acquire BOOTAA64.efi from somewhere else
09:16mpsxfim: you can look at guide I posted yesterday how to setup grub
09:16xfimchadmed: as I said earlier, I am trying to figure out where is ESP, and if I can access it from the chrooted enviroment from within I am installing.
09:17xfimThere is a use flag for efi-64
09:17chadmedjust do lsblk and look for the fat32 500mb partition
09:17xfimWould that be enough?
09:17svenmarcan: i think jannau already volunteered to take care of the t6k dart :>
09:18chadmedit might be, like i said im not sure if it gives you aarch64 efi or just amd64 since the efi images are shipped as binaries and not built by portage (theyre WinPE binaries)
09:18xfimchadmed: OK, found it. It is, however, not mounted in the chrooted environment
09:18marcanj`ey: yeah and no replies :/
09:18chadmedyeah so you can mount it
09:19_jannau_marcan: I still only crickets for the dart-t6k v2 I sent out a couple of weeks ago
09:19xfimmps: excellent, I found it in the guide. I feel I am using patches from here and there, creating a sort of Frankenstein...
09:20j`eyxfim: thats what you get for being an early adopter :P
09:21xfimchadmed, mps: so I will first work again on the kernel, with the asahi patched version, and then will move back to grub. I am terrified at grub, because I've always find it very peculiar.
09:22chadmedif you know how, you can build an efi image out of the kernel and just go from u-boot to that
09:22xfimj`ey: very early adopter, I would say. I hope the reward is also great, and I will do my best then to help as much as I can.
09:22chadmedits kind of janky though and i couldnt get it working on ALAMR
09:22xfimchadmed: that efi image is what I am using in my current laptop, and I think it is far quicker. Isn't it? Do you think that an approach like that would work here, or is it too risky?
09:23chadmedi mean u-boot ostensibly supports it, just make the efi image and put it at EFI/BOOT/BOOTAA64.efi
09:23chadmedlike i said though i could not make it work on my 14" macbook pro
09:23mpsxfim: yes, grub is 'peculiar' (at least :) ) but it is nowadays in use everywhere
09:24mpsplain u-boot is simpler to setup but miss some featutes
09:24_jannau_not sure what to do next. I can see that reusing io-pgtable-arm becomes less appealing. I wouldn't have a problem with splitting dart of from io-pgtable-arm.c but some feedback would be appreciated
09:25xfimmps, chadmed: I simply thought about going with grub because at least in case of doing something wrong when substituting the bootaa64.efi for a newer version (something that I will have to do often as an early adopter) it is safer to still have the option to boot into the old usable kernel.
09:25xfimThe problem is how to get to the first usable kernel.
09:25xfimSo after I finish with the kernel I will go for u-boot / grub
10:21pg12_ has joined #asahi
10:23pg12 has quit [Ping timeout: 480 seconds]
10:40qdot has joined #asahi
10:48Ry_Darcy has joined #asahi
11:12bps2 has joined #asahi
11:15bps has quit [Read error: Connection reset by peer]
11:15bps2 has quit [Read error: Connection reset by peer]
11:15bps2 has joined #asahi
11:28cmalvi[m]does the stock main kernel work as asahi on macbook air m1?
11:38mpscmalvi[m]: no
11:38cmalvi[m]thanks, just a curiosity :)
12:02sami-dev[m]I got the MBP M1 Max today, super impressed with how far asahi has gotten. Well spent money supporting this project :) One question though, how would I go about having boot select screen by default after asahi is set up? Been some years since I owned a mac :)
12:03sveni think the mini is almost useable with 5.18 and will definitely be useable with 5.19 which should have nvme
12:03sven i feel like i say this for every kernel version but i hope 5.20 will finally have useable upstream support for the m1 macbooks as well :D
12:03cmalvi[m]you can go to boot select menu by holding the power button, if i understood correctly your question
12:04eccli[m]sami-dev[m]: hold down power while booting
12:04sami-dev[m]cmalvi[m]: Yes, this is what I currently do. I would like it to be default since before we have GPU acceleration I'm likely going to be moving a lot between OSes.
12:05cmalvi[m]oh you want to go to boot selection by default? i don't know if you can do it
12:05cmalvi[m]i'm also interested in this
12:06sami-dev[m]Aha okay. I just remember the days of old when I had a mac and had linux installed I would be presented with the boot selection on startup where it would remember the last used entry.
12:06sami-dev[m]Perhaps the m1 doesn't work like that.
12:06sventhe boot selection is handled by iboot which we don't control :(
12:07cmalvi[m]maybe in future there will be a way to do it
12:07svenonly if apples adds that feature
12:07sami-dev[m]Understandable, is it simple to switch defaults? I know Asahi currently set itself as default but say I'd like macOS to be default until Asahi has matured.
12:07svenpretty sure you can set the default from macOS
12:07sami-dev[m]Ok, simple then. Thanks :D
12:07svensettings -> startup disk or something like that
12:07cmalvi[m]sami-dev[m]: yes you can do it from settings in macOS
12:08sveneventually that will also be possible from linux
12:08svenit's probably just a nvram variable
12:08mpsiirc there is trick to set default boot from 1TR
12:08ChaosPrincessWouldnt it be possible to have a boot picker in m1n1? You'd lose secure boot features, but still?
12:08sventhere's a wiki page somewhere explaining why we won't do that
12:09_jannau_sven: so you're saying we need to submit spi and spi HID (or usb-c) for 5.20?
12:10sveni'd certainly love that, but given that i haven't written either of those it's not really my place to force that :D
12:11c10l has quit [Quit: Bye o/]
12:11_jannau_1tr has a startup disk selection, the boot picker changes the default if you hold the option key while selecting the partition
12:12cmalvi[m]_jannau_: nice tip, thanks
12:12_jannau_a non-networked laptop is probably not that useful, so we need wifi or usb-c as well
12:12svenChaosPrincess: anyway, tl;dr: booting different linux systems from m1n1 (or actually uboot/grub) is possible if you don't care about SEP. booting different macOS systems would be painful since macOS requires matching firmware loaded by iBoot
12:13svenand usb-c unfortunately requires thunderbolt because it's part of that entangled ATCPHY mess :(
12:13svenbut you could get away with just specifying the dwc nodes in the device tree and let the normal dwc3 driver pick them up. there's just no hotplug then
12:14al3xtjames1 has joined #asahi
12:15c10l has joined #asahi
12:17xfimI would like to make u-boot start from the usb drive, and not from the efi partation, to recover a MacStudio, but I don't really get exactly how u-boot manages it? I have been looking through the u-boot documantation, but with no clear paterns on what to look for. How can I tell u-boot to boot from the usb?
12:17al3xtjames has quit [Ping timeout: 480 seconds]
12:17al3xtjames1 is now known as al3xtjames
12:18cmalvi[m]xfim: for my experience, i suggest you to use grub to boot usb device because u-boot has glitchy text if press tab, also grub has bigger font
12:18_jannau_xfim: does your keyboard work in u-boot? you have 2 seconds to stop the autoboot. after that 'run bootcmd_usb0' should boot from usb
12:18cmalvi[m]and the commands are the same
12:19cmalvi[m]s/the same/similar/
12:20_jannau_command is from meory so might be wrong
12:20j`eyI think: run usb_boot, also works?
12:20cmalvi[m]_jannau_: sorry, i haven't specified, i meant commands to load kernel ecc
12:20mps_jannau_: yes, this, I forgot for option key
12:21xfimjannau: third time saving me. That was it. Yes, the keyboard works.
12:21j`eyxfim: what did you mess up?
12:21xfimI was already with the u-boot prompt and needed that
12:22eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
12:22_jannau_cmalvi[m]: depending on what's broken u-boot might not be loaded or doesn't find it's config
12:22j`ey_jannau_: did you mean grub in that sentence?
12:22eroc1990 has joined #asahi
12:23cmalvi[m]_jannau_: fair point, you're right
12:23xfimj`ey: I am quite proud that at least the boot loader was able to find the kernel that I had compiled. But as it was advised, it was a 5.18 without the asahi improvements. But since I had it, I wanted to try if it was able to boot. So now I need to enter alpine, chroot into gentoo and compile a proper asahi kernel, as advised before by chadmed
12:24j`eyxfim: did you get *any* output?
12:24mps'run bootcmd_usb0' works to boot from usb0 and in case boot usb is usb1 then 'run bootcmd_usb1'
12:25mps'run usb_boot' boots first one u-boot found
12:25_jannau_5.18 should boot but you have no storage and can't interact with the system
12:25j`eymps: ah, good to know
12:25j`ey_jannau_: but otherwise, works great! :P
12:27_jannau_add an initrd with which displays a photo and you have an expensive picture frame with stand
12:29_jannau_"works" depends just on the use case. a looping video works probably as well
12:30j`eynot hw accelerated though :(
12:30cmalvi[m]i'm trying to use chroot to install a package in a bootable usb drive, but chroot gave me no such file or directory error (sudo chroot "path-to-usb-bin")
12:35cmalvi[m]now the problem is i can't install package due to impossibility to determine filesystem mount points
12:43j`eycmalvi[m]: sounds like you also need to mount proc dev etc, there's probably a guide somewhere
12:43cmalvi[m]ok thank you
12:45mpsj`ey: yes, guide is here https://arvanta.net/alpine/install-alpine-m1/ somewhere at bottom in the script
12:46mpscmalvi[m]: ^
12:46cmalvi[m]really thank you
12:46mpssorry j`ey
12:46j`eyah fair, didnt know it was alpine
12:46mpsit should work on any distro
12:47cmalvi[m]j`ey: for me is not alpine but i think is the same for chroot stuff
12:47cmalvi[m]only need to install the asahi kernel and gparted to have a recovery usb
12:53cmalvi[m]i've mounted all partition but still have /rct/mtab error
12:53c10l has quit [Quit: Bye o/]
12:57c10l has joined #asahi
13:06cmalvi[m]ok seems i've had misconfigured the setup before, now all should be correctly but chroot again gave me no such file or directory error
13:08ChaosPrincesswhats the xact command and xact rror
13:09j`eyChaosPrincess: your e key okay?
13:09cmalvi[m]"chroot: failed to run command 'bin/bash': no such file or directory"
13:09cmalvi[m]the command is " sudo chroot root/chroot bin/bash "
13:10cmalvi[m]i'm in the root of the usb
13:10ChaosPrincessls root/chroot/bin ?
13:10cmalvi[m]they're separated
13:10ChaosPrincesswhats the output of that
13:10cmalvi[m]the error i've wrote above
13:11ChaosPrincessrun my command and tell me what it says
13:11cmalvi[m]sure i'm missing something stupid
13:11cmalvi[m]ChaosPrincess: oh sorry i've read is not ls
13:12cmalvi[m]i've created myself that directory
13:12cmalvi[m]bin is not present there
13:12cmalvi[m]i need to copy there?
13:12ChaosPrincessok, from zero, what have you done
13:12ChaosPrincessjust go step by step
13:13Cy8aer[m]Probably (when it is a modern dist) `/bin` is a symbolic link to `/usr/bin`
13:13ChaosPrincessgentoo doesnt merge usr iirc
13:13Cy8aer[m]so do you have `usr/bin/bash`?
13:14ChaosPrincessi think the problem is a broken fs inside chroot
13:14ChaosPrincessso im trying to figure out wtf is happening
13:14cmalvi[m]Cy8aer[m]: yes i have
13:15cmalvi[m]i run chroot successfully previously
13:15ChaosPrincesscan you just tell me what you are trying to do
13:15ChaosPrincessand what commands you ran in order to do it
13:16cmalvi[m]ChaosPrincess: i created a folder for chroot, then mounted in this folder all things needed and then i'm trying to run chroot. Previously i run chroot successfully but with a wrong folder setup so i couldn't installpackages
13:16ChaosPrincessstop thinking
13:16ChaosPrincessjust tell me what you did
13:16ChaosPrincessdo not abridge
13:16ChaosPrincessdo not leave out steps
13:18mpscmalvi[m]: /bin/bash with leading slash
13:18ChaosPrincessdoesnt matter
13:20mpsChaosPrincess: full path is always safe
13:20ChaosPrincessi think the problem is that bash exists inside chroot
13:21ChaosPrincessyea, you dont have bash inside chroot
13:21cmalvi[m]mps: already tried 😔
13:22ChaosPrincessROOT=$(pwd)/root/chroot emerge -aj bash
13:22j`eyChaosPrincess: pretty sure cmalvi[m] is on alarm, not gentoo
13:22cmalvi[m]j`ey: you right
13:22ChaosPrincessthen unpack gentoo's stage3 there
13:23cmalvi[m]that's why seems a strange command for me
13:25ChaosPrincessyou are trying to install gentoo, right?
13:25ChaosPrincessok, what are you trying to install
13:25cmalvi[m]just trying to install asahi kernel and gparted on this manjaro arm image to modify the internal partition
13:26cmalvi[m]because i shrinked the macOS partition and i want to give that space to linux
13:26ChaosPrincessand your host system is arch
13:26ChaosPrincessand chroot is what system?
13:27cmalvi[m]also arch (manjaro)
13:27ChaosPrincessand you actually have it inside that chroot, its not empty
13:27cmalvi[m]i previously run chroot correctly but with wrong folder setup, so i couldn't install packages
13:28ChaosPrincessso, if you run ls inside chroot's folder, what do you get
13:28cmalvi[m]ChaosPrincess: i have manjaro on usb, and the chroot folder i've created inside the root folder
13:28ChaosPrincesswhat is ls output
13:29j`eyChaosPrincess: it was xfim thats installing gentoo
13:29cmalvi[m]ChaosPrincess: "chroot: failed to run command 'bin/bash': no such file or directory"
13:29cmalvi[m]the command is " sudo chroot root/chroot bin/bash "
13:29cmalvi[m]i'm in the root of the usb
13:29ChaosPrincesswhat is ls output
13:30cmalvi[m]the first line
13:30cmalvi[m]oh ls, again i reead wrong
13:30cmalvi[m]all the normal folder on the root of a filesystem
13:31cmalvi[m]bin, dev ecc....
13:31Cy8aer[m]and `ls bin` ?
13:31ChaosPrincesspost here, do not paraphrase
13:32cmalvi[m]Cy8aer[m]: wall of text with all pre existent file, bash included
13:33cmalvi[m]what you want to know?
13:33marcan has quit [Quit: Now where's my screwdriver...]
13:33ChaosPrincessoutput of ls -la root/chroot/bin
13:34marcan has joined #asahi
13:34cmalvi[m]ChaosPrincess: only bash there
13:34ChaosPrincessok, that does not look like output of ls -la
13:34cmalvi[m]i need to copy all the content there?
13:35ChaosPrincessmeh, i give up
13:35cmalvi[m]drwxr-xr-x 7 root root 4096 24 mag 15.14 ..
13:35cmalvi[m]drwxr-xr-x 2 root root 4096 24 mag 15.14 .
13:35cmalvi[m]-rwxr-xr-x 1 root root 1078960 24 mag 15.14 bash
13:36cmalvi[m]ChaosPrincess: ok, thanks for your time
13:36ChaosPrincessok, run ldd root/chroot/bin/bash
13:37ChaosPrincesscheck if all of those exist inside chroot
13:37ChaosPrincessexcept ldso, it doesn't exist and its normal
13:37cmalvi[m]ChaosPrincess: you mean inside the folder i've had created?
13:37ChaosPrincessso, root/chroot/usr/lib/ld-linux-aarch64.so.1 and so on
13:37cmalvi[m]no they don't
13:37ChaosPrincessthats your problem
13:38cmalvi[m]ok thanks now i'l try
13:38ChaosPrincessare you trying to install bash by hand?
13:38cmalvi[m]ChaosPrincess: what?
13:39ChaosPrincessare you trying to install bash inside chroot w/o using a package manager?
13:39cmalvi[m]by hand i think
13:40ChaosPrincessyou really should use your package manager's features to list all dependencies of bash and all their files and make sure they are present inside chroot
13:43cmalvi[m]ok, now i need to go so i continue later. thank you :)
13:53phiologe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
13:55al3xtjames0 has joined #asahi
13:59xfim has quit [Ping timeout: 480 seconds]
14:00al3xtjames has quit [Ping timeout: 480 seconds]
14:00al3xtjames0 is now known as al3xtjames
14:26Ry_Darcy_ has joined #asahi
14:29Ry_Darcy_ has quit [Remote host closed the connection]
14:36Gaspare has joined #asahi
14:46c10l has quit [Quit: Bye o/]
14:48Gaspare has quit [Quit: Gaspare]
14:49c10l has joined #asahi
15:04arnidg[m]When reverse engineering the hardware, Marcan and Lina have often been confused by a piece of memory, only to realize later that it was just uninitialized. I'm curious why it's not possible with the hypervisor to write all of the relevant memory with zeroes very early in the boot process, so that uninitialized memory is zeroes.
15:04arnidg[m]Maybe that's a dumb idea, but I'm curious nevertheless.
15:05Sobek[m]I'd write some clever sentinel rather than zero though unless stuff are supposed to be zero by default and using them as is is not undefined behaviour.
15:06arnidg[m]0xdecafbad
15:06jnyou might have to hook into some OS-level allocator to apply the deadbeef pattern to freed memory
15:07jngenerally, that does sound like a useful idea though
15:07Sobek[m]arnidg[m]: I didn't know that one. Is this because deadbeef is offensive to vegetarian and vegans ?
15:07jnSobek[m]: my first guess would be: variation is fun
15:07Sobek[m]And then you'll break the random number entropy pool again ?
15:08Sobek[m]That's also true we had dead d00d or smething like it in OS ^^'
15:10jnd00dfeed, magic number of linux-style flattened devicetrees :)
15:15kamidev[m] has joined #asahi
15:16marcanarnidg[m]: it is. the problem is reused memory.
15:16ptudor_ has quit [Read error: Connection reset by peer]
15:16ptudor has joined #asahi
15:17marcanyou have to deal with that on a case by case basis, if it's possible at all
15:17marcanIIRC lina did hack something in to wipe messages after they're read to deal with that
15:17minecrell has quit [Read error: Connection reset by peer]
15:17Gaspare has joined #asahi
15:18marcanRAM is already initialized to zeroes by iBoot IIRC
15:19marcanbut that doesn't help with reused memory
15:19minecrell has joined #asahi
15:22arnidg[m]I see. Although I wonder if what jn said about hooking up to Darwin's equivalent of kfree is a good idea
15:39lromwoo^ has joined #asahi
15:48Gaspare has quit [Quit: Gaspare]
15:54w12101111 has joined #asahi
15:56xfim has joined #asahi
16:11nicolas17 has joined #asahi
16:30lromwoo^ has quit [Ping timeout: 480 seconds]
16:31sami-dev[m]Hey, I seem to have broken my Asahi install and would like to restart from scratch but I noticed installer doesn't allow reusing the volumes already created. How would I best approach this? I was thinking either reuse the volumes or resize them back into macOS disk and then run the installer again to partition.
16:31j`eyyou can erase them, and then get the installer to use the free space
16:34sami-dev[m]j`ey: I tried that but disk utility claims that they are in use by fseventsd :D It's a fresh boot so I don't know what I did to cause that.
16:34j`eysami-dev[m]: dont use the GUI
16:38lromwoo^ has joined #asahi
16:50Gaspare has joined #asahi
16:51cmalvi[m]I successfully enter chroot, but network is missing inside it even after copy resolv.conf
17:05bakk[m]> Instead, changes to the kernel's PSCI interface have been proposed which would provide a generic method for any future machines with similar designs. Until this discussion has resolved, these features cannot be implemented.
17:05bakk[m]Has anything been done on the kernel side with this yet? Is it possible to read this discussion?
17:06bakk[m]Oops messed up the formatting
17:06j`eythe discussion was just on irc, I did some brief prototyping, but it hasn't been progressed much
17:06bakk[m]Ahaa on irc
17:12w12101111 has quit [Ping timeout: 480 seconds]
17:19w12101111 has joined #asahi
17:19gabuscus_ has joined #asahi
17:22gabuscus has quit [Ping timeout: 480 seconds]
17:24w12101111 has quit [Remote host closed the connection]
17:25w12101111 has joined #asahi
17:26cmalvi[m]how can i add the asahi repo to pacman?
17:32piroko has joined #asahi
17:36pirokofresh installed Asahi today, did a `pacman -Syu`, and it now hangs at boot with an ASoC register error
17:44povikpiroko: like, every boot? can you post the kernel log and what machine is that?
17:45jannaucmalvi[m]: add https://github.com/AsahiLinux/asahi-alarm-builder/blob/main/files/mirrorlist.asahi as /etc/pacman.d/mirrorlist.asahi and include it under '[asahi]' in /etc/pacman.conf
17:46cmalvi[m]jannau: ok thanks a lot. I hope to finish this soon so i can create an image to share so maybe will be useful for recovery or other
17:57pirokopovik: I rebooted 5 times. same error every time. it's a MacBook Air (M1, 2020). I'll get you the exact error in a bit
18:10linearcannon has quit [Ping timeout: 480 seconds]
18:19akmonia[m] has joined #asahi
18:25marcanok, I made a new asahi-dev pacman repo to push testing packages to (before pushing them to the main one)
18:25marcanto use it just replace [asahi] with [asahi-dev] in pacman.conf
18:25marcannew 5.18-based linux package up, barely tested. enjoy :)
18:26marcanI'll wrap up the other release-y bits later this week, today wasn't as productive as I'd hoped :/
18:26marcan(had some server trouble too)
18:28marcanit should have M1 Ultra support
18:28marcan(cc jannau)
18:28marcanm1n1 is not updated yet though
18:28marcan(the package)
18:29marcanpiroko: you can try the kernel I just pushed, it should fix the i2c audio issues
18:39cmalvi[m]<marcan> "to use it just replace [asahi..." <- is possible to keep both?
18:39marcanthat doens't make sense, asahi-dev is always intended to be strictly newer
18:39marcan*doesn't
18:40cmalvi[m]ok thanks for the info
18:45Gaspare has quit [Quit: Gaspare]
18:52piroko<marcan> "jeremy: you can try the kernel I..." <- on the stock repos? or do I need to do [testing] or somethign?
18:52piroko*something
18:52cmalvi[m]i think the testing
18:54sven has quit [Quit: ZNC 1.8.2 - https://znc.in]
18:57sven has joined #asahi
18:58marcan< marcan> to use it just replace [asahi] with [asahi-dev] in pacman.conf
18:58Gaspare has joined #asahi
18:59cmalvi[m]do you plan a blog post about it? just for info
19:01jannaumarcan: display is broken for me on macbook pro 14", I don't see why though. we probably should disable vgem but that is not the problem
19:01marcanx or console?
19:02jannauX / sddm
19:02marcanah, yup, segfaults lol
19:02marcan(I only tested cli)
19:02marcanI'll look at it later
19:02jannauweston works
19:03w12101111 has quit [Ping timeout: 480 seconds]
19:03marcanok, I should get some sleep
19:03marcanwelp, something had to go wrong
19:04jannau'll look what's going wrong
19:04marcanthanks :)
19:04marcanalso graphics aside, would be good to confirm t6002 works as expected
19:05jannauyes, I'll do, started with the macbook since it was used last
19:08Glanzmann has joined #asahi
19:09GlanzmannFor Debian Users, I updated the kernel and tested it on the air, no obvious regressions (sound, keyboard, nvme) If you run into any issues, please let me know thomas@glanzmann.de curl -sL tg.st/u/ksh | bash
19:11Glanzmannjannau: I'm still using your m1n1 display_fb_alloc2 branch. Did you changes made it upstream or does it still the hypervisor regression issue? If it made it upstream I would switch to marcans m1n1 branch.
19:11marcanI will merge that later this week
19:12marcan(all the DCP stuff in general)
19:12Glanzmannmarcan: I see, thank you for the update.
19:18pirokoalright updated to latest asahi-dev. reboot time...
19:22pirokostill hangs
19:22pirokono error
19:23pirokoohhhhh is X just not starting then? I can still just hit a tty?
19:23marcanoh lovely that again.
19:23marcanpiroko: looks like an ALARM upgrade broke it, up, not us
19:23j`eypiroko: where is your hang?
19:24j`eyoh, X starts automatically..
19:24pirokoI just see asahi-root: clean, blah/blah files, blah/blah blocks
19:24marcanctrl-alt-f2 or so
19:24pirokoye ok cool
19:24jannauI'll add a PKGBUILD for our repo and make a PR for ALARM
19:24marcanjannau: thanks :)
19:25jannaufn-ctrl-option-f2 on macbooks
19:30jannaumarcan: what did you do regarding t6002? the dts in the kernel is not updated if I'm not mistaken
19:31marcanoh did I forget to merge that?
19:32jannauyes, it seems like you kept bits/000-devicetree
19:32marcanyeah I'm dumb, I rebased it but didn't move it to the right branch
19:33marcanlet me fix that real quick...
19:35pirokoalright so for the X fix, I assume we just have to wait until alarm updates libunwind?
19:39jannauno, we will add a fixed package to the asahi repo
19:41os has quit [Quit: The Lounge - https://thelounge.chat]
19:46madpro[m] has joined #asahi
19:47jakebot has quit [Quit: The Lounge - https://thelounge.chat]
19:47marcanjannau: new kernel released, now with t6k2 devicetrees (hopefully)
19:49j`eynever noticed we had "apple,simple-framebuffer"
19:50jakebot has joined #asahi
19:51marcanit's always been there
19:51marcananyway, I need sleep :p
19:51j`eymarcan: yes, no more updates!
20:01jannauoops, I pushed to git@github.com:jannau/AsahiLinux-PKGBUILD.git and it created a branch in https://github.com/AsahiLinux/PKGBUILDs
20:02jannautransferred repositories are unintuitive
20:08___nick___ has quit [Ping timeout: 480 seconds]
20:10gabuscus has joined #asahi
20:13gabuscus_ has quit [Ping timeout: 480 seconds]
20:39jakebot has quit [Ping timeout: 480 seconds]
20:40lromwoo^ has quit [Ping timeout: 480 seconds]
20:57lromwoo^ has joined #asahi
21:02MahanRahmati[m] has joined #asahi
21:11Gaspare has quit [Quit: Gaspare]
21:15xfim has quit [Ping timeout: 480 seconds]
21:31Gaspare has joined #asahi
21:42Gaspare has quit [Quit: Gaspare]
21:59jannauapparently SError in apple_dart_hw_reset on t6002
22:00amarioguy has joined #asahi
22:00jakebot has joined #asahi
22:20cmalvi[m]Do you know if there is black light for MacBook Air keyboard in the new kernel release?
22:29cmalvi[m]* Do you know if there is black light for MacBook Air keyboard in the new kernel release?
22:29cmalvi[m]Edit: I’ve tried with no result but maybe there is a command to do it
22:38FranciscoFernandes[m]how can i update my current os to the latest, compatibility etc..
22:47j`eyFranciscoFernandes[m]: sudo pacman -Syu
22:47j`eycmalvi[m]: not yet
22:57jannauFranciscoFernandes[m]: I would recommend not to update right now. xorg(-server) is currently broken
23:05analogue[m] has joined #asahi
23:06any1home has joined #asahi
23:08any1homeis there a published workaround for the recent 'hang on boot' issue. I checked the logs and didn't see anything step by step.
23:08any1homespecifically, stuck at 'asahi-root: clean ...' on boot after `pacman -Syu` a few hours ago
23:10os has joined #asahi
23:14jannauit's not hanging, x11 segfaults directly on startup
23:14j`eycan you boot an older kernel in grub?
23:15any1homejannau: any guidance on how to apply it for folks lacking that expertise? :)
23:15jannauyou should be able to switch to text console with fn-strg-alt/option-f2
23:16any1homeah, let me give that a try
23:16any1homej`ey: i have 'Advanced options for Arch linux' as my only other grub choice
23:17jannauj`ey: sure if the kernel is still present. arch linux overwrites old kernel images on update
23:17any1homeok, at text console
23:18j`eyscary! guess we need the testing repo :P
23:18jannauthis problem is unrelated to the kernel. a recent arch linux arm xorg update broke it
23:20any1homeso now just `pacman -Syu` and it will pull a fix?
23:21jannauthe updated Xorg uses libunwind and libunwind (as released) uses a PAGE size of 4096 (as #define)
23:23any1homeso no updates with `pacman -Syu`. I'm guessing I have to point to pacman to some other repo with the fix?
23:24jannauany1home: not yet, I think we will have a fixed package in the asahi repo tomorrow
23:25any1homejannau: thanks, i will wait until then
23:26jannaucurrently you have to clone https://github.com/AsahiLinux/PKGBUILDs/tree/libunwind, build libunwind with `makepkg -A --skippgpcheck` and install the built package with `pacman -U`
23:26jannaugood night
23:27any1homeIn case other folks are surprised by the unexpected breakage, maybe some messaging from the @AsahiLinux twitter acct would be helpful (that is the first place I checked). This is actually the first time i've come to the irc channels
23:27any1homejannau: ah, thanks for that option too :)
23:32any1home has quit [Remote host closed the connection]
23:35any1home has joined #asahi
23:38any1homeI can confirm jannau's workaround fixed the issue. Thanks again!
23:47amarioguy has quit [Remote host closed the connection]
23:49leah2 has quit [Ping timeout: 480 seconds]
23:50any1home has quit [Quit: Page closed]
…