* [LTP] Fwd: chmod06 is failing
[not found] <CAJ5vXcQiXyc8dJkeh0K77HCmaFe5Ts-Yw+WHuK28b3iLhbKBkA@mail.gmail.com>
@ 2016-07-14 13:39 ` nousi
2016-07-14 13:42 ` Cyril Hrubis
0 siblings, 1 reply; 2+ messages in thread
From: nousi @ 2016-07-14 13:39 UTC (permalink / raw)
To: ltp
Hi All,
please help me analyzing the below issue.
root@nousi:/opt/ltp# ./testcases/bin/chmod06
chmod06 0 TINFO : No free devices found
chmod06 1 TCONF : chmod06.c:194: Failed to obtain block device
chmod06 2 TCONF : chmod06.c:194: Remaining cases not appropriate for
configuration
chmod06 3 TBROK : chmod06.c:230: chmod(testdir_1) failed:
errno=ENOENT(2): No such file or directory
root@nousi:/opt/ltp#
root@nousi:/opt/ltp#
root@nousi:/opt/ltp# mknod /dev/loop-control b 7 10
root@nousi:/opt/ltp#
root@nousi:/opt/ltp#
root@nousi:/opt/ltp# ./testcases/bin/chmod06
chmod06 1 TBROK : tst_device.c:89: Failed to open /dev/loop-control:
errno=ENXIO(6): No such device or address
chmod06 0 TINFO : No free devices found
chmod06 2 TCONF : chmod06.c:194: Failed to obtain block device
chmod06 3 TCONF : chmod06.c:194: Remaining cases not appropriate for
configuration
chmod06 4 TBROK : chmod06.c:230: chmod(testdir_1) failed:
errno=ENOENT(2): No such file or directory
root@nousi:/opt/ltp#
--
*Thanks & Regards,B.Nousilal,*
--
*Thanks & Regards,B.Nousilal,*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20160714/704a2ef6/attachment.html>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [LTP] Fwd: chmod06 is failing
2016-07-14 13:39 ` [LTP] Fwd: chmod06 is failing nousi
@ 2016-07-14 13:42 ` Cyril Hrubis
0 siblings, 0 replies; 2+ messages in thread
From: Cyril Hrubis @ 2016-07-14 13:42 UTC (permalink / raw)
To: ltp
Hi!
> root@nousi:/opt/ltp# ./testcases/bin/chmod06
> chmod06 0 TINFO : No free devices found
> chmod06 1 TCONF : chmod06.c:194: Failed to obtain block device
> chmod06 2 TCONF : chmod06.c:194: Remaining cases not appropriate for
> configuration
> chmod06 3 TBROK : chmod06.c:230: chmod(testdir_1) failed:
> errno=ENOENT(2): No such file or directory
This means that the loop device support is missing from kernel. The bug
here is that the test cleanup fails, it should not try to change a
directory that wasn't created. This part should be fixed.
> root@nousi:/opt/ltp#
> root@nousi:/opt/ltp#
> root@nousi:/opt/ltp# mknod /dev/loop-control b 7 10
This will not help you, you have to have the loop device support either
compiled in the kernel or as a module.
--
Cyril Hrubis
chrubis@suse.cz
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-14 13:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CAJ5vXcQiXyc8dJkeh0K77HCmaFe5Ts-Yw+WHuK28b3iLhbKBkA@mail.gmail.com>
2016-07-14 13:39 ` [LTP] Fwd: chmod06 is failing nousi
2016-07-14 13:42 ` Cyril Hrubis
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.