Re: userland weirdness between r216351 and r216738

Previous thread: rcmkmn by Vladimir Cambur on Thursday, December 30, 2010 - 10:34 am. (1 message)

Next thread: boost libs error by Doug Barton on Friday, December 31, 2010 - 6:19 pm. (3 messages)
From: René Ladan
Date: Friday, December 31, 2010 - 2:35 pm

Hi,

somewhere between 9.0-amd64 r216351 and r216738, I've noticed some
userland weirdness.
Symptoms are:
- pseudo-random number generator not starting, preventing ssh(d) from working
- fonts in X.org (xfce4) missing or replaced
- mouse only working when hald is running

I don't know if the above symptoms are somehow related, or what causes them.
The kernel is GENERIC without (u)lpt and umass and with these modules loaded:
 fdescfs.ko
 if_iwn.ko
 snd_hda.ko
 sound.ko
 umass.ko
 iwn5000fw.ko
 nvidia.ko (256.53)
 linux.ko
 cuse4bsd.ko
 atapicam.ko
 linprocfs.ko

Kernel and world are compiled with
FreeBSD clang version 2.8 (tags/RELEASE_28 115870) 20101007

Reverting to r216351 (kernel, world, mergemaster) brought things back to normal.
I can do a binary search if desired. Did someone else also see this?

Happy 2011,
Rene
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
From: Alexander Kabaev
Date: Friday, December 31, 2010 - 3:43 pm

On Fri, 31 Dec 2010 22:35:05 +0100

Try backing out rtld down to version prior to this commit
http://svn.freebsd.org/changeset/base/216695 . There is an issue with
rtld's use of SSE on amd64 which will be fixed soon.

-- 
Alexander Kabaev
From: Alexander Best
Date: Friday, December 31, 2010 - 4:13 pm

i've seen this issue, too. i did a complete buildworld/installword using gcc
as compiler and after that everything worked fine again.

so clang seems to be causing the problem. simply back out any clang entries in
src.conf and buildworld/installworld should fix your issue.
please also see the thread "issue with clang and CPUTYPE native" on
freebsd-toolchain, which seems to also be caused by the rtld issue.

cheers.



-- 
a13x
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
From: Alexander Best
Date: Friday, December 31, 2010 - 6:06 pm

i tried adding the following to CFLAGS to prevent clang from using any SSE*
instructions, but it seems that doesn't work:

CFLAGS=-mno-sse -mno-sse2 -mno-sse3 -mno-3dnow -mno-ssse3 returned:

fatal error: error in backend: SSE register return with SSE disabled
*** Error code 1

in lib/libcompiler_rt.

cheers.



-- 
a13x
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
From: Alexander Kabaev
Date: Saturday, January 1, 2011 - 12:59 am

On Sat, 1 Jan 2011 01:06:00 +0000

I do not remember instructing anyone to do what you did.
-- 
Alexander Kabaev
From: Alexander Best
Date: Saturday, January 1, 2011 - 1:02 am

-- 
a13x
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
From: Rene Ladan
Date: Sunday, January 2, 2011 - 7:35 am

Backing out src/libexec/rtld-elf to r216694 solved it for now :)

Rene
-- 
http://www.rene-ladan.nl/

GPG fingerprint = ADBC ECCD EB5F A6B4 549F  600D 8C9E 647A E564 2BFC
(subkeys.pgp.net)
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
From: George Liaskos
Date: Friday, December 31, 2010 - 4:03 pm

Yeap, i had the same issue two days ago.
I was getting errors from ssh (PRNG is not seeded), kdm4 could not start etc.
I did a csup after ten minutes and recompiled with gcc.

Happy 2011!
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
From: René Ladan
Date: Saturday, January 1, 2011 - 4:57 am

Maybe, but then something is still wrong, as the version I reported is

Rene
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
From: poyopoyo
Date: Friday, December 31, 2010 - 3:52 pm

A happy new yaer René,

At Fri, 31 Dec 2010 22:35:05 +0100,

I suppose you've been hit by rtld bug between r216695[*1] and r216728[*2].

It broke certain kind of dynamic linking so weird things might
happen. Like unexpected font selected, flash movie malfunctioning in
firefox, some port compilation failure[*3], etc, etc.

They all have happened on me and already gone.

Hope this helps.
-- 
kuro

[*1] r216695: http://docs.FreeBSD.org/cgi/mid.cgi?201012250851.oBP8pLLm017014
[*2] r216728: http://docs.FreeBSD.org/cgi/mid.cgi?201012270030.oBR0UTq9004790
[*3] "problem with port gobject-introspection on 9.0-CURRENT"
     http://docs.FreeBSD.org/cgi/mid.cgi?alpine.LRH.2.02.1012261329550.8533
     and
     http://docs.FreeBSD.org/cgi/mid.cgi?alpine.LRH.2.02.1012282053100.28301
     (He is my hero.)
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
From: Dimitry Andric
Date: Tuesday, January 4, 2011 - 1:53 pm

This problem should now be fixed by r216977.

_______________________________________________
freebsd-current@freebsd.org mailing list