2022-10-28
00:37Etrien__ has quit [Read error: Connection reset by peer]
00:58millenialhacker has joined #asahi-alt
01:10millenialhacker has quit [Ping timeout: 480 seconds]
01:11Dcow has quit [Remote host closed the connection]
01:14Dcow has joined #asahi-alt
01:25Dcow has quit [Ping timeout: 480 seconds]
01:33Etrien has joined #asahi-alt
01:39chadmed has joined #asahi-alt
01:50Dcow has joined #asahi-alt
01:59Dcow has quit [Ping timeout: 480 seconds]
02:01Etrien__ has joined #asahi-alt
02:05Etrien___ has joined #asahi-alt
02:06Etrien has quit [Ping timeout: 480 seconds]
02:09Etrien__ has quit [Ping timeout: 480 seconds]
02:12Etrien has joined #asahi-alt
02:17Etrien___ has quit [Ping timeout: 480 seconds]
02:25Dcow has joined #asahi-alt
02:33Dcow has quit [Ping timeout: 480 seconds]
02:44Etrien has quit [Remote host closed the connection]
02:59Dcow has joined #asahi-alt
03:08Dcow has quit [Ping timeout: 480 seconds]
03:08chadmed has quit [Quit: Konversation terminated!]
03:16Etrien has joined #asahi-alt
03:34Dcow has joined #asahi-alt
03:42Dcow has quit [Ping timeout: 480 seconds]
03:46chadmed has joined #asahi-alt
04:08Dcow has joined #asahi-alt
04:13tobhe_ has joined #asahi-alt
04:16Dcow has quit [Ping timeout: 480 seconds]
04:17tobhe has quit [Ping timeout: 480 seconds]
04:35Etrien has quit [Remote host closed the connection]
04:35Etrien has joined #asahi-alt
04:42chadmed has quit [Quit: Konversation terminated!]
04:44Dcow has joined #asahi-alt
04:52Dcow has quit [Ping timeout: 480 seconds]
05:03chadmed has joined #asahi-alt
05:15chadmed has quit [Quit: Konversation terminated!]
06:09Etrien__ has joined #asahi-alt
06:15Etrien has quit [Ping timeout: 480 seconds]
06:25Dcow has joined #asahi-alt
06:25Etrien has joined #asahi-alt
06:30Etrien__ has quit [Ping timeout: 480 seconds]
06:31millenialhacker has joined #asahi-alt
06:31millenialhackerMoving here...
06:32mixi has joined #asahi-alt
06:32millenialhackerI guess so, let me try something
06:32millenialhackerjannau: any way I can validate initram gets loaded?
06:33Dcow has quit [Ping timeout: 480 seconds]
06:33millenialhackerI see loading initial ram disk then black screen.
06:34millenialhackerI wonder if I can redirect boot log to file from grub
06:36millenialhackerI have three kernel, 6.1 dcp enabled. Fallback kernels (5.19 & 5.17) don't have dcp (it was not ready), three exhibits same behavior
06:39millenialhackerI have Ventura btw.
06:39SSJ_GZ has joined #asahi-alt
06:39jannaudo you remember the more details about the 6.1-rc kernel? old kernels might have a a problem with the updated dtb from the latest but it sounds weird that it shows the exact same behavior
06:39millenialhackerYes, I remember build kernel successfully and boot into it a couple of times before doing the system rebuild.
06:40millenialhackerLet me try that, I tried so far rd.break rd.shell and rd.debug without any luck
06:40millenialhackerShould I add root=/dev/ram or something?
06:42millenialhackerinit param didn't work either
06:43millenialhackerFYI black screen then reboot after one minute or so
06:43millenialhackerSo I think it's a kernel panic.
06:43millenialhackerCan I enable a serial console over usb cable like we do m1n1?
06:44jannauthat's probably the watchdog programmed by u-boot, so either a kernel panic or if the watchdog was build as module failure to load the module
06:47millenialhackerIs there any way to disable dcp from kernel cmdline?
06:48jannauyes, easiest would be to copy the m1n1/boot.bin from the ESP and load that with `tools/chainload.py -r ../build/m1n1.bin && tools/run_guest.py -r boot.bin`
06:49chadmed has joined #asahi-alt
06:50chadmedi experienced the same thing a few times when sorting out install.sh, i cant remember how exactly i stopped it happening but install.sh gives you a rootfs that is guaranteed to work
06:52uur has joined #asahi-alt
06:53uur has quit [Quit: Leaving.]
06:54SSJ_GZ has left #asahi-alt [Konversation terminated!]
06:54millenialhackerI use same as 5.19 but enable Apple DRM / DCP thing
06:54jannauif you have more than one you have to note the ESP part uuid of the broken and append "chosen.asahi,efi-system-partition=$PARTUUID\n\0\0\0\0"
06:54millenialhackerThe interesting thing here is that I was able to boot successfully with this kernel
06:55millenialhackerThen I logged in as root and do emerge -e system
06:55uur has joined #asahi-alt
06:55millenialhackerIt rooms hours of rebuilding and today morning after rebuilding I just reboot and ... go bye jack
06:56millenialhackerYes, I use the default asahi one.
06:56millenialhackerIt took *
06:56millenialhackerLet me check with grub my flags.
06:57millenialhackerGrub can still mount the root partition btw
06:57chadmedeasiest fix unless you want to nuke the rootfs and try again with asahi-gentoosupport is just build a minimal kernel with all the apple stuff built in, boot it manually from grub, rebuild kmod with zstd, rebuilt your initramfs then try again
06:57millenialhackerI'm almost sure I have zstd
06:59millenialhackerYes, zstd is in the USE flags
06:59millenialhackerI know but allow me to check the contents at least
07:00millenialhackerI have the original asahi kernel & initram
07:00millenialhackerBut even those shows now a black screen
07:00millenialhackerWhen I try to boot them
07:01millenialhackerBy original I mean the ones that came with Arch Linux, and I used to bootstrap my own gentoo distro (before your install script existed chadmed)
07:01chadmedi think the only way to get to the bottom of why this is happening is to boot under the m1n1 hv and use the serial console
07:02chadmedthe kmod thing was it last time, couldnt load modules and would panic looking for the specified root device
07:03millenialhackerI hit the kmod thing as well, during my first experiments, just decompress everything in another computer and then mount it back in my m1
07:03millenialhackerBut this time is something different
07:03millenialhackerSo to do the m1n1 stuff
07:03millenialhackerShould I follow jannau instructions shared early?
07:05millenialhackerI wonder how I extract the boot.bin file he mention from ESP partition
07:06uur has quit [Ping timeout: 480 seconds]
07:09millenialhacker_ has joined #asahi-alt
07:12uur has joined #asahi-alt
07:15millenialhacker has quit [Remote host closed the connection]
07:18millenialhacker_ has quit [Ping timeout: 480 seconds]
07:20chadmed has quit [Quit: Konversation terminated!]
07:20uur has quit [Remote host closed the connection]
07:29uur has joined #asahi-alt
07:31uur has quit [Remote host closed the connection]
07:34marve has joined #asahi-alt
07:44chadmed has joined #asahi-alt
07:55uur has joined #asahi-alt
08:02marve_ has joined #asahi-alt
08:04steev_ has joined #asahi-alt
08:04Manouchehri_ has joined #asahi-alt
08:05chadmed has quit [Quit: Konversation terminated!]
08:07marve has quit [synthon.oftc.net larich.oftc.net]
08:07Manouchehri has quit [synthon.oftc.net larich.oftc.net]
08:07steev has quit [synthon.oftc.net larich.oftc.net]
08:07steev_ is now known as steev
08:07Manouchehri_ is now known as Manouchehri
08:09uur has quit [Remote host closed the connection]
08:15uur has joined #asahi-alt
08:17Dcow has joined #asahi-alt
08:20uur has quit [Remote host closed the connection]
08:25Dcow has quit [Ping timeout: 480 seconds]
08:33uur has joined #asahi-alt
08:34marve_ has quit [Quit: Leaving]
08:52Dcow has joined #asahi-alt
08:55uur has quit [Remote host closed the connection]
08:56uur has joined #asahi-alt
08:58uur has quit [Remote host closed the connection]
09:00uur has joined #asahi-alt
09:00Dcow has quit [Ping timeout: 480 seconds]
09:02uur has quit [Remote host closed the connection]
09:23jacksonchen666 has quit [Ping timeout: 480 seconds]
09:29Etrien__ has joined #asahi-alt
09:31Etrien has quit [Ping timeout: 480 seconds]
09:34Dcow has joined #asahi-alt
09:39uur has joined #asahi-alt
09:41uur has quit [Remote host closed the connection]
09:43jacksonchen666 has joined #asahi-alt
09:48Etrien has joined #asahi-alt
09:52Etrien__ has quit [Ping timeout: 480 seconds]
09:55uur has joined #asahi-alt
09:57uur has quit [Remote host closed the connection]
09:58uur has joined #asahi-alt
10:00jacksonchen666 has quit [Quit: jacksonchen666]
10:34chadmed has joined #asahi-alt
10:34uur has quit [Remote host closed the connection]
10:38uur has joined #asahi-alt
10:50uur has quit [Remote host closed the connection]
10:51uur has joined #asahi-alt
10:57Etrien__ has joined #asahi-alt
10:58Etrien__ has quit [Read error: Connection reset by peer]
10:59Etrien__ has joined #asahi-alt
11:02Etrien has quit [Ping timeout: 480 seconds]
11:21chadmed has quit [Quit: Konversation terminated!]
11:23chadmed has joined #asahi-alt
11:31uur has quit [Remote host closed the connection]
11:33uur has joined #asahi-alt
11:44uur has quit [Remote host closed the connection]
11:47uur has joined #asahi-alt
12:35compassion2 has joined #asahi-alt
12:40compassion has quit [Ping timeout: 480 seconds]
12:40compassion2 is now known as compassion
14:32iter has joined #asahi-alt
14:34uur has quit [Remote host closed the connection]
14:36compassion has quit [Quit: lounge quit]
14:36compassion has joined #asahi-alt
15:14uur has joined #asahi-alt
15:15uur has quit [Remote host closed the connection]
15:16uur has joined #asahi-alt
15:28uur has quit []
15:30uur has joined #asahi-alt
15:49uur has quit [Read error: Connection reset by peer]
15:49uur1 has joined #asahi-alt
16:00uur1 has quit [Quit: Leaving.]
16:16maria has joined #asahi-alt
16:26uur has joined #asahi-alt
16:50jacksonchen666 has joined #asahi-alt
16:56maria has quit [Quit: WeeChat 3.5]
17:00maria has joined #asahi-alt
17:04jacksonchen667 has joined #asahi-alt
17:05ChaosPrincess has joined #asahi-alt
17:06jacksonchen666 has quit [Ping timeout: 480 seconds]
17:06jacksonchen667 is now known as jacksonchen666
17:07maria has quit [Quit: The Lounge - https://thelounge.chat]
17:07maria has joined #asahi-alt
17:07maria is now known as Guest4362
17:08Guest4362 is now known as maria
17:22uur1 has joined #asahi-alt
17:26uur has quit [Ping timeout: 480 seconds]
17:28jacksonchen666 has quit [Read error: Connection reset by peer]
17:28jacksonchen666 has joined #asahi-alt
17:28bcrumb has joined #asahi-alt
17:31ChaosPrincessUsually the talking points is that systemd is a bloated mess, it runs stuff as pid0 that shouldnt run as pid0, and people dont like their response to some bugs
17:33bcrumbright, i will try to minimize distro hopping completely i think - imho there should just be one - overarching - compatible-with-everything - absolute - etc. distro
17:33mpsbcrumb: my reasons to switch from debian to alpine is that I prefer simple systems where I can easily control it, and when needed patch it
17:34uur1 has quit [Quit: Leaving.]
17:34bcrumbnice, i literally don't know some basic stuff when it comes to distros so i might be able to talk about this 2 year
17:36mpsfor example, these days will be full year I switched to using alpine on m1, and nearly everything worked without recompile
17:36uur has joined #asahi-alt
17:38mpsand there is one guy (tmlind on irc) who use alpine as daily driver on m1 for more than a year and a half, though with correlium kernel
17:41jacksonchen666 has quit [Ping timeout: 480 seconds]
17:43bcrumb has quit [Quit: Page closed]
18:58chadmed has quit [Remote host closed the connection]
19:47r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
20:13r0ni has joined #asahi-alt
20:13r0ni has quit []
20:16r0ni has joined #asahi-alt
20:51millenialhacker has joined #asahi-alt
20:52millenialhackerjannau & chadmed, I got M1N1 bootloader & boot thing ready, I ran the proxy tools and I hit same black screen I described yesterday. Anyway I can enable the serial console from Linux?
20:53millenialhacker"/dev/serial" ?
20:55millenialhacker?I'm trying console=ttyS0 in the kernel cmdline but no luck
21:03millenialhackerholy cow I'm doomed
21:04millenialhackerI'm running in proxy mode, in theory I could inspect registers, etc, but I serial console would made things easier :S
21:04millenialhackerI think*
21:05millenialhackerwhat's the device
21:07millenialhackerso I'm in Mac, proxy mode is using cu.USBXXXX device to run HV, so I just need to inspect with screen the other cu.USBXXXXX device created
21:07millenialhackermmm I remember, it's like proxy mode with Mac OS
21:08millenialhackerYeah, that works, I thought other USB interface exposed by proxy mode only worked for Mac
21:08millenialhackerI'm dumb
21:08millenialhackerinteresting
21:08millenialhackerIt actually boots
21:09millenialhackerI mean I got a black screen but I got a serial console with login
21:09millenialhackerso I guess this may be related to backlight?
21:10millenialhackermps do you have the name of the module, I can blacklist it from grub
21:11millenialhackerthe one related to backlight
21:12millenialhackeror should I just disable simpledrm and that's all?
21:13millenialhackerThat would be helpful thanks
21:13millenialhackerI have CONFIG_DRM_APPLE=y & CONFIG_DRM_SIMPLEDRM=y
21:17millenialhackerI just compiled M1N1 from HEAD in git and installed via TrOS
21:17millenialhackerOh, that's may the problem, let me put those as modules them
21:18jannaumillenialhacker: there was a problem which could result in rendering transparent console output with dcp
21:18millenialhackerMaybe that black screen is not so black after all?
21:19millenialhackercat: write error: No space left on device
21:19millenialhackerwhen I tried to put random bytes to fb dev
21:19millenialhackerno, still black
21:20millenialhackerbut how this happened if I already booted with this kernel before?
21:20millenialhackerI mean, I confirmed that this is actually booting, but no fb device it seems, but I boot with this kernel before system recompile
21:20millenialhackerthat makes no sense
21:21millenialhackervgem dev=vgem unique=vgem
21:21millenialhackercat: /sys/kernel/debug/dri/0/state: No such file or directory
21:22millenialhackervgem dev=vgem unique=vgem
21:22millenialhackersimpledrm dev=9e2028000.framebuffer unique=9e2028000.framebuffer
21:22millenialhackervgem dev=vgem unique=vgem
21:24jannauso dcp is not loaded but no scanout with simpledrm, my best guess is too old m1n1 with dcp dtb
21:34millenialhackerjannau but I just updated m1n1 right now in 1TR and I boot directly boot.bin without doing chainload to stage2 m1n1
21:43millenialhackerunmasking m1n1 1.1.7 and updating it
21:50millenialhackerjannau, back to life
21:50jannauif boot.bin is the bad boot.bin from the ESP it doesn't matter how you load it. booting via it will be always broken
21:50millenialhackeryes, I just realize boot.bin was the m1n1 stage 2
21:50millenialhackerstill from 1.1.6 version
21:50millenialhackerjust copied over USB
21:50millenialhackerafter updating it to 1.1.7 and it's now working.
21:50Dcow has quit [Remote host closed the connection]
21:51millenialhackerI'm happy
21:51Dcow has joined #asahi-alt
22:03millenialhacker Now I can proceed with rebuilding @world :D
22:05millenialhackerI have a two volumes, one has MacOS installed alone (original MacOS ventura), then I have another Volume stub with Mac OS 12.3 and Gentoo
22:06millenialhackerI would like to remove this second MacOS stub to give that space to Gentoo
22:06millenialhackerany idea how to achieve that? I did it sometime but forgot the exact steps
22:07millenialhackerI was using this extra MacOS installation to reverse engineer the ISP but now I will have another laptop to do that so I'd prefer to give that space now to Gentoo
22:08millenialhackerI know, but I want only to remove the Mac OS installation within that partition
22:10millenialhackerNot exactly, I did it so I got two partitions (Original Mac, Stub Mac for Gentoo)
22:10millenialhackerthen at some point I realized I need another Mac OS installation to do some RE on ISP without having all my stuff on it
22:10millenialhackerso I just did all the partioning manually
22:11millenialhackerthat's what I said, I forgot how I did it last time, xP
22:11millenialhackerI assume is delete some stuff with diskutil but if anyone has any idea to avoid silly me deleting things it should n't
22:13jannauI still do not understand what/how you installed and what you want to delete. does https://github.com/AsahiLinux/docs/wiki/Partitioning-cheatsheet help?
22:18millenialhacker has quit [Read error: No route to host]
22:19millenialhacker has joined #asahi-alt
22:19millenialhackerBack from Gentoo & Emacs
22:20millenialhackerEmerging @world, wish me luck
23:01Dcow has quit [Remote host closed the connection]
23:02Dcow has joined #asahi-alt
23:03uur_ has joined #asahi-alt
23:04Dcow_ has joined #asahi-alt
23:09uur has quit [Ping timeout: 480 seconds]
23:11Dcow has quit [Ping timeout: 480 seconds]
23:14uur_ has quit []
23:21Dcow_ has quit [Remote host closed the connection]
23:35Dcow has joined #asahi-alt
23:36Dcow has quit [Remote host closed the connection]
23:36Dcow has joined #asahi-alt