#
✕ nick:j_ey
#asahi · 2021-11-19 21:01
j_eyjannau: oh, I thought that was in your patchset that you sent
#asahi · 2021-11-19 20:56
j_eyIm keeping the keyboard stuff up to date, but that's it
#asahi · 2021-11-19 20:56
j_eythat's been on the cards for a while..
#asahi · 2021-11-19 20:41
j_eyyeah, not worth thnking about
#asahi · 2021-11-19 20:40
j_eyim confused why that other linux hit an undefined inst though..
#asahi · 2021-11-19 20:40
j_eyRealityVoid: np, glad it's basically working
#asahi · 2021-11-19 20:33
j_eyoh right, no initramfs
#asahi · 2021-11-19 20:33
j_eyRealityVoid: boots to a shell?
#asahi · 2021-11-19 20:31
j_eythat looked like the wrong linux dir
#asahi · 2021-11-19 20:30
j_ey" < RealityVoid> So I gzipped it in the linux root dir. gzip < ../linux/arch/arm64/boot/Image > Image.gz"
#asahi · 2021-11-19 20:28
j_eyis that correct?
#asahi · 2021-11-19 20:28
j_eyuhh you have linux and linux_mainline folders?
#asahi · 2021-11-19 20:25
j_ey(You could also try apply https://lore.kernel.org/linux-arm-kernel/1632922186-3116-1-git-send-email-chen45464546@163.com/ if you cant get faddr2line working..)
#asahi · 2021-11-19 20:15
j_eypr_err("HELLO WORLD\n");
#asahi · 2021-11-19 20:12
j_eysince we know we're hitting that :P
#asahi · 2021-11-19 20:12
j_eydo_undefinstr in arch/arm64/kernel/traps.c
#asahi · 2021-11-19 20:10
j_eyyeah looks fine
#asahi · 2021-11-19 20:09
j_eyundef instruction is really weird
#asahi · 2021-11-19 20:09
j_eyoh, I guess a panic ends in a BRK
#asahi · 2021-11-19 20:07
j_eyRealityVoid: definitely rebuilt and using the right imae.gz right? (just checking)
#asahi · 2021-11-19 20:06
j_eyRealityVoid: that brk #0x800 comes from an explicit thing in the code
#asahi · 2021-11-19 20:05
j_eyRealityVoid: pretty much the same result? or exactly the same?
#asahi · 2021-11-19 20:04
j_eymps: yep
#asahi · 2021-11-19 19:59
j_eyRealityVoid: drivers/irqchip/irq-apple-aic.c line 775 there's a WARN_ON, can you just comment that out and rebuild?
#asahi · 2021-11-19 19:58
j_eyRealityVoid: so this is torvalds/linux master branch?
#asahi · 2021-11-19 19:57
j_eyodd
#asahi · 2021-11-19 19:56
j_eyRealityVoid: run './scripts/faddr2line vmlinux aic_init_cpu+0xc/0x108' in your linux directory
#asahi · 2021-11-19 19:55
j_eyhuh
#asahi · 2021-11-19 19:54
j_eycool, paste it!
#asahi · 2021-11-19 19:54
j_eyRealityVoid: so if you do lower() at that brk exception, hopefully more get..
#asahi · 2021-11-19 19:54
j_eyit's only useful for BRK exceptions
#asahi · 2021-11-19 19:54
j_eythat basically sends the current exception to the kernel (rather than the hypervisor handling it)
#asahi · 2021-11-19 19:53
j_eyRealityVoid: that's where it hung/crashed I guess?
#asahi · 2021-11-19 19:52
j_eyok cool, so linux is booting
#asahi · 2021-11-19 19:51
j_eyRealityVoid: picoom will be on /dev/ttyACM1, m1n1 on /dev/ttyACM0
#asahi · 2021-11-19 19:50
j_eyRealityVoid: run the hv, then connect picocom
#asahi · 2021-11-19 19:49
j_eyjust takes time to get written
#asahi · 2021-11-19 19:44
j_eyhttps://asahilinux.org/blog/
#asahi · 2021-11-19 19:44
j_eyeleven: that's done on the blog
#asahi · 2021-11-19 19:43
j_eyRealityVoid: do you have picocom?
#asahi · 2021-11-19 19:36
j_eywhy is that getting stuck on a HVC..
#asahi · 2021-11-19 19:34
j_eyreboot and edit that file
#asahi · 2021-11-19 19:32
j_eyset proxyclient/m1n1/hv.py self.smp = False
#asahi · 2021-11-19 19:31
j_eyyes
#asahi · 2021-11-19 19:30
j_eymaybe? worth a try
#asahi · 2021-11-19 19:28
j_eyctrl-c in the shell?
#asahi · 2021-11-19 19:27
j_eyok well if you reboot and can do: lower() in the hypervisor shell that would be good
#asahi · 2021-11-19 19:24
j_eyI mean did you see any console messages on the m1?
#asahi · 2021-11-19 19:23
j_eyRealityVoid: did you see anything on the screnn?
#asahi · 2021-11-19 19:22
j_eyeleven: plenty of people asking questions :P

plus ›