#
…

2024-04-24

00:01sawyerchadmed_: I was hoping to use the tethered boot for shorter test cycles, but I only have one m1 machine ("don't $*** where you sleep" feels apt too)
00:02sawyerI did that for a little while but it was always annoying to have to close my entire dev env just to test a change
00:03chadmed_tethered boot is fine but if youre cross compiling you simply need to either build every module in and not use an initramfs at all or build the kernel and initramfs on the mac and copy it over to the tethered host system for booting
00:04sawyerif the answer is just "ebay has m1 mac minis for $350" then that's that, I was just hoping for a way to use my 7950x to speed things up a bit and not have to do everything through ssh again
00:04sawyerhm, I can try building everything in again
00:04sawyerthis is probably dumb--do I actually need an initramfs for anything more than those kernel modules
00:04sawyerI thought it also held systemd and such in there
00:06chadmed_if the kernel has the filesystem driver for your rootfs you can just set the root kernel command line parameter and it will find /sbin/init on that partition
00:07sawyeroh....right...🤦️ yep, that would work too lol
00:10sawyerThat one from above has DRM_ASAHI=m, I take it you were using that along with an initramfs with those modules?
00:16chadmed_yes this is my production kernel config
00:16chadmed_you will have to modify it to use it tethered
00:20alexdelorenzo has quit []
00:20alexdelorenzo has joined #asahi
00:29chadmed_ has quit [Remote host closed the connection]
00:34Brainium has quit [Ping timeout: 480 seconds]
00:38Harriet has quit [Quit: Leaving]
00:39Brainium has joined #asahi
01:00KxCORP589 has quit [Quit: Bye!]
01:01KxCORP589 has joined #asahi
01:03LarstiQ has quit [Ping timeout: 480 seconds]
01:33pb17 has quit [Ping timeout: 480 seconds]
01:35LarstiQ has joined #asahi
01:58grgy has quit [Remote host closed the connection]
02:01grgy has joined #asahi
02:01grgy has quit [Remote host closed the connection]
02:02KxCORP589 has quit [Quit: Bye!]
02:02KxCORP589 has joined #asahi
02:03mintakka has joined #asahi
02:03darkapex2 has quit [Ping timeout: 480 seconds]
02:03grgy has joined #asahi
02:04mintakka has quit [Remote host closed the connection]
02:10possiblemeatball has quit [Ping timeout: 480 seconds]
02:12delroth has quit [Remote host closed the connection]
02:13possiblemeatball has joined #asahi
02:13delroth has joined #asahi
02:18possiblemeatball has quit [Quit: Leaving]
02:20jeisom has quit [Ping timeout: 480 seconds]
02:23pb17 has joined #asahi
02:46SalimTerryLi has joined #asahi
02:47shiggitay has joined #asahi
02:47SalimTer- has quit [Ping timeout: 480 seconds]
03:03denysonique31 has quit [Quit: .]
03:03denysonique31 has joined #asahi
03:06kode54 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
03:07kode54 has joined #asahi
03:21confusomu has quit [Ping timeout: 480 seconds]
03:34Brainium has quit [Quit: Konversation terminated!]
03:52marvin24 has joined #asahi
03:55marvin24_ has quit [Ping timeout: 480 seconds]
04:07alexdelorenzo has quit []
04:08alexdelorenzo has joined #asahi
04:08alexdelorenzo has quit []
04:09alexdelorenzo has joined #asahi
04:13alexdelorenzo has quit []
04:13alexdelorenzo has joined #asahi
04:14alexdelorenzo has quit []
04:14alexdelorenzo has joined #asahi
04:16alexdelorenzo has quit []
04:16alexdelorenzo has joined #asahi
04:16alexdelorenzo has quit []
04:17alexdelorenzo has joined #asahi
04:22pb17 has quit [Ping timeout: 480 seconds]
04:27alexdelorenzo has quit [Ping timeout: 480 seconds]
04:33pb17 has joined #asahi
04:52ddxtanx has joined #asahi
04:55john-cabaj has quit [Ping timeout: 480 seconds]
05:33chadmed has quit [Remote host closed the connection]
05:34chadmed has joined #asahi
05:36jannausawyer: I'm using https://github.com/AsahiLinux/asahi-scripts/pull/32 which should be compatible with cross-compiling. you need to create a special initramfs on the apple silicon device and copy that to the host. after that you can inject modules from the cross-compiled build
05:37jannaubut having everything necessary built-in would be easier to start
06:29pb17 has quit [Ping timeout: 480 seconds]
06:34qyliss has quit [Ping timeout: 480 seconds]
06:37qyliss has joined #asahi
07:01pb17 has joined #asahi
07:13shiggitay has quit [Ping timeout: 480 seconds]
07:55andymandias has quit [Ping timeout: 480 seconds]
07:56andymandias has joined #asahi
08:53pb17 has quit [Ping timeout: 480 seconds]
09:34pb17 has joined #asahi
09:38Luj has quit [Ping timeout: 480 seconds]
09:38Raito_Bezarius has quit [Ping timeout: 480 seconds]
09:44iyes has joined #asahi
09:50Luj has joined #asahi
10:08f_ has joined #asahi
10:09Luj has quit [Ping timeout: 480 seconds]
10:13f_ has quit [Remote host closed the connection]
10:13f_ has joined #asahi
10:16iyes has quit [Ping timeout: 480 seconds]
10:41iyes has joined #asahi
10:57nanopone has joined #asahi
11:00nanopone has quit []
11:06gladiac is now known as Guest2124
11:06gladiac has joined #asahi
11:12Guest2124 has quit [Ping timeout: 480 seconds]
11:13f_ has quit [Ping timeout: 480 seconds]
11:13rvalue has quit [Ping timeout: 480 seconds]
11:18rvalue has joined #asahi
11:25pb17 has quit [Ping timeout: 480 seconds]
11:28pb17 has joined #asahi
11:43jeisom has joined #asahi
11:53rvalue has quit [Ping timeout: 480 seconds]
11:58rvalue has joined #asahi
12:13rvalue has quit [Ping timeout: 480 seconds]
12:17rvalue has joined #asahi
12:21Szadek has quit [Ping timeout: 480 seconds]
12:31KxCORP589 has quit [Quit: Ping timeout (120 seconds)]
12:31KxCORP589 has joined #asahi
12:31BesterGester has quit [Quit: Ping timeout (120 seconds)]
12:31BesterGester has joined #asahi
12:36alarm_ has joined #asahi
12:38alarm_ is now known as spuos_
12:45Szadek has joined #asahi
12:46spuos_How would I go about making another bootable os? I.e, what partitions can I safely shrink, do I need to do it from macos, can I use the same m1n1 instance, etc
12:47j`eyyou can use the installer to install another stub, that'd be the easiest way
12:48j`eyand resizing the macOS partition would probably bthe easiest
12:59john-cabaj has joined #asahi
13:06spuos_ has quit [Remote host closed the connection]
13:06spuos_ has joined #asahi
13:12sam_ has quit [Quit: ZNC - http://znc.in]
13:14sam_ has joined #asahi
13:18possiblemeatball has joined #asahi
13:41mort_During the dnf system-upgrade reboot step, my screen just turns off (though the keyboard backlight is still glowing)
13:47mort_Huh I just tried again and it randomly worked 🤷
13:52mort_Nevermind it didn't
13:53spuos_ has quit [Quit: Leaving]
13:54mort_It seems to not even shut down properly
14:03delsol has quit [Remote host closed the connection]
14:03delsol has joined #asahi
14:06iyes has quit [Ping timeout: 480 seconds]
14:13iyes has joined #asahi
14:16hightower2 has joined #asahi
14:21ddxtanx has quit [Quit: Konversation terminated!]
14:30jeisom has quit [Ping timeout: 480 seconds]
14:40Raito_Bezarius has joined #asahi
14:45faddat has joined #asahi
14:45faddat has quit [autokilled: This host violated network policy. Mail support@oftc.net if you think this is in error. (2024-04-24 14:45:26)]
14:48faddat has joined #asahi
14:50faddatHey all :). Been a real long time since I've IRC'd. But worthy very worthy reason to IRC here. I'm really interested in maintaining the arch stuff, and rolling that into a new arch distro that fixes my huge list of personal pet peeves about arch and archlinuxarm
14:50faddatBut I wanted to stop in here, and basically ask if that is dumb. I might not listen of course but... heh
14:51faddatMy understanding of the reasoning behind the move to Fedora was like:
14:51PaulFertserYou mean you want to create another Arch Linux fork to replace the ALARM fork? :)
14:53faddat@Paul - more like I want to have an arch linux distro that supports arm, and is kind to hardware like manjaro, and generally aims to not be a pain in the ass, and explicitly tries to support stuff like RISC-V and mips, and overlay networks, out of the box. But, overall, yes, I suppose so :)
14:54PaulFertserfaddat: Manjaro is known to be PITA, and not only to Asahi community :)
14:54faddat@Paul: I agree. It is only nice in terms of hardware support, but if you want to customize it at all, you end up with pain in your ass-zone.
14:54PaulFertserfaddat: it looks like Arch Linux being stubborn and not accepting any other but amd64 architecture is just going to be a poor choice for now.
14:55j`eyit's not out of stubborness, it's about the work being done properly
14:55PaulFertserfaddat: ALARM being a fork takes plenty of maintainer's resources and too few people are involved so it keeps delivering silly bugs.
14:56PaulFertserj`ey: I can't understand why all the mainstream GNU/Linux distros are properly multi-arch for long time while Arch is being somehow special.
14:56faddatSo, yes, the idea would be a full-on fork. Yep, Paul, exactly this. That's the thing I'd like to address. I want to make a really great build system, and do it right.
14:56sawyerchadmed_: thanks for the tips! I got it to properly boot, wifi is broken but I can probably figure that one out
14:56PaulFertserfaddat: do you think there's a chance you can actually introduce another arch to real Arch Linux?
14:57faddat@PaulFertser -- I don't. That's why I'd look to forking. I really wish that I could, because Arch is imo straight up the best.
14:57PaulFertserfaddat: if you like bleeding edge and tinkering probably Gentoo build system is great enough for you?
14:58faddat@PaulFertser is it possible to build Arch with Gentoo? I like bleeding edge and tinkering, but tbh, I've been using Arch in production systems for the past 3 years and I'd like to be as arch-like as possible.
14:59sawyerjannau: ooo, that's handy. I'll see if "everything built in" turns into a wall anywhere and try that out if I need to. I was gonna try to take a stab at the VRR stuff, which what I have working so far is probably enough for (may want to set up the hypervisor tethered boot though for grabbing some captures though). I know marcan was going to work on sleep mode at some point but I might see what I can figure out about that in the meantime
14:59faddatI find that Arch really gets the release cadence right, and if I could run it on my mac, and on my servers, and be able to target different ISA's I'd be happy as a clam. I'm one of those idiots who went out and made a multiplatform docker image for arch for example.
15:00PaulFertserfaddat: I meant you might want to consider switching to Gentoo altogether where plenty of nice people have already many good things working and you could help with making it even greater. While trying to do another Arch Linux fork single-handedly will certainly teach you a lot but is unlikely to result in a great new distro I'm afraid.
15:00faddat@PaulFertser I could try, but, isn't gentoo a bit kinda dead? Or am I wrong?
15:01faddatI do get what you mean about the size of the lift for arch.
15:01faddatespecially since multiplatform is just... clearly not a priority for the arch team
15:02PaulFertserfaddat: doesn't seem dead to me. And some Asahi devs enjoy it so you'd find company there.
15:03faddatinteresting. Do you have thoughts on an easy way to get a taste of gentoo? and... can gentoo provide an arch-like "rolling mode" and is it considered proper form to do binary distributions of gentoo? Because a definite planned use case of this planned distro would be high-uptime production servers
15:03faddat...wouldn't want to be compiling on them
15:03j`eyyes gentoo has binary packages
15:04PaulFertserfaddat: in Gentoo it's always kinda rolling but you can choose between packages marked stable and those not marked stable, with per-package granularity if desired.
15:04faddatthis is sounding decent. It has been... I feel old thinking about when I last tried gentoo. Really old.
15:05PaulFertserfaddat: another choice you might consider is NixOS, and it's especially good for server/devops purposes because it's focused on reproducible builds and very easy roll-back of just the problematic software even if that involves shared libraries.
15:07PaulFertserfaddat: so if an idea of a production-ready distro where you have a declarative language to specify fully reproducible target system state sounds appealing to you probably NixOS is worth looking at.
15:08faddatI have friends who use nix in their CI systems, but I've never really had the feeling that it would work out all that great for a production server. Really just want to have a unified environment for everything that I do, and I love Apple hardware. I assume that's why most people are here.
15:08PaulFertserThere's Calculate Linux where nice people prepared Gentoo-based rolling distro binary packages for running on servers. Might be a sane option too if NixOS is too "haskelly" for your liking.
15:11faddat@PaulFertser: <3. yes, too Haskelley. exactly.
15:18pb17 has quit [Ping timeout: 480 seconds]
15:20pb17 has joined #asahi
15:20faddat_ has joined #asahi
15:21faddat has quit [Ping timeout: 480 seconds]
15:21faddat_also, maybe I am outside of the sense-zone, and I should pare down the set of goals by dropping the archness requirement and tossing in the actual goals. Distro was originally called Akash linux, but have changed the name to Somatic linux. The goal is to build a linux distribution that encapsulates the super opinionated way that I run proof of stake blockchain validators, and also provides some overlay network features that I think can make stuff more
15:21faddat_ linux on my mac, but the binary packages for ImportantStuffTM, like Go, rust, and some others, were just too old inside Fedora, and the key goal of this proposed distro is to have something that really stays up to date. A good example of why it would be nice to set-and forget keeping language runtimes and stuff up to date is that it's a classic noob mistake to have different language runtimes on the same blockchain network, it can cause issues. So
15:21faddat_ secure + stable. I have a tweet somewhere describing it... but when I started to do validation, I had the same OS everywhere and this made a lot of stuff go much faster. I also think that with a unified platform there are a lot of other devs in the same line of work who could save a ton of time. So maybe specifying Arch was a bridge too far, but I suppose I should also mention why I rapidly rejected Fedora. I was of course floored to have proper
15:23PaulFertserNixOS is the most popular way to approach this goal I'd say.
15:25PaulFertserIts config files do not really require you to write "monadic transformers", don't worry.
15:27faddat_People use it as their desktop OS and live to tell the tale? I mean, I guess I could try, it's not like I have much sanity or pride left, so... :P
15:28PaulFertserNix language doesn't even have monads. You just define your requirements with regular simple pure functions.
15:29PaulFertserfaddat_: ask on asahi-alt
15:29faddat_:salute:
15:32Brainium has joined #asahi
15:34faddat_I noticed that a bit ago, and I must say that a 4/20 release is very culturally appropriate for the blockchain industry
15:37PaulFertserI wonder if tpw_rules intended it :)
15:38JayBeeFOSS has quit [Ping timeout: 480 seconds]
15:38LarstiQfwiw I'm a happy NixOS on my daily driver apple silicon laptop user
15:39JayBeeFOSS has joined #asahi
15:40faddat_@LarstiQ yep that's worth something -- daily driver is a goal here
15:41faddat_I seem to be gathering a vibe that no one is daily driving arch now, after "the great shift"
15:42j`eythere's a few people still I think
15:43iyes has quit [Remote host closed the connection]
15:45julio7359 has quit [Ping timeout: 480 seconds]
15:45julio7359 has joined #asahi
16:01faddat_ has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
16:18f_ has joined #asahi
16:21f_ has quit [Remote host closed the connection]
16:22f_ has joined #asahi
16:33f_ has quit [Remote host closed the connection]
16:34f_ has joined #asahi
16:44f_ has quit [Remote host closed the connection]
16:45f_ has joined #asahi
16:53espo has joined #asahi
17:00jeisom has joined #asahi
17:05pb17 has quit [Ping timeout: 480 seconds]
17:05lawrence has quit [Quit: The Lounge - https://thelounge.chat]
17:13faddat has joined #asahi
17:18Szadek5 has joined #asahi
17:19bdface has joined #asahi
17:20bdface is now known as badlydrawnface
17:24Szadek has quit [Ping timeout: 480 seconds]
17:25badlydrawnfaceok good, kernel offline update (kinda) messed my system up. Dracut keeps failing tho
17:25badlydrawnfacechecked the logs, yep*
17:25badlydrawnfaceit was stuck at 97% and now the 6.8 kernel has no initramfs
17:26pb17 has joined #asahi
17:26badlydrawnface has quit [Quit: badlydrawnface]
17:32jeisom has quit [Ping timeout: 480 seconds]
17:33ChaiTRex has quit [Ping timeout: 480 seconds]
17:34Retr0id8 has joined #asahi
17:34Retr0id has quit [Read error: No route to host]
17:34Retr0id8 is now known as Retr0id
17:36badlydrawnface has joined #asahi
17:46overholts has quit [Quit: overholts]
17:47Szadek59 has joined #asahi
17:47overholts has joined #asahi
17:47jannaubadlydrawnface: hitting some issues and working on fixing them. you should be able to boot the old kernel
17:48badlydrawnfaceah, thats what im doing now, thanks for all the work you guys do btw
17:53Szadek5 has quit [Ping timeout: 480 seconds]
17:56cy8aer has joined #asahi
18:05faddat has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
18:30donaldh_ has joined #asahi
18:34f_ has quit [Quit: To contact me, PM f_[xmpp] or send an email. See https://vitali64.duckdns.org/.]
18:36ten1572377432463050 has quit [Remote host closed the connection]
18:36ten1572377432463050 has joined #asahi
18:37rvalue- has joined #asahi
18:42rvalue has quit [Ping timeout: 480 seconds]
18:54faddat has joined #asahi
18:54faddat has quit []
19:08hell__ has quit [Quit: ZNC - https://znc.in]
19:09hell__ has joined #asahi
19:18badlydrawnface has quit [Quit: badlydrawnface]
19:43c10l6 has quit [Remote host closed the connection]
19:43c10l6 has joined #asahi
19:44Juest has quit [Ping timeout: 480 seconds]
19:48c10l6 has quit [Remote host closed the connection]
19:49c10l6 has joined #asahi
19:50c10l6 has quit []
19:50c10l has joined #asahi
19:57Juest has joined #asahi
20:15Luj has joined #asahi
20:17pb17 has quit [Ping timeout: 480 seconds]
20:17c10l has quit [Remote host closed the connection]
20:19c10l has joined #asahi
20:38kaazoo has joined #asahi
20:40kaazoo has quit [Remote host closed the connection]
20:40faddat has joined #asahi
20:41kaazoo has joined #asahi
20:42burp has joined #asahi
20:44burp has quit [Remote host closed the connection]
20:53pb17 has joined #asahi
20:54sawyer has quit [Read error: No route to host]
21:06kaazoo has quit [Quit: Leaving.]
21:42delsol has quit [Remote host closed the connection]
21:59faddat has quit [Ping timeout: 480 seconds]
22:13john-cabaj has quit [Ping timeout: 480 seconds]
22:27jadesoturi has quit [Ping timeout: 480 seconds]
22:31jadesoturi has joined #asahi
22:39pb17 has quit [Ping timeout: 480 seconds]
22:52felixphew has joined #asahi
23:04felixphewhmm... after upgrading to a 6.8 kernel (still on f39; haven't gone to 40), dracut is generating an initramfs that's missing a bunch of necessary modules
23:04felixphewnotably the keyboard driver
23:04felixphewI'm currently trying to work out why
23:05mushisaaa has joined #asahi
23:10felixphewjannau: thanks; had a brief search but hadn't seen anything posted.
23:13felixphew"Other potential issues are": I was seeing random reboots in initramfs (in addition to the nonfunctional keyboard and occasional loss of display output already documented)
23:13felixphewso you can add that to your list of symptoms ig
23:16jannaureboots shouldn't be random but time based. that's the watchdog
23:16felixphewyes, that'd be it
23:17felixphew(what's the watchdog timeout - 30s?)
23:17pb17 has joined #asahi
23:17jeisom has joined #asahi
23:33leo60228 has quit [Quit: ZNC 1.8.2 - https://znc.in]
23:34leo60228 has joined #asahi
23:40mushisaaa has quit [Quit: mushisaaa]
23:50felixphewdracut-asahi -3 has hit the repo now and while I haven't rebooted yet, the new initrd looks to not be broken the way the old one was
23:53mushisaaa has joined #asahi
…