Sophos XGS107 and no network interfaces (unknown network controller)

Hi,

It's my first topic on forum...
I'm using a few Sophos devices like XG105w XG115w and little older Cyberoam CR15wING without any issue, so I thought that Sophos XGS107 is capable to work under OWRT as well. I was very disappointed when after M2 SSD flash, OWRT running without any network interface! I installed additional software like pci-utils to see which network controller is on board - found:

03:00.0 Ethernet controller: Marvell Technology Group Ltd. Device 7080

but I didn't found information about driver I should use.

Moreover, I tried to install Debian 12, newest Ubuntu Server, OPnsense and no one OS recognized network controller.

Has anyone advice how to add network to OWRT with this exotic network controller?

Best Regards,
pancio

lspci -nn (or even better lspci -knn on Debian) should tell you which kernel modules are needed for this hardware, OpenWrt only preinstalls a handful of the most common ones (the less common ones would need to be installed).

Thanks for tip. I'll install Debian again and check it...

Well, no need to install it again, if you already removed it - as mentioned, "lspci -nn" on any linux would do (you can always use lspci -knn as well, -knn just won't tell much over -nn, if the required kernel module isn't already installed).

https://manpages.debian.org/bookworm/pciutils/lspci.8.en.html#Display_options

Actually I checked lspci under OWRT, Debian I used only in installer phase (and see that it is not capable to recognize network controller). So I'm during full installation of Debian process just now to have fully working OS for tests :slight_smile:

EDIT:
lspci -knn result:

root@localhost:~# lspci -knn
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Complex [1022:1576]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Complex [1022:1576]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) I/O Memory Management Unit [1022:1577]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) I/O Memory Management Unit [1022:1577]
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Host Bridge [1022:157b]
	DeviceName:  Onboard IGD
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Host Bridge [1022:157b]
00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port [1022:157c]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port [1022:1234]
	Kernel driver in use: pcieport
00:08.0 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Carrizo Platform Security Processor [1022:1578]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Carrizo Platform Security Processor [1022:1578]
00:09.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Carrizo Audio Dummy Host Bridge [1022:157d]
00:09.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Audio Controller [1022:157a]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Audio Controller [1022:c751]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:10.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller [1022:7914] (rev 20)
	Subsystem: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller [1022:7914]
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:11.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 49)
	Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901]
	Kernel driver in use: ahci
	Kernel modules: ahci
00:12.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller [1022:7908] (rev 49)
	Subsystem: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller [1022:7908]
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 4a)
	Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b]
	Kernel driver in use: piix4_smbus
	Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 11)
	Subsystem: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e]
00:14.7 SD Host controller [0805]: Advanced Micro Devices, Inc. [AMD] FCH SD Flash Controller [1022:7906] (rev 01)
	Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SD Flash Controller [1022:7906]
	Kernel driver in use: sdhci-pci
	Kernel modules: sdhci_pci
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 0 [1022:1570]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 1 [1022:1571]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 2 [1022:1572]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 3 [1022:1573]
	Kernel driver in use: k10temp
	Kernel modules: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 4 [1022:1574]
	Kernel driver in use: fam15h_power
	Kernel modules: fam15h_power
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 5 [1022:1575]
03:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. Device [11ab:7080]
root@localhost:~# 

So only Device ID we will see - I tried yesterday found HW assigned to this ID but without success...

Not likely. The 1x7 devices appear to have undergone a major design change. The 1x5 and 1x6 devices were built on Intel network controllers. The 1x7 devices have a Marvell switch (which, incidentally, shows in your lspci listing). That switch operates as a router unto itself (it has its own ARM processor), and the main device must be able to give it explicit operating instructions.

Netgate has a device incorporating a Marvell switch (the 7100, I believe), and they had to write a whole bunch of new code to make the switch work with pfSense Plus. That code was specific to one particular model in the Prestera family of switches and exists only within the proprietary pfSense Plus and not in the open-source pfSense CE.

One time I have encountered a similar switch before was on a Barracuda F180 (see this thread). On that occasion, it turned out that absent explicit direction, the switch works as a dumb switch (i.e., as if it were a single Ethernet port with an external dumb switch connected to it). The F180, however, has other ports in addition to those in the switch, so this is workable. In your case, when all available ports are in the switch, I doubt it is possible to make the router work properly without a driver for the switch. And I am not aware of any such driver forthcoming. I'd love to be wrong on this, but I don't think I am...

1 Like

Hi,

Thanks for detailed explanation. The switch is totally dead, not working as dumb switch, so you probably have right. It's very pity because this appliance is totally unusable with original software... expensive toy. I saw similar solution in industrial VPX/SoSA switches witch additional middle-ware layer for communication with independently switch. I hope 1x7 will be more popular in the future and somebody will be able to use it. Temporarily I bought XG106 which is more flexible :slight_smile:

Best Regards,

Up to 4 ports, you can usually expect vendors to use dedicated ethernet cards per port, beyond that, you usually find some kind of switch - and as NC1 pointed out, this makes stuff really complicated…

Until recently, Sophos had dedicated Intel controllers even on eight- and nine-port models (125 / 135). My guess is, Marvell is undercutting Intel on price while offering comparable performance and greater potential for offloading (there's a whole extra processor built into the switch), so manufacturers buy into Marvell's offerings despite having to put extra effort into software development.

I wonder whether Marvell would eventually consider contributing a driver for those switches (possibly non-free) to Linux...