Hi , i am getting below error after running sudo m...
# openlane
r
Hi , i am getting below error after running sudo make : sudo make mount Cannot determine git branch. Please specify OPENLANE_IMAGE_NAME manually. Full output: fatal: unsafe repository ('/home/ratul619/IIT_study_VM/OpenLane' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory /home/ratul619/IIT_study_VM/OpenLane cd /home/ratul619/IIT_study_VM/OpenLane && \ docker run --rm -v /home/ratul619/IIT_study_VM/OpenLane:/openlane -v /home/ratul619/IIT_study_VM/OpenLane/designs:/openlane/install -v /home/ratul619/IIT_study_VM/OpenLane/pdks:/home/ratul619/IIT_study_VM/OpenLane/pdks -e PDK_ROOT=/home/ratul619/IIT_study_VM/OpenLane/pdks -e STD_CELL_LIBRARY=sky130_fd_sc_hd --user 0:0 -e DISPLAY=:0 -v /tmp/.X11-unix:/tmp/.X11-unix -v /root/.Xauthority:/.Xauthority --network host -ti -amd64 invalid argument "md64" for "-a, --attach" flag: valid streams are STDIN, STDOUT and STDERR See 'docker run --help'. make: * [Makefile99 mount] Error 125
v
make survey || python3 ./env.py issue-survey
run this from
OpenLane
directory and post here
r
python3 ./env.py issue-survey Kernel: Linux v5.13.0-44-generic Distribution: ubuntu 20.04 Python: v3.8.10 (OK) Container Engine: UNKNOWN vUNKNOWN (UNSUPPORTED) OpenLane Git Version: 01e951092150ee8619286b0807ee263198b5ea6d pip: INSTALLED pipvenv INSTALLED --- PDK Version Verification Status: OK --- Git Log (Last 3 Commits) 01e9510 2022-06-02T000603+02:00 Fix tag names on Jenkins (#1119) - Vitor Bandeira - (HEAD -> master, tag: 2022.06.02_01.56.32, origin/master, origin/HEAD) e767002 2022-05-29T170023+02:00
repair_timing
improvements (#1113) - Anton Blanchard - (tag: 2022.05.30_01.41.33) 2653e6e 2022-05-25T192729+02:00 Synthesis Parameters, More Report Metrics (#1105) - Arya Reais-Parsi - (tag: 2022.05.26_01.40.55)
v
All is OK except your docker container version. Please install latest docker container for Ubuntu20.04 and try it, it will work. Check docker version required: https://github.com/The-OpenROAD-Project/OpenLane#prerequisites
r
Selecting previously unselected package docker-scan-plugin. Preparing to unpack .../5-docker-scan-plugin_0.17.0~ubuntu-focal_amd64.deb ... Unpacking docker-scan-plugin (0.17.0~ubuntu-focal) ... Selecting previously unselected package slirp4netns. Preparing to unpack .../6-slirp4netns_0.4.3-1_amd64.deb ... Unpacking slirp4netns (0.4.3-1) ... Setting up slirp4netns (0.4.3-1) ... Setting up docker-scan-plugin (0.17.0~ubuntu-focal) ... Setting up containerd.io (1.6.4-1) ... Setting up docker-compose-plugin (2.5.0~ubuntu-focal) ... Setting up docker-ce-cli (5:20.10.16~3-0~ubuntu-focal) ... Setting up docker-ce-rootless-extras (5:20.10.16~3-0~ubuntu-focal) ... Setting up docker-ce (5:20.10.16~3-0~ubuntu-focal) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for systemd (245.4-4ubuntu3.15) ...
i updated
but stil same errir
which section should i refer to
v
docker --version
?
r
Docker version 20.10.16, build aa7e414
v
Can you re-install
OpenLane
in new directory and try
m
@Ryan R Does
make mount
without the
sudo
work? I've had problems with the superuser accessing git repos.
r
nah.... docker: Got permission denied while trying to connect to the Docker daemon socket at unix///var/run/docker.sock Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create": dial unix /var/run/docker.sock: connect: permission denied.
i will check..
@Mitch Bailey -- quick thing --- how to update the magic version im getting issue for sky130B latest version
ok im downloading from here http://opencircuitdesign.com/magic/
v
@Ryan R If you install latest openlane its already available iniside
OpenLane/pdks/sky130B
Is OpenLane able to run the design?
r
no .. right now using magic for analog...i will come back later.. thanks for the pointers
a
sudo chmod your directory to be owned by you.
git complains about directory not being accessible by the user that is running the make command.