Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
CF and TRIM
« previous
next »
Print
Pages: [
1
]
Author
Topic: CF and TRIM (Read 7177 times)
cphase
Newbie
Posts: 2
Karma: 1
CF and TRIM
«
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
Logged
"Take my advice, pull down your pants and slide on the ice"
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: CF and TRIM
«
Reply #1 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
Logged
cphase
Newbie
Posts: 2
Karma: 1
Re: CF and TRIM
«
Reply #2 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.
Quote from: franco on February 18, 2016, 07:03:12 am
https://forums.freebsd.org/threads/50436/
Thanks,
Jeff
Logged
"Take my advice, pull down your pants and slide on the ice"
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: CF and TRIM
«
Reply #3 on:
February 22, 2016, 07:34:41 am »
Hi Jeff,
Okay, looking forward to hearing from you.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
CF and TRIM