Jeff Dike wrote:
> nuno.silva@... said:
>>Here I have host (debian unstable) with kernel 2.6.0 and glibc-2.3.2, and:
>>- linux-2.4.23-um1 compiled in debian stable (gcc-2.95) hangs;
>>- linux-2.4.23-um1 compiled in debian unstable (gcc-3.3) hangs.
> What process is stuck?
> Can you get a stack trace from gdb-ing UML?
This particular case is resolved:
uml-2.4.23-um1 has a bug in arch/um/kernel/time.c. You need to declare
mhz unsigned long long:
static unsigned long long get_host_hz(void)
char mhzline, *end;
int ret, mult, rest, len;
unsigned long long mhz;
ret = cpu_feature("cpu MHz", mhzline,
sizeof(mhzline) / sizeof(mhzline));
This solves everything for 2.6.0+glibc-2.3.2.
(for me, at least. can you apply this?)
However i'm fighting another issue. This new issue is related, AFAICT,
to NPTL kernel + newer glibc with TLS, NPTL and __thread support.
This new issue is related to (I think) the
"Re: Resolution (Re: [uml-devel] 2.4.22- problems)" thread, so I'll
speak there :)