marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | "Does XXX work yet?": https://alx.sh/fs | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-alt #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
leo60228- has joined #asahi
baozich has quit [Ping timeout: 480 seconds]
leo60228 has quit [Ping timeout: 480 seconds]
Brainium has joined #asahi
derzahl has quit [Read error: No route to host]
gilvbp has quit [Quit: Connection closed for inactivity]
gilvbp has joined #asahi
gabuscus has quit []
gabuscus has joined #asahi
babble has joined #asahi
tertl8 has joined #asahi
jeisom has quit [Ping timeout: 480 seconds]
jcm_ has joined #asahi
Brainium has quit [Quit: Konversation terminated!]
babble has quit []
polysinne has joined #asahi
Whistler_ has joined #asahi
marvin24 has joined #asahi
pyropeter3 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
pyropeter2 has quit [Ping timeout: 480 seconds]
gilvbp has quit [Quit: Connection closed for inactivity]
polysinne has quit [Read error: Connection reset by peer]
mikelee has joined #asahi
AndrewYu has joined #asahi
mikelee_ has joined #asahi
<AndrewYu> Hi, I'm new to Asahi (not actually new to Arch despite the stupid mistakes), and I accidentally broke my system by systemctl disable --now sddm during a pacman -Syu, which (as I was careless) killed my plasma-x11 session, thus the Konsole inside, and thus the ongoing pacman -Syu.
<AndrewYu> (This is probably not important, but FYI I was disabling SDDM because I was going to install sway and just use wayland, with a [ "$(tty)" = "/dev/tty1" ] && exec sway in my .zprofile)
<AndrewYu> Now I don't have a kernel: Loading Linux linux-asahi ... error file `/boot/vmlinuz-linux-asahi' not found
<AndrewYu> Is there some sort of rescue system that I could use to attempt to repair it? If I was running standard Arch, at this point I would have used a LiveUSB and pacstrapped the system
mikelee has quit [Ping timeout: 480 seconds]
gladiac has joined #asahi
darkapex has quit [Ping timeout: 480 seconds]
sid-linux has joined #asahi
<sid-linux> AndrewYu: disclaimer -- I'm not sure if this is the best way (or it even works) but you can get into the u-boot shell. You should just press <space> as soon as you see the u-boot icon
<sid-linux> When you are in u-boot you might be able to to do more things -- perhaps put in a USB drive with a recovery kernel etc. and boot that. Again, this is something I have not tried with Asahi so your mileage may vary. (The usual warnings apply: when you are doing something low level you should be careful not to mess up things further.)
<sid-linux> You can also try entering the grub command line and try your luck from there. grub is probably more user friendly also.
reef has joined #asahi
reef has quit [Remote host closed the connection]
nreef has joined #asahi
<sid-linux> Does anybody know if u-boot and/or grub on will be able to read a ext4/fat formatted usb drive on an m1/m2 asahi?
nreef has quit [Quit: Page closed]
nreef has joined #asahi
<mps> sid-linux: https://arvanta.net/alpine/install-alpine-m1/ is example of booting from usb
babble has joined #asahi
<nreef> Hi, sorry if this is a stupid question but - I’m installing Asahi on my 2020 M1 Air inside of 1TR, and everything was going fine until it got up 96.80% of extracting root.img and now it seems totally frozen (can't even click the touch pad), what now? Should I just force power it off?
ptudor has quit [Ping timeout: 480 seconds]
<sid-linux> mps: thanks for the link -- this seems more like a full setup kind of blog post. I think all AndrewYu needs is to add the file vmlinuz-linux-asahi back to the Asahi boot partition
<mps> sid-linux: yes, I just wanted to tell that boot from usb is possible and there is how
<mps> though someone could use disk image mentioned there to do some rescue tasks
babble has quit [Quit: Byeeeee...]
babble has joined #asahi
nreef has quit [Remote host closed the connection]
babble has quit []
babble has joined #asahi
sid-linux has quit [Quit: User exited]
ptudor has joined #asahi
babble has quit [Remote host closed the connection]
babble has joined #asahi
<as400> Btw - how do i boot from usb now ? I know something has changed. When i run "run usb_boot" it just uses grub from nvme.
sid-linux has joined #asahi
i509vcb has quit [Quit: Connection closed for inactivity]
<sid-linux> I did some investigation that might be pertinent for AndrewYu. 1. u-boot will detect any USB storage device plugged in m1/m2 in advance. 2. grub on m1/m2 also is able to read any USB storage (it supports ext4 and fat)
<mps> as400: latest u-boot have bug
<as400> mps: that's what I heard. Any workaround ?
possiblemeatball has joined #asahi
<sid-linux> so both u-boot and grub can be used to boot from an alternate USB media to rescue your main installation.
<as400> I think jannau wrote something about it but can't find it now
<mps> download u-boot-asahi from alpine and install, I patched it to fix this issue
<mps> as400: yes, jannau posted url of the patch
<as400> mps: I think he also posted some sequence of commands to overcome the bug
<mps> as400: iirc if you repeat it few times (random) then it could boot
<mps> though not sure
<as400> mps: I think I found it - let me try. Will report back ----> env set boot_efi_bootmgr ; run bootcmd_usb0` to boot from usb
possiblemeatball has quit [Quit: Quit]
babble has quit []
possiblemeatball has joined #asahi
<as400> mps: yup the above works and i can boot from your alpine usb image
<mps> as400: nice, this should be FAQ somewhere
<as400> In your guide :)
tertl8 has quit [Quit: Connection closed for inactivity]
<AndrewYu> sid-linux: I've tried playing around with the Grub shell... but I have a ton of broken packages (I think I'm in a partial upgrade situation) so I would likely need to pacstrap stuff
<AndrewYu> (I haven't done much on my system yet, so perhaps reinstalling is the best method)
<AndrewYu> I've used this process to install OpenBSD before, but that seems to require reinstalling
<mps> as400: maybe I could add this temporary there but I think it should be somewhere on asahi site/wiki
<mps> AndrewYu: also I installed OpenBSD on external usb ssd by this method
possiblemeatball has quit [Quit: Quit]
<as400> mps: you're probably right. Btw - does your install-nvme.sh script still work ?
<sid-linux> AndrewYu: the first step is to get your kernel back. Since /boot is a simply a fat partition on your nvme drive all you need to do is add back the kernel in it. Yes, its probably simpler to restart from scratch as you suggest...
<mps> as400: it should though I didn't tried to test in last 3 months
<as400> I wonder because there is no mkinitfs in the script. This is how it should be ?
<as400> Also kernel - linux-asahi-5.17 ?
sid-linux has quit [Quit: User exited]
<mps> as400: ext4, f2fs and btrfs are built in-kernel so it will boot without initramfs, but adding mkinitfs is good idea. thank for pointing this
<mps> ah, this is old image, iirc I created and uploaded new one with kernel from 6.x series
<mps> please download latest and try it
<mps> (I'm preparing for vacation travel and don't have enough free time now to test it again)
ciara has quit [Read error: Connection reset by peer]
ciara has joined #asahi
<AndrewYu> I'm preparing for a reinstall, but I want to be able to use / now create a recovery USB drive
<as400> mps: sure, I will. Have a nice vacation buddy :) And don't drink too much :)
<mps> as400: :) (and thanks)
gladiac has quit [Quit: k thx bye]
gladiac has joined #asahi
* mps is trained to drink 'just enough' (and only good red wine)
<as400> mps: ok I thought maybe Rakija :)
<mps> as400: heh, also rakija but home made. (curious how you guessed this)
<as400> mps: quite easy. Your last name suggests it :)
<mps> ah yes
<mps> but not much people would know this, you must be someone of rare ones
<as400> I'm from Poland which is quite close to Balkans in general. And travelled few countries there. So I know what to expect.
<mps> aha, this explains
bisko has joined #asahi
mikelee_ has quit [Remote host closed the connection]
mikelee has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
leitao has joined #asahi
mikelee has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
AndrewYu has quit [Quit: WeeChat 3.8]
AndrewYu has joined #asahi
mikelee has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
AndrewYu has quit [Quit: WeeChat 3.8]
mikelee has joined #asahi
giskard has quit [Ping timeout: 480 seconds]
mikelee has quit [Ping timeout: 480 seconds]
nsklaus has joined #asahi
mikelee has joined #asahi
AndrewYu has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
giskard has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
CME_ has quit [Ping timeout: 480 seconds]
ellyq has quit [Remote host closed the connection]
mikelee has joined #asahi
nsklaus has quit [Ping timeout: 480 seconds]
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
ellyq has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
CME has joined #asahi
babble has joined #asahi
mikelee has joined #asahi
chadmed has quit [Remote host closed the connection]
mikelee has quit [Ping timeout: 480 seconds]
possiblemeatball has joined #asahi
mikelee has joined #asahi
chadmed has joined #asahi
nsklaus has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
babble has quit [Read error: Connection reset by peer]
mikelee has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
ahuar88 has quit [Remote host closed the connection]
bisko has joined #asahi
mikelee has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
ahuar88 has joined #asahi
cylm has quit [Ping timeout: 480 seconds]
gladiac has quit [Quit: k thx bye]
CME has quit [Ping timeout: 480 seconds]
CME has joined #asahi
babble has joined #asahi
delsol has joined #asahi
delsol has quit [Remote host closed the connection]
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikelee has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
vx^ has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
tertl8 has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
MichaelLong has quit [Ping timeout: 480 seconds]
MichaelLong has joined #asahi
V--I--P has joined #asahi
babble has quit [Remote host closed the connection]
babble has joined #asahi
<nsklaus> i have asahi installed on my m2pro 14" 2023 macbook pro, it works (i have to have external keyboad, mouse and wifi to ethernet usb-c dongle)
<nsklaus> i see that commit here:
<nsklaus> how could i get the changes introduced by that commit ?
<nsklaus> would a simple pacman -Syu do it ?
<nsklaus> should i monitor uboot pkgbuild here: https://github.com/AsahiLinux/PKGBUILDs/tree/main/uboot-asahi ?
<j`ey> nsklaus: that's not the tree used by the pkgbuilds
<j`ey> you already have the pro DTBs if youre booted
<nsklaus> j`ey: i see, thank you for telling
<nsklaus> i'm eager to being able to remove external keyboard and mouse
<jannau> it probably works if you disable the apple dockchannel keyboard in u-boot
MichaelLong has quit [Ping timeout: 480 seconds]
<marcan> reminder that m2pro anything is not supported yet and you *will* have to do a full reinstall when support is released
<nsklaus> marcan: doing again: curl https://alx.sh | sh will suffice ?
<nsklaus> or first some uninstall steps will be needed ?
<jannau> you hvae to remove the previous installation (or create a second one)
<nsklaus> jannau: so just issuing "curl https://alx.sh | sh" will take care of everything ? (overwritting previous install?)
<jannau> no
<nsklaus> jannau: i see, so i will need to uninstall all first. i understand. thanks for the confirmation
<nsklaus> would this: curl -L https://alx.sh/wipe-linux | sh in Recovery
<nsklaus> be the correct way to remove asahi ?
<ChaosPrincess> leo60228: can you give me your diskutil list, what machine it is, whats the earliest version of macos that was installed on it, what changes you made to partitions.
<ChaosPrincess> i still cant reproduce that on mine, although managed to panic the macos kernel several times with "totally normal" diskutil commands
babble has quit [Remote host closed the connection]
babble has joined #asahi
seeeath has joined #asahi
darkapex has joined #asahi
MichaelLong has joined #asahi
mikelee has joined #asahi
seeeath has quit [Quit: Textual IRC Client: www.textualapp.com]
vx has joined #asahi
vx is now known as Guest5683
jeisom has joined #asahi
crabbedhaloablut has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
nela1 has joined #asahi
nela has quit [Read error: Connection reset by peer]
nela1 is now known as nela
CME_ has joined #asahi
CME has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
V--I--P has quit [Ping timeout: 480 seconds]
nela has quit [Ping timeout: 480 seconds]
Guest5683 has quit []
vx^ has joined #asahi
nela has joined #asahi
nela has quit [Read error: Connection reset by peer]
mikelee has quit [Ping timeout: 480 seconds]
possiblemeatball has quit [Quit: Quit]
mikelee has joined #asahi
babble has quit [Quit: Byeeeee...]
martinr has joined #asahi
<martinr> hi, was the work on exposing the built in UART with.
<martinr> *a dev board ever completed?
<j`ey> ma_z has made one, but Im not sure if the schematic is public
<martinr> ok, any idea on where I might be able to find the required usb-pd commands at least? or any sort of documentation?
<martinr> looks promising thanks
<jannau> martinr: https://git.kernel.org/pub/scm/linux/kernel/git/maz/cs-hw.git/ and https://git.kernel.org/pub/scm/linux/kernel/git/maz/cs-sw.git/ but based on the commits in firmware I suspect the hw repo is lagging behind, maybe waiting for validation
WindowPain has quit [Ping timeout: 480 seconds]
jeisom has quit [Ping timeout: 480 seconds]
mikelee has quit [Ping timeout: 480 seconds]
<maz> jannau: I'm reworking a bunch of stuff -- v3 has proved to be difficult to manufacture (only one good board out of 5)
<maz> martinr: if you need a board, get in touch.
<martinr> maz: let me know if you're looking for contributors - i have a fair amount of experience with HW design and a lot of spare time currently
<maz> martinr: spare time? how I envy you! :D
<maz> martinr: more seriously, I'd be happy to run things by you if you're interested. You can have a look at the two repos jannau__ pointed you to (and I'll try to push the latest state to a branch).
mikelee has joined #asahi
<martinr> maz: recent developments in UK universities have not been kind :)
<maz> martinr: yeah, I've been told... :-/
mikelee has quit [Ping timeout: 480 seconds]
i509vcb has joined #asahi
<martinr> maz: i'll have a good read through the repos - could you maybe also add some todos/issues to look at in the next push? Or we can discuss that another way - up to you
MichaelLong has quit []
tertl8 has quit [Quit: Connection closed for inactivity]
mikelee has joined #asahi
MichaelLong has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
martinr has quit [Remote host closed the connection]
mikelee has joined #asahi
babble has joined #asahi
<as400> Guys - i know i asked this before. I changed my boot and esp partitiions and now grub is not working. What can i do ? I now have separate esp and boot. Change boot uuid to what was root before ?
WindowPain has joined #asahi
<ChaosPrincess> Which boot phase are you stuck on
<ChaosPrincess> M1n1 or u-boot?
martinr has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
<as400> u-boot is ok. Grub
<as400> I know uuid is kept somewhere
<as400> m1n1 ? Dtb ?
<ChaosPrincess> So you are in grub and?
martinr has quit [Remote host closed the connection]
<as400> Actually systemd-boot and it says it cannot find loader/entries/*.conf files. No matter wherever i put them esp or boot (/boot or /boot/efi)
<ChaosPrincess> It should look at whatever ESP it was loaded from
mikelee has joined #asahi
possiblemeatball has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
martinr has joined #asahi
thelounge98 has quit [Quit: Appbox - https://www.seedboxco.net]
martinr has quit [Ping timeout: 480 seconds]
possiblemeatball has quit [Quit: Quit]
mikelee has joined #asahi
babble has quit [Quit: Byeeeee...]
mikelee has quit [Ping timeout: 480 seconds]
babble has joined #asahi
farghal has joined #asahi
farghal has quit []
farghal has joined #asahi
mikelee has joined #asahi
farghal has quit []
thelounge98 has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
martinr has joined #asahi
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikelee has quit [Ping timeout: 480 seconds]
martinr has quit [Remote host closed the connection]
ydalton has joined #asahi
ydalton` has joined #asahi
ydalton`` has joined #asahi
mikelee has joined #asahi
<ydalton``> gilvbp: if you're asking about linux support, each device needs explicit support
<ydalton``> uh oh, something happened to my nick
ydalton`` has left #asahi [#asahi]
roxfan has joined #asahi
ydalton has quit [Ping timeout: 480 seconds]
ydalton` has quit [Ping timeout: 480 seconds]
mikelee has quit [Ping timeout: 480 seconds]
roxfan has quit [Read error: Connection reset by peer]
Demostrike has quit [Quit: The Lounge - https://thelounge.chat]
babble has quit [Quit: Byeeeee...]
mikelee has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
polysinne has joined #asahi
V--I--P has joined #asahi
eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
eroc1990 has joined #asahi
polysinne has quit [Read error: Connection reset by peer]
Demostrike has joined #asahi
mikelee has joined #asahi
deflated8837 has quit [Read error: Connection reset by peer]
deflated8837 has joined #asahi
jeisom has joined #asahi
cylm has joined #asahi
Brainium has joined #asahi
cylm_ has joined #asahi
cylm has quit [Ping timeout: 480 seconds]
mikelee has quit [Ping timeout: 480 seconds]
V--I--P has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
ciara has quit [Read error: Connection reset by peer]
ciara has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
nsklaus has quit [Ping timeout: 480 seconds]
babble has joined #asahi
mikelee has joined #asahi
ifthenelse has quit [Quit: Ping timeout (120 seconds)]
ifthenelse has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
ellyq has quit [Remote host closed the connection]
mikelee has joined #asahi
ellyq has joined #asahi
babble has quit [Quit: Byeeeee...]
mikelee has quit [Ping timeout: 480 seconds]
akspecs has quit [Remote host closed the connection]
akspecs has joined #asahi
nehsou^ has quit [Ping timeout: 480 seconds]
jjanzic has quit [Ping timeout: 480 seconds]
babble has joined #asahi
mikelee has joined #asahi
Brainium has quit [Quit: Konversation terminated!]
jjanzic has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
nehsou^ has joined #asahi
mikelee has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
roxfan has joined #asahi
mikelee has joined #asahi
babble has quit [Quit: Byeeeee...]
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
thansen has quit [Quit: The Lounge - https://thelounge.github.io]
thansen has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi