Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panic: unknown trap #4

Open
weiqist opened this issue Apr 4, 2024 · 0 comments
Open

Panic: unknown trap #4

weiqist opened this issue Apr 4, 2024 · 0 comments

Comments

@weiqist
Copy link

weiqist commented Apr 4, 2024

Hello.
I'm build a root disks by Docker like that:

FROM gentoo/stage3

RUN emerge-webrsync && eselect profile set 1
RUN emerge --jobs=10 -v1 app-shells/bash dev-vcs/git dev-lang/lua net-ftp/ncftp net-misc/cadaver dev-util/byacc
# На будущее, для тестирования pdpy11
#RUN emerge --jobs=10 -v1 dev-python/pytest dev-python/coverage dev-python/pyfakefs dev-python/pylint
RUN emerge --jobs=10 -v1 app-misc/mc app-editors/vim

# Amsterdam Compiler Kit - кросс-компилятор нескольких языков программмирования
RUN mkdir /ack
WORKDIR /ack
RUN git clone https://github.com/davidgiven/ack.git /ack 
RUN make && make install

#Конвертер объектных файлов macro11 в абсолютные двоичные программные образы (.bin)
# Написан на Perl5
RUN mkdir /obj2bin
WORKDIR /obj2bin
RUN git clone https://github.com/AK6DN/obj2bin.git /obj2bin
RUN cp ./obj2bin.pl /usr/local/bin/ && chmod +x /usr/local/bin/obj2bin.pl

#Переносимый Макроассемблер для PDP-11 написанный на С 
RUN mkdir /macro11
WORKDIR /macro11
RUN git clone https://github.com/shattered/macro11.git /macro11
RUN make && make tests && cp ./macro11 /usr/local/bin/

#Кроссплатформенный ассемблер PDP11 написанный на Python3
RUN mkdir /pdpy11
WORKDIR /pdpy11
RUN git clone   https://github.com/pdpy11/pdpy11.git /pdpy11
RUN python setup.py install
# На будущее, для тестирования pdpy11
#RUN make test && make cov && make lint 

RUN rm -Rvf /obj2bin /ack /macro11 /pdpy11


WORKDIR /home/

RUN mkdir /home/bkunix
WORKDIR /home/bkunix
RUN git clone https://github.com/sergev/bkunix.git /home/bkunix
RUN sed -i "s/-Werror//" cross-devel/cpp/Makefile
RUN cd cross-devel && make && make install 
RUN cd src/libc && make && make install
RUN cd fsutil && make && make install
RUN cd src && make && cd stand && make && make install
RUN cd src && mv root.bkd /home/bkunix11.bkd
RUN sed -i "/DBK0011/s/^/#/" src/sys/Makefile
RUN sed -i "/0100000/s/^/#/" src/sys/Makefile 
RUN sed -i "/DBK0011/s/^/#/" src/stand/Makefile
RUN sed -i "/0100000/s/^/#/" src/stand/Makefile 
RUN cd src && make clean && make && cd stand && make clean && make && make install
RUN cd src && mv root.bkd /home/bkunix10.bkd
WORKDIR /home/

ENTRYPOINT ["/bin/bash"]

Bkunix for 0011m is work fine, but for 0010-01 I have got a panic. On real hardware and on https://GitHub.com/y-salnikov/bk is too panic "unknown trap".
Couldn't help me with debug this error, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant