#
…

2022-02-11

00:30jmr2 has joined #asahi
00:31jmr2Has anyone tried LVM so far? Not sure if I'm doing something dumb or if it's really unhappy with 16K pages. http://paste.debian.net/plainh/016c394b
00:47jmr2 has quit [Quit: Page closed]
01:04user982492 has joined #asahi
01:05myon98 has joined #asahi
01:11user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:57tuxcaeli[m] has joined #asahi
02:16user982492 has joined #asahi
02:23xiuxuanwang[m] has joined #asahi
02:32yuyichao has quit [Ping timeout: 480 seconds]
02:50yuyichao has joined #asahi
03:53phiologe has joined #asahi
03:56PhilippvK has quit [Ping timeout: 480 seconds]
04:04kov has quit [Quit: Coyote finally caught me]
04:04kov has joined #asahi
04:14angustrau[m] is now known as emilytrau[m]
04:27babilen_ has quit [Server closed connection]
04:27babilen has joined #asahi
04:42hays has quit [Server closed connection]
04:42hays has joined #asahi
04:50Xe has quit [Server closed connection]
04:51Xe has joined #asahi
04:51hl` has quit [Server closed connection]
04:51hl` has joined #asahi
04:54kendfinger has quit [Server closed connection]
04:54kendfinger has joined #asahi
04:56Esmil has quit [Server closed connection]
04:56Esmil has joined #asahi
04:58anuejn has joined #asahi
04:58marvin24 has joined #asahi
05:02marvin24_ has quit [Ping timeout: 480 seconds]
05:05eric_engestrom has quit [Server closed connection]
05:05eric_engestrom has joined #asahi
05:23anuejn has quit [charon.oftc.net kinetic.oftc.net]
05:23Xe has quit [charon.oftc.net kinetic.oftc.net]
05:23hl` has quit [charon.oftc.net kinetic.oftc.net]
05:23babilen has quit [charon.oftc.net kinetic.oftc.net]
05:23babilen has joined #asahi
05:23hl` has joined #asahi
05:23anuejn has joined #asahi
05:23Xe has joined #asahi
05:24raiaq has quit [Server closed connection]
05:24raiaq has joined #asahi
05:24jkkm has quit [Server closed connection]
05:25jkkm has joined #asahi
05:30aeroraptor has quit [Server closed connection]
05:30aeroraptor has joined #asahi
05:34exhan[m] has joined #asahi
05:40_alice has quit [Server closed connection]
05:40_alice has joined #asahi
05:44xerpi[m] has quit [Server closed connection]
05:44xerpi[m] has joined #asahi
05:49WhyNotHugo has quit [Server closed connection]
05:49WhyNotHugo has joined #asahi
05:50nsklaus_ has joined #asahi
05:54nsklaus has quit [Ping timeout: 480 seconds]
05:54emilazy has quit [Server closed connection]
05:54emilazy has joined #asahi
05:54darkapex has quit [Ping timeout: 480 seconds]
05:55ciggi_ has quit [Ping timeout: 480 seconds]
06:01arnd has quit [Server closed connection]
06:01arnd has joined #asahi
06:04ciggi has joined #asahi
06:05darkapex has joined #asahi
06:24jeffmiw has joined #asahi
06:31sven has quit [Server closed connection]
06:31sven has joined #asahi
06:41rolodondo9378[m] has quit [Server closed connection]
06:41rolodondo9378[m] has joined #asahi
07:02user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:18rkjnsn[m] is now known as rkjnsn
07:20sheepgoose has quit [Ping timeout: 480 seconds]
07:22jannaujmr2: works for me with arch linux arm, still complains about the non-standard page size 16384 though. might be version dependent since pvck produces different output
07:23jannauWARNING: pv_header.disk_locn[2].offset 16384 is unexpected # for first mda
07:24jannauusing lvm2 2.03.15-1
07:45ciggi_ has joined #asahi
07:51ciggi has quit [Ping timeout: 480 seconds]
07:51go4godvin has quit [Server closed connection]
07:51go4godvin has joined #asahi
07:52go4godvin is now known as Guest41
08:02viridian has joined #asahi
08:03viridian has quit []
08:20svcx80 has joined #asahi
08:28idf00[m] has quit [Server closed connection]
08:28idf00[m] has joined #asahi
08:36PhilippvK has joined #asahi
08:39phiologe has quit [Ping timeout: 480 seconds]
08:41kryddyg[m] has quit [Server closed connection]
08:41kryddyg[m] has joined #asahi
09:08Guest41 is now known as go4godvin
09:09the_lanetly_052 has joined #asahi
09:13svcx80 has quit [Quit: Textual IRC Client: www.textualapp.com]
09:17eragon has quit [Quit: WeeChat 3.4]
09:32M31j[m] has quit [Server closed connection]
09:32M31j[m] has joined #asahi
09:32andorinhariver[m] has quit [Server closed connection]
09:32andorinhariver[m] has joined #asahi
09:33ArcticFive[m] has quit [Server closed connection]
09:33ArcticFive[m] has joined #asahi
09:33Bastian[m] has quit [Server closed connection]
09:33Bastian[m] has joined #asahi
09:33blazra[m] has quit [Server closed connection]
09:33blazra[m] has joined #asahi
09:33AnushervonTabarov[m] has quit [Server closed connection]
09:34AnushervonTabarov[m] has joined #asahi
09:34CristianMgheruan-Stanciu[m] has quit [Server closed connection]
09:34CristianMgheruan-Stanciu[m] has joined #asahi
09:34digitalfx[m] has quit [Server closed connection]
09:34digitalfx[m] has joined #asahi
09:34facez[m] has quit [Server closed connection]
09:34facez[m] has joined #asahi
09:35izzyisles[m] has quit [Server closed connection]
09:35izzyisles[m] has joined #asahi
09:35jakou[m] has quit [Server closed connection]
09:35jakou[m] has joined #asahi
09:36kettenisyay, next batch of u-boot patches is in
09:36kdas has quit [Server closed connection]
09:36kdas has joined #asahi
09:36lucifer178[m] has quit [Server closed connection]
09:36lucifer178[m] has joined #asahi
09:36j`eynvme, keyboard
09:36mrbatmanface[m] has quit [Server closed connection]
09:36mrbatmanface[m] has joined #asahi
09:37NightRaven[m] has quit [Server closed connection]
09:37NightRaven[m] has joined #asahi
09:37pho[m] has quit [Server closed connection]
09:37pho[m] has joined #asahi
09:37rohin[m] has quit [Server closed connection]
09:37rohin[m] has joined #asahi
09:37j`eykettenis: so what else is missng for m1 (not pro/max)?
09:40j`ey(looking at the mailing list it seems to only be max/pro stuff left)
09:41twoscomplement0b[m] has quit [Server closed connection]
09:42twoscomplement0b[m] has joined #asahi
09:42kettenisjannau's dynamic mem layout would also be helpful for m1
09:43vasilymilovidov[m] has quit [Server closed connection]
09:43vasilymilovidov[m] has joined #asahi
09:43kettenistpw_rules's usb keyboard thing would also be really helpful
09:44kettenisand there is the usb3 role switching issue (but we can work around that in the device trees)
09:44PieroDel[m] has quit [Server closed connection]
09:44PieroDel[m] has joined #asahi
09:44j`eybut otherwise, it seems that mainline u-boot would be usuable for m1?
09:45MajorBiscuit has joined #asahi
09:45j`eyvery cool!
09:45kettenisI'd like to put back pcie support at some point (type-A ports on the mini), but that will have to wait until after U-Boot 2022.04 has been released
09:46kettenism1 pro/max support might still make 2022.04 since it only touches board-specific files
09:47kettenisbut if not, the asahi-installer can just use a handful of patches on top of the official U-Boot release
09:47mpskettenis: nice. now I could try boot with upstream u-boot
10:36ponkey364[m] has quit [Server closed connection]
10:36ponkey364[m] has joined #asahi
10:43arkettenis: why would the pcie have to wait until after 2022.04?
10:57bisko has quit [Quit: Textual IRC Client: www.textualapp.com]
11:17bisko has joined #asahi
11:31bisko has quit [Read error: Connection reset by peer]
11:32bisko has joined #asahi
11:42kettenisar: the development doesn't have to wait until after 2022.04, but I'm fairly certain it will miss 2022.04
11:45arah, in that sense
11:48AwesomeSheep48[m] has quit [Server closed connection]
11:48AwesomeSheep48[m] has joined #asahi
11:55Jamie[m]1^ lol, valve's embedded controller for the steam deck uses apple-style 4-letter attributes
11:56Jamie[m]1i didn't realise that was a more widespread practise
11:56Jamie[m]1oh is it an ACPI thing? right :/
12:00mpsmainline u-boot can load fine grub and then linux
12:00mpsfrom nvme, doesn't detect external usb storage as expected
12:01mpsso good progress
12:01mpskettenis: congrats
12:01mpsand jannau ofc
12:03eroux has quit [Ping timeout: 480 seconds]
12:08kovkettenis, good stuff! does that include the latest smc dt stuff as well, or is that still pending?
12:19kettenisthat is dependent on things landing on the asahi branch of the kernel repository
12:30eroux has joined #asahi
12:32kettenistpw_rules: looks like your usb keyboard fix diff is on its way to master as well
12:43kovkettenis, makes sense
12:49roxfan has quit [Remote host closed the connection]
12:57roxfan has joined #asahi
13:38tpw_ruleskettenis: they accepted v3? how can i double check that?
13:39kettenismarex sent a pull request with v3 included
13:39tpw_rulesokay, excellent. thanks for your help with that, grateful to be able to contribute
13:39kettenis(well, I assume it is v3)
13:40tpw_rulesoh i see it on patchwork, yes it is
13:41kettenisI just noticed the pull request on the mailing list
14:04le0n_ has joined #asahi
14:08le0n has quit [Ping timeout: 480 seconds]
14:09ifthenelse has quit [Quit: see ya!]
14:09ifthenelse has joined #asahi
14:09ifthenelse has quit []
14:10ifthenelse has joined #asahi
14:34jmr2 has joined #asahi
14:34jmr2jannau: thanks. It was a bad kernel config - CONFIG_SYSFS_DEPRECATED and/or CONFIG_UEVENT_HELPER interfering.
14:34jmr2Still not sure about that 16k warning, though since I plan to share the VG between Asahi and a Linux VM running on MacOS+QEMU. I guess I'll have to try.
14:38Techcable has quit [Remote host closed the connection]
14:38Techcable has joined #asahi
14:38bmrgz[m] has quit [Server closed connection]
14:38bmrgz[m] has joined #asahi
14:41yuyichao has quit [Ping timeout: 480 seconds]
14:51le0n_ is now known as le0n
14:53jmr2 has quit [Quit: Page closed]
14:54allegorie[m] has quit [Server closed connection]
14:54allegorie[m] has joined #asahi
14:56TomHobson[m] has quit [Server closed connection]
14:56yuyichao has joined #asahi
14:56TomHobson[m] has joined #asahi
15:00LorenzKofler[m] has quit [Server closed connection]
15:00LorenzKofler[m] has joined #asahi
15:05oi_wtf has quit [Server closed connection]
15:05oi_wtf has joined #asahi
15:06latko[m] has quit [Server closed connection]
15:06latko[m] has joined #asahi
15:15jonnymac[m] has quit [Server closed connection]
15:15jonnymac[m] has joined #asahi
15:19st3g4n0[m] has quit [Server closed connection]
15:19st3g4n0[m] has joined #asahi
15:25SteffanKaragianis[m] has quit [Server closed connection]
15:25SteffanKaragianis[m] has joined #asahi
15:32taowa_ has quit []
15:32David[m]12345678 has quit [Server closed connection]
15:32David[m]12345678 has joined #asahi
15:33taowa has joined #asahi
15:34ogimgd[m] has quit [Server closed connection]
15:34ogimgd[m] has joined #asahi
16:02n1c has quit [Quit: ZNC 1.8.2+deb1+focal2 - https://znc.in]
16:06kholtastrophe[m] has quit [Server closed connection]
16:06kholtastrophe[m] has joined #asahi
16:09alexstore06[m] has quit [Server closed connection]
16:09alexstore06[m] has joined #asahi
16:10wollymilkcap[m] has quit [Server closed connection]
16:10wollymilkcap[m] has joined #asahi
16:12sppdqd[m] has quit [Server closed connection]
16:12sppdqd[m] has joined #asahi
16:34the_lanetly_052 has quit [Ping timeout: 480 seconds]
16:42JamieMagee[m] has quit [Server closed connection]
16:42JamieMagee[m] has joined #asahi
16:43M32thSystem[m] has quit [Server closed connection]
16:43M32thSystem[m] has joined #asahi
16:43citruscitrus[m] has quit [Server closed connection]
16:43citruscitrus[m] has joined #asahi
16:43cangurbuz[m] has quit [Server closed connection]
16:43cangurbuz[m] has joined #asahi
16:43isitaboat[m] has quit [Server closed connection]
16:43isitaboat[m] has joined #asahi
16:45long[m] has quit [Server closed connection]
16:45long[m] has joined #asahi
16:45matthewayers[m] has quit [Server closed connection]
16:45matthewayers[m] has joined #asahi
16:45Santiago[m]1 has quit [Server closed connection]
16:46Santiago[m]1 has joined #asahi
16:49essentia[m] has quit [Server closed connection]
16:50essentia[m] has joined #asahi
16:51nirusu[m] has quit [Server closed connection]
16:51nirusu[m] has joined #asahi
16:52ghantaz[m] has quit [Server closed connection]
16:52ghantaz[m] has joined #asahi
16:52sproede[m] has quit [Server closed connection]
16:52sproede[m] has joined #asahi
16:52emilytrau[m] has quit [Server closed connection]
16:52emilytrau[m] has joined #asahi
16:52haterade[m] has quit [Server closed connection]
16:52haterade[m] has joined #asahi
16:53nykma[m] has quit [Server closed connection]
16:53nykma[m] has joined #asahi
16:54MajorBiscuit has quit [Quit: WeeChat 3.4]
17:03suricato has quit [Server closed connection]
17:03suricato has joined #asahi
17:12coolshaurya has quit [Server closed connection]
17:12coolshaurya has joined #asahi
17:13as400[m]Hey, looking for a working config for t6000 - anyone ?
17:15GlanzmannLook for the 'boostrap.sh'
17:16Glanzmannas400[m]: Do you use Debian or System i?
17:16as400[m]hehe - that's a joke right ?
17:16GlanzmannNo, you're nick is as400 so you must be an IBM guy.
17:17as400[m]Let's say I was
17:17as400[m]And I just love those machines
17:17as400[m]And that's where the nick came from
17:18GlanzmannI see. 27 years ago, I had access to a lot of AIX machines.
17:18Retr0id has quit [Server closed connection]
17:18Retr0id has joined #asahi
17:19as400[m]AIX is completely different animal than OS/400
17:20anon2022[m] has quit [Server closed connection]
17:20anon2022[m] has joined #asahi
17:20GlanzmannAnyway, to come back to your original question in the above repository you find instructions to build a kernel and u-boot that works on t6000 machines.
17:20axboe has joined #asahi
17:20as400[m]Glanzmann: could you be so kind and just paste .config for me somewhere ?
17:20Glanzmannas400[m]: tg.st/u/m1-config-smc-2022-02-06
17:21as400[m]this is for smc/work branch right ?
17:21GlanzmannCorrect, but also apply the patches mentioned here, otherwise you will have no keyboard IIRC: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob/8cd69b43f64e8912be52f0fb015cbcdbc0a122b6:/bootstrap.sh#l39
17:22as400[m]oh ok - thx
17:23mpsas400[m]: I think kernel config is same as for t8103 machines
17:24flying_sausages has quit [Server closed connection]
17:24as400[m]mps: might be
17:24flying_sausages has joined #asahi
17:24as400[m]does anyone of you guys have link to sven's 4k patch handy ?
17:24viljami[m] has quit [Server closed connection]
17:24viljami[m] has joined #asahi
17:25mpsand maybe add enable mmc drivers
17:26Glanzmannas400[m]: b4 -o - 20211019163737.46269-1-sven@svenpeter.dev | git am # https://lore.kernel.org/linux-iommu/20211019163737.46269-1-sven@svenpeter.dev/
17:26GlanzmannOr if you really just want the patch: tg.st/u/iommu.patch
17:27as400[m]sven: your patch is famous :)
17:28svenapparently, and I’ve been neglecting it for months now!
17:28as400[m]sven: have no idea why, really.
17:29svenI guess because it’s just not in asahi because I worked in that series before that branch even existed
17:30as400[m]sven: well, you just abandoned this patch and it started to live its own life I guess :)
17:30svenhaha :D
17:40* tophevich[m]hopes it doesn't act out based on abandonment issues
17:44GlanzmannIt is not abonded, some in here run it in production. :-)
17:50as400[m]Glanzmann: I just downloaded your u-boot binary. Did anyone tried it on t6000 ?
17:50martinstewart has joined #asahi
17:50Glanzmannas400[m]: axboe was the beta tester.
17:51Glanzmannas400[m]: I also tried it, but not on 6000, since I have only mini and macbook air.
17:51GlanzmannOh and jannau is of course also running it.
17:51as400[m]wow ! You found a respactable beta tester :)
17:51as400[m]Glanzmann: thx for all the ingo
17:51j`ey has quit [Server closed connection]
17:51j`ey has joined #asahi
17:51martinstewarthello just wondering if mac os 12.2.1 is supported by the asahilinux installer
17:51as400[m]you're starting to be a living wiki of this channel
17:52martinstewartim currently on montery bata 10
17:52Glanzmannmartinstewart: The installer installs a 12.1 stub.
17:53Glanzmannmartinstewart: Is your question which macos version it installs or from which version you can run it?
17:53tophevich[m]Glanzmann: But its father who birthed it abandoned it *sigh*
17:53martinstewartthe later option
17:54Glanzmannmartinstewart: So I tried installing it from 12.2 which works. Today I got an update, I have not yet tried to install it using that version.
17:54Glanzmannmartinstewart: I'll try it for you, one second.
17:57as400[m]when running with u-boot --> grub I don't have to specify a dtb in grub, right ?
17:58tpw_rulesif you do everything will explode, so don't
17:59as400[m]tpwrules: thx
18:00as400[m]I don't want my beautiful and expensive mac to explode
18:01as400[m]anyone tried jannaus u-boot with extlinux on t6000 ?
18:01tpw_rulesyou also can't specify a dtb with extlinux
18:03as400[m]ok, just asking if anyone tried
18:03tpw_rulesjust making sure you weren't hoping to dodge that restriction :)
18:04tpw_rulesalright, my patch landed in u-boot master
18:06as400[m]tpw_rules: no, I understand where it comes from. Congrats on patch :)
18:07kettenisit did and and I rebased my t6000 branch on master and added jannau's patches to it
18:07Glanzmannkettenis: Does it also have the pci patch?
18:07tpw_rulesis the m1-m1n1-nvme branch obsolete now?
18:08Glanzmanntophevich[m]: It was already 3 days ago.
18:08kettenisthere is no new pcie patch yet
18:08Glanzmannkettenis: Does the old pcie patch work with master?
18:09kettenisbut I'll declare apple-m1-m1n1-nvme obsolete as soon as we have an asahilinux branch with smc support
18:10Glanzmannkettenis: Yes, I already added a warning to the wiki that the usb-a ports are not working on the mini for the time being but that you will work on it.
18:11martinstewart has quit [Ping timeout: 480 seconds]
18:12mpsas400[m]: I'm using jannau branch with extlinux.conf but only MBP j293 (2020)
18:12mpsthis is only machine I have
18:13as400[m]mps: ok, nice it works. Asking because extlinux is just so much easier to handle for me than grub.
18:13mpstpw_rules: you can specify dtb with extlinux but you shouldn't
18:14as400[m]otherwise I would have to use lame systemd-boot - hehe
18:15j`eymps: can you paste your extlinux conf?
18:15martinstewart has joined #asahi
18:15mpsj`ey: yes, give me few minutes
18:15j`eymps: np
18:16mpsj`ey: https://tpaste.us/oveE I was fast, faster than expected
18:16dianshi has joined #asahi
18:17jannau has quit [Server closed connection]
18:17jannau has joined #asahi
18:17mpsthis is on usb flash, for testing, first option works
18:17j`eymps: ah, have you tried something similar on nvme?
18:17mpsi.e. uncompressed kernel image
18:19j`eyI think you can create menus within u-boot too, with a *.scr file, so that might be another option
18:19Glanzmannmartinstewart: I also installed u-boot and it works.
18:19mpsj`ey: yes, menus could be created but I didn't yet, maybe later when all stabilize
18:20mpsj`ey: I simply follow 'syslinux' (boot loader) style with u-boot
18:21martinstewartGlanzmann: what device you on?
18:21mpsI used grub version 1, but stopped when it become 2.x and used syslinux on x86
18:22mpsnow I had to relearn grub 2 for M1
18:23mpsj`ey: I planned to test extlinux.conf on nvme on weekend, but I don't expect problems
18:24j`eyyeah i assume it'll just work
18:24mpswill see, could be that u-boot stop scan for extlinux on few first partitions
18:25mpsif it reach nvme0n1p4 then it should work
18:26tpw_rulesafaik it scans the same way it does for EFI partitions
18:27mpstpw_rules: yes, we don't need even to change partition type, it find extlinux also on ESP
18:29ChaosPrincess has quit [Server closed connection]
18:29ChaosPrincess has joined #asahi
18:32mpsj`ey: I'm impatient person sometimes, yes it boots from nvme with extlinux, just tested
18:33j`eymps: so you had extlinux.conf and kernels in your ESP partition?
18:34mpsj`ey: right
18:34mpsthough on usb disk I have them on ext4
18:35Misthios has quit [Server closed connection]
18:35Misthios has joined #asahi
18:35as400[m]u-boot will even read btrfs if compiled with afair
18:37mpsas400[m]: yes, if compiled. pity u-boot doesn't yet have f2fs
18:38nzzz has quit [Server closed connection]
18:38nzzz has joined #asahi
18:39mpsj`ey: I even made yesterday script which install alpine on usb disk but didn't tested it thoroughly yet, https://tpaste.us/jN7o
18:41as400[m]well, good news is that it just seeks for extlinux.conf no matter what is the partition type
18:41j`eymps: neat
18:43martinstewart has quit [Ping timeout: 480 seconds]
18:43mpsas400[m]: yes, that's good. but I prefer FS where TUGO can be changed
18:44as400[m]mps: that's why we have linux in the end. Everybody gets what she/he wants
18:45mpsand OpenBSD ;)
18:48Glanzmannmatthewayers[m]: macbook air.
18:51user982492 has joined #asahi
18:52Emantor has quit [Server closed connection]
18:52Emantor has joined #asahi
18:53user982492 has quit []
18:53Glanzmannmps: When I first tried u-boot, someone suggested extlinux, I tried it and it failed. j`ey solved me by looking up the error in the source code.
18:53Glanzmannj`ey: Why do you expect that extlinux.conf now works with u-boot?
18:54user982492 has joined #asahi
18:55JuniorJPDJ has quit [Quit: Reconnecting]
18:55JuniorJPDJ has joined #asahi
18:56j`eyGlanzmann: well it does seem to work for mps! I cant exactly rememeber what the issue now with your attempt
18:56mpsGlanzmann: it didn't worked about month or two ago
18:56j`eyI think scriptaddr wasnt set or something
18:57Glanzmannmps: Did you try a menu?
18:57mpsGlanzmann: no, numeric menus is quite fine for me
18:57Glanzmannmps: I mean, can you choose between different kernels with extlinux and modify the boot options?
18:57mpsfor menus boot.scr must be used
18:58as400[m]it was me suggesting extlinux. As joey said addresses were not set
18:58GlanzmannI don't care about graphical menus either, but I want to be able to choose between kernels and modify boot options.
18:58tpw_rulesyou can definitely choose between kernels defined in extlinux
18:58mpsGlanzmann: ah this, no, u-boot doesn't have editing in menus
18:58tpw_rulesi don't think you can modify options
18:58tpw_rulesexcept to make two menu entries with idifferent options
18:58Glanzmannmps: But I can select different kernels?
18:59mpsGlanzmann: yes
18:59as400[m]extlinux has no edit menu option. It's static
18:59GlanzmannPerfect, than I have to try if it now works out of the box with debian.
19:00NightRaven[m]Does the audio or microphone work on arch linux on the m1 ?
19:00mpsI keep on every SBC one rescue kernel usually as last option
19:00the_lanetly_052 has joined #asahi
19:00GlanzmannNightRaven[m]: povik was working on it, but I did not hear anyone reporting that it does.
19:01as400[m]I wonder what takes precedence - if efi file and extlinux is present. Anyone tried it ?
19:01tpw_rulesextlinux i believe
19:01mpsas400[m]: I did
19:01NightRaven[m]oh ok i might install arch on my system again and i want to get the wifi and some gui working
19:01mpson usb efi had precedence but on nvme it is extlinux. funny
19:02NightRaven[m]which i will try to do
19:02as400[m]mps: indeed
19:02GlanzmannNightRaven[m]: Should not be a problem. Have a look at the Debian videos, it is the same procedure, just that you have to manually install grub and extract a rootfs, if you have troubel let me know.
19:02mpsbut 'mv EFI something' is safe to do I think
19:02j`eyhmm I wonder how it's working without scriptaddr set then
19:03mpsj`ey: iirc jannau added it
19:03as400[m]joey: I don't think so
19:03NightRaven[m]i will do the same step installing it on my ssd like before which i can do it but my only issue is the wifi i am a bit confused how you do it since i have never done before
19:03as400[m]And with other sbcs it gets even worse
19:03GlanzmannNightRaven[m]: It is also in the videos, but basically it is:
19:03j`eymps: oh I thought you were on mainline!
19:04GlanzmannCollect the firmware form macos: curl -sL tg.st/u/fwx.sh
19:04mpsCONFIG_SYS_LOAD_ADDR=0x880000000
19:04GlanzmannAnd extract it in /lib/firmware and reboot
19:04Glanzmannthan use iwd or wpa_supplicant
19:04mpsj`ey: mainline works also but I didn't tested it on nvme
19:05j`eymps: youve tried mainline with extlinux?
19:05NightRaven[m]oh ok thanks will start now
19:05mpsj`ey: yes
19:06mpsbut it have some bugs which I didn't had time to look at
19:06NightRaven[m]do you know where i can get the arch linux .tar.gz ?
19:06mpsit don't detect usb storage
19:06NightRaven[m]arch linux arm .tar.gz *
19:07j`eyNightRaven[m]: I think you should wait until this is more user friendly
19:07mpsI think because PCIe things are not upstreamed yet
19:07NightRaven[m]j`ey: i want to try to do it since i interested in it
19:08j`eyI know, but it's not easy currently
19:08GlanzmannNightRaven[m]: So easiest way for you is, install u-boot
19:08Glanzmannuse the debian live system to boot
19:08Glanzmannpartition and format it
19:08Glanzmannuse the rootfs from above and extract it to root. Than you need a kernel.
19:09GlanzmannEither compile it yourself or extract tg.st/u/k.deb
19:09GlanzmannThan you can boot the grub.efi on the esp parition or within ext4 and you have a system that boots.
19:10NightRaven[m]For now i might skip grub and install linux on my ext4 partion on my ssd and boot into it using kmutil
19:10NightRaven[m]and then later on i can try grub
19:10homulilly[m] has quit [Server closed connection]
19:10homulilly[m] has joined #asahi
19:11martinstewart has joined #asahi
19:11GlanzmannNightRaven[m]: Grub is as easy as to put one binary on the right path. Than you have grub command line. There you type linux (hd0,gpt5)/boot/vmlin<tab> root=/dev/nvme0n1p5 rw
19:12Glanzmannj`ey: See, I can learn a new command. :-)
19:12GlanzmannNightRaven[m]: Path
19:13j`eyGlanzmann: haha
19:13Glanzmannj`ey: I still try image and kernel ...
19:14GlanzmannNightRaven[m]: The path: EFI/BOOT/BOOTAA64.EFI the binary: tg.st/u/grubaa64.efi (I took that from Debian testing).
19:14NightRaven[m]Glanzmann: oh you put the grub.efi in the .bin file ?
19:14GlanzmannNightRaven[m]: Nope.
19:14GlanzmannIn the bin file you have m1n1 <all dtbs> u-boot
19:14Glanzmannm1n1 picks the right dtb and loads u-boot
19:15Glanzmannu-boot has a driver for ext4 and msdos and looks for an efi binary. Once it finds it, it loads it.
19:15GlanzmannThat efi binary is grub which also has a ext4 and msdos driver and loads the grub.cfg There is the kernel and initrd and kernel command line parameters referenced
19:15Glanzmannand than it boots.
19:16NightRaven[m]what is the command again to put all the dtb and image.gz into the .bin file ?
19:16NightRaven[m]and the root="/dev/somethinghere"
19:20GlanzmannNightRaven[m]: see the bootstrap.sh link I pasted above.
19:20Glanzmannj`ey / mps: That was easy, lets see if it works: https://pbot.rmdir.de/mDPUZdYnP6wNLjzrs6Nr0g
19:21GlanzmannI moved the efi binary out of the way ...
19:21caleb010[m]NightRaven: You need something like cat m1n1.macho <(echo 'boot-args=net.ifnames=0 rw root=/dev/"nvme partition" rootdelay=5 rootfstype=ext4') Image.gz *.dtb > linux.macho
19:21NightRaven[m]yea this thx
19:23caleb010[m]NightRaven: i read before landscape15 used usb as a root device, it should be the same
19:23mpsGlanzmann: remove fdtdir
19:24NightRaven[m]caleb010: i just have to change the /dev/nvmepartion which i know the usb is
19:26landscape15[m]NightRaven: If you want to build a .bin it’s the same. You only need to cat m1n1.bin instead (as you always do with cat)
19:27NightRaven[m]yep i know thanks
19:27NightRaven[m]oh btw when i try to make it i get this
19:28NightRaven[m]i am currently doing xcode-select --install if that fixes it
19:29user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:29martinstewart has quit [Ping timeout: 480 seconds]
19:30landscape15[m]NightRaven: If you keep getting that error, check settings in Xcode. Make sure compilers are installed under “Components”
19:30landscape15[m]btw you may only need to install Command Line Tools. For me it worked
19:31Glanzmannmps: So a few things which are strange. With the new u-boot my internal nvme does not boot when the usb stick with the grub is in.
19:33mpsGlanzmann: did you removed fdtdir from boot.scr
19:33mpsand do you use compressed kernel?
19:34Glanzmannmps: I do not have a boot.scr
19:34GlanzmannAnd yes, I have compressed kernels.
19:35mpsGlanzmann: sorry, I mean extlinux.conf
19:36mpsdtb is loaded with u-boot, if you specify one from kernel it will not work and will not boot
19:36GlanzmannOh, I see.
19:36mpsalso, for now only uncompressed kernels boot
19:36GlanzmannCan I keep the compressed kernels?
19:37GlanzmannI see, let me try
19:38axboe has quit [Quit: leaving]
19:42GlanzmannBut I think I'll stay with grub, because it has more features and it works out of the box with debian.
19:44mpsGlanzmann: I see there something like it trying to load dtb (fdt check ...)
19:47mpsGlanzmann: do you use mainline or jannau fork
19:47NightRaven[m]does the trackpad work on linux ?
19:47GlanzmannNightRaven[m]: Yes.
19:47NightRaven[m]oh ok thanks
19:47GlanzmannNightRaven[m]: And not only for me, but for everyone.
19:47GlanzmannNightRaven[m]: jannau took good care of it.
19:47NightRaven[m]oh how did you get it working ?
19:49GlanzmannNightRaven[m]: jannau wrote the drivers, than you need a kernel tree with the driveres and a config which enables the drivers (see the link above).
19:49GlanzmannNightRaven[m]: And than you need mps xorg config to finetune it (see also the link above)
19:50GlanzmannNightRaven[m]: But for me it works out of the box with Debian testing and others have reported that it works for them even with debian stable.
19:50NightRaven[m]oh ok thanks
19:50GlanzmannFor me it did not work with debian stable but I might have done something wrong.
19:56eroux has quit [Ping timeout: 480 seconds]
20:00eroux has joined #asahi
20:00mpsj`ey: Glanzmann: just tested mainline u-boot with extlinux.conf, doesn't work
20:01mpsgot error similar like on latest Glanzmanns image
20:01Glanzmannmps: I tried jannaus branch. I thought it worked for you already?
20:02mpsGlanzmann: jannaus fork/branch works fine
20:03mpsjannau: thank you
20:04Glanzmannjannau: I see. And than you just need an extlinux.conf without the fdt and uncompressed kernels?
20:05as400[m]Glanzmann: I just tried your u-boot binary - it doesn't work on t6000
20:06NightRaven[m]what was the command to build the kernel ?
20:07Glanzmannas400[m]: What does not work?
20:07as400[m]Glanzmann: nvmmu
20:08kettenisthere was a commit missing on my branch
20:09Glanzmannas400[m]: For jannau and axboe it works.
20:09as400[m]Glanzmann: just reporting
20:10Glanzmannthan it works.
20:11as400[m]Glanzmann: wait, these instructions are for linux not for u-boot
20:11jannauas400[m]: what does not work? does the u-boot screen load?
20:11jannauas400[m]: scroll 17 lines up
20:12as400[m]yes, it loads - I just get bunch of nvmmu errors
20:13Glanzmannas400[m]: These instructions contain multiple things: linux, m1n1, u-boot, debian rootfs, debian dd, debian live stick, and upload the artefacts to my site.
20:13Glanzmannas400[m]: But if you want a binary that works: tg.st/u/ush
20:17jannauas400[m]: where are the .dtbs coming from? it should work with the current asahi or smc/work branches. for the kwyboard to work in u-boot/grub you need https://github.com/jannau/linux/commit/8737955a0263d09ffa8550658dfcac1df3d0665c as well
20:18j`eyjannau: such a silly fix
20:19Glanzmannas400[m]: Did you try the u-boot binary from my site or did you try to build it yourself? I have no pro/max but jannau and axboe use it succesfully.
20:20as400[m]jannau: ok, will try to build. I was lazy and took entire macho from others. Which is no no no probably. Will build my own u-boot bin
20:20as400[m]Glanzmann: I took you entire macho bin
20:20user982492 has joined #asahi
20:21jannauj`ey: especially considering it took several hours per character to find the fix
20:21j`eyjannau: you werent to know :)
20:25Glanzmannas400[m]: I would install the 12.1 stub using asahi installer.
20:25user982492 has quit []
20:25user982492 has joined #asahi
20:27MrHunk[m] has quit [Server closed connection]
20:27MrHunk[m] has joined #asahi
20:31as400[m]Glanzmann: you might be right
20:31as400[m]although I'm not that old - 120.1
20:31Glanzmannthat is new enough
20:31Glanzmannbut you need a bin
20:32GlanzmannThe bin that you need is m1n1 + dtb(s) + u-boot
20:32Glanzmannthe dtb is from the smc branch with jannaus patches.
20:32as400[m]I have m1n1 compiled. Where do I take dtb from ? linux or u-boot ?
20:33Glanzmannas400[m]: From the linux kernel
20:33Glanzmannbut it needs the patches from jannau.
20:33Glanzmannfor the dtb.
20:33as400[m]yeah - patches applied
20:35Glanzmannas400[m]: Than build the kernel.
20:35tpw_rules12.0.1 is still the mach-o
20:35Glanzmanntpw_rules: It works with both.
20:35as400[m]tpw_rules - I know
20:35GlanzmannDoesn't it?
20:36tpw_rulesi don't think so?
20:36GlanzmannOkay, maybe not. Than you need the macho.
20:36GlanzmannAnyway in my scripts I build both.
20:36Glanzmann 36 cat m1n1/build/m1n1.macho `find linux/arch/arm64/boot/dts/apple/ -name \*.dtb` u-boot/u-boot-nodtb.bin > u-boot.macho
20:54Glanzmannjannau: Do you have instructions how to cross compile u-boot on an amd64?
20:55j`eyall you need is a aarch64-linux-gnu toolchain
20:56j`eygcc-aarch64-linux-gnu I think its called on debian?
20:56Glanzmannj`ey: Thanks. Because than I can modify my build script that it also works on amd64, probably easier for lot of people.
20:56kettenisyou'll need to set the CROSS_COMPILE environment variable
20:57jannauGlanzmann: same way as the kernel
20:57kettenisthe same way as for the Linux kernel I belive
20:57j`eykettenis: nah m1n1 doesnt use CROSS_COMPILE
20:57Amy[m] has quit [Server closed connection]
20:57GlanzmannI see. Than I'll modify my script so that it also works on amd64.
20:57Amy[m] has joined #asahi
20:57j`eyuses ARCH=... but its aarch64-linux-gnu- by default
20:57kettenisI thought he was asking about u-boot
20:57jannauthis was for u-boot
20:58j`eyoh woops, sorry
20:58j`eythen yes to CROSS_COMPILE=aarch64-linux-gnu-
21:02as400[m]Glanzmann: two commands when you have toolchain installed
21:03as400[m]make -j 16 CROSS_COMPILE=aarch64-linux-gnu- apple_m1_defconfig
21:03as400[m]make -j 16 CROSS_COMPILE=aarch64-linux-gnu-
21:03as400[m]make number of cores whatever you want
21:10as400[m]jannau: which dtb should I use ? From kernel or from u-boot ?
21:10jannaufor t600x from kernel, no m1 pro/max dts in u-boot yet
21:11as400[m]jannau: thx
21:18burlmancer[m] has quit [Server closed connection]
21:18burlmancer[m] has joined #asahi
21:19Glanzmannas400[m]: Thanks.
21:19Glanzmannas400[m]: I did a video how to install u-boot: https://tg.st/u/asahi-installer-u-boot.mp4 - takes 12 minutes or more depending on your internet connection.
21:21as400[m]Glanzmann: where I live - I have only gsm connection. Basically im in the middle of the forest
21:24Glanzmannas400[m]: So I need to add transcribes for my videos, that you can access it easier.
21:25Glanzmannas400[m]: So the answer is use the dtb from the kernel. :-)
21:25j`eyGlanzmann: kmutil took 12mins??
21:26Glanzmannj`ey: Nope, the whole process. From start to finish.
21:26j`eyGlanzmann: oh ok
21:26GlanzmannActually It was only 11:52
21:27as400[m]Glanzmann: don't do this. I'm just a freak. I will manage. Imagine what will happen when Asahi Crew will release installer ! It will be like "unleash the hell" :)
21:27j`eyGlanzmann: the logo is kinda ugly with that blue square lol
21:27Glanzmannj`ey: You have to take this to jannau. And request an asahi logo.
21:29Glanzmannas400[m]: So around 94 when some student of my father showed me the internet (www, ftp, gother, irc). I had only a modem line at home and it was expensive. Luckily I had access to the university because my father was working there. So what I did is, I spend every free minute in the university.
21:30Glanzmannjannau / kettenis / j`ey: Thank you crosscompiling is working.
21:31as400[m]Glanzmann: I guess we are similar age then :)
21:31GlanzmannI'm born 80.
21:32as400[m]I'm born 72
21:33Glanzmannjannau / j`ey: Now I would like to run debootstram on aarch64, you have some fancy qemu command I can use?
21:33Glanzmanns/aarch64/amd64/g
21:34j`eyI thought debbootstrap took an --arch param?
21:35GlanzmannBut than it is bailing out on me when it wants to run /bin/true.
21:37j`eyGlanzmann: Ive never used debbootstrap, but I think it is possible to cross compile, maybe more arguments are needed
21:38GlanzmannI see, I'll google it up. I thought you had some fancy qemu line which makes it work.
21:46user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:48casperes1996[m] has quit [Server closed connection]
21:48casperes1996[m] has joined #asahi
21:49xorly[m] has quit [Server closed connection]
21:49xorly[m] has joined #asahi
21:49coin3x[m] has quit [Server closed connection]
21:50coin3x[m] has joined #asahi
21:50Bai-Chiang[m] has quit [Server closed connection]
21:50Bai-Chiang[m] has joined #asahi
21:51enick_341 has quit [Server closed connection]
21:51enick_341 has joined #asahi
21:51PedroArajo[m] has quit [Server closed connection]
21:51PedroArajo[m] has joined #asahi
21:52shu9[m] has quit [Server closed connection]
21:52shu9[m] has joined #asahi
21:52Glanzmannj`ey: Turns out there is a qemu-debootstrap which does anything.
21:52smvg[m] has quit [Server closed connection]
21:52smvg[m] has joined #asahi
21:52GlanzmannSo now I can bootstrap on an amd64 host.
21:52legarts[m] has quit [Server closed connection]
21:53legarts[m] has joined #asahi
21:53samfromspace[m] has quit [Server closed connection]
21:53samfromspace[m] has joined #asahi
21:53j`eyGlanzmann: neat
21:55djk121[m] has quit [Server closed connection]
21:55GlanzmannIIUC, it puts a qemu binary in the root of the debian being boostraped and registers a binfmt handler to execute arm64 binaries using this statically linked qemu binary.
21:55djk121[m] has joined #asahi
21:55Lucy[m]1 has quit [Server closed connection]
21:55Lucy[m]1 has joined #asahi
21:56tpw_rulescan you do that in a chroot?
21:56tpw_rulesand have it be specific to that? doesn't that have to involve a kernel?
21:57user982492 has joined #asahi
21:59as400[m]jannau: I get constant "nvmmu invalidation failed" and then "waiting for root device" forever
21:59slado122[m] has quit [Server closed connection]
21:59slado122[m] has joined #asahi
22:00houlton[m] has quit [Server closed connection]
22:00Glanzmanntpw_rules: Yes, I can.
22:00houlton[m] has joined #asahi
22:00Glanzmanntpw_rules: Yes it does. The kernel of the host.
22:00lockna has quit [Server closed connection]
22:00lockna has joined #asahi
22:00AONeiLL[m] has quit [Server closed connection]
22:00AONeiLL[m] has joined #asahi
22:01Glanzmannas400[m]: What distribution do you try to boot?
22:01alessandrorzz[m] has quit [Server closed connection]
22:01Glanzmannas400[m]: Does grub come up?
22:01alessandrorzz[m] has joined #asahi
22:01Glanzmannas400[m]: Where does the kernel come from?
22:01quentincestino[m] has quit [Server closed connection]
22:01quentincestino[m] has joined #asahi
22:01OrganicPumpkin[m] has quit [Server closed connection]
22:01OrganicPumpkin[m] has joined #asahi
22:01sephamorr[m] has quit [Server closed connection]
22:02sephamorr[m] has joined #asahi
22:02Glanzmanntpw_rules: I just pushed, if you're intested it. Will paste the compile log in a second. https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob/0bffa1b014fafea1080904cce9050825ab2846c9:/bootstrap.sh
22:02Glanzmanntpw_rules: Of course the debootrap is slower on the x5950 than on the m1, but the rest is much faster.
22:03tpw_rulesi know how binfmt_misc works, just wasn't sure how it interacted with chroots
22:03tpw_rulesi've been hoping they make it cgroup-relative soon
22:03Glanzmanntpw_rules: The trick is to put the static qemu binary in the change root.
22:03tpw_ruleshow long does it take you to build a kernel on that machine?
22:03Glanzmanntpw_rules: ANd the really cool thing is that you can even install after debootstrap debian packages using that.
22:04Glanzmanntpw_rules: So the whole bootstrap on the air takes approx. 10 minutes.
22:04Glanzmanntpw_rules: Building the kernel on the x5950 is very fast, but I also cheat by having ccache (same on the m1).
22:06tpw_rulesah. i don't really have any modern x86 machines
22:06tpw_rulesthe fastest i have is my thinkpad, but it's still a mobile processor
22:06ah-[m]how do dtbs work with grub? does it take the dtb from m1n1/u-boot?
22:07tpw_rulesu-boot and grub and linux all have to use the device tree prepared by m1n1
22:07Glanzmannah-[m]: m1n1 picks the right dtb and than loads u-boot. u-boot loads grub, grub loads kernel and initrd
22:07ah-[m]ah cool, so to update that device tree it's necessary to do the kmutil thing again?
22:08as400[m]Glanzmann: kernel is just my build. u-boot comes up but it seems it does not find any nvme partition. Well, I will get back to this tomorrow. It's late. G'night guys - I do appreciate your work very much !!!
22:08Glanzmanntpw_rules: 44 seconds for the kernel, but that involes building a debian package. If I leave that out it will be faster.
22:08Glanzmannas400[m]: Good night. You need a efi partition with the grub on it.
22:09tpw_rulesi assume that also involves ccache
22:09Glanzmanntpw_rules: Okay, now I do a run for you without ccache.
22:10as400[m]Glanzmann: I have EFI partition
22:10tpw_rulesas400[m]: does it have the right GUID in the GPT?
22:10tpw_rulese.g. you've set it as type EF00 with gdisk
22:10tpw_rulesand it's formatted with FAT
22:11as400[m]tpw_rules: how can it not have proper guid ? It's displayed as efi.
22:11as400[m]by anything I use
22:11tpw_rulesthen it's probably correct
22:11as400[m]fdisk, cfdisk
22:12Glanzmannas400[m]: Where did you get the grub from?
22:12tpw_ruleswell, i wonder at this point if u-boot is detecting the nvme
22:12as400[m]I compiled it myself
22:12tpw_rulesthere should be like an nvme info command
22:12tpw_rulesand part lst
22:12tpw_rulespart list*
22:13Glanzmannas400[m]: Maybe try the one from Debian?
22:13Glanzmanntpw_rules: For the kernel compile without ccache: real 1m41.651s
22:13as400[m]Glanzmann: I will try - maybe I did fuck something up
22:13GlanzmannThat includes 3.5 seconds doing git, patches, olddefconfig, cleaning up the old build.
22:13tpw_rulesGlanzmann: so about twice as fast as the mini.
22:13tpw_rulesfor me at least
22:14Glanzmanntpw_rules: Okay let me benchmark the air.
22:14* tpw_rulesreally hopes the arm mac pro is awesome
22:20ah-[m]nice, u-boot works :)
22:22Glanzmanntpw_rules: Same kernel on the m1 air: 4m36.210s
22:23tpw_rulesso it seems the mini is somewhat faster
22:24Glanzmanntpw_rules: It has a fan.
22:24GlanzmannOtherwise the systems are equal.
22:25Glanzmanntpw_rules: It /clear
22:25jannauas400[m]: strange, do you have a 4 or 8 terabyte ssd?
22:25Glanzmannah-[m]: Which distro are you using?
22:25tpw_rulesas400[m]: it still is not clear to me if u-boot reads the partitions but doesn't find one it likes, or does not read the partitons at all
22:26Glanzmanntpw_rules: You can do a ls
22:26GlanzmannFor example ls nvme 0:4
22:26ah-[m]Glanzmann: arch linux arm
22:26Glanzmannah-[m]: I see.
22:26ah-[m]worked perfectly thanks to you wiki page, really appreciated! probably wouldn't even have installed asahi linux yet without those
22:27GlanzmannGlad to hear.
22:27tpw_rulesi need to revise my nixos stuff. still salty about libunwind
22:27Glanzmannah-[m]: So you have now stub, efi partition, root partition and are using grub?
22:29ah-[m]yep, exactly. I had to grub-mkconfig -o /boot/grub/grub.cfg, and move my Image.gz to /boot, otherwise it was just what was on the wiki page
22:31Glanzmannah-[m]: I see, perfect. Where does arch normally keep the kernel images? Or did you had to move it because it was a self-compiled kernel>
22:32ah-[m]I think it's just because it's a self-compiled kernel, there was an existing arch kernel there already
22:35AliasSpider has joined #asahi
22:35wCPO6 has quit [Server closed connection]
22:35wCPO6 has joined #asahi
22:46ah-[m]is there some fix for "<jemalloc>: Unsupported system page size" with LLVM?
22:47ah-[m]I suppose it's the 16k pages, but is there something I can do about that? trying to build https://github.com/xou816/spot
22:48leah has quit [Server closed connection]
22:48leah has joined #asahi
22:49leah is now known as Guest119
22:49j`eywhere exactly is that coming from?
22:50psykosespot doesn't seem to use jemalloc itself
22:50psykosenor does that seem related to llvm, that is probably just something using jemalloc somewhere
22:51ah-[m]rustc apparently: "error: process didn't exit successfully: `rustc -vV` (signal: 6, SIGABRT: process abort signal)"
22:52j`eyrust has used it by default in ages either..
22:52j`eyoh wait, rustc might opt in..
22:52psykosepretty sure rustc does not use jemalloc by default
22:52psykoseeven the rustup binaries
22:53psykosei could be wrong
22:53ah-[m]yeah, just running rustc produces the same error
22:53jannaufd itself uses jemalloc for example and has the same error
22:55trepatudo has quit [Server closed connection]
22:55trepatudo has joined #asahi
22:59j`eythat sucks
22:59jannauat least jemalloc will work if the page size is smaller than the configured page size
23:00j`eyjannau: fd has a feature flag to turn off jemalloc if you wanna build it
23:00jannauso jemalloc configured for 16k or 64k will still work on 4k or 4k/16k systems
23:00ah-[m]and looks like rustc statically links jemalloc? so probably not as easy as just recompiling one library
23:05j`eyI wonder if that regressed, seems like jemalloc was disabled here https://github.com/rust-lang/rust/issues/36994
23:05tpw_rulesi did not encounter issues running rustc on nixos with 16k pages, fwiw. but idk what versions of stuff they use
23:06j`eyah-[m]: how did you install rust?
23:08ah-[m]just what's in the arch extra repo
23:08mpsI remember that I built firefox (which uses rust for build) few times about two months ago without problem
23:09ah-[m]does rustc run for you?
23:09mpsiirc rustc is not yet available on alpine linux
23:11psykoseit's part of rust
23:11Xesxen has quit [Server closed connection]
23:11psykose(and available)
23:11Xesxen has joined #asahi
23:11mpsah, didn't know (I don't use rust except when must)
23:11psykoserustc is just the literal compiler, in the rust package, most things use cargo instead of invoking it directly
23:12mpspsykose: so if I built firefox it then works?
23:13psykosefirefox requires a Very Working rustc :)
23:13mpsaha, thanks for info
23:13jannauI suppose it might fixes itself if built on m1 with 16k pages
23:13psykoseif it was with the community/firefox apkbuild then it means ours works fine on 16k
23:15mpsjust run 'rustc' on terminal and it show help on m1 with 4K pages kernel
23:15mpsso lets try build fd
23:15psykosewith 4k kernel i would assume everything is fine, you should be testing with the 16 one
23:16mpsok, will reboot then
23:17mps(really dislike rust build system)
23:18j`eyfd wont use jemalloc with musl, so it will work on alpine :p
23:20mps'abuild -r' in aports/community/fd finished without error
23:20mpson 16K
23:20psykoseif it doesn't crash on start it means the rustc doesn't have jemalloc either i guess
23:20psykoseall good
23:22mpsjemmaloc => call for problems
23:26AliasSpider has quit [autokilled: This host violated network policy. Mail support@oftc.net if you feel this in error. (2022-02-11 23:26:27)]
23:32ah-[m]yeah with rust from rustup it just works
23:43jannaufd works with jemalloc if built on a m1 machine
23:45jannauthe arch linux rust pkgbuild has a bootstrap problem
23:46jannauI guess that has to be built first without jemalloc or with an explicit page size configuration on a 4k kernel
…