Welcome to FreeBSDFreaks.net!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

I need help with HALD...

 
   FreeBSD Hosting (Home) -> FreeBSD Handbook RSS
Next:  FreeBSD ports: question about apache and mod_ldap  
Author Message
Speechless

External


Since: Mar 28, 2008
Posts: 2



(Msg. 1) Posted: Fri Mar 28, 2008 6:10 pm
Post subject: I need help with HALD...
Archived from groups: comp>unix>bsd>freebsd>misc (more info?)

Hardware:
Motherboard: ASUS M2NPV-VM
Processor: AMD 3800+
Memory: 2GB

Software:
FreeBSD 7.0-RELEASE amd64 GENERIC kernel
Gnome 2.22.0

Disk drive was wiped clean, then everything was compiled from sources
and installed from scratch with reference to the FreeBSD Handbook.

Compiler options used:
CFLAGS= -O -pipe
COPTFLAGS= -O -pipe

Gnome runs fine with only dbus_enable="YES" and polkitd_enable="YES"
in /etc/rc.conf

Adding hald_enable="YES" into rc.conf turns the system into a boat
anchor.

Examples:
Clicking on any desktop icon in Gnome yields no response.

xterm takes over 4 minutes to start up

After typing a command into xterm, more than 110 seconds elapse before
what I've typed is echoed on the display monitor. Striking the ENTER
key freezes the mouse pointer and appears to lock the system up. I
have not been able to get any command to execute via xterm and thus
have no clue about what the system is doing when x.org/Gnome is
running with HALD enabled..

Disabling HALD in /etc/rc.conf makes x.org/Gnome work again.

It is not clear to me on how I should go about trying to diagnose this
problem, since doing it with HALD enabled does not appear to be an
option. Does anyone have suggestions?

 >> Stay informed about: I need help with HALD... 
Back to top
Login to vote
Steven G. Kargl

External


Since: Sep 05, 2003
Posts: 8



(Msg. 2) Posted: Fri Mar 28, 2008 6:48 pm
Post subject: Re: I need help with HALD... [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article ,
noone.RemoveThis@nowhere.com (Speechless) writes:

(snip)

> FreeBSD 7.0-RELEASE amd64 GENERIC kernel
> Gnome 2.22.0

(snip)

> Compiler options used:
> CFLAGS= -O -pipe
> COPTFLAGS= -O -pipe

(snip)

> It is not clear to me on how I should go about trying to diagnose this
> problem, since doing it with HALD enabled does not appear to be an
> option. Does anyone have suggestions?

Do not set CFLAGS and COPTFLAGS unless you know what you're
doing. You need to recompile everything with the default
setting for these environmental variables.

--
Steve

 >> Stay informed about: I need help with HALD... 
Back to top
Login to vote
Steven G. Kargl

External


Since: Sep 05, 2003
Posts: 8



(Msg. 3) Posted: Sat Mar 29, 2008 1:24 pm
Post subject: Re: I need help with HALD... [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article ,
Erik Trulsson writes:
> Steven G. Kargl wrote:
>> In article ,
>> noone RemoveThis @nowhere.com (Speechless) writes:
>>
>> (snip)
>>
>>> FreeBSD 7.0-RELEASE amd64 GENERIC kernel
>>> Gnome 2.22.0
>>
>> (snip)
>>
>>> Compiler options used:
>>> CFLAGS= -O -pipe
>>> COPTFLAGS= -O -pipe
>>
>> (snip)
>>
>>> It is not clear to me on how I should go about trying to diagnose this
>>> problem, since doing it with HALD enabled does not appear to be an
>>> option. Does anyone have suggestions?
>>
>> Do not set CFLAGS and COPTFLAGS unless you know what you're
>> doing. You need to recompile everything with the default
>> setting for these environmental variables.
>
> Although it is generally true that one should not mess with CFLAGS or
> COPTFLAGS without good reason, those particular values ('-O -pipe')
> should be quite safe, and even used to be the default values on FreeBSD
> for a long time.
>

The way the options are set above *is not safe*. FreeBSD 7
uses gcc-4.2.1. There is way too much software that requires
-fno-strict-aliasing to get functional results. This option
is automatically included if one doesn't mess with CFLAGS
and COPTFLAGS. Trying

CFLAGS += -Wstrict-aliasing

on a wide selection of ports and various FreeBSD libs.

--
Steve
 >> Stay informed about: I need help with HALD... 
Back to top
Login to vote
Erik Trulsson

External


Since: Mar 29, 2008
Posts: 1



(Msg. 4) Posted: Sat Mar 29, 2008 1:26 pm
Post subject: Re: I need help with HALD... [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Steven G. Kargl wrote:
> In article ,
> noone.RemoveThis@nowhere.com (Speechless) writes:
>
> (snip)
>
>> FreeBSD 7.0-RELEASE amd64 GENERIC kernel
>> Gnome 2.22.0
>
> (snip)
>
>> Compiler options used:
>> CFLAGS= -O -pipe
>> COPTFLAGS= -O -pipe
>
> (snip)
>
>> It is not clear to me on how I should go about trying to diagnose this
>> problem, since doing it with HALD enabled does not appear to be an
>> option. Does anyone have suggestions?
>
> Do not set CFLAGS and COPTFLAGS unless you know what you're
> doing. You need to recompile everything with the default
> setting for these environmental variables.

Although it is generally true that one should not mess with CFLAGS or
COPTFLAGS without good reason, those particular values ('-O -pipe')
should be quite safe, and even used to be the default values on FreeBSD
for a long time.




--
<Insert your favourite quote here.>
Erik Trulsson
ertr1013.RemoveThis@student.uu.se
 >> Stay informed about: I need help with HALD... 
Back to top
Login to vote
Speechless

External


Since: Mar 28, 2008
Posts: 2



(Msg. 5) Posted: Mon Mar 31, 2008 4:15 pm
Post subject: Re: I need help with HALD... [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Fri, 28 Mar 2008 18:48:51 +0000 (UTC),
kargl.TakeThisOut@troutmask.apl.washington.edu (Steven G. Kargl) wrote:

>In article ,
> noone.TakeThisOut@nowhere.com (Speechless) writes:
>
>(snip)
>
>> FreeBSD 7.0-RELEASE amd64 GENERIC kernel
>> Gnome 2.22.0
>
>(snip)
>
>> Compiler options used:
>> CFLAGS= -O -pipe
>> COPTFLAGS= -O -pipe
>
>(snip)
>
>> It is not clear to me on how I should go about trying to diagnose this
>> problem, since doing it with HALD enabled does not appear to be an
>> option. Does anyone have suggestions?
>
>Do not set CFLAGS and COPTFLAGS unless you know what you're
>doing. You need to recompile everything with the default
>setting for these environmental variables.
>

Having wiped the disk drive clean and reinstalled/recompiled
everything from scratch, this time with CFLAGS and COPTFLAGS left at
their default values, I now get:

===> Installing for gnome2-2.22.0_1
===> gnome2-2.22.0_1 depends on file:
/usr/local/libexec/gweather-applet-2 - not found
===> Verifying install for /usr/local/libexec/gweather-applet-2 in
/usr/ports/x11/gnome-applets
===> gnome-applets-2.22.0 depends on file:
/usr/local/libdata/pkgconfig/system-tools-backends-2.0.pc - found
===> gnome-applets-2.22.0 depends on file:
/usr/local/libexec/gnome-settings-daemon - not found
===> Verifying install for /usr/local/libexec/gnome-settings-daemon
in /usr/ports/sysutils/gnome-control-center
===> gnome-control-center-2.22.0 depends on file:
/usr/local/libexec/gnome-settings-daemon - not found
===> Verifying install for /usr/local/libexec/gnome-settings-daemon
in /usr/ports/sysutils/gnome-settings-daemon
===> gnome-settings-daemon-2.22.0 depends on executable: gmake -
found
===> gnome-settings-daemon-2.22.0 depends on file:
/usr/local/libdata/pkgconfig/xxf86misc.pc - found
===> gnome-settings-daemon-2.22.0 depends on package:
gstreamer-plugins-good>=0.10.0 - found
===> gnome-settings-daemon-2.22.0 depends on file:
/usr/local/bin/intltool-extract - found
===> gnome-settings-daemon-2.22.0 depends on file:
/usr/local/libdata/pkgconfig/gnome-mime-data-2.0.pc - found
===> gnome-settings-daemon-2.22.0 depends on executable: pkg-config
- found
===> gnome-settings-daemon-2.22.0 depends on file:
/usr/local/libdata/pkgconfig/gnome-doc-utils.pc - found
===> gnome-settings-daemon-2.22.0 depends on shared library: intl -
found
===> gnome-settings-daemon-2.22.0 depends on shared library: esd.2 -
found
===> gnome-settings-daemon-2.22.0 depends on shared library:
atk-1.0.0 - found
===> gnome-settings-daemon-2.22.0 depends on shared library:
gailutil.18 - found
===> gnome-settings-daemon-2.22.0 depends on shared library:
gconf-2.4 - found
===> gnome-settings-daemon-2.22.0 depends on shared library:
glib-2.0.0 - found
===> gnome-settings-daemon-2.22.0 depends on shared library:
gnome-desktop-2.2 - not found
===> Verifying install for gnome-desktop-2.2 in
/usr/ports/x11/gnome-desktop
===> gnome-desktop-2.22.0 depends on file: /usr/local/bin/python2.5
- found
===> gnome-desktop-2.22.0 depends on executable: gmake - found
===> gnome-desktop-2.22.0 depends on executable: bison - found
===> gnome-desktop-2.22.0 depends on file:
/usr/local/libdata/pkgconfig/xpm.pc - found
===> gnome-desktop-2.22.0 depends on file: /usr/local/bin/libtool -
found
===> gnome-desktop-2.22.0 depends on file:
/usr/local/bin/intltool-extract - found
===> gnome-desktop-2.22.0 depends on file:
/usr/local/libdata/pkgconfig/gnome-mime-data-2.0.pc - found
===> gnome-desktop-2.22.0 depends on executable: pkg-config - found
===> gnome-desktop-2.22.0 depends on file:
/usr/local/libdata/pkgconfig/gnome-doc-utils.pc - found
===> gnome-desktop-2.22.0 depends on shared library: intl - found
===> gnome-desktop-2.22.0 depends on shared library: esd.2 - found
===> gnome-desktop-2.22.0 depends on shared library: atk-1.0.0 -
found
===> gnome-desktop-2.22.0 depends on shared library: gailutil.18 -
found
===> gnome-desktop-2.22.0 depends on shared library: gconf-2.4 -
found
===> gnome-desktop-2.22.0 depends on shared library: glib-2.0.0 -
found
===> gnome-desktop-2.22.0 depends on shared library: gnomevfs-2.0 -
found
===> gnome-desktop-2.22.0 depends on shared library: gtk-x11-2.0.0 -
found
===> gnome-desktop-2.22.0 depends on shared library: art_lgpl_2.5 -
found
===> gnome-desktop-2.22.0 depends on shared library: bonobo-2.0 -
found
===> gnome-desktop-2.22.0 depends on shared library: bonoboui-2.0 -
found
===> gnome-desktop-2.22.0 depends on shared library: glade-2.0.0 -
found
===> gnome-desktop-2.22.0 depends on shared library: gnome-2.0 -
found
===> gnome-desktop-2.22.0 depends on shared library: gnomecanvas-2.0
- found
===> gnome-desktop-2.22.0 depends on shared library: gnomeui-2.0 -
not found
===> Verifying install for gnomeui-2.0 in
/usr/ports/x11-toolkits/libgnomeui
===> libgnomeui-2.22.01 depends on executable: gmake - found
===> libgnomeui-2.22.01 depends on executable: bison - found
===> libgnomeui-2.22.01 depends on file:
/usr/local/libdata/pkgconfig/sm.pc - found
===> libgnomeui-2.22.01 depends on file: /usr/local/bin/libtool -
found
===> libgnomeui-2.22.01 depends on file:
/usr/local/bin/intltool-extract - found
===> libgnomeui-2.22.01 depends on file:
/usr/local/libdata/pkgconfig/gnome-mime-data-2.0.pc - found
===> libgnomeui-2.22.01 depends on executable: pkg-config - found
===> libgnomeui-2.22.01 depends on shared library: gnome-keyring.0 -
found
===> libgnomeui-2.22.01 depends on shared library:
startup-notification-1.0 - found
===> libgnomeui-2.22.01 depends on shared library: intl - found
===> libgnomeui-2.22.01 depends on shared library: esd.2 - found
===> libgnomeui-2.22.01 depends on shared library: atk-1.0.0 - found
===> libgnomeui-2.22.01 depends on shared library: gailutil.18 -
found
===> libgnomeui-2.22.01 depends on shared library: gconf-2.4 - found
===> libgnomeui-2.22.01 depends on shared library: glib-2.0.0 -
found
===> libgnomeui-2.22.01 depends on shared library: gnomevfs-2.0 -
found
===> libgnomeui-2.22.01 depends on shared library: gtk-x11-2.0.0 -
found
===> libgnomeui-2.22.01 depends on shared library: gvfscommon.0 -
not found
===> Verifying install for gvfscommon.0 in /usr/ports/devel/gvfs
===> gvfs-0.2.2_1 depends on executable: gmake - found
===> gvfs-0.2.2_1 depends on file: /usr/local/bin/intltool-extract -
found
===> gvfs-0.2.2_1 depends on executable: pkg-config - found
===> gvfs-0.2.2_1 depends on shared library: dbus-1.3 - found
===> gvfs-0.2.2_1 depends on shared library: hal.1 - found
===> gvfs-0.2.2_1 depends on shared library: soup-2.4.1 - found
===> gvfs-0.2.2_1 depends on shared library: gnome-keyring - found
===> gvfs-0.2.2_1 depends on shared library: avahi-client.3 - found
===> gvfs-0.2.2_1 depends on shared library: fuse.2 - found
===> gvfs-0.2.2_1 depends on shared library: smbclient.0 - not found
===> Verifying install for smbclient.0 in
/usr/ports/net/samba-libsmbclient
===> samba-libsmbclient-3.0.28 depends on file:
/usr/local/bin/autoconf-2.61 - found
===> samba-libsmbclient-3.0.28 depends on shared library: iconv.3 -
found
===> Configuring for samba-libsmbclient-3.0.28
Can't locate Autom4te/ChannelDefs.pm in @INC (@INC contains:
/usr/local/share/autoconf-2.61 /usr/local/lib/perl5/5.8.8/BSDPAN
/usr/local/lib/perl5/site_perl/5.8.8/mach
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at
/usr/local/bin/autoheader-2.61 line 43.
BEGIN failed--compilation aborted at /usr/local/bin/autoheader-2.61
line 43.
*** Error code 2

Stop in /usr/ports/net/samba-libsmbclient.
*** Error code 1

Stop in /usr/ports/devel/gvfs.
*** Error code 1

Stop in /usr/ports/x11-toolkits/libgnomeui.
*** Error code 1

Stop in /usr/ports/x11/gnome-desktop.
*** Error code 1

Stop in /usr/ports/sysutils/gnome-settings-daemon.
*** Error code 1

Stop in /usr/ports/sysutils/gnome-control-center.
*** Error code 1

Stop in /usr/ports/x11/gnome-applets.
*** Error code 1

Stop in /usr/ports/x11/gnome2.
*** Error code 1

Stop in /usr/ports/x11/gnome2.
 >> Stay informed about: I need help with HALD... 
Back to top
Login to vote
jpd

External


Since: Jan 17, 2005
Posts: 60



(Msg. 6) Posted: Mon Mar 31, 2008 5:10 pm
Post subject: Re: I need help with HALD... [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Begin
On Mon, 31 Mar 2008 16:15:29 GMT, Speechless wrote:
> Having wiped the disk drive clean and reinstalled/recompiled
> everything from scratch, this time with CFLAGS and COPTFLAGS left at
> their default values, I now get:
[massive snip]
>===> gvfs-0.2.2_1 depends on shared library: smbclient.0 - not found
>===> Verifying install for smbclient.0 in
> /usr/ports/net/samba-libsmbclient

The output from here on is reproducible with a lot less extra output by
running make install directly in /usr/ports/net/samba-libsmbclient.


>===> samba-libsmbclient-3.0.28 depends on file:
> /usr/local/bin/autoconf-2.61 - found
>===> samba-libsmbclient-3.0.28 depends on shared library: iconv.3 -
> found
>===> Configuring for samba-libsmbclient-3.0.28
> Can't locate Autom4te/ChannelDefs.pm in @INC (@INC contains:
> /usr/local/share/autoconf-2.61 /usr/local/lib/perl5/5.8.8/BSDPAN
> /usr/local/lib/perl5/site_perl/5.8.8/mach
> /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
> /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at
> /usr/local/bin/autoheader-2.61 line 43.
> BEGIN failed--compilation aborted at /usr/local/bin/autoheader-2.61
> line 43.
> *** Error code 2
>
> Stop in /usr/ports/net/samba-libsmbclient.
> *** Error code 1
[more snipped]

Looks like automake/autoconf is throwing a fit, which means that I have
very little clue how to fix it, other than twiddling with this port's
Makefile auto* knobs, and/or updating the portstree and trying again.


--
j p d (at) d s b (dot) t u d e l f t (dot) n l .
This message was originally posted on Usenet in plain text.
Any other representation, additions, or changes do not have my
consent and may be a violation of international copyright law.
 >> Stay informed about: I need help with HALD... 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Installation & fdisk partitioning (slices) - I picked up a copy of the "FreeBSD Handbook 2nd Ed" the other day, it came with a installation disk for version 5.1 Current and that is what I am trying to install. This is my first attempt to do anything with FreeBSD. First let me describe my...

CVSup vs. portupgrade - Reading from the FreeBSD handbook on "Using the Ports Collection" leaves me a bit confused wrt CVSup and portupgrade... do these utilities accomplish the same thing? Thanks, Jay _______________________________________________..

configuring freebsd dhcp server/router to listen on device - Hello, Im trying to move away from my linksys wireless router and move onto an old Pentium 200 Mhz I have. It will be the gateway between my modem and my network. I installed isc-dhcp3 on the box and took the sample dhcp.conf file in the freebsd..

PPP - Hi! I'm french and don't understand the chapter 18.2.1.2 (Creating PPP device Nodes) in the freeBSD handbook. Precicely I don't understand what is N in the first paragraph. Is it necessary to change the tun0? I have an other question.(I'm sorry if it..

PPP - Hi!! In the FreeBSD handbook, the chapter 18.3.3 talk about the file /etc/ppp/options. I think I must create it and copy that it's written in the handbook concerning this file but I'm not sure. Xavier --------------------------------- Yahoo! Mail...
   FreeBSD Hosting (Home) -> FreeBSD Handbook All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]