-
Notifications
You must be signed in to change notification settings - Fork 146
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
Cold reboot loses SSD info[BUG] #4
Comments
Dear Contributors, Thanks for creating such a wonderful package. We also encounter this cold reboot on both NX and AGX NORMAL STARTUP or REBOOT After the device is detected, systemd launched setssdroot.service which invoke setssdroot.sh when the requirement ConditionPathExists=/dev/nvme0n1p1 in the service file is fullfilled. COLD REBOOT Therefore the device /dev/nvme0n1p1 appears after systemd executes the setssdroot.service and cannot fulfill the requirement: PROPOSED SOLUTION And modified the EXT4_OPT with errors=continue in setssdroot.sh: INITBIN=/lib/systemd/systemd echo "setssdroot: mount and switch rootfs to nvme0n1p1" | tee /dev/kmsg modprobe ext4 mkdir -p ${CHROOT_PATH} cd ${CHROOT_PATH} echo "setssdroot: exit mount and switch rootfs" | tee /dev/kmsg Seems the above approach may delay the boot process for 1-2s during file system recovery, but we try cold boot it over 20 times and seems it's working nicely on both NX/AGX. Please kindly check if this approach help resolves the issue. Best, |
I have to make this change to script in order to boot from SSD. But, in my case, it never boots from SSD without the change. |
Describe the issue
Please describe the issue
After copying over rootfs to SSD and then enabling booting from SSD, I reboot.
It works fine as long as I'm simply warm booting. That is I don't unplug the power.
When I unplug the power and then do a cold boot, the system doesn't see the SSD directories.
I have to do another warm boot (reboot) in order to see SSD directories.
What version of L4T/JetPack
L4T/JetPack version: 4.4
Which Jetson
Jetson: NXXavier
To Reproduce
Steps to reproduce the behavior:
For example, what command line did you run?
Setup the SSD.
Clone the rootOnNVMe
then copy rootfs
./copy-rootfs-ssd.sh
then enable booting from SSD
./setup-service.sh
Reboot to enable SSD.
Now you have access to SSD.
At this point, you can shutdown and unplug the power or simply just unplug the power.
When the power is reconnected, SSD directories are not seen.
You have to reboot again to see the SSD directories.
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: