[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Xorg 7 on sparc64



On Mon, 19 Jun 2006, Ludovic Courtès wrote:

 write(0, "(II) Loading /usr/lib/xorg/modul"..., 45) = 45
 open("/usr/lib/xorg/modules/libxaa.so", O_RDONLY) = 8
 read(8,

(The last line is verbatim: X and `strace' hang right at this point.)

That looks bad. It hangs in the kernel. The corresponding piece from my log looks like that:

stat64("/usr/lib/xorg/modules/libxaa.so", {st_mode=S_IFREG|0644, st_size=364811, ...}
) = 0
write(0, "(II) Loading /usr/lib/xorg/modul"..., 45) = 45
open("/usr/lib/xorg/modules/libxaa.so", O_RDONLY) = 8
read(8, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\2\0\0\0\1\0\0d\274"..., 256) = 256
lseek(8, 0, SEEK_SET)                   = 0
open("/usr/lib/xorg/modules/libxaa.so", O_RDONLY) = 9
read(9, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\2\0\0\0\1\0\0d\274"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0644, st_size=364811, ...}) = 0
mmap(NULL, 335632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf5ba8000 mmap(0xf5bf8000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENY
WRITE, 9, 0x50000) = 0xf5bf8000
close(9)                                = 0
close(8)                                = 0

So it looks like it just opens the module file (descriptor 8) and reads the first 256 bytes of it. I have no clue why read could block on a normal file like that. Do you have some weird filesystem? I think we have verified that the file has the correct md5sum before, so it's not corrupt... Can you Stop-A at this point to get to the prom? If you can, the ctrace command might give you stack trace which can be useful in debugging it.

Best regards,

Jurij Smakov                                        jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/                   KeyID: C99E03CC

Reply to: