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

[Project 4] proj4.fs 파일시스템 마운트 에러 #14

Open
woong97 opened this issue Dec 7, 2021 · 11 comments
Open

[Project 4] proj4.fs 파일시스템 마운트 에러 #14

woong97 opened this issue Dec 7, 2021 · 11 comments

Comments

@woong97
Copy link

woong97 commented Dec 7, 2021

instruction을 따라하면서 proj4.fs를 mount 하려 하는데 에러가나서 되지 않고 있습니다.
image

@pasa3232
Copy link

pasa3232 commented Dec 9, 2021

저도 같은 문제를 겪고있습니다

@CARROTINA
Copy link
Collaborator

apparently, you are unsuccessful in adding a loop device
I have researched the problem and this link can help you solve the issue
reminder: with every modification you make on the kernel, don't forget to rebuild your kernel and restart your emulator

please don't hesitate to message again if you have the same issue

@zenith82114
Copy link

저희 조는 Project 0 완료 시점(master branch)에서 Project4.md의 지시대로만 진행했고 mount에는 문제가 없었습니다.
혹시나 과거 project 때 수정했던 것이 남아 있지 않은지 확인해 보시는 것도 좋을 듯합니다.

@woong97
Copy link
Author

woong97 commented Dec 10, 2021

저도 project0 완료 시점에서 하였는데도 잘 안되네요...운영체제는 ubuntu18.04를 사용하셨나요?

@zenith82114
Copy link

저와 팀원 둘 다 20.04를 썼습니다. 제 생각엔 상관없을 거 같은데 더 상위 버전이니 보장은 안 되겠네요.

@woong97
Copy link
Author

woong97 commented Dec 11, 2021

@pasa3232
혹시 문제를 해결하셨나요??

@CARROTINA
Copy link
Collaborator

@woong97 did you try to solve your loop device issue?
https://bbs.archlinux.org/viewtopic.php?pid=1428929#p1428929

@woong97
Copy link
Author

woong97 commented Dec 12, 2021

@zguemsara
Yes I did, but i couldn't solve it.

  1. I tried add loopback-dev.conf under /etc/modules-load.d/ "in qemu tizen shell".
  2. I tried command "modprobe loop" in qemu tizen shell.

@pasa3232
Copy link

@woong97
아직 해결 못했습니다.

@ldm2468
Copy link

ldm2468 commented Dec 12, 2021

저희는 loop device를 사용하는게 잘 안 돼서 /etc/fstab을 써고 qemu script를 조금 바꿔서 boot시에 마운트되게 설정했습니다.
fstab 내용:

# <file system> <mount point>   <type>  <options>           <dump> <pass>
/dev/root       /               ext4    defaults,noatime,rw 0      1
LABEL=system-data /opt          ext4    defaults,noatime    0      2
LABEL=os.proj4  /proj4          ext2    defaults,noatime,rw 0      3

부팅 후 lsblk 실행 결과:

root:~> lsblk
NAME MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
vda  254:0    0     1M  0 disk /proj4
vdb  254:16   0  59.9M  0 disk /opt
vdc  254:32   0    20M  0 disk /usr/lib/modules
vdd  254:48   0    64M  0 disk 
vde  254:64   0 240.4M  0 disk /

@woong97
Copy link
Author

woong97 commented Dec 12, 2021

@ldm2468
말씀해주신대로 하니 잘 됩니다. 정말 감사합니다

@pasa3232

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

5 participants