linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* strace doesn't work on 2.4.0-testX
@ 2000-07-18 12:20 Martin Costabel
  2000-07-18 18:20 ` Geert Uytterhoeven
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Costabel @ 2000-07-18 12:20 UTC (permalink / raw)
  To: linuxppc-dev


Hi,

now that the 2.4.0-testX kernel series seems to stabilize (famous last
words...), I am trying to understand some of the basic showstoppers. One
of them is the impossibility to use the loop device for mounting files
as filesystems, for example ramdisk images.

I would like to know whether this is a problem with mount (since one
cannot mount hfs CDs either) or with the loop device which used to be
broken for a long time. In order to see anything, I am trying to use
strace.

The problem is that strace stopped working somewhere between
2.4.0-test1-ac18 and -ac21 (I have both kernels and verified just
moments ago). It still doesn't work with 2.4.0-test5-pre2. Is this a
known problem or am I doing something wrong? I haven't seen anything on
the linux-kernel list (in the l-k archives, the last message with a
similar subject is from 1996), so it could be a ppc-related problem.

What strace is doing now looks like:

[root@chezmoi /tmp]# strace mount -o loop ramdisk.image
/mnt/ram1
execve("/bin/mount", ["mount", "-o", "loop", "ramdisk.image",
"/mnt/ram1"], [/* 29 vars */]) = 0
memlock: Invalid argument
Couldn't lock into memory, exiting.

That is, it just repeats the command and gives the output. In pre-ac18,
there were 48 lines, looking like

execve("/bin/mount", ["mount", "-o", "loop", "ramdisk.image",
"/mnt/ram1"], [/*
25 vars */]) = 0
brk(0)                                  = 0x10022470
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
directory)
[and so on, up to:]
write(2, "memlock: Invalid argument\n", 26memlock: Invalid argument
) = 26
write(2, "Couldn\'t lock into memory, exiti"..., 36Couldn't lock into
memory, ex
iting.
) = 36
exit(1)                                 = ?

Any ideas?

--
Martin

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-07-18 18:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-18 12:20 strace doesn't work on 2.4.0-testX Martin Costabel
2000-07-18 18:20 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).