English Forums > Hardware and Performance

CF and TRIM

(1/1)

cphase:
Installed OPNsense 16.1 today onto a 4 gb Kingston cf. Install went fine and rebooted fine. Subsequent reboots halt due to a "TRIM" error. If I boot into single user mode, disable TRIM and reboot it is fine, but TRIM is set to "enabled" again so another reboot and it will halt. Is it possible to set it to disable and have it be persistent? Looking forward to doing some testing.

Hardware:
Supermicro X7SPA-H-D525 board
4 gb of ram
4 gb cf(will change to an SSD if test is good)

Thanks,
Jeff

franco:
Hi Jeff,

You can delete these lines from /usr/local/etc/rc to prevent trim from being enabled. This won't make it through a firmware upgrade however.

https://github.com/opnsense/core/blob/master/src/etc/rc#L34-L39

I'd like to know what the error is (screenshot or text dump needed) to find out more about the cause and how we can fix it with minimal impact or adding custom overrides.

Maybe it's something like this...

https://forums.freebsd.org/threads/50436/


Cheers,
Franco

cphase:
Hi Franco,

     Thanks for the reply and the work around. I will try and get you the exact error message as soon as possible. It is not the one that you posted though.


--- Quote from: franco on February 18, 2016, 07:03:12 am ---https://forums.freebsd.org/threads/50436/
--- End quote ---

Thanks,
Jeff

franco:
Hi Jeff,

Okay, looking forward to hearing from you. :)


Cheers,
Franco

Navigation

[0] Message Index

Go to full version