#asahi · 2021-11-20 08:52
cth451_desktopIs /dev/sda2 a USB drive?#asahi · 2021-11-20 08:47
cth451_desktopI was planning to boot off root on iSCSI and currently stuck in initrd shell#asahi · 2021-11-20 08:45
cth451_desktopI'm pretty sure that I've used the dtb from the kernel build#asahi · 2021-11-20 08:44
cth451_desktopThe kernel was sideloaded with linux.py#asahi · 2021-11-20 08:44
cth451_desktopOP here.#asahi · 2021-07-25 18:18
cth451_desktopmaybe i should try strip down my initrd.#asahi · 2021-07-25 18:17
cth451_desktop(I'll be happy with a initrd sh, but no luck so far)#asahi · 2021-07-23 03:09
cth451_desktopAre the firmware and initrd being loaded into the same memory location?#asahi · 2021-07-23 03:08
cth451_desktophttps://pastebin.aosc.io/paste/kezw6NxFGDfkk3XwMawf7A#asahi · 2021-07-23 03:08
cth451_desktopAfter sideloading kernel+dtb+initrd from linux.py m1n1 crashes with EL2 exception#asahi · 2021-07-23 02:58
cth451_desktopmarcan: disregard the previous messages. curl downloaded an 404 html without me noticing. m1n1 still boots.#asahi · 2021-07-23 02:53
cth451_desktopMost likely crashed somewhere and drops back into 1TR#asahi · 2021-07-23 02:52
cth451_desktopmarcan: m1n1 doesn't seem to boot anymore on branch kboot-fw#asahi · 2021-07-22 18:13
cth451_desktop(for example most android devices)#asahi · 2021-07-22 18:13
cth451_desktopEmbedded devices are another story though. Vendors who distributes pre-compiled kernel images and initrds may choose to sign them if they are not supposed to be user-modifiable#asahi · 2021-07-22 18:12
cth451_desktopSince RH/fedora distributes their kernel and users use the modules and images verbatim, the signatures are actually tamper proof seals since end-users don't have the siging keys#asahi · 2021-07-22 18:11
cth451_desktopThe point here is, initrds are per-machine specific and it kind of defeats the purpose to sign initrd locally (since whoever got access to the hardware would presumably have access to private keys on the system)#asahi · 2021-07-22 18:09
cth451_desktopAlso makes life harder for sysadmins#asahi · 2021-07-22 18:08
cth451_desktopI believe they only sign the kernel and associated modules? I could be wrong though.#asahi · 2021-07-22 18:06
cth451_desktopkettenis: distros don't usually sign initrds. the initrd images are usually generated on the fly when new kernels or other modification request so.#asahi · 2021-07-22 17:51
cth451_desktopdefaults to gzipped initrds, but also configured to work with zstd and xz as well#asahi · 2021-07-22 17:50
cth451_desktop(where we use on SBSA servers)#asahi · 2021-07-22 17:50
cth451_desktop(plus patches)#asahi · 2021-07-22 17:50
cth451_desktopThe kernel is in fact a general purpose distro kernel#asahi · 2021-07-22 17:46
cth451_desktopmarcan: thanks#asahi · 2021-07-22 17:43
cth451_desktopThe kernel still can't find init#asahi · 2021-07-22 17:42
cth451_desktopI'm not entirely sure whether bumping the heap to 512M changed anything.#asahi · 2021-07-22 17:07
cth451_desktopa dirty hack for sure, but is there a way to just make the heap slightly larger?#asahi · 2021-07-22 17:05
cth451_desktopthen the system reboots#asahi · 2021-07-22 17:05
cth451_desktopTTY> dlmalloc: out of memory#asahi · 2021-07-22 17:00
cth451_desktopOne second, sideloading one now as I don't remember the details#asahi · 2021-07-22 16:57
cth451_desktop170MiB (an entire recoery environment with iSCSI initator and such), and yes loaded via linux.py#asahi · 2021-07-22 16:57
cth451_desktopmarcan: Uncompressed initrd triggers a memory allocation failure in m1n1#asahi · 2021-07-22 16:40
cth451_desktopAre there any gotchas for the initramfs loaded via m1n1? I'm sideloading a valid initrd that worked on other arm64 machines but on M1 it's reporting ENOENT for /bin/init.#asahi · 2021-07-22 16:09
cth451_desktopsven: thanks for the heads-up. I did not reserve space for root on the SSD as I have already alloc'd a iSCSI LUN for it.#asahi · 2021-07-21 01:46
cth451_desktopI'm running 5.13.3 plus patches from dart/dev branch and yes I do have NVMe turned on#asahi · 2021-07-21 01:42
cth451_desktopManaged to boot until linux complains about missing root device w/o initrd. Probably should try iscsi or somehow write an ext4 fs there.#asahi · 2021-07-21 01:37
cth451_desktopGetting another cable solved the issue :(#asahi · 2021-07-20 22:47
cth451_desktopIn the meantime I'll try another USB3 cable#asahi · 2021-07-20 22:47
cth451_desktopAre there recommended troubleshooting steps I should take?#asahi · 2021-07-20 22:46
cth451_desktopdmesg indicates that m1n1 uartproxy is indeeded attached, but fails afterwards immediately with "can't set config #1, error -71"#asahi · 2021-07-20 22:44
cth451_desktopAccording to the wiki, the other computer should have a /dev/ttyACM0 or a serial device popping up, but there seems to be none.#asahi · 2021-07-20 22:44
cth451_desktopI've just got my M1 mac mini booted into m1n1 and connected another computer via a usb cable.