-
Notifications
You must be signed in to change notification settings - Fork 67
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
create filesystem fails for me #58
Comments
Doing simple IOs directly to the device using dd seems to work fine.
|
Hi, I cannot reproduce on latest (5.3.0-rc2). Could you try that? |
Hi, I could not find 5.3.0-rc2 branch from https://github.com/OpenChannelSSD/linux. Where do I find that? |
@xinglin , |
I meant mainline (aka Linus' tree). But the for-5.3/core branch in OpenChannel/linux should be fine too. |
switched to use kernel 5.3.0-rc2 and this indeed solves the problem. I can create an ext4 on a pblk device and mount it. Maybe it would help if the below instructions could be updated, since there is no real need to use a custom kernel. The kernel from mainline just works. Thanks for the help!
|
Thanks @xinglin, I've created a pull request with updated documentation. |
Hi,
I started to play with this qemu-nvme ocssd simulator. I am able to create the pblk device but when I tried to create a filesystem on top of it, the kernel crashes. What did I do wrong? Thanks,
guest OS: debian 10, with kernel 5.2.0-rc5+, downloaded from github.
command to start qemu:
qemu-system-x86_64 -m 2g -hda mydisk.img -enable-kvm -cpu host -nographic -append "console=ttyS0 root=/dev/sda1" -kernel linux/arch/x86_64/boot/bzImage -blockdev ocssd,node-name=nvme01,file.driver=file,file.filename=ocssd.img -device nvme,drive=nvme01,serial=123456789,id=lnvm
The text was updated successfully, but these errors were encountered: