dentproject / dentOS

dentOS SwitchDev based NOS
Other
200 stars 59 forks source link

Installation failed of DENTOS on EdgeCore switch #178

Open hvina opened 2 years ago

hvina commented 2 years ago

I am using the latest release DENTOS-HEAD_ONL-OS9_2022-02-24-649a8bb_AMD64_INSTALLED_INSTALLER

I am trying to install this on a EdgeCore switch which is already running the latest version of ONL ONL-master-ONL-OS8-2019-07-23.0153-01d1564-AMD64-INSTALLED-INSTALLER

I downloaded the DENTOS installer and ran the command

sh DENTOS-HEAD_ONL-OS9_2022-02-24-649a8bb_AMD64_INSTALLED_INSTALLER

it ran up to Setting up mounts and then printed a message

cp: cannot stat '/etc/machine*.conf': No such file or directory 
Install failed
cat: /var/log/onie.log: No such file or directory

Is there a way I can proceed further ?

hvina commented 2 years ago

I tried to install from the ONIE and then I get the following error

ImportError: No module named x86_64_accton_as6812_32x_r0
akenliu commented 2 years ago

Which EdgeCore switch do you use now? AS6812-32x? As I know, EdgeCore may only support two devices, AS4224 and AS4564, that are arm64 CPU on the DentOS.

sonoble commented 2 years ago

Also the 5114 or EPS300, 4224 is EPS100/101.

On Mon, Aug 8, 2022, 6:32 PM akenliu @.***> wrote:

Which EdgeCore switch do you use now? AS6812-32x? As I know, EdgeCore may only support two devices, AS4224 and AS4564, that are arm64 CPU on the DentOS.

— Reply to this email directly, view it on GitHub https://github.com/dentproject/dentOS/issues/178#issuecomment-1208791852, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAP5WHZH5QT6HG4M64Y2ATDVYGYKDANCNFSM5544DA7A . You are receiving this because you are subscribed to this thread.Message ID: @.***>

hvina commented 2 years ago

Yes it is the AS 6812-32X.

Are there instructions for porting ?

paulmenzel commented 2 years ago

[When replying to GitHub issue notification messages via email, please remove the signature and disclaimers.]

Are there instructions for porting?

If I am not mistaken, the AS6812-32X uses a Broadcom BCM56854 as switching ASIC/silicon, which does not have a switchdev driver in the Linux kernel. So, the first step is to ask Broadcom to add such support (for the device) to the Linux kernel.