From: dexen deVries <dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: "linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: nilfs_cleanerd Function not implemented
Date: Fri, 16 Mar 2012 13:37:01 +0100 [thread overview]
Message-ID: <1675589.uo1ijo0JER@coil> (raw)
In-Reply-To: <1331899533.77663.YahooMailNeo-/W4/QBBOCLIR8UyDmTZ/NZEhsgyP+Z75VpNB7YpNyf8@public.gmane.org>
Hi Sven,
On Friday 16 of March 2012 05:05:33 you wrote:
> Hi list,
>
> I am in the process of migrating an embedded project from
> ext2 to nilfs2 and have a problem with nilfs_cleanerd. It
> does not start on mount and I cannot start it manually.
> (...)
I'd suspect futex() or open(..., O_RDWR|O_NOFOLLOW). Do you have
`CONFIG_FUTEX' enabled in your embedded kernel?
Relevant snippet from strace of my nilfs_cleanerd (version nilfs-
utils-2.0.23):
864 open("/proc/mounts", O_RDONLY) = 5
864 fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
864 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7f551032d000
864 read(5, "rootfs / rootfs rw 0 0\n/dev/root"..., 1024) = 480
864 readlink("/dev", 0x7fffff54d630, 4096) = -1 EINVAL (Invalid argument)
864 readlink("/dev/root", "sda3", 4096) = 4
864 readlink("/dev/sda3", 0x7fffff54d630, 4096) = -1 EINVAL (Invalid argument)
864 readlink("/dev", 0x7fffff54d630, 4096) = -1 EINVAL (Invalid argument)
864 readlink("/dev/sdb3", 0x7fffff54d630, 4096) = -1 EINVAL (Invalid argument)
864 close(5) = 0
864 munmap(0x7f551032d000, 4096) = 0
864 open("/home", O_RDONLY) = 5
864 stat("/dev/sdb3", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 19), ...}) =
0
864 statfs("/dev/shm", {f_type=0x1021994, f_bsize=4096, f_blocks=86016,
f_bfree=86010, f_bavail=86010, f_files=754077, f_ffree=754075, f_fsid={0, 0},
f_namelen=255, f_frsize=4096}
) = 0
864 futex(0x7f551010d31c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
864 open("/dev/shm/sem.nilfs-cleaner-2067", O_RDWR|O_NOFOLLOW) = -1 ENOENT
(No such file or directory)
864 lstat("/dev/shm/sem.qLTneb", 0x7fffff54fb70) = -1 ENOENT (No such file or
directory)
864 open("/dev/shm/sem.qLTneb", O_RDWR|O_CREAT|O_EXCL, 0700) = 6
Btw., you may not be seeing the failed (with `Function not implemented')
syscall in strace, if the libc itself signals the `Function not implemented'
error instead of issuing the syscall. Consider using ``ltrace'' instead, to
intercept all lib calls.
Cheers,
--
dexen deVries
[[[↓][→]]]
Already many of the mutants disguised as human beings are walking the streets
of Earth's cities.
-- Music Instructor, ``Electro City''
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2012-03-16 12:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-16 12:05 nilfs_cleanerd Function not implemented svengbergh-nilfs-/E1597aS9LQAvxtiuMwx3w
[not found] ` <1331899533.77663.YahooMailNeo-/W4/QBBOCLIR8UyDmTZ/NZEhsgyP+Z75VpNB7YpNyf8@public.gmane.org>
2012-03-16 12:37 ` dexen deVries [this message]
2012-03-16 14:21 ` Sven-Göran Bergh
[not found] ` <1331907699.90830.YahooMailNeo-/W4/QBBOCLJal3a5i+KC+JEhsgyP+Z75VpNB7YpNyf8@public.gmane.org>
2012-03-17 11:43 ` Ryusuke Konishi
[not found] ` <20120317.204343.93460664.ryusuke-sG5X7nlA6pw@public.gmane.org>
2012-03-17 13:53 ` Ryusuke Konishi
[not found] ` <20120317.225320.67906283.ryusuke-sG5X7nlA6pw@public.gmane.org>
2012-03-17 17:17 ` Ryusuke Konishi
[not found] ` <20120318.021740.212402053.ryusuke-sG5X7nlA6pw@public.gmane.org>
2012-03-19 8:19 ` Sven-Göran Bergh
[not found] ` <1332145146.39316.YahooMailNeo-/W4/QBBOCLLK0anN2EpufZEhsgyP+Z75VpNB7YpNyf8@public.gmane.org>
2012-03-19 17:53 ` Sven-Göran Bergh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1675589.uo1ijo0JER@coil \
--to=dexen.devries-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox