2022-01-26
00:03aleasto has quit [Quit: Konversation terminated!]
00:03le0n_ has joined #asahi
00:09le0n has quit [Ping timeout: 480 seconds]
00:13chadmed has quit [Remote host closed the connection]
00:19chadmed has joined #asahi
00:27ciggi@Glanzmann, Sorry for pinging but just like you video I endup at grub but my keyboard doesn't work but on u-boot screen ctrl+c working
00:58lascccs^ has joined #asahi
01:02yuyichao_ has quit [Ping timeout: 480 seconds]
01:17jbowen has joined #asahi
01:25jmr2 has joined #asahi
01:25jmr2Followup to the Jan. 17 discussion on the "no kernel modules found" error running the initrd version of the debian installer: not sure if this has been posted already, but the d-i daily builds work fine.
01:25jmr2Daily initrd for Testing (bookworm): https://d-i.debian.org/daily-images/arm64/20220125-02:20/netboot/debian-installer/arm64/ I only used it for install, not for partitionning or anything related to grub.
01:25jmr2Details: https://bugs.debian.org/998668 and https://salsa.debian.org/installer-team/anna/-/commit/736553754b075660d6926fea99e529bcc4ffae51
01:25jmr2Also, but for people installing over wifi (I didn't) and needing firmwares, it seems that multiple initrd can be just concatenated: https://wiki.debian.org/DebianInstaller/NetbootFirmware
01:25jbowen has quit [Ping timeout: 480 seconds]
01:35jx0 has quit [Remote host closed the connection]
01:46jx0 has joined #asahi
01:46yuyichao_ has joined #asahi
02:08tomtastic has joined #asahi
02:11jmr2 has quit [Quit: Page closed]
02:11tomtastic_ has quit [Ping timeout: 480 seconds]
02:34axboe has joined #asahi
02:37axboe has quit []
03:08PhilippvK has joined #asahi
03:17jbowen has joined #asahi
03:26jbowen has quit [Ping timeout: 480 seconds]
03:51lascccs^ has quit [Remote host closed the connection]
03:53nuh^ has joined #asahi
04:22jmr2 has joined #asahi
04:22pavan has joined #asahi
04:23jmr2Yup, concatenating the initrd works, and the d-i one contains wpa-supplicant. So using the d-i image to install over wireless works. Cool.
04:53jmr2 has quit [Quit: Page closed]
04:57chadmeddoes m1n1 have issues with loading clang compiled kernels? im able to send my kernel and dtb to the macbook but as soon as it tries to jump to the kernel it throws an exception and i lose the serial device
05:07ihaveamac has quit [Quit: fail]
05:10ihaveamac has joined #asahi
05:12ChristianOndaatje[m] has joined #asahi
05:18jbowen has joined #asahi
05:26jbowen has quit [Ping timeout: 480 seconds]
05:39the_lanetly_052 has joined #asahi
06:05espo has joined #asahi
06:17eroux has joined #asahi
06:32espo has quit [Quit: Leaving]
06:34espo has joined #asahi
06:37chadmed has quit [Read error: No route to host]
06:37chadmed has joined #asahi
06:41Glanzmannciggi: Try a different keyboard. I have the same problem. I have thinkpad keyboard which works in u-boot and grub.
06:43Glanzmannjmr2: Thank you for the heads up. Where does the firmware come from when you install using d-i?
06:45pavan has quit []
06:47Glanzmannjannau: Thank you for the dcp. HDMI hotplug worked after I turned off the monitor for the night as well. I think the graphics performance is worse than than with the simpledrm so for now I stay on the laptop with simpledrm.
06:51le0n has joined #asahi
06:56le0n_ has quit [Ping timeout: 480 seconds]
07:11jbowen has joined #asahi
07:12jmr2 has joined #asahi
07:17jmr2 has quit [Quit: Page closed]
07:18jmr2 has joined #asahi
07:19jbowen has quit [Ping timeout: 480 seconds]
07:22le0n has quit [Quit: see you later, alligator]
07:22le0n has joined #asahi
07:28jmr2 has quit [Quit: Page closed]
07:35jannauGlanzmann: I wouldn't have noticed as run it with tracing. that's certainly not smooth, especially w.r.t. mouse movement
07:37jannauI noticed that sddm sitting idle uses a bit over 10% CPU, kwin/plasma doesn't use CPU with an idle desktop
07:41espoi love the m1 :D all cores are at 100% and its silence :D. The laptop behind ( my working laptop is doing nothing beside irc/putty to the m1 ) and the fan is loud as f*** :))
07:41Glanzmannjannau: Alyssa worked for a long time with it. And I also worked with it for one week (several months ago).
07:42Glanzmannespo: I have Intel NUC on my desk and the fans blow like crazy for any shit. mini and air are just silent.
07:43GlanzmannNow that jmr2 gave me the hints for the Debian installer I'll probably do another video tonight with the debian installer.
07:44espobut need to stay because there the vpn is running on for work stuff :), and i cant share the connection from the device so i can move it to the basement :(
08:01Glanzmannjmr2: So I modified the initrd of the debian installer above and it boots, it detects the wlan0 device. But the debian installer thinks the wlan0 is an ethernertcard and does not ask me for credentials. However there is a wpa_supplicant installed so maybe if I handcraft the config, it will work. I'll try more later tonight and do another video with the debian installer.
08:02GlanzmannI think the partitioning should work, because apple just uses a gpt and if the partitions are not in order, macos does not care. But if you do any operation with diskutility it will reassign different numbers to the partitions (in order) but it still does not care.
08:08Major_Biscuit has joined #asahi
08:31jmr2 has joined #asahi
08:34jmr2Glanzmann: same here. Just switch to a different terminal, create the ~5 lines conf file (see the first example in man wpa_supplicant.conf), start wpa_supplicant, and continue with the install.
08:37jmr2 has quit [Quit: Page closed]
08:41Major_Biscuit has quit [Ping timeout: 480 seconds]
08:48Latrina has quit [Ping timeout: 480 seconds]
08:53IbrahimMAkrab[m] has joined #asahi
08:55klaus has joined #asahi
08:56Major_Biscuit has joined #asahi
09:03jbowen has joined #asahi
09:05MajorBiscuit has joined #asahi
09:06Major_Biscuit has quit [Ping timeout: 480 seconds]
09:08sventhe UUID that identifies the partition inside the APFS container + maybe also the GPT partition uuid to find the partition that contains that APFS container
09:11jbowen has quit [Ping timeout: 480 seconds]
09:11jx0 has quit [Quit: poof!]
09:18ibrahim has joined #asahi
09:30gabuscus has quit [Ping timeout: 480 seconds]
09:32chadmedj`ey: nah but clang wasnt the problem, tried with a gcc kernel and it still just throws me out of the serial device and dumps me to an asahi logo just after jumping to a kernel. tried with Glanzmann's .config too, no dice
09:34gabuscus has joined #asahi
09:34chadmedlinux.py -b 'earlycon debug console=tty0 root=/dev/sda1 rootfstype=btrfs' Image.gz t6000-j314s.dtb
09:34chadmedrunning in the hv shows a bunch of dangerous writes to some registers on cpu1 and then it just halts
09:35j`eythe 'throwing out of the serial device' is normal for linux.py, so are the dangerous writes
09:36aleasto has joined #asahi
09:43chadmedjust got back from a slightly less than relaxing holiday and my brain is all over the place :D
09:44Glanzmannchadmed: I see. So maybe I should write a script which sets all the config options for m1 as hardcoded with one expection, wifi so that you can reload it once, you put the firmware inplace.
09:44GlanzmannBut now that jmr2 showed me the initird concat trick maybe we don't even need that anymore.
09:55roxfan has quit [Remote host closed the connection]
09:55GlanzmannSo I'm back on wpa_supplicant after I need it for the debian installer, and it is definately slower than iwd, but integrates better with Debian, I think. And I found an error in the wpa_supplicant.conf manpage. In the example they say group=wheel which does exist, as result wpa_supplicant won't start. So I'm going to file a bug report to fix that to root.
09:57roxfan has joined #asahi
11:02Glanzmannmps: I see, it works for me with debian out of the box. That is my config in addition to the list of networks I have which is way to big.
11:04Glanzmannjmr2: Do you start the debian installer in expert mode? I just tried it with wpa, and I get it running but it is hassle to get to a shell and job control does not work.
11:22espo_ has joined #asahi
11:27espo__ has joined #asahi
11:29espo has quit [Ping timeout: 480 seconds]
11:35espo_ has quit [Ping timeout: 480 seconds]
11:41chadmedlooks like it doesnt like my hubs. with one the link to the ssd dies as soon as m1n1 starts and the other doesnt even try to connect
11:50chadmed has quit [Read error: Connection reset by peer]
12:02chadmed has joined #asahi
12:11espo_ has joined #asahi
12:17espo has joined #asahi
12:18jmr2 has joined #asahi
12:19espo__ has quit [Ping timeout: 480 seconds]
12:19jmr2Glanzmann: that "wheel" group thing: you're in the "example" section of the man page. Are you going to report that 'ssid="home"' is wrong too? ;-)
12:21jmr2only the network={} block, with ssid, key_mgmt and psk keys inside. Not 100% sure for scan_ssid.
12:22jmr2And given that I don't plan to use wpa_supplicant after install, I didn't bother to list more than the network I used for the test. If I wanted too, I'd redo it with better tools once the install was complete.
12:22chadmedthe ctrl interface stuff is mostly to prevent unwanted users from making changes to wpa_supplicant directly
12:24espo_ has quit [Ping timeout: 480 seconds]
12:28jmr2Glanzmann: to answer your question, I don't know how to start the initrd installer in expert mode, so no. No issue switching terminals (ok, yes, the key sequence is cumbersome - fn-ctrl-option-fX), I didn't have a need for job control, just used more terminals as needed, but basically, it's two commands - nano, then wpa_supplicant.
12:36Glanzmannjmr2: I see. At the point the network came up, I had only one terminal, that's why I asked. But I found out how to start it in expert modus. You add the 'expert' kernel command line maybe then I have two terminals.
12:37Glanzmannjmr2: I'll report it, because it is wrong. And I like about Debian that examples just work, example configurations as well, try that with other Linux distributions ... Debian often fixes manpages or writes manpages where non exist.
12:38Glanzmannjmr2: Anyway thank you for telling me this, because we will have now a solution to use the Debian installer with m1, which is much easier than what I documented yesterday evening.
12:39jmr2Glanzmann: strange... For me, the fn-ctrl-option- thing works from the very start - I switched even before answering the "language" question. And I know there's at least three. The number might depend on the kernel config.
12:39Glanzmannjmr2: I tried, and I also pressed the fn button no luck. I used the initrd from the link you posted me this morning.
12:40GlanzmannBut I did not use the grub.cfg and I guess in the grub.cfg it enables expert mode, and I used my own and that's why it did not work for me.
12:41jmr2I'm... not sure why you're talking about grub.cfg. Do you have grub in the boot sequence for the installer ?
12:42Glanzmannjmr2: Getting the grub configuration right, was cumbersome for u-boot that is why I used my own that works.
12:42GlanzmannAnd I just verified when you boot with expert you have virtual terminals from the beginning and it just works.
12:43GlanzmannUser runs asahi installer. User inserts distro installer and installs asahi and it just works (tm).
12:45jmr2OK. Can't help you there. In my eyes, you run d-i way before grub is in the equation. I'd only install uboot & grub in a second tethered boot, using the rootfs created by d-i.
12:49jmr2It already is easy. If you start fresh with the installer, you don't need a USB key. Just a tethered boot, with a custom kernel with no modules, and the initrd. I don't even have a bootargs in that case.
12:51Glanzmannjmr2: Here is the content of my usb stick with the debian installer: https://pbot.rmdir.de/pHoHpizFAH_VoL-JzG1IuA
12:52GlanzmannI'll write a script that creates that. This is including wifi firmware (which I won't redistribute).
12:54espo has quit [Quit: Leaving]
13:10ciggi@Glanzmann Thanks, Yes I am using keyboard mouse combo and i didn't work, other worked like a charm. I failed in grub I didn't understand how to install to boot automatically (grub) :(
13:14jmr2 has quit [Quit: Page closed]
13:19chadmed has quit [Ping timeout: 480 seconds]
13:22MajorBiscuit has quit [Ping timeout: 480 seconds]
13:25MajorBiscuit has joined #asahi
13:35Glanzmannciggi: So yesterday, what it resolved it to me is the following: https://tg.st/u/fixgrub.txt
14:20le0n has quit [Quit: see you later, alligator]
14:20le0n has joined #asahi
14:29jbowen has joined #asahi
14:42yuyichao_ has quit [Ping timeout: 480 seconds]
14:43nuh^ has quit [Remote host closed the connection]
14:53simjnd[m]got my M1 Pro MacBook today (10C/16G) with a 700€ discount, now I can't wait to be able to run Linux on this thing 🥰
15:06yuyichao_ has joined #asahi
15:07MajorBiscuitsimjnd[m]: just curious, how did you get the €700 discount? Education discount is unfortunately only 10%
15:42simjnd[m]I got it from a second-hand website (the craigslist's equivalent in France). It's pretty easy to find Apple products still sealed / never used that people get for really cheap through their company and then resell with a little margin
16:16ciggi has quit [Ping timeout: 480 seconds]
16:41Latrina has joined #asahi
16:47Latrina has quit [Read error: No route to host]
16:58willemml has joined #asahi
17:06willemml has quit [Remote host closed the connection]
17:07ciggi has joined #asahi
17:07willemml has joined #asahi
17:10willemml has quit []
17:11willemml has joined #asahi
17:15Gaspare has joined #asahi
17:42Latrina has joined #asahi
17:56espo has joined #asahi
17:57espohey short question :) i added a u-boot to my main os partition ( can i remove it there somehow? ) so i´m able to boot back to osx :)
18:23espo has quit [Ping timeout: 480 seconds]
18:36the_lanetly_052__ has joined #asahi
18:36Gaspare has quit [Read error: Connection reset by peer]
18:42the_lanetly_052 has quit [Ping timeout: 480 seconds]
18:54MajorBiscuit has quit [Ping timeout: 480 seconds]
19:21MajorBiscuit has joined #asahi
19:29espo has joined #asahi
19:38eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:40MajorBiscuit has quit [Ping timeout: 480 seconds]
19:48Glanzmannkettenis: With the 12.1 stub kmutil refuses to install the u-boot.macho. It worked before.
19:49Glanzmannkettenis: Do you have instructions for me how to install u-boot using the new raw format?
19:53newchima[m]Is there a way to "upgrade" an existing stub partition? or just reinstall?
19:56Glanzmannnewchima[m]: I always delete the alt stub partition. Best is to delete it on Linux using parted, becasue than you don't have to do the resize dance.
19:57newchima[m]Glanzmann: will try it. My reinstall routine is typically do a "factory refresh" of the whole mini and start 100% clean. deleting the partition in linux would make that piece non-required :)
20:01Glanzmannnewchima[m]: In the old days I deleted using disk utility, now I do it using parted on Linux.
20:03willemml has quit [Quit: willemml]
20:04willemml has joined #asahi
20:05newchima[m]Glanzmann: when i would try with the disk utility and then resize it back down, the installer would error out when trying to find partition info
20:09Glanzmannnewchima[m]: Yeah, I had that sometimes again, I rebooted or resized again and at some point it worked again. But when you delete under linux, it is not an issue.
20:10GlanzmannSo I'm now in the debian installer and when I try to create the efi system partition, I get mkfs.fat: Not enough or to many clusters for fileystem - try less or more sectors per cluster ...
20:11GlanzmannThis was with 512MB Partition and 1 GB Partition. With a 256MB Partition it works, interesting.
20:11newchima[m]Glanzmann: maybe its formatting as fat16?
20:12GlanzmannI'm currently installing using the debian installer from a usb stick over wifi to the macbook air of my wife. If it works, I'll kill my mini again and do a Video how to use the Debian installer.
20:12Glanzmannespo: When I do it manually, I never had issues, but I try to use the installer to improve the enduser experience.
20:14GlanzmannI don't mind it I mean we have in the efi partition like ... 4.9 MB so the 256MB is plenty.
20:15newchima[m]Glanzmann: blinking orange "SOS" on the mini now
20:15___nick___ has joined #asahi
20:16newchima[m]in linux
20:16___nick___ has quit []
20:17newchima[m]Glanzmann: I think it gets along with me just fine ;-) I don't like MacOS and it doesn't like me
20:17willemml has quit [Quit: willemml]
20:17Glanzmannnewchima[m]: No but for real, if it I deleted the current partition, it just gives me a popup at boot with two options, one of them is select new startup device, I select it, that's it.
20:17___nick___ has joined #asahi
20:18newchima[m]Glanzmann: don't worry about it. I've gotten pretty good with idevicerecovery
20:19Glanzmannnewchima[m]: If you don't mind, could you write me a little howto, because I wanted to do it a few times, and I did not find a quickstart howto.
20:19newchima[m]Glanzmann: will work on it
20:21newchima[m]Glanzmann: It will be based on Debian x86-64
20:21newchima[m]ciggi: I did have that issue, was related to the version of usbmuxd (or similar named file)
20:24mpsnew iwd 1.22 is buggy with brcmfmac driver, for few hours participated in #iwd channel by building/testing/pathing with upstream devs, soon will be 1.23 released which I tested already
20:25willemml has joined #asahi
20:34GlanzmannSo I installed Debian successfully on my wifes macbook air using wifi. Manual steps were u-boot, wifi, grub and kernel installation. Other than that it is straight forward. I'll now record it on the mini from scratch.
20:39newchima[m]Glanzmann: will wait for your guide and then follow for redoing my mini
20:39newchima[m]Glanzmann: I'm in no rush right now
20:39Glanzmannjannau: Just as a note, if you plug a monitor with the a new resolution, hdmi hotplug does not work.
20:40newchima[m]Glanzmann: what are you using for the hdmi capture?
20:43Glanzmannnewchima[m]: Mirabox hsv325 https://www.amazon.de/Mirabox-Capture-Karte-Live-Stream-HD-Spiel-Videoaufnahme-Mikrofoneingang/dp/B07R8ZF1PC
20:44Glanzmannnewchima[m]: This is what I did. https://pbot.rmdir.de/6HphN-hACU5k5gCANCsIwA I'll now reboot and record for you my video
20:48Glanzmannnewchima[m]: This happened after I rebooted, I'm not making it up ... https://tg.st/u/stubosdeleted.mp4
20:48willemml has quit [Quit: willemml]
20:59espo has quit [Quit: Leaving]
21:07willemml has joined #asahi
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:13DragoonAethis has quit [Quit: hej-hej!]
21:13newchima[m]Glanzmann: I fully believed you that it worked for you, it just didn't want to work like that for me
21:13DragoonAethis has joined #asahi
21:19willemml has quit [Quit: willemml]
21:25jannauGlanzmann: please try if https://gist.github.com/jannau/1f401adf372ccec6f305764785637b0b fixes it
21:29Latrina has quit [Quit: Powered by AlpineLinux under the supervision of Docker.]
21:29Latrina has joined #asahi
21:33ciggi has quit [Remote host closed the connection]
21:50jx0 has joined #asahi
21:54newchima[m]Glanzmann: I had a thought - I am not as familiar with parted and I instead used gparted... I wonder if gparted changed something else that the system didn't like
21:54newchima[m]Glanzmann: will try deleting using parted after installing as a test
21:56GlanzmannBut gparted should also do the same thing. Important thing is that you do not touch the first two and the last partition.
21:57jannauGlanzmann: this should fix it https://gist.github.com/jannau/58be1393b66465d0c79b3b23e9a910d1
21:59Glanzmannjannau: Thank you. I need to rebuild the kernel and bless a new boot obejct and than I can try.
22:05Glanzmannj`ey: The problem is that I use them often 8 hours per day week after week and they get hot and they die. This is my third hdmi grabber in the last 12 months.
22:05GlanzmannI pushed the script to build d-i-stick https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian
22:05yamii has quit [Quit: WeeChat 3.3]
22:09Glanzmannj`ey: This is how it looks for me: https://tg.st/u/screenshot-air-2022-01-26-23_09_10.png
22:10Glanzmannj`ey: I do a lot of online trainings, so I bought a used tandberg camera with a 12x optical zoom 1080p resolution. It can also turn, focus and do a lot of other stuff. CAn be controled with a remote or serial port. And I need to get that into my laptop/system I use for the training, that is what I use the hdmi grabber mainly for.
22:11Glanzmannhere is the camera: https://www.ebay.de/itm/353854488919?epid=1924612273&hash=item52635f0157:g:HAkAAOSwCQxh3zrL
22:12Glanzmannj`ey: The problem with corona for me was at some point I really got sick of my headset.
22:13GlanzmannMy ears hurt. So I bought a forte tesira echo cancler and a shure microphone. A friend of mine already had the setup, I only needed to replicate it ... and that is what I now use when I do trainings and I'm not on the road ...
22:15GlanzmannI hit bed now, will write the wiki page for the Debian installation tomorrow, now we have three different ways: d-i, live, dd
22:16enid[m] has joined #asahi
22:16GlanzmannI'll probably continue to use live, it is the fastest especially if you write the commands in a script and cut & paste them.
22:16Glanzmannj`ey: I agree. Maybe I should show that to the debian people and ask them what they could do better or what I could do better ...
22:17Glanzmannj`ey: Btw. You can also extract the initrd and put the wifi firmware in before you boot. Than the wlan interface comes up on first try.
22:18Glanzmannj`ey: Depends on if you feel comfortable extracting an intird tinker with it and put it back together, if you're than that is much better than doing this manual steps.
22:19enid[m] has left #asahi [#asahi]
22:43timokrgr has quit [Quit: User left the chat]
22:43ciggi has joined #asahi
22:43ciggi has quit []
22:44chadmed has joined #asahi
22:48timokrgr has joined #asahi
22:52ciggi has joined #asahi
22:56ciggi has quit []
22:57ciggi has joined #asahi
22:57chadmed has quit [Ping timeout: 480 seconds]
23:02chadmed has joined #asahi
23:02MrHunk[m] has joined #asahi
23:06MajorBiscuit has joined #asahi
23:12willemml has joined #asahi
23:12klaus has quit [Quit: Lost terminal]
23:18aleasto has quit [Quit: Konversation terminated!]
23:23willemml has quit [Quit: willemml]
23:24willemml has joined #asahi
23:28MajorBiscuit has quit [Ping timeout: 480 seconds]
23:43chadmedyeah i didnt think so but ive tried simpledrm and simplefb and no dice (at least i can boot a roofs now, the wonders of a bit of sleep)