Sign inSign up

crosvm/kernel

By crosvm

•Updated about 7 years ago

Image
0

169

crosvm/kernel repository overview

Docker Automated Docker Build Status

Trigger a autobuild on docker hub⁠
curl -X POST https://cloud.docker.com/api/build/v1/source/ecb07fb7-6c0a-4dea-a319-63af05318824/trigger/5411b383-107e-4e7b-9934-ad12d19301b6/call/

⁠reference kernel image for running on crosvm

⁠a quick demo:

docker export $(docker create crosvm/kernel) | tar xvf - --strip 1 payload
docker export $(docker create crosvm/crosvm) | tar xvf - --strip 1 payload
env LD_LIBRARY_PATH=$PWD ./crosvm run vmlinux.bin

the kernel does boot but shortly panics with error messages as shown below:

...
[    0.938342] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    0.939733] Please append a correct "root=" boot option; here are the available partitions:
[    0.941253] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
...

(click here⁠ for full log)

it's normal because the kernel can't find a rootfs to continue booting with

⁠rootfs

For the sake of completeness, you may want to attach a rootfs to the kernel, which is out of the scope of this short document. Please take a look at crosvm/rootfs⁠ for more info

⁠refs

Tag summary

Content type

Image

Digest

Size

3.4 MB

Last updated

about 7 years ago

docker pull crosvm/kernel