To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
or, via email, send a message with subject or body 'help' to
freebsd-sta...@freebsd.org
You can reach the person managing the list at
freebsd-st...@freebsd.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-stable digest..."
Today's Topics:
1. Re: ldd manpage - example does not work (Rainer Hurling)
2. Re: ldd manpage - example does not work (Dominic Fandrey)
3. Re: ldd manpage - example does not work (Rainer Hurling)
4. Re: ldd manpage - example does not work (Dominic Fandrey)
5. Re: CPU problems after 8.0-STABLE update (Akephalos Akephalos)
----------------------------------------------------------------------
Message: 1
Date: Tue, 06 Apr 2010 08:36:16 +0200
From: Rainer Hurling <rhu...@gwdg.de>
Subject: Re: ldd manpage - example does not work
To: Dominic Fandrey <kami...@bsdforen.de>
Cc: freebsd...@freebsd.org
Message-ID: <4BBAD660...@gwdg.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Am 05.04.2010 23:05 (UTC+1) schrieb Dominic Fandrey:
> On 05/04/2010 22:09, Rainer Hurling wrote:
>>> I want to create a list of binaries, which are linked against the old
>>> libz.so.5 and must be upgraded ...
>
> Install sysutils/bsdadminscripts and rung pkg_libchk. :)
>
Thanks Dominic,
I was not aware of this tool for this purpose :-)
With textproc/opensp installed the script hangs after some time with the
following message:
[..snip..]
ImageMagick-6.5.8.10_1: /usr/local/lib/libMagickWand.so.2 misses libz.so.5
arith: syntax error: ""0" + 1"-1.5.2_1
This behaviour (the last line) is on at least three machines. Do you
have any idea what is going on?
Rainer Hurling
------------------------------
Message: 2
Date: Tue, 06 Apr 2010 11:11:53 +0200
From: Dominic Fandrey <kami...@bsdforen.de>
Subject: Re: ldd manpage - example does not work
To: Rainer Hurling <rhu...@gwdg.de>
Cc: freebsd...@freebsd.org
Message-ID: <4BBAFAD9...@bsdforen.de>
Content-Type: text/plain; charset=UTF-8
On 06/04/2010 08:36, Rainer Hurling wrote:
> Am 05.04.2010 23:05 (UTC+1) schrieb Dominic Fandrey:
>> On 05/04/2010 22:09, Rainer Hurling wrote:
>>>> I want to create a list of binaries, which are linked against the old
>>>> libz.so.5 and must be upgraded ...
>>
>> Install sysutils/bsdadminscripts and rung pkg_libchk. :)
>>
>
> I was not aware of this tool for this purpose :-)
I originally wrote it for the update from 6.x to 7.x, so that I could
find all packages being linked against the compat-ports and avoid
unnecessary builds.
> With textproc/opensp installed the script hangs after some time with the
> following message:
I doubt there is a connection. OpenSP is installed on my system
and it works fine.
> [..snip..]
> ImageMagick-6.5.8.10_1: /usr/local/lib/libMagickWand.so.2 misses libz.so.5
> arith: syntax error: ""0" + 1"-1.5.2_1
The arithmetics happen mostly during locking. I suppose the -1.5.2_1
is a remainder of a status message and not connected to the error.
Does this always occur in the same place? Maybe run the command with
-j1 to gain more predictable output.
Regards
--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
------------------------------
Message: 3
Date: Tue, 06 Apr 2010 11:32:41 +0200
From: Rainer Hurling <rhu...@gwdg.de>
Subject: Re: ldd manpage - example does not work
To: Dominic Fandrey <kami...@bsdforen.de>
Cc: freebsd...@freebsd.org
Message-ID: <4BBAFFB9...@gwdg.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Am 06.04.2010 11:11 (UTC+1) schrieb Dominic Fandrey:
> On 06/04/2010 08:36, Rainer Hurling wrote:
>> Am 05.04.2010 23:05 (UTC+1) schrieb Dominic Fandrey:
>>> On 05/04/2010 22:09, Rainer Hurling wrote:
>>>>> I want to create a list of binaries, which are linked against the old
>>>>> libz.so.5 and must be upgraded ...
>>>
>>> Install sysutils/bsdadminscripts and rung pkg_libchk. :)
>>>
>>
>> I was not aware of this tool for this purpose :-)
>
> I originally wrote it for the update from 6.x to 7.x, so that I could
> find all packages being linked against the compat-ports and avoid
> unnecessary builds.
>
>> With textproc/opensp installed the script hangs after some time with the
>> following message:
>
> I doubt there is a connection. OpenSP is installed on my system
> and it works fine.
I think you are right ;-)
>> [..snip..]
>> ImageMagick-6.5.8.10_1: /usr/local/lib/libMagickWand.so.2 misses libz.so.5
>> arith: syntax error: ""0" + 1"-1.5.2_1
>
> The arithmetics happen mostly during locking. I suppose the -1.5.2_1
> is a remainder of a status message and not connected to the error.
>
> Does this always occur in the same place? Maybe run the command with
> -j1 to gain more predictable output.
The next try with -j1:
#pkg_libchk -j1
arith: syntax error: ""0" + 1"-2.14.17
No other output for the last 30 minutes. The only package installed with
this version number is ORBit2.
My systems are running under recent 9.0-CURRENT (amd64).
------------------------------
Message: 4
Date: Tue, 06 Apr 2010 11:57:14 +0200
From: Dominic Fandrey <kami...@bsdforen.de>
Subject: Re: ldd manpage - example does not work
To: Rainer Hurling <rhu...@gwdg.de>
Cc: jil...@FreeBSD.org, freebsd...@freebsd.org
Message-ID: <4BBB057A...@bsdforen.de>
Content-Type: text/plain; charset=UTF-8
On 06/04/2010 11:53, Rainer Hurling wrote:
> Am 06.04.2010 11:46 (UTC+1) schrieb Dominic Fandrey:
>> On 06/04/2010 11:32, Rainer Hurling wrote:
>>> Am 06.04.2010 11:11 (UTC+1) schrieb Dominic Fandrey:
>>>> On 06/04/2010 08:36, Rainer Hurling wrote:
>>>>> [..snip..]
>>>>> ImageMagick-6.5.8.10_1: /usr/local/lib/libMagickWand.so.2 misses
>>>>> libz.so.5
>>>>> arith: syntax error: ""0" + 1"-1.5.2_1
>>>>
>>>> The arithmetics happen mostly during locking. I suppose the -1.5.2_1
>>>> is a remainder of a status message and not connected to the error.
>>>>
>>>> Does this always occur in the same place? Maybe run the command with
>>>> -j1 to gain more predictable output.
>>>
>>> The next try with -j1:
>>>
>>> #pkg_libchk -j1
>>> arith: syntax error: ""0" + 1"-2.14.17
>>>
>>> No other output for the last 30 minutes. The only package installed with
>>> this version number is ORBit2.
>>>
>>> My systems are running under recent 9.0-CURRENT (amd64).
>>
>> Now, this is a real clue. The svn log states several changes to
>> arithmetic expansion.
>>
>> I'm CC'ing this to the author of said changes. I suspect the
>> following function. I wonder, is this a regression or a bug
>> in my code?
>>
>> #
>> # This function frees a semaphore.
>> #
>> # @param $1
>> # The name of the semaphore.
>> #
>> semaphoreFree() {
>> local lock
>> lock="$sharedprefix-semaphore-$1"
>> lockf -k "$lock" sh -c "
>> state=\"\$((\"\$(cat '$lock')\" + 1))\"
>> echo \"\$state\"> '$lock'
>> "
>> }
>>
>>
>> Would you please change the line:
>> state=\"\$((\"\$(cat '$lock')\" + 1))\"
>> to
>> state=\"\$((\$(cat '$lock') + 1))\"
>> and test whether that fixes the issue?
>
> Seems to work this way :-)
Thanks a lot, I'll wait for Jilles reaction and decide whether
I have to push out a maintenance release.
Regards
--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
------------------------------
Message: 5
Date: Tue, 6 Apr 2010 14:50:59 +0300
From: Akephalos Akephalos <akephalos...@gmail.com>
Subject: Re: CPU problems after 8.0-STABLE update
To: Attilio Rao <att...@freebsd.org>
Cc: freebsd...@freebsd.org, Andriy Gapon <a...@icyb.net.ua>
Message-ID:
<h2i1468a0871004060450t5...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
On Sun, Apr 4, 2010 at 7:28 PM, Attilio Rao <att...@freebsd.org> wrote:
> What architecture is it?
> May you try setting machdep.lapic_allclocks to 1 in /boot/loader.conf?
> May you report #dmesg | grep atrtc
>
>
> Thanks,
> Attilio
>
>
> --
> Peace can only be achieved by understanding - A. Einstein
>
# dmesg | grep -B 5 -A 5 -i rtc
acpi_button0: <Sleep Button> on acpi0
acpi_button1: <Power Button> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
---
I set machdep.lapic_allclocks to 1 at statup - top works now!! I can see
both processors with top -P, btw, everything looks fine, although I get core
dump for xfce4-taskmanager and can't test it (it's probably related to
something else).
---
I started powerd - it scales the frequencies correctly now.
This seems to be the solution, is this a bug should I report or leave things
like this?
Thanks a lot!
Mihai
------------------------------
End of freebsd-stable Digest, Vol 351, Issue 3
**********************************************