OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: dinguz on July 28, 2021, 09:55:31 PM

Title: Qotom box: disk errors after upgrade to 21.7 - possibly network driver related?
Post by: dinguz on July 28, 2021, 09:55:31 PM
I'm using a Qotom box (Q3xxG4-P, with the Intel 211 network card) for OPNsense which worked really well until the upgrade to 21.7. As soon as there is any load on the system, I start getting these ahci CAM errors or timeouts.
So far I have tried changing the SSD for an A-brand one, and I have reinstalled the system from the ISO. Still no luck.
I have tried to disable NCQ en trim, but this doesn't seem to be it.

Anything else to try? Has 21.7 seen updates in the storage / disk subsystem?

Edit: now that I think of it, the errors always start happening after enabling Sensei. You see that debugging thingy about the network card being put in permanently promiscuous mode, and shortly after that, the system hangs. Could that have anything to do with this?

Edit 2: Not using any VLANs here so I can't comment on that.
Title: Re: Qotom box: disk errors after upgrade to 21.7
Post by: cypromis on July 28, 2021, 10:16:51 PM
I got the same on a Mini-ITX AMD 350 Board with a ssd when trying to put VLAN on top of a LAGG. Very weird
Title: Re: Qotom box: disk errors after upgrade to 21.7
Post by: ajeffco on July 28, 2021, 11:37:03 PM
Had the same issue with my QOTOM.  And I have the VLAN issue as well.  I powered cycled my box, and still having the same VLAN issue but the disk error has not come back, and the GEOM_Mirror rebuilt while sitting at the "Configuring VLAN Interfaces..." message.
Title: Re: Qotom box: disk errors after upgrade to 21.7 - possibly Sensei related?
Post by: dinguz on July 29, 2021, 07:39:47 AM
Update: I have switched Sensei over from the native to the generic driver, and it seems to be working now. No more sata errors and timeouts. Fingers crossed...

Edit: spoke too soon, the errors returned.
Title: Re: Qotom box: disk errors after upgrade to 21.7 - possibly network driver related?
Post by: vanelm on July 29, 2021, 02:58:26 PM
Exactly the same problem here. Running noname J1900 box with 4xI211 interfaces and mSATA drive. Pretty sure it's NIC driver related issue. Also tried with "generic nmap driver" without any success. Symptoms are the same - both USB keyboard and USB LTE modem went disconnected shortly after Sensei engine start.
Title: Re: Qotom box: disk errors after upgrade to 21.7 - possibly network driver related?
Post by: mb on July 30, 2021, 02:01:00 AM
We were able to reproduce this.

It looks like something is going on with the igb(4) netmap driver and it mangles with the SATA driver.

Will post further updates once we have more information.
Title: Re: Qotom box: disk errors after upgrade to 21.7 - possibly network driver related?
Post by: dinguz on July 30, 2021, 05:45:49 AM
Thanks for the update on this!