FreeNAS 11.1U5 on asrock rack C3758D4I-4L

dasti

Explorer
Joined
Jun 11, 2014
Messages
71
Hi

Just reporting that I did a fresh install of Freenas 11.1U5 on this motherboard C3758D4I-4L and the network cards are now recognized (11.1U4 was not able to recognize it).
it should also work in C3558D4I-4L

I will report if I find any bug.
 
Last edited:

dasti

Explorer
Joined
Jun 11, 2014
Messages
71
Caveat : Mini SAS HD Connector [SATA_8_11] and PCI speed 4x 8x


upload_2018-7-13_15-43-20.png


if you want this connector to work you need to be in switch board configuration "config2" in the section advanced / chipset configuration
Note : for BIOS firmware version P1.30 (17 may 2018) the default configuration is "config1" so the connector won't work


upload_2018-7-13_16-1-53.png


upload_2018-7-13_15-44-36.png


You have to choose between having this connector working or having a pci express port speed at x8.
If you want to go over 13 harddrives you must install a HBA card and they are all (as far as I read) 8x so you will have to go back into [config1] in the BIOS which will desactivate the SATA_8_11 connector.
 
Last edited:

dasti

Explorer
Joined
Jun 11, 2014
Messages
71
Freenas bug (?) : unknown cpu

extract from /var/log/message
Code:
Jul 13 00:40:00 freenas pmc: Unknown Intel CPU.
Jul 13 00:40:00 freenas hwpmc: SOFT/16/64/0x67<INT,USR,SYS,REA,WRI>

I don't see any effect other then this message
 
Last edited:

dasti

Explorer
Joined
Jun 11, 2014
Messages
71
Bug Freenas or motherboard (?) : [USB3_2] connector disappear when connecting drives to the [SATA_8_11] connector

usb ports can be configured as follow
upload_2018-7-13_17-45-22.png


HARDWARE
- 3 usb keys 32gb usb3.0 in different brands (toshiba, samsung, sandisk) configured in triple mirror for boot
- 4 harddrives HGST sas 4GB connected with a mini SAS HD to mini SAS connector and a backpannel


DESCRIPTION
- when using the [SATA_8_11] connector freenas can not detect a usb key plugged in the [usb2] connector
- [USB_SEL_1] and [USB_SEL_2] jumpers are in position 2-3
- this supposed to means that the back usb connector [USB3_2] support usb3 only
- no problem when using the mina sas hd [SATA_0_3] connector
- [usb_1_2] connectors are not affected




TEST1

swap usb keys brand in the [usb2] connector -> same problem, same usb port



TEST2 : hot move the sas cable with 4 drives from [SATA_0_3] to [SATA_8_11]

content of /var/log/messages
Code:
Jul 13 02:13:53 freenas ada3 at ahcich12 bus 0 scbus11 target 0 lun 0
Jul 13 02:13:53 freenas ada3: <HGST HDN726040ALE614 APGNW7JH> s/n K7J2NAYB detached
Jul 13 02:13:53 freenas (ada3:ahcich12:0:0:0): Periph destroyed
Jul 13 02:13:53 freenas ada1 at ahcich9 bus 0 scbus9 target 0 lun 0
Jul 13 02:13:53 freenas ada1: <HGST HDN726040ALE614 APGNW7JH> s/n K7J2N9LB detached
Jul 13 02:13:53 freenas ada2 at ahcich11 bus 0 scbus10 target 0 lun 0
Jul 13 02:13:53 freenas ada2: <HGST HDN726040ALE614 APGNW7JH> s/n K7J2V84B detached
Jul 13 02:13:53 freenas (ada2:ahcich11:0:0:0): Periph destroyed
Jul 13 02:13:53 freenas (ada1:ahcich9:0:0:0): Periph destroyed
Jul 13 02:13:53 freenas ada0 at ahcich8 bus 0 scbus8 target 0 lun 0
Jul 13 02:13:53 freenas ada0: <HGST HDN726040ALE614 APGNW7JH> s/n K7J0VDTB detached
Jul 13 02:13:53 freenas (ada0:ahcich8:0:0:0): Periph destroyed
Jul 13 02:14:14 freenas uwsgi: [sentry.errors:648] Sentry responded with an error: <urlopen error [Errno 54] Connection reset by peer> (url: https://sentry.ixsystems.com/api/2/store/)
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/urllib/request.py", line 1318, in do_open
	encode_chunked=req.has_header('Transfer-encoding'))
  File "/usr/local/lib/python3.6/http/client.py", line 1239, in request
	self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/local/lib/python3.6/http/client.py", line 1285, in _send_request
	self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.6/http/client.py", line 1234, in endheaders
	self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.6/http/client.py", line 1026, in _send_output
	self.send(msg)
  File "/usr/local/lib/python3.6/http/client.py", line 964, in send
	self.connect()
  File "/usr/local/lib/python3.6
Jul 13 02:14:14 freenas uwsgi: /site-packages/raven/utils/http.py", line 38, in connect
	sock, ca_certs=ca_certs, cert_reqs=ssl.CERT_REQUIRED)
  File "/usr/local/lib/python3.6/ssl.py", line 1149, in wrap_socket
	ciphers=ciphers)
  File "/usr/local/lib/python3.6/ssl.py", line 814, in __init__
	self.do_handshake()
  File "/usr/local/lib/python3.6/ssl.py", line 1068, in do_handshake
	self._sslobj.do_handshake()
  File "/usr/local/lib/python3.6/ssl.py", line 689, in do_handshake
	self._sslobj.do_handshake()
