firefox hanging when running in LTSP

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
To: plug-discuss
Subject: firefox hanging when running in LTSP
Does anyone know of a good firefox mailing list?

I have a customized LTSP that runs all applications on the local
thinclient. For example after it configures X, makes sure /tmp is
writable, it switches to a "user" user and runs the local
(/opt/ltsp/i386)/usr/X11R6/bin/startx, and it starts up IceWM and works
fine. (No login is needed.)

(I do not rsh/ssh back to client to run apps.)

From the server hosting the LTSP, I can chroot into the /opt/ltsp/i386
directory and run my firefox from there successfully. I have all
components, libraries needed by firefox all installed under the
/opt/ltsp/i386 hierarchy.

But when I boot my thinclient, the window manager works and I can run
local X clients. But firefox just hangs.

The only main difference from it working in the chroot and not working
from the actual booted ltsp thinclient is the kernel. The chroot
environment is running Linux 2.4.21-202-smp4G kernel (and SuSE Linux 9.0
(i586)). The LTSP thinclient boots using Linux kernel 2.4.24-ltsp-4.

I have various strace debugging saved. When running from the thinclient,
firefox never loads the libgconf-2 nor libORBit-2 libraries, for example.
It hangs before that.

Running it from the thinclient, it does:

11:01:20.638785 fstat64(4, {st_dev=makedev(1, 1), st_ino=59,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=1000, st_gid=1000, st_blksize=4096, st_blocks=2,
st_size=89, st_atime=2004/08/10-11:00:06, st_mtime=2004/08/10-11:00:06,
st_ctime=2004/08/10-11:00:06}) = 0
11:01:20.638857 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401a0000
11:01:20.638904 fstat64(4, {st_dev=makedev(1, 1), st_ino=59,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=1000, st_gid=1000, st_blksize=4096, st_blocks=2,
st_size=89, st_atime=2004/08/10-11:00:06, st_mtime=2004/08/10-11:00:06,
st_ctime=2004/08/10-11:00:06}) = 0
11:01:20.638978 _llseek(4, 0, [0], SEEK_SET) = 0
11:01:20.639015 read(4,
"[General]\nStartWithLastProfile=1\n\n[Profile0]\nName=default\nIsRelative=1\nPath=default.ctn\n\n", 89) = 89
11:01:20.639108 _llseek(4, 89, [89], SEEK_SET) = 0
11:01:20.639370 close(4)                = 0
11:01:20.639410 munmap(0x401a0000, 4096) = 0
11:01:20.641003 open("/usr/lib/gconv/UTF-16.so", O_RDONLY) = 4
11:01:20.642306 read(4,
"\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x0
0\x00\x00\x03\x00\x03\x00\x01\x00\x00\x00\x8c\x06\x00\x00\x34\x00\x00\x00\xf8\x1
d\x00\x00\x00\x00\x00\x00\x34\x00\x20\x00\x04\x00\x28\x00\x1e\x00\x1b\x00\x01\x0
0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xa7\x19\x00\x00\xa7\x1
9\x00\x00\x05\x00\x00\x00\x00\x10\x00\x00\x01\x00\x00\x00\xa8\x19\x00\x00\xa8\x2
9\x00\x00\xa8\x29\x00\x00\x18\x01\x00\x00\x1c\x01\x00\x00\x06\x00\x00\x00\x00\x1
0\x00\x00\x02\x00\x00\x00\xb4\x19\x00\x00\xb4\x29"..., 1024) = 1024
11:01:20.642479 fstat64(4, {st_dev=makedev(0, 7), st_ino=2191489,
st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=32768,
st_blocks=24, st_size=10619, st_atime=2004/08/10-18:34:17,
st_mtime=2003/12/16-08:07:12, st_ctime=2004 /06/07-17:21:41}) = 0
11:01:20.642590 brk(0)                  = 0x80a6000
11:01:20.642659 brk(0x80a7000)          = 0x80a7000
11:01:20.642716 mmap2(NULL, 10948, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0)
= 0x40a0b000
11:01:20.642773 mprotect(0x40a0d000, 2756, PROT_NONE) = 0
11:01:20.642812 mmap2(0x40a0d000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 4, 0x1) = 0x40a0d000
11:01:20.642867 close(4)                = 0
11:01:20.643076 brk(0)                  = 0x80a7000
11:01:20.643114 brk(0x80a9000)          = 0x80a9000
11:01:20.643702 brk(0)                  = 0x80a9000
11:01:20.643741 brk(0x80b1000)          = 0x80b1000
11:01:20.643959 stat64("/home/user/.mozilla/firefox/default.ctn",


Then it just stops there. Notice the stat64() straced line never
completed.

Another time, it just stopped here:

11:45:32 read(4, "[Compatibility]\r\nBuild ID=0000000000\r\nComponents
List Changed=0\r\n", 65) = 65
11:45:32 _llseek(4, 65, [65], SEEK_SET) = 0
11:45:32 close(4)                       = 0
11:45:32 munmap(0x401a0000, 4096)       = 0
11:45:32 open("/home/user/.mozilla/firefox/default.api/compatibility.ini",
O_RDONLY) = 4
11:45:32 fstat64(4, {st_dev=makedev(1, 1), st_ino=103,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=1000, st_gid=1000,
st_blksize=4096, st_blocks=2, st_size=65, st_atime=2004/08/09-11:45:32,
st_mtime=2004/08/09-11:44:10, st_ctime=2004/08/09-11:44:10}) = 0
11:45:32 mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401a0000
11:45:32 fstat64(4, {st_dev=makedev(1, 1), st_ino=103,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=1000, st_gid=1000,
st_blksize=4096, st_blocks=2, st_size=65, st_atime=2004/08/09-11:45:32,
st_mtime=2004/08/09-11:44:10, st_ctime=2004/08/09-11:44:10}) = 0


I can provide complete strace logs if needed (for successful in chroot and
not successful when booting the thinclient).

I wonder if the LTSP Linux kernel is missing some functionality needed?

Any suggestions or ideas would be appreciated.

Jeremy C. Reed

                 BSD News, BSD tutorials, BSD links
                http://www.bsdnewsletter.com/



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss