Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - N0b0dy1985

#1
Hi, I have a 5 year old DEC-850 that I would like to repurpose. This box has no VGA, only serial. The serial console works great on FreeBSD and OPNsense, but I am looking to deploy Proxmox and Debian on it. We think the controller is a Synopsis DesignWare, that OPNsense dmesg calls out as having a broken FCR... not sure if this is real, or indicating an emulated controller?

OPNsense detects the serial like so:
uart2: console (115384,n,8,1)IFO> iomem 0xfedc9000-0xfedc9fff,0xfedc7000-0xfedc7fff irq 3 on acpi0
root@OPNsense:~ # dmesg | grep acpi
acpi0: <INSYDE WALLABY>
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0
atrtc0: <AT realtime clock> port 0x70-0x71 on acpi0
attimer0: <AT timer> port 0x40-0x43 on acpi0
apei0: <ACPI Platform Error Interface> on acpi0
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
uart2: <16x50 with 256 byte FIFO> iomem 0xfedc9000-0xfedc9fff,0xfedc7000-0xfedc7fff irq 3 on acpi0
ig4iic0: <Designware I2C Controller> iomem 0xfedc2000-0xfedc2fff irq 10 on acpi0
ig4iic1: <Designware I2C Controller> iomem 0xfedc3000-0xfedc3fff irq 11 on acpi0
ig4iic2: <Designware I2C Controller> iomem 0xfedc4000-0xfedc4fff irq 12 on acpi0
ig4iic3: <Designware I2C Controller> iomem 0xfedc5000-0xfedc5fff irq 6 on acpi0
ig4iic4: <Designware I2C Controller> iomem 0xfedc6000-0xfedc6fff irq 14 on acpi0
ig4iic5: <Designware I2C Controller> iomem 0xfedcb000-0xfedcbfff irq 15 on acpi0
root@OPNsense:~ #

My struggle has been that I can't get any Linux kernel to properly register the serial console. I've tried 50 kernel option in the grub menu, but no joy. Grub menus all work fine, then serial console output stops once it gets passed to the kernel.

Anyone have any clue what I should be doing here? I'm stumped, and I've stumped Google Gemini and Claude. Thanks in advance.
#2
On the Deciso DEC-850v1 (AMD Epyc 3201, Netboard A20) I'm trying to figure out which module or driver OPNsense is loading for the thermal sensors. Does anyone know? Does the plugin hwprobe have this info?

Edit, got it thanks anyway!
#3
Hi, so this is not new information, but I am a dumbass. I was running Zenarmor, ntopng, crowdsec, etc, and logging to my m.2 SATA and NVME disks that are in a ZFS mirror. Predictably, I wrote those disks to 0% and 1% life left over about 18 months. I have now implemented ramdisk; moved all logs to local RAM or to a new remote ELK stack; and verified writes are now about 14GB/day. I am looking to install (2) new NVME disks in a ZFS mirror and ditch the SATA.

The datasheet on the Netboard A20 I have indicates that it has "2x M.2. socket (1x with SATA / PCIe x4 switchable & 1x PCIe x4)". How do I switch the first M.2 socket to be NVME? I am running the latest BIOS and I don't see an option to switch that socket between SATA/NVME.

Do I need a jumper or something? If so, is it in place already and I just need to move it, or do I need to procure one? If the latter, what jumper do I need to buy?

I'm also interested in any tips to migrate this ZFS mirror to a new one. I have recent config backups.

If this isn't the right place to ask, please point me in the right direction.

Thanks much in advance!
#4
Hardware and Performance / DEC-850v1 12V connector ID
August 17, 2024, 07:07:36 PM
Hi, I have a Deciso DEC-850v1, and I was doing some surgery to add a second SSD so I could implement ZFS, and I borked the A20 board's power connector. The wires pulled out of the connector, and I can't get them to stay back in. Anyone know what kind of 2-pin connector this is, and how to crimp on a new one?

https://imgur.com/a/ANmEwQk
#5
Hi, this is outside the scope of OPNsense, but I've upgraded the memory and added a second disk to my DEC-850 with an eye towards moving to ZFS, and got to thinking that it would be awesome to install Proxmox VE as a host with OPNsense as a guest (I've done this on other machines, and it works pretty great, but those machines all had VGA/KB/mouse). There is a bunch of spare CPU/memory and disk capacity on this box now, and it would be great to put it to use. Proxmox shows support for serial-based installations.

Anyhow, I'm having trouble after I boot the Proxmox iso USB... on the console I see:


Welcome to GRUB!

error: no such device: /.disk/info.
error: no such device: /.disk/mini-info.



  •     I've verified the iso hash
  •     The BIOS is UEFI, latest version
  •     The device is not configured for secure boot

My googling is failing me... I don't understand these error messages, or how to resolve them. Grub hangs and I can't proceed. Not sure if there's a BIOS setting that I need to touch. I've posted on Reddit and in the Proxmox forums but no luck yet.

