Skip to content

*** kernel panic: init exiting #27

@garrettgu10

Description

@garrettgu10

I have tried building this kernel on a few different machines but seem to have an issue getting a build to run in QEMU.

I didn't make any changes to the source code, and simply ran the following commands:
make all && (cd misc; sudo ./mkfs.sh; ./qemu.sh)

From some preliminary println debugging, it seems that the execve syscall is throwing an error, since named(path) ends up being NULL. This is due to !S_ISDIR(dent->inod->mode) in named() returning false on the first iteration.

I am testing on a very clean version of Ubuntu 20.04.2 LTS.

I would love if you could give some insight as to why the first build might not be succeeding. I have attached the disk.img file below.

Thanks!

disk.zip

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions