SolidHal / PrawnOS

Libre Mainline Kernel and Debian for arm laptops
https://www.PrawnOS.com
GNU General Public License v2.0
114 stars 29 forks source link

Booting from USB, wake from sleep results in EXT4-FS inode errors, system must be power cycled #153

Open cvmiller opened 4 years ago

cvmiller commented 4 years ago

Using version 1.0.3 booted from USB stick on an Asus C201P

After closing the lid, counting to 10, reopening, noted that the X display often doesn't return, and there are repeating EXT4-FS error messages. The FS is disconnected, and no app can be run from the FS (e.g. ls, or dmesg).

Only recovery seems to be power cycle the Chromebook. When booted again, dmesg reports that the broken inodes have been fixed.

SolidHal commented 4 years ago

This is likely due to usb power saving during sleep, and would occur when booted from an SD card as well. This doesn't happen when you are booting from the internal emmc. There might be a way to tweak what power mode it puts the usb ports in when the kernel enters sleep, so I'll leave this open

cvmiller commented 4 years ago

Thanks for looking into if the Kernel can support this.

SolidHal commented 3 years ago

I take back what I said about this also happening when booted from sd. It likely would not happen if booted from sd.

cvmiller commented 3 years ago

I agree. I have been booting from SD, and I don't see the FS corruption.