Git Product home page Git Product logo

Comments (14)

sonoble avatar sonoble commented on July 19, 2024

Hi Lewis:

EXT3-fs (sdb4): error: couldn't mount because of unsupported optional features (240)
EXT2-fs (sdb4): error: couldn't mount because of unsupported optional features (240)
Installing Open Network Linux Software Image (ONL-2.0.0_ONL-OS_2016-04-14.1034-d79158c_AMD64.swi)...
EXT3-fs (sdb6): error: couldn't mount because of unsupported optional features (240)
EXT2-fs (sdb6): error: couldn't mount because of unsupported optional features (240)

Are known and should not cause issues.

As for the other issues we have not done much testing with the 7716 yet, have you run previous builds?

from opennetworklinux.

sonoble avatar sonoble commented on July 19, 2024

@Lewis-Kang
I don't believe the ethernet mapping is correct:

https://github.com/opencomputeproject/OpenNetworkLinux/blob/master/packages/platforms/accton/x86-64/x86-64-accton-as7716-32x/platform-config/r0/src/lib/boot/x86-64-accton-as7716-32x-r0

root@localhost:# more /etc/onl/net
pci0000:00/0000:00:14.0 ma1
root@localhost:
# ifconfig |grep eth
eth0 Link encap:Ethernet HWaddr cc:37:ab:81:be:4f
eth1 Link encap:Ethernet HWaddr 00:10:18:00:00:00

05:00.0 Ethernet controller: Intel Corporation Device 15ab
05:00.1 Ethernet controller: Intel Corporation Device 15ab

if I look at the 5712 it has

00:14.0 Ethernet controller: Intel Corporation Device 1f41 (rev 03)

I will submit a pull request to update it

from opennetworklinux.

Lewis-Kang avatar Lewis-Kang commented on July 19, 2024

Hi Steven,

The latest ONL2.0 installer in https://www.opennetlinux.org/binaries which was built on March 1st. It doesn't have AS7716 ported from ONL1.0 yet. So, I don't have previous version to compare with.

Thanks.

/Lewis
P.S. AS7716 was ported from ONL1.0 to ONL2.0 on March 24th by this commit: 7a0d29d

from opennetworklinux.

sonoble avatar sonoble commented on July 19, 2024

Hi Lewis,

I wasn't sure if you had built a more recent version. I have updated the code and am going to test my changes.

from opennetworklinux.

sonoble avatar sonoble commented on July 19, 2024

Hi Lewis,

My changes did not work

root@localhost:# cat /etc/onl/net
pci0000:00/0000:05:00.0 ma1
root@localhost:
# ifconfig |grep eth
eth0 Link encap:Ethernet HWaddr cc:37:ab:81:be:4f
eth1 Link encap:Ethernet HWaddr 00:10:18:00:00:00

I will continue digging.

from opennetworklinux.

Lewis-Kang avatar Lewis-Kang commented on July 19, 2024

Hi Steven,

Thanks.

The installer I built last night has the file name
ONL-2.0.0_ONL-OS_2016-04-14.1034-d79158c_AMD64_INSTALLER

which matches the latest commit:
d79158c

So, it should be the newest version so far.

from opennetworklinux.

sonoble avatar sonoble commented on July 19, 2024

I get the feeling that we need @brandonchuang to look at the code as I see the same issue, it seems things are not mapping correctly. I booted the last ONL 1.0 image http://opennetlinux.org/binaries/2016.01.04.21.46.18cc76084b3104961117aa8434599c8c67a9a276/onl-18cc760-amd64-all.2016.01.04.21.36.installer and it also fails to map the ethernet ports.

from opennetworklinux.

jnealtowns avatar jnealtowns commented on July 19, 2024

The sysfs path for eth0 is wrong in the 7716 platform config.

I've fixed it in this commit:
b6c1996

While eth0 is now correctly renamed to ma1 I was unable to make eth0/ma1
link up with the latest ONL build.

On Thu, Apr 14, 2016 at 8:32 PM, Steven Noble [email protected]
wrote:

I get the feeling that we need @brandonchuang
https://github.com/brandonchuang to look at the code as I see the same
issue, it seems things are not mapping correctly. I booted the last ONL 1.0
image
http://opennetlinux.org/binaries/2016.01.04.21.46.18cc76084b3104961117aa8434599c8c67a9a276/onl-18cc760-amd64-all.2016.01.04.21.36.installer
and it also fails to map the ethernet ports.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#69 (comment)

from opennetworklinux.

Lewis-Kang avatar Lewis-Kang commented on July 19, 2024

Because management port is functioning well under ONIE environment, I asked David who developed ONIE for AS7716-32X. He told me a special kernel driver patch is needed to solve this issue and he had given the patch files to Brandon. I talked with Brandon yesterday, we need to come out a solution to avoid the kernel driver patch from malfunctioning other platforms if they are using the same Broadcom's MAC but with different HW design for management port. I think we need to let certain patch code to be executed only when running on AS7716 platform. I am waiting for opinions on this from other colleagues. Do you have any suggestion on identifying the device is AS7716 in kernel? Is checking the EEPROM content the only way for it?

Thanks.

/Lewis

from opennetworklinux.

Lewis-Kang avatar Lewis-Kang commented on July 19, 2024

@jnealtowns @sonoble , I just emailed you our patch for ma1 issue for your reference.
The mgmt-port-init-config.patch is specific for AS7716, so I think it should be enclosed (after applying the patch) by a condition check for execution only on AS7716 to avoid affecting other platform (this is yet to be done).

from opennetworklinux.

sonoble avatar sonoble commented on July 19, 2024

I am building the kernel now and will confirm if this patch works.

from opennetworklinux.

sonoble avatar sonoble commented on July 19, 2024

The patch works:

ma1 Link encap:Ethernet HWaddr cc:37:ab:81:be:4f
inet addr:10.6.100.112 Bcast:10.7.255.255 Mask:255.254.0.0
inet6 addr: fe80::ce37:abff:fe81:be4f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:115 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13322 (13.0 KiB) TX bytes:2104 (2.0 KiB)
Interrupt:16

root@localhost:# uname -a
Linux localhost 3.2.65-1+deb7u2-OpenNetworkLinux #1 SMP Sat Apr 16 01:45:56 UTC 2016 x86_64 GNU/Linux
root@localhost:
# cat /etc/onl/platform
x86-64-accton-as7716-32x-r0

from opennetworklinux.

Lewis-Kang avatar Lewis-Kang commented on July 19, 2024

Steven, thanks.

/Lewis

from opennetworklinux.

Lewis-Kang avatar Lewis-Kang commented on July 19, 2024

ma1 linkup issue and onlpdump issue can be fixed by #72

from opennetworklinux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.