ConnectionResetError: [Errno 54] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/raven/transport/threaded.py", line 174, in send_sync
	super(ThreadedHTTPTransport, self).send(data, headers)
  File "/usr/local/lib/python3.6/site-packages/raven/transport/http.py", line 47, in send
	ca_certs=self.ca_certs,
  File "/usr/loca
Jul 13 02:14:14 freenas uwsgi: l/lib/python3.6/site-packages/raven/utils/http.py", line 66, in urlopen
	return opener.open(url, data, timeout)
  File "/usr/local/lib/python3.6/urllib/request.py", line 526, in open
	response = self._open(req, data)
  File "/usr/local/lib/python3.6/urllib/request.py", line 544, in _open
	'_open', req)
  File "/usr/local/lib/python3.6/urllib/request.py", line 504, in _call_chain
	result = func(*args)
  File "/usr/local/lib/python3.6/site-packages/raven/utils/http.py", line 46, in https_open
	return self.do_open(ValidHTTPSConnection, req)
  File "/usr/local/lib/python3.6/urllib/request.py", line 1320, in do_open
	raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 54] Connection reset by peer>
Jul 13 02:14:14 freenas uwsgi: [sentry.errors.uncaught:670] ['OperationalError: database is locked', '  File "django/core/handlers/exception.py", line 42, in inner', '  File "django/core/handlers/base.py", line 249, in _legacy_get_response', '  File "django/core/handlers/base.py", line 178, in _get_response', '  File "freenasUI/freeadmin/middleware.py", line 162, in process_view', '  File "django/contrib/auth/decorators.py", line 22, in _wrapped_view', '  File "django/contrib/auth/decorators.py", line 46, in <lambda>', '  File "django/utils/functional.py", line 234, in inner', '  File "django/utils/functional.py", line 380, in _setup', '  File "django/contrib/auth/middleware.py", line 24, in <lambda>', '  File "django/contrib/auth/middleware.py", line 12, in get_user', '  File "django/contrib/auth/__init__.py", line 187, in get_user', '  File "django/contrib/auth/backends.py", line 102, in get_user', '  File "django/db/models/manager.py", line 85, in manager_method',
Jul 13 02:14:14 freenas uwsgi:  '  File "django/db/models/query.py", line 379, in get', '  File "django/db/models/query.py", line 238, in __len__', '  File "django/db/models/query.py", line 1087, in _fetch_all', '  File "django/db/models/query.py", line 54, in __iter__', '  File "django/db/models/sql/compiler.py", line 835, in execute_sql', '  File "django/db/backends/utils.py", line 64, in execute', '  File "django/db/utils.py", line 94, in __exit__', '  File "django/utils/six.py", line 685, in reraise', '  File "django/db/backends/utils.py", line 64, in execute', '  File "freenasUI/freeadmin/sqlite3_ha/base.py", line 412, in execute', '  File "freenasUI/freeadmin/sqlite3_ha/base.py", line 403, in locked_retry', '  File "freenasUI/freeadmin/sqlite3_ha/base.py", line 389, in locked_retry']

zpool status
Code:
root@freenas:~ # zpool status
  pool: freenas-boot
 state: ONLINE
  scan: resilvered 308K in 0 days 00:00:09 with 0 errors on Fri Jul 13 01:39:19 2018
config:

		NAME		STATE	 READ WRITE CKSUM
		freenas-boot  ONLINE	   0	 0	 0
		  mirror-0  ONLINE	   0	 0	 0
			da0p2   ONLINE	   0	 0	 0
			da1p2   ONLINE	   0	 0	 0
			da2p2   ONLINE	   0	 0	 0

errors: No known data errors

- the usb keys are still there
- harddrives don't come back
- after reboot the drives will be detected but the usb key in the [usb2] connector will not be detected in Freenas (but is detected in the BIOS)



TEST3 : hot move the sas cable with 4 drives from to [SATA_8_11] to [SATA_0_3]
- the drives are not detected
- the usb key doesn't reappear
- everything is fine after reboot
- I saw this error message when shutting down freenas
upload_2018-7-13_17-7-12.png




TEST4 - change [USB_SEL_1] and [USB_SEL_2] jumpers into position 1-2 with SAS connector [SATA_8_11]

camcontrol devlist
Code:
<HGST HDN726040ALE614 APGNW7JH>	at scbus0 target 0 lun 0 (pass0,ada0)
<HGST HDN726040ALE614 APGNW7JH>	at scbus1 target 0 lun 0 (pass1,ada1)
<HGST HDN726040ALE614 APGNW7JH>	at scbus2 target 0 lun 0 (pass2,ada2)
<HGST HDN726040ALE614 APGNW7JH>	at scbus3 target 0 lun 0 (pass3,ada3)
<Samsung Flash Drive 1100>		 at scbus14 target 0 lun 0 (pass4,da0)
<TOSHIBA TransMemory PMAP>		 at scbus15 target 0 lun 0 (pass5,da1)
<SanDisk Ultra USB 3.0 1.00>	   at scbus16 target 0 lun 0 (pass6,da2)


- all 3 usb keys are recognized and one the front usb2 ports is not usable as expected
 
Last edited:

LaserAllan

Dabbler
Joined
Mar 25, 2017
Messages
34
And here i was just thinking about buying C3000 thank you for letting me know it doesn't really work all that well. I will go with an X9 instead.
 

Eric Li

Cadet
Joined
Jul 29, 2018
Messages
1
Great job!
But I haven't installed CentOS on my C3758 successfully...
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
We have FreeNAS version 11.1-U6 now, with 11.2 just around the corner. The OP was using an older version (11.1-U4) because this is an old thread. Current results will likely be different.

Sent from my SAMSUNG-SGH-I537 using Tapatalk
 
Top