Any help is greatly appreciated.
#6
Hardware and Performance / DEC-850v1 UFS to ZFS
July 29, 2024, 04:14:21 PM
Hi, I purchased a DEC-850v1 before ZFS installation was supported, I have upgraded to 24.7.9 and now I'm ready to add a second SSD and move from UFS to ZFS.

I see in the documentation that I can invoke the opnsense-installer from a root shell via SSH. I checked, and it presents me with the option to do a ZFS install. Is this possible (or wise) to try do this via SSH and import the existing configuration?

I have daily FW backups, so if the installation fails I can definitely recover.

Thanks in advance.
#7
Hi, I'm trying to set up a Zabbix proxy on a remote OPNsense machine. The Zabbix server shows that the proxy has never connected. Looking in the proxy log files on the OPNsense box, I see

92056:20240423:144220.197 using configuration file: /usr/local/etc/zabbix64/zabbix_proxy.conf
92056:20240423:144220.198 cannot open database file "zabbix_proxy": [2] No such file or directory
92056:20240423:144220.198 creating database ...
92056:20240423:144220.198 [Z3002] cannot create database 'zabbix_proxy': [0] unable to open database file
92056:20240423:144220.198 cannot initialize database: cannot open database


When configuring the proxy, I wasn't prompted to configure a database, and I assumed the proxy configuration was doing that behind the scenes. What am I missing here?
#8
I attempted to remotely upgrade a DEC-850 that I use for a home firewall. The device didn't come back up after a reboot. When I arrived back home, there was predictably no internet service and the FW couldn't be reached over the network. Serial console was unresponsive, and I had to resort to ungracefully power-cycling the box.

The device was still failing to boot. I eventually resorted to trying to reinstall from USB. This is what I see in the console:

