Hi,

I have been playing with the rump interface for a few days. I haven't
successfully mount a file system image nor a block device (/dev/wd0s1).
This is the branch I'm working on:

https://codeberg.org/zhml/hurd/commits/branch/rumpplay-ext2

After compiling the `rumpplay` utility. I created a ext2fs image on my
GNU/Linux using:
```
dd if=/dev/zero of=ext2fs.img count=4096
mkfs.ext2 ext2fs.img
```

Then scp the ext2fs.img to the hurd qemu machine and put it in
~/ext2fs/.

Log in as root in the qemu console and run the following command. I
don't know why it's highly possible for sshd to get stuck when I run the
program. It seems it got stuck in rump_init().
```
./build/rumpplay/rumpplay /home/demo/ext2fs/
```

Output:
```
Start running!
le
rump init!

errno: 19
mount
```

It means it failed in rump_sys_mount and the error code is RUMP_ENODEV
(Operation not supported by device).

[0]: 
https://salsa.debian.org/hurd-team/rumpkernel/-/blob/master/buildrump.sh/src/sys/rump/include/rump/rumpdefs.h?ref_type=heads#L88

Zhaoming


Reply via email to