Re: Fwd: boot messages

2007-12-21 Thread Omer Zak
I compared your strace with strace in my system when running ls -la .

Since my system is Debian Etch, may I suggest that you request someone,
who is running Mandriva like you, to run strace and E-mail you his
strace output for comparison with yours?

On Fri, 2007-12-21 at 12:20 +0200, shlomo solomon wrote:
> On Dec 21, 2007 11:30 AM, Lior Kaplan <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] /]$ strace ls -la /-usr/bin/rpmquery
[... snipped ...]
> set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e6fab0,
> limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
> limit_in_pages:1, seg_not_present:0, useable:1}) = 0
> mprotect(0xb7faa000, 4096, PROT_READ)   = 0
> mprotect(0xb7fdf000, 4096, PROT_READ)   = 0
> munmap(0xb7fb9000, 50427)   = 0
> set_tid_address(0xb7e6faf8) = 15123
> sendto(-1209599232, umovestr: Input/output error
> 0xc, 3085434868,
> MSG_PROXY|MSG_EOR|MSG_TRUNC|MSG_ERRQUEUE|MSG_CONFIRM|MSG_FIN|MSG_RST|MSG_NOSIGNAL|MSG_MORE|0xb7e6,
> ptrace: umoven: Input/output error
> {...}, 3216877960) = 0

The above is an I/O error which I do not see in my system's strace.
Google has a lot of stuff about umoven I/O error, but included no
explanations or solutions.  Some people said that those errors are
normal in straces.

> open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) =
> -1 ENOENT (No such file or directory)
> open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) =
> -1 ENOENT (No such file or directory)
> open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1
> ENOENT (No such file or directory)
> open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
> ENOENT (No such file or directory)
> open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
> ENOENT (No such file or directory)
> open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT
> (No such file or directory)
> write(2, ": Permission denied", 19: Permission denied) = 19
> write(2, "\n", 1
> )   = 1

You may be having a problem with /usr/share/locale/*/LC_MESSAGES/libc.mo

 --- Omer
-- 
MS-Windows is the Pal-Kal of the PC world.
My own blog is at http://www.zak.co.il/tddpirate/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Fwd: boot messages

2007-12-21 Thread shlomo solomon
On Dec 21, 2007 3:39 PM, Shlomi Fish <[EMAIL PROTECTED]> wrote:
> Hi Shlomo!
>
> I'm attaching my "strace ls -la /usr/bin/rpmquery" dump compressed.
>
I tried comparing to my ls -la results, but after only 2 or 3 lines,
there is almost no similarity. I don´t know what to look for. I see
(in your strace) alot of referals to specific files that are  not
relevant to my system. So I don´t know what a ¨normal" strace output
should be.

To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Fwd: boot messages

2007-12-21 Thread shlomo solomon
On Dec 21, 2007 11:30 AM, Lior Kaplan <[EMAIL PROTECTED]> wrote:
> Can you use strace to see the exac reason for the permission error ?


I ran ls -la, but I have no idea what I´m looking for. Hereś the output.

[EMAIL PROTECTED] /]$ ls -la /-usr/bin/rpmquery
ls: /-usr/bin/rpmquery: Permission denied
[EMAIL PROTECTED] /]$ clear
[EMAIL PROTECTED] /]$ ls -la /-usr/bin/rpmquery
ls: /-usr/bin/rpmquery: Permission denied
[EMAIL PROTECTED] /]$ strace ls -la /-usr/bin/rpmquery
execve("/bin/ls", ["ls", "-la", "/-usr/bin/rpmquery"], [/* 62 vars */]) = 0
brk(0)  = 0x805e000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fc6000
access("/etc/ld.so.preload", R_OK)  = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)  = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=50427, ...}) = 0
mmap2(NULL, 50427, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb7fb9000
close(4)= 0
open("/lib/i686/librt.so.1", O_RDONLY)  = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\34"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=30584, ...}) = 0
mmap2(NULL, 33356, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4,
0) = 0xb7fb
mmap2(0xb7fb7000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x6) = 0xb7fb7000
close(4)= 0
open("/lib/i686/libc.so.6", O_RDONLY)   = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240X\1"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=1220244, ...}) = 0
mmap2(NULL, 1230204, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
4, 0) = 0xb7e83000
mmap2(0xb7faa000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x126) = 0xb7faa000
mmap2(0xb7fad000, 9596, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fad000
close(4)= 0
open("/lib/i686/libpthread.so.0", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 K\0\000"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=90680, ...}) = 0
mmap2(NULL, 74208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4,
0) = 0xb7e7
mmap2(0xb7e7f000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xe) = 0xb7e7f000
mmap2(0xb7e81000, 4576, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e81000
close(4)= 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7e6f000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e6fab0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7faa000, 4096, PROT_READ)   = 0
mprotect(0xb7fdf000, 4096, PROT_READ)   = 0
munmap(0xb7fb9000, 50427)   = 0
set_tid_address(0xb7e6faf8) = 15123
sendto(-1209599232, umovestr: Input/output error
0xc, 3085434868,
MSG_PROXY|MSG_EOR|MSG_TRUNC|MSG_ERRQUEUE|MSG_CONFIRM|MSG_FIN|MSG_RST|MSG_NOSIGNAL|MSG_MORE|0xb7e6,
ptrace: umoven: Input/output error
{...}, 3216877960) = 0
rt_sigaction(SIGRTMIN, {0xb7e746e0, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xb7e745f0, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbfbda6e0, 35, (nil), 0}) = 0
brk(0)  = 0x805e000
brk(0x807f000)  = 0x807f000
open("/usr/share/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/locale.alias", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=2586, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xb7e4f000
read(4, "# Locale name alias data base.\n#"..., 131072) = 2586
read(4, "", 131072) = 0
close(4)= 0
munmap(0xb7e4f000, 131072)  = 0
open("/usr/share/locale/en_US.UTF-8/LC_IDENTIFICATION", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=373, ...}) = 0
mmap2(NULL, 373, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb7fc5000
close(4)= 0
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=26026, ...}) = 0
mmap2(NULL, 26026, PROT_READ, MAP_SHARED, 4, 0) = 0xb7fbe000
close(4)= 0
futex(0xb7faca4c, FUTEX_WAKE, 2147483647) = 0
open("/usr/share/locale/en_US.UTF-8/LC_MEASUREMENT", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0
mmap2(NULL, 23, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb7fbd000
close(4)= 0
open("/usr/share/locale/en_US.UTF-8/LC_TELEPHONE", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=59, ...}) = 0
mmap2(NULL, 59, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb7fbc000
close(4)