uart0: <8250 or 16450 or compatible> port 0x3f8-0x3ff irq 3 flags 0x10 on acpi0
hwpstate0: <Cool`n'Quiet 2.0> on cpu0
Timecounter "TSC" frequency 1497188188 Hz quality 1000
Timecounters tick every 1.000 msec
Trying to mount root from ufs:/dev/ufs/OPNsense_Install [ro,noatime]...
ugen0.1: <0x1022 XHCI root HUB> at usbus0
uhub0 on usbus0
uhub0: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
Root mount waiting for: usbus0 CAM
uhub0: 8 ports with 8 removable, self powered
Root mount waiting for: usbus0 CAM
ugen0.2: <SanDisk Cruzer> at usbus0
umass0 on uhub0
umass0: <SanDisk Cruzer, class 0/0, rev 2.00/2.00, addr 1> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x4100
umass0:1:0: Attached to scbus1
Root mount waiting for: CAM
Root mount waiting for: CAM
Root mount waiting for: CAM
Root mount waiting for: CAM
Root mount waiting for: CAM
Root mount waiting for: CAM
Root mount waiting for: CAM
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <TS256GMTS952T2 02J0T4GB> ACS-2 ATA SATA 3.x device
ada0: Serial Number G568720070
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 1024bytes)
ada0: Command Queueing enabled
ada0: 244198MB (500118192 512 byte sectors)
da0 at umass-sim0 bus 0 scbus1 target 0 lun 0
da0: <SanDisk Cruzer 8.02> Removable Direct Access SCSI device
da0: Serial Number 432440190D2010EE
da0: 40.000MB/s transfers
uart0: <8250 or 16450 or compatible> port 0x3f8-0x3ff irq 3 flags 0x10 on acpi0
hwpstate0: <Cool`n'Quiet 2.0> on cpu0
Timecounter "TSC" frequency 1497188188 Hz quality 1000
Timecounters tick every 1.000 msec
Trying to mount root from ufs:/dev/ufs/OPNsense_Install [ro,noatime]...
ugen0.1: <0x1022 XHCI root HUB> at usbus0
uhub0 on usbus0
uhub0: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
Root mount waiting for: usbus0 CAM
uhub0: 8 ports with 8 removable, self powered
Root mount waiting for: usbus0 CAM
ugen0.2: <SanDisk Cruzer> at usbus0
umass0 on uhub0
umass0: <SanDisk Cruzer, class 0/0, rev 2.00/2.00, addr 1> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x4100
umass0:1:0: Attached to scbus1
Root mount waiting for: CAM
Root mount waiting for: CAM
Root mount waiting for: CAM
Root mount waiting for: CAM
Root mount waiting for: CAM
Root mount waiting for: CAM
Root mount waiting for: CAM
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <TS256GMTS952T2 02J0T4GB> ACS-2 ATA SATA 3.x device
ada0: Serial Number G568720070
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 1024bytes)
ada0: Command Queueing enabled
ada0: 244198MB (500118192 512 byte sectors)
da0 at umass-sim0 bus 0 scbus1 target 0 lun 0
da0: <SanDisk Cruzer 8.02> Removable Direct Access SCSI device
da0: Serial Number 432440190D2010EE
da0: 40.000MB/s transfers
da0: 15283MB (31301631 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
mountroot: waiting for device /dev/ufs/OPNsense_Install...
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
igb0: link state changed to UP
debugnet_any_ifnet_update: Bad dn_init result from igb0 (ifp 0xfffff80001ad1800), ignoring.
igb3: link state changed to UP
debugnet_any_ifnet_update: Bad dn_init result from igb3 (ifp 0xfffff80001b72000), ignoring.
intsmb0: <AMD FCH SMBus Controller> at device 20.0 on pci0
smbus0: <System Management Bus> on intsmb0
lo0: link state changed to UP
igb3: link state changed to UP
igb0: link state changed to UP
pflog0: permanently promiscuous mode enabled
da0: 15283MB (31301631 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
mountroot: waiting for device /dev/ufs/OPNsense_Install...
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
igb0: link state changed to UP
debugnet_any_ifnet_update: Bad dn_init result from igb0 (ifp 0xfffff80001ad1800), ignoring.
igb3: link state changed to UP
debugnet_any_ifnet_update: Bad dn_init result from igb3 (ifp 0xfffff80001b72000), ignoring.
intsmb0: <AMD FCH SMBus Controller> at device 20.0 on pci0
smbus0: <System Management Bus> on intsmb0
lo0: link state changed to UP
igb3: link state changed to UP
igb0: link state changed to UP
pflog0: permanently promiscuous mode enabled


Boot hangs at pflog0: permanently promiscuous mode enabled. I have verified the SHA256 hash of the file I downloaded, and tried a different USB memory stick with the same results. Any ideas on what's going on, or what to try next?
#9
Hi, I have a Deciso DEC-850 with (4) Intel I210 interfaces, running 21.7.7. I am seeking to optimize them for performance.  Would the following be the correct tunables to apply? Thanks in advance!


dev.igb.0.rss_enabled="1"
dev.igb.0.iflib.override_qs_enable="1"
dev.igb.0.iflib.override_nrxqs="4"
dev.igb.0.iflib.override_ntxqs="4"
dev.igb.0.iflib.override_ntxds="4096"
dev.igb.0.iflib.override_nrxds="4096"

dev.igb.1.rss_enabled="1"
dev.igb.1.iflib.override_qs_enable="1"
dev.igb.1.iflib.override_nrxqs="4"
dev.igb.1.iflib.override_ntxqs="4"
dev.igb.1.iflib.override_ntxds="4096"
dev.igb.1.iflib.override_nrxds="4096"

dev.igb.2.rss_enabled="1"
dev.igb.2.iflib.override_qs_enable="1"
dev.igb.2.iflib.override_nrxqs="4"
dev.igb.2.iflib.override_ntxqs="4"
dev.igb.1.iflib.override_ntxds="4096"
dev.igb.1.iflib.override_nrxds="4096"

dev.igb.3.rss_enabled="1"
dev.igb.3.iflib.override_qs_enable="1"
dev.igb.3.iflib.override_nrxqs="4"
dev.igb.3.iflib.override_ntxqs="4"
dev.igb.3.iflib.override_ntxds="4096"
dev.igb.3.iflib.override_nrxds="4096"


#10
Hi, I initiated the upgrade, didn't see any errors, the device rebooted, but I never actually saw it go down... kept responding to pings, kept passing traffic. Version on the dashboard now shows 27.1.2, but the uptime shows 33+ days, and when I check for updates, I get a windows saying "The upgrade has finished and your device is being rebooted at the moment, please wait."  It's been over 15 minutes like that.

What should I do? Is it safe to manually reboot?
#11
Hi, I just moved from the community to the development train. For giggles, I checked for updates after the switch, and my version 21.7.b_97 OPNsense is offering to 'upgrade' to 21.1.8. Is this expected?
#12
Hi, I tried to connect my OPNsense Netdata agent to the Netdata cloud, and when running the connect script, I get the message "This agent was built with --disable-cloud and cannot be claimed".

I'm curious why the plugin would be configured that way. Can I deinstall the plugin and install from pkg and use the cloud agent? Or is that a bad idea?

Thanks in advance.
#13
Hi, I have a DEC-850 on backorder, and have some questions about the appliance,


What make/model memory modules is it provisioned with? Is it 2x8GB modules, or it is 1x16GB?

Is the included memory RDIMM ECC?

Will Deciso be able to upgrade the memory configuration to 2x16GB modules for me?

What make/model 256GB SSD is provisioned?

I am interested in installing onto a ZFS boot mirror, and would like to obtain a second identical SSD. Is this something Deciso could sell to me and install for me?

Do the M.2 slots support NVMe?

What types of types/makes/models of SFP+ does the DEC-850 work with?

Thanks in advance!