OPNsense Forum

English Forums => Hardware and Performance => Topic started by: cphase on February 18, 2016, 02:13:55 am

Title: CF and TRIM
Post by: cphase on February 18, 2016, 02:13:55 am
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
Title: Re: CF and TRIM
Post by: franco on February 18, 2016, 07:03:12 am
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
Title: Re: CF and TRIM
Post by: cphase on February 18, 2016, 07:01:37 pm
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.

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

Thanks,
Jeff
Title: Re: CF and TRIM
Post by: franco on February 22, 2016, 07:34:41 am
Hi Jeff,

Okay, looking forward to hearing from you. :)


Cheers,
Franco