Coder Social home page Coder Social logo

Comments (7)

RTimothyEdwards avatar RTimothyEdwards commented on July 4, 2024

Solution provided by @yrappt on the skywater-pdk slack workspace: This issue is from the spectre attack vulnerability in Intel processors, oddly enough, and there is a solution mentioned at the bottom of the page here: CentOS/sig-cloud-instance-images#103 , where the solution is to enable vsyscall at boot time by editing the grub config and rebooting. Worked like a charm.

from openlane.

bzboi avatar bzboi commented on July 4, 2024

Hi, I'm running Ubuntu 20.04 on WSL2, is the edit made to grub in Ubuntu or in Centos? I tried "sudo nano /etc/default/grub" followed by "sudo update-grub" in Ubuntu and rebooted but am still seeing the same error. I'm a Docker noob and will need help if the edit needs to be made within Centos. Thanks.

image

from openlane.

RTimothyEdwards avatar RTimothyEdwards commented on July 4, 2024

@bzboi : There was a second solution that I had written in my notes that I had used earlier on an openlane install, which was to change "centos6" to "centos7" in the dockerfile. There are some issues with using centos7, but the only one I found was that yosys fails in centos7 due to a broken shared library reference. I made a symbolic link "/lib64/libffi.so.5" pointing to libffi.so.6 to fix that. After that, I was able to run the flow on a design. I have no idea if other centos7-compatibility problems might happen if you do that.

As for the above solution, I'm doubtful that "grub" actually does anything under WSL, since Windows does the booting, not Ubuntu.

from openlane.

RTimothyEdwards avatar RTimothyEdwards commented on July 4, 2024

I am reopening this issue, as @bzboi has an active and unsolved variant of this issue.

from openlane.

nurirfansyah avatar nurirfansyah commented on July 4, 2024

Hi, I'm running Ubuntu 20.04 on WSL2, is the edit made to grub in Ubuntu or in Centos? I tried "sudo nano /etc/default/grub" followed by "sudo update-grub" in Ubuntu and rebooted but am still seeing the same error. I'm a Docker noob and will need help if the edit needs to be made within Centos. Thanks.

image

Hi, I had the same problem, I am running Ubuntu 18.04 on WSL2. I tried the steps to enable vsyscall=emulate as mentioned here: microsoft/WSL#4694, which is to have a .wslconfig file with the following lines:

[wsl2]
kernelCommandLine = vsyscall=emulate

This worked for me, I am now able to build the Openlane docker in Ubuntu on WSL2.

from openlane.

agorararmard avatar agorararmard commented on July 4, 2024

@RTimothyEdwards, @bzboi, and @nurirfansyah: We have migrated from using centos6 to centos7 in openlane master. We also provided an alternative for building the docker locally, pulling a pre-built image from dockerhub. Does this help close this long-standing issue?

from openlane.

donn avatar donn commented on July 4, 2024

Given that people haven't complained in a while, I'm going to assume this issue is resolved.

from openlane.

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.