uhub0: 13 ports with 13 removable, self poweredugen0.2: at usbus0uhub1: on usbus0sdhci_pci0-slot0: Controller timeoutsdhci_pci0-slot0: ============== REGISTER DUMP ==============sdhci_pci0-slot0: Sys addr: 0x00000000 | Version: 0x00001002sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000sdhci_pci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000sdhci_pci0-slot0: Present: 0x1fff0001 | Host ctl: 0x00000001sdhci_pci0-slot0: Power: 0x00000000 | Blk gap: 0x00000080sdhci_pci0-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07sdhci_pci0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000sdhci_pci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fbsdhci_pci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000sdhci_pci0-slot0: Caps: 0x446cc8b2 | Max curr: 0x00000000sdhci_pci0-slot0: ===========================================uhub1: 4 ports with 4 removable, self poweredugen0.3: at usbus0umass0: on usbus0umass0: SCSI over Bulk-Only; quirks = 0x4000umass0:2:0:-1: Attached to scbus2da0 at umass-sim0 bus 0 scbus2 target 0 lun 0da0: Removable Direct Access SPC-2 SCSI deviceda0: Serial Number 20120926571200000da0: 40.000MB/s transfersda0: Attempt to query device size failed: NOT READY, Medium not presentda0: quirks=0x2ugen0.4: at usbus0ukbd0: on usbus0kbd1 at ukbd0sdhci_pci0-slot0: Controller timeout
opnsense: /usr/local/etc/rc.bootup: The command '/sbin/route delete -host 85.25.105.193' returned exit code '1', the output was 'route: writing to routing socket: No such process delete host 85.25.105.193 fib 0: not in table'
inetd[74756]: 19000/tcp: unknown service
kernel: re1: link state changed to DOWNdevd: Executing '/usr/local/opnsense/service/configd_ctl.py interface linkup stop re1'configd.py: [aaaaaaa-cccc-dddd-eeee-bbbbbbbb] Linkup stopping re1kernel: 423.838079 [ 266] generic_find_num_desc called, in tx 1024 rx 1024kernel: 423.838564 [ 274] generic_find_num_queues called, in txq 0 rxq 0kernel: 423.839022 [ 798] generic_netmap_dtor Restored native NA 0kernel: 423.839509 [ 266] generic_find_num_desc called, in tx 1024 rx 1024kernel: 423.839982 [ 274] generic_find_num_queues called, in txq 0 rxq 0opnsense: /usr/local/etc/rc.linkup: DEVD Ethernet detached event for wanopnsense: /usr/local/etc/rc.linkup: Clearing states to old gateway 192.168.1.1.kernel: arpresolve: can't allocate llinfo for 192.168.1.1 on re1kernel: arpresolve: can't allocate llinfo for 192.168.1.1 on re1kernel: arpresolve: can't allocate llinfo for 192.168.1.1 on re1kernel: arpresolve: can't allocate llinfo for 192.168.1.1 on re1
opnsense: /usr/local/etc/rc.linkup: The command '/sbin/route add -inet default '192.168.1.1'' returned exit code '1', the output was 'route: writing to routing socket: Network is unreachable add net default: gateway 192.168.1.1 fib 0: Network is unreachable'
OK, so lots of things went wrong On boot there is a controller timeoutCode: [Select]uhub0: 13 ports with 13 removable, self poweredugen0.2: at usbus0uhub1: on usbus0sdhci_pci0-slot0: Controller timeoutsdhci_pci0-slot0: ============== REGISTER DUMP ==============sdhci_pci0-slot0: Sys addr: 0x00000000 | Version: 0x00001002sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000sdhci_pci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000sdhci_pci0-slot0: Present: 0x1fff0001 | Host ctl: 0x00000001sdhci_pci0-slot0: Power: 0x00000000 | Blk gap: 0x00000080sdhci_pci0-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07sdhci_pci0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000sdhci_pci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fbsdhci_pci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000sdhci_pci0-slot0: Caps: 0x446cc8b2 | Max curr: 0x00000000sdhci_pci0-slot0: ===========================================uhub1: 4 ports with 4 removable, self poweredugen0.3: at usbus0umass0: on usbus0umass0: SCSI over Bulk-Only; quirks = 0x4000umass0:2:0:-1: Attached to scbus2da0 at umass-sim0 bus 0 scbus2 target 0 lun 0da0: Removable Direct Access SPC-2 SCSI deviceda0: Serial Number 20120926571200000da0: 40.000MB/s transfersda0: Attempt to query device size failed: NOT READY, Medium not presentda0: quirks=0x2ugen0.4: at usbus0ukbd0: on usbus0kbd1 at ukbd0sdhci_pci0-slot0: Controller timeout
Then there were these, but I don't think they're newCode: [Select]opnsense: /usr/local/etc/rc.bootup: The command '/sbin/route delete -host 85.25.105.193' returned exit code '1', the output was 'route: writing to routing socket: No such process delete host 85.25.105.193 fib 0: not in table'Once per DNS server
Also, lots of Code: [Select]inetd[74756]: 19000/tcp: unknown service
After that suricata was started on the VPN and it crapped outCode: [Select]kernel: re1: link state changed to DOWNdevd: Executing '/usr/local/opnsense/service/configd_ctl.py interface linkup stop re1'configd.py: [aaaaaaa-cccc-dddd-eeee-bbbbbbbb] Linkup stopping re1kernel: 423.838079 [ 266] generic_find_num_desc called, in tx 1024 rx 1024kernel: 423.838564 [ 274] generic_find_num_queues called, in txq 0 rxq 0kernel: 423.839022 [ 798] generic_netmap_dtor Restored native NA 0kernel: 423.839509 [ 266] generic_find_num_desc called, in tx 1024 rx 1024kernel: 423.839982 [ 274] generic_find_num_queues called, in txq 0 rxq 0opnsense: /usr/local/etc/rc.linkup: DEVD Ethernet detached event for wanopnsense: /usr/local/etc/rc.linkup: Clearing states to old gateway 192.168.1.1.kernel: arpresolve: can't allocate llinfo for 192.168.1.1 on re1kernel: arpresolve: can't allocate llinfo for 192.168.1.1 on re1kernel: arpresolve: can't allocate llinfo for 192.168.1.1 on re1kernel: arpresolve: can't allocate llinfo for 192.168.1.1 on re1It was impossible to connect to the main WAN and the VPN could not be shut down.
Code: [Select]opnsense: /usr/local/etc/rc.linkup: The command '/sbin/route add -inet default '192.168.1.1'' returned exit code '1', the output was 'route: writing to routing socket: Network is unreachable add net default: gateway 192.168.1.1 fib 0: Network is unreachable'I turned off IPS and was able to restart all the other services.
I wasn't able to turn on IPS on suricata 2, but it worked on 3. I'll give it another go later.
Looks like an embedded device's SD card reader. A card wasn't present. These things have all sorts of quirk bits that may need to be set in their driver. Which embedded device is this? Did the boot continue? I'm assuming yes...
Was was the suricata version you used here, 2 or 3? 2 doesn't support this, that's why we'll flip the version with 16.1. Only upgrading the kernel doesn't do that at the moment.
Jan 25 10:04:59 router configd.py: [u-u-i-d] get suricata daemon statusJan 25 10:04:59 router configd.py: [u-u-i-d] generate template OPNsense.IDSJan 25 10:04:59 router configd.py: generate template container OPNsense.IDSJan 25 10:05:00 router configd.py: [u-u-i-d] install suricata rulesJan 25 10:05:03 router configd.py: [u-u-i-d] restart suricata daemonJan 25 10:05:03 router kernel: ovpnc1: promiscuous mode disabledJan 25 10:05:03 router kernel: re1: promiscuous mode disabledJan 25 10:05:06 router configd.py: [u-u-i-d] get suricata daemon statusJan 25 10:05:22 router kernel: re1: link state changed to DOWNJan 25 10:05:22 router devd: Executing '/usr/local/opnsense/service/configd_ctl.py interface linkup stop re1'Jan 25 10:05:22 router configd.py: [u-u-i-d] Linkup stopping re1Jan 25 10:05:22 router kernel: 722.600747 [ 266] generic_find_num_desc called, in tx 1024 rx 1024Jan 25 10:05:22 router kernel: 722.601235 [ 274] generic_find_num_queues called, in txq 0 rxq 0Jan 25 10:05:22 router kernel: 722.601691 [ 798] generic_netmap_dtor Restored native NA 0Jan 25 10:05:22 router kernel: 722.602184 [ 266] generic_find_num_desc called, in tx 1024 rx 1024Jan 25 10:05:22 router kernel: 722.602654 [ 274] generic_find_num_queues called, in txq 0 rxq 0Jan 25 10:05:22 router opnsense: /usr/local/etc/rc.linkup: DEVD Ethernet detached event for wanJan 25 10:05:23 router opnsense: /usr/local/etc/rc.linkup: Clearing states to old gateway 192.168.1.1.Jan 25 10:05:23 router kernel: arpresolve: can't allocate llinfo for 192.168.1.1 on re1Jan 25 10:05:24 router kernel: re1: link state changed to UPJan 25 10:05:24 router devd: Executing '/usr/local/opnsense/service/configd_ctl.py interface linkup start re1'Jan 25 10:05:24 router configd.py: [u-u-i-d] Linkup starting re1Jan 25 10:05:24 router kernel: arpresolve: can't allocate llinfo for 192.168.1.1 on re1Jan 25 10:05:24 router opnsense: /usr/local/etc/rc.linkup: DEVD Ethernet attached event for wanJan 25 10:05:24 router opnsense: /usr/local/etc/rc.linkup: HOTPLUG: Configuring interface wanJan 25 10:05:25 router opnsense: /usr/local/etc/rc.newwanip: rc.newwanip: Informational is starting re1.Jan 25 10:05:25 router opnsense: /usr/local/etc/rc.newwanip: rc.newwanip: on (IP address: 192.168.1.102) (interface: WAN[wan]) (real interface: re1).Jan 25 10:05:25 router opnsense: /usr/local/etc/rc.newwanip: The command '/sbin/route delete -host 85.25.105.193' returned exit code '1', the output was 'route: writing to routing socket: No such process delete host 85.25.105.193 fib 0: not in table'Jan 25 10:05:25 router opnsense: /usr/local/etc/rc.newwanip: The command '/sbin/route delete -host 87.98.175.85' returned exit code '1', the output was 'route: writing to routing socket: No such process delete host 87.98.175.85 fib 0: not in table'Jan 25 10:05:25 router opnsense: /usr/local/etc/rc.newwanip: ROUTING: remove current default route to 192.168.1.1Jan 25 10:05:25 router opnsense: /usr/local/etc/rc.newwanip: ROUTING: setting default route to 192.168.1.1Jan 25 10:05:25 router opnsense: /usr/local/etc/rc.newwanip: Resyncing OpenVPN instances for interface WAN.Jan 25 10:05:25 router kernel: ovpnc1: link state changed to DOWNJan 25 10:05:25 router configd.py: [u-u-i-d] Reloading filterJan 25 10:05:26 router configd.py: [u-u-i-d] Reloading filterJan 25 10:05:28 router opnsense: /usr/local/etc/rc.newwanip: Creating rrd update scriptJan 25 10:05:31 router opnsense: /usr/local/etc/rc.linkup: ROUTING: remove current default route to 192.168.1.1Jan 25 10:05:31 router opnsense: /usr/local/etc/rc.linkup: ROUTING: setting default route to 192.168.1.1Jan 25 10:05:35 router configd.py: [u-u-i-d] updating dyndns wanJan 25 10:05:41 router configd.py: [u-u-i-d] updating dyndns GW_WANJan 25 10:05:41 router configd.py: [u-u-i-d] Restarting ipsec tunnelsJan 25 10:05:42 router configd.py: [u-u-i-d] Restarting OpenVPN tunnels/interfaces GW_WANJan 25 10:05:42 router opnsense: /usr/local/etc/rc.openvpn: OpenVPN: One or more OpenVPN tunnel endpoints may have changed its IP. Reloading endpoints that may use GW_WAN.Jan 25 10:05:42 router opnsense: /usr/local/etc/rc.openvpn: OpenVPN: Resync client1 VPN1
25/1/2016 -- 10:42:56 - <Warning> - [ERRCODE: SC_ERR_SYSCALL(50)] - Failure when trying to get MTU via ioctl for 're1+': Device not configured (6)25/1/2016 -- 10:42:56 - <Warning> - [ERRCODE: SC_ERR_SYSCALL(50)] - Failure when trying to get MTU via ioctl for 'ovpnc1+': Device not configured (6)
Do you have hardware to double-check against a more stable em(4) or igb(4) Intel driver?