Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KFMon generator #29

Closed
pgaskin opened this issue May 24, 2020 · 10 comments · Fixed by #35
Closed

KFMon generator #29

pgaskin opened this issue May 24, 2020 · 10 comments · Fixed by #35

Comments

@pgaskin
Copy link
Owner

pgaskin commented May 24, 2020

After #4 is finished and #28 has been merged.

@NiLuJe
Copy link
Collaborator

NiLuJe commented May 24, 2020

First stab ready at https://github.com/geek1011/NickelMenu/tree/niluje/kfmon-generator ;).

@pgaskin
Copy link
Owner Author

pgaskin commented May 25, 2020

Looks good upon a quick glance. Can you rebase it on master and open a PR?

@NiLuJe
Copy link
Collaborator

NiLuJe commented May 25, 2020

Might be a while, my MOBO is acting up and decided to stop enumerating the old SSD where my system lives ^^.

BIOS can't see it, EFI bootloaders can't see it, but if I boot a SystemRescueCD on a stick, Linux finds it just fine. o_O.

Going to try to check if a connector got unseated later today, which is a possibility, since it's an old M.2 stuck in a 2.5" adapter that doesn't fit properly anywhere in my chassis, so it's more or less "resting" on top of a HDD.... >_<".

@pgaskin
Copy link
Owner Author

pgaskin commented May 25, 2020

Going to try to check if a connector got unseated later today, which is a possibility, since it's an old M.2 stuck in a 2.5" adapter that doesn't fit properly anywhere in my chassis, so it's more or less "resting" on top of a HDD.... >_<".

Mine's taped to the side of the case, since the screw holes don't fit for some reason... At least SSDs don't vibrate ;).

BIOS can't see it, EFI bootloaders can't see it, but if I boot a SystemRescueCD on a stick, Linux finds it just fine. o_O.

Have you tried rEFInd? I usually have better luck with it than anything else for this kind of issue.

I also wonder if kexec'ing directly to it from another distro would work (it skips most of the BIOS stuff).

But first, I'd probably agree with doing that connector check, just to make sure things won't get corrupted randomly.

@NiLuJe
Copy link
Collaborator

NiLuJe commented May 25, 2020

I am indeed using rEFInd ;). (Initially because of a weird issue with GRUB since a BIOS update, where basically I lost monitor signal in the Linux fb console. Since I don't use a greeter, and I startx manually, doing that blind was fun :D. Was possibly half an nVidia quirk that might have been fixed when I had to update a VBIOS thingy (!) to support the latest DP revision when I swapped monitors. Hopefully moot now that I've switched to an AMD card, but I've never bothered to check again. I might, though :D. Aaaanyway, yeah, rEFInd is great, and trying its own USB stick was my first stop, but no dice there either ;)).

The first hint that something was wrong was when I was thrown straight into Windows' bootloader (from the new install on the new NVME M.2. Because of course my MOBO enumerates NVME drives after SATA drives, so my proper ESP is actually still on the old SATA M.2).

TL;DR: That was a fun end of the night. :D.

@NiLuJe
Copy link
Collaborator

NiLuJe commented May 25, 2020

Okay, I'm back!

Apparently, yeah, shitty adapter and/or cable means the SATA lead doesn't lock on the adapter's side, so, wonky shit ensued. (I'm calling it: the Linux kernel has telekinetic powers :D).

My lame-ass rack adapter surprisingly held up, on the other hand, so, yay, didn't need to resort to taping it up or playing with rubber bands ;p.

Plus, spring cleaning!


Working on the rebase now ;).

@pgaskin
Copy link
Owner Author

pgaskin commented Jun 1, 2020

@NiLuJe, one quick question: is the item order deterministic?

@pgaskin
Copy link
Owner Author

pgaskin commented Jun 1, 2020

Also, is there a way for users to control the item order (it's fine if there isn't, I just want to add a note to the docs)?

@NiLuJe
Copy link
Collaborator

NiLuJe commented Jun 1, 2020

That behaves mostly like NM entries themselves: inode order ;). (it's fts_read & friends).

@pgaskin
Copy link
Owner Author

pgaskin commented Jun 1, 2020

Ok, then I'll just leave it as is for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants