Show newer

看多帖子之后,后知后觉发现一个以前一直养死植物的原因是理解出了问题

养花人说的耐阴:植物放在太阳照过来时无法形成清晰影子的位置,仍然能茁壮生长,比如封闭阳台内侧
我理解的耐阴:卫生间角落,基本上只有灯光 :0390:

Show thread

Congratulations to myself!

With the help from clonezilla, GParted (GUI), some StackOverflow hint and the man page of lvs, vgs, pvresize and lvresize, now I have successfully replaced the boot drive! Not only a bigger root, but also 8GB swap.

I though LVM and LUKS will be much harder.

BTW, clonezilla works amazingly great. I restored the image and reboot, it automatically asked my luks password when boot up.

After all this drama caused by a Kingston drive, I was impressed by how things should simply work as it's intended way.

Got the new drive. P4: 0.005W and the total latency is only 16ms.

Shame on you Kingston.

天空вℓσи∂  
"If the total latency of any state (enlat + xlat) is greater than 25000 (25ms) you must pass a value at least that high as parameter default_ps_max...

@AmpBenzScientist oh, thanks for the information! Overheating is definitely one of the problems. And I don't know why Intel specifically chose the Kingston nv2 ssd as the oem drive, considering the overprice of this nuc.

I checked samsung, but it's too expensive for the use. I have two samsung 980pro in my laptop, I'd say that's the top level of a nvme drive. It's fast, stable, I'm super happy with it. But for my nuc, I don't have too many heavy load on io, and I already exceed my budget, so I chose the wd sn580, slower than the top line, but still a good drive for daily drive.

The idea is to copy the whole disk without decrypt luks, and hopefully, I don't need to reinstall the system.

Show thread

This will be my last time trying to comfort a Kingston drive during clonezilla copy.

The Kingston drive dropped again during copying a file. I immediately ordered a SN580 2TB ssd.

I'm done with this shit.

"If the total latency of any state (enlat + xlat) is greater than 25000 (25ms) you must pass a value at least that high as parameter default_ps_max_latency_us for the nvme_core kernel module."

Kingston: Max 90ms

RAM is not enough, but it's not the root cause. After expand the RAM, the nuc become less noisy.

And just a moment ago my system frozen again when I'm watching youtube.

Now I realized it's not the application, but the boot drive suddenly dropped.

I inserted some paper under the ssd and hope it can push the ssd in the correct location.

天空вℓσи∂  
For some reason, the IDEA frozen my NUC. I guess the memory is the main issue. With only 2GB of swap and 16GB of RAM, I opened 42 chrome tabs and 2...

I did some scientific test and got a rough conclusion:

The boot drive has a chance to be undetectable by the mother board. I assume it's the physical connection issue.

Based on my test result, the chance has a high correlation with the tightness of those screws on the back lid.

Open the lid, the boot drive can be detected every boot.

Close the lid but don't tighten the screws, same result.

Partially tight the screws, also stable across every boot.

Tighten the screws with hand, as far as I can tell, it's stable.

Tighten the screws for about 0.5Nm using a screw driver, the boot drive is undetectable.

And the error "a bootable drive has not been detected" doesn't mean your boot partition is broken. Apparently, it can also literally mean there is not a boot drive showing up. The data on the disk is fine, but the disk is missing. I though it's the boot partition is broken or something.
----
BTW, it's a cheap Kingston 500G NVMe disk. It feels cheap, it bends cheap. I assume it's the over-tightened screw bends the disk and causes some connection issues on the m.2 connector.

天空вℓσи∂  
A Bootable Device Has Not Been Detected Great

@AmpBenzScientist Agreed, but nowadays it's really hard to find a device that is suitable for installing third-party rom. A lot of brands try to lock down the bootloader or just use custom hardware and not open source the device tree, under that circumstances, with third-party rom, the experience can be ranged from slightly buggy to totally unusable.

I still miss the time when you can pick a rom and flash it, no need to unlock bootloader, don't have to worry about hardware not working. No nonsense, it just works, out of box.

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.