Re: 9.2-RC3 - suspend/resume causes slow system performance

2013-09-06 Thread Adrian Chadd
.. anything happening?


-adrian


On 2 September 2013 07:29, Adrian Chadd  wrote:

>
> On 2 September 2013 07:25, Mike Harding  wrote:
>
>> It's detailed in the ticket,  see
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=181632 and search for
>> 'reverted'.
>>
>>
> Ok. You and avg@ are digging into it deeper, so I'll leave it be for now.
> I'll retest this on my test laptops when I'm back home.
>
>
>
> -adrian
>
>
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: devel/llvm33: failed to compile due to CLOCK_PROCESS_CPUTIME_ID issue

2013-09-06 Thread O. Hartmann
On Fri, 6 Sep 2013 18:36:59 +0200
Dimitry Andric  wrote:

> On Sep 6, 2013, at 13:16, Dimitry Andric  wrote:
> > On Sep 5, 2013, at 23:46, Oliver Pinter 
> > wrote:
> >> On 9/5/13, O. Hartmann  wrote:
> ...
> >>> /usr/ports/devel/llvm33/work/llvm-3.3.src/lib/Support/Unix/Process.inc:75:23:
> >>> error: use of undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID'
> ...
> > This is because David Xu MFC'd his time.h changes to stable/9, but
> > did not merge r245428, for some reason.  There was quite a large
> > window where -current was broken in this respect.
> > 
> > I will merge the fix to stable/9 tonight, but I don't think it will
> > make it into 9.2-RELEASE, so we will still need a workaround for
> > the port, for the life of 9.2. :-(
> 
> Fortunately, re@ gave me permission to merge it into releng/9.2 (see
> r255308), so the change will make it into 9.2-RELEASE!
> 
> -Dimitry
> 

That is great.

Thanks a lot.

Oliver


signature.asc
Description: PGP signature


Re: FreeBSD 9.2-RC3 DHCP Installer restart problem

2013-09-06 Thread CeDeROM
Hello Glen :-)

As I have mentioned - I started bootonly installation on a device with
insufficient disk space, so in general there were errors during
installation, then installer asked me if I want to restart
installation, I have agreed, when it came to NIC configuration DHCP
was unable to obtain the configuration/lease.

So please try to start installer, configure NIC once, then restart the
installer and the problem should occur on another DHCP configuration
of the NIC :-)

Best regards! :-)
Tomek Cedro

CeDeROM, SQ7MHZ, http://www.tomek.cedro.info


On Fri, Sep 6, 2013 at 8:14 PM, Glen Barber  wrote:
> On Fri, Sep 06, 2013 at 08:10:31PM +0200, CeDeROM wrote:
>> Hello :-)
>>
>> When installer is restarted DHCP fails to (re)configure interface,
>> probably because it is already configured :-) I got into this using
>> bootonly installer and machine with low capacity drive... Please fix
>> :-)
>>
>> http://justpaste.it/bc8q
>>
>
> Can you provide information on how to reproduce this?
>
> Glen
>
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD 9.2-RC3 DHCP Installer restart problem

2013-09-06 Thread Glen Barber
On Fri, Sep 06, 2013 at 08:10:31PM +0200, CeDeROM wrote:
> Hello :-)
> 
> When installer is restarted DHCP fails to (re)configure interface,
> probably because it is already configured :-) I got into this using
> bootonly installer and machine with low capacity drive... Please fix
> :-)
> 
> http://justpaste.it/bc8q
> 

Can you provide information on how to reproduce this?

Glen



pgpdXtqn16xsP.pgp
Description: PGP signature


FreeBSD 9.2-RC3 DHCP Installer restart problem

2013-09-06 Thread CeDeROM
Hello :-)

When installer is restarted DHCP fails to (re)configure interface,
probably because it is already configured :-) I got into this using
bootonly installer and machine with low capacity drive... Please fix
:-)

http://justpaste.it/bc8q

Best regards,
Tomek Cedro

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Fwd: Package database

2013-09-06 Thread Jim Ballantine
The backup in /var/backups was a copy of the current DB, so it was not
usable,
however there was/is and older backup that was not corrupt.  So I restored
it into
/var/db and then update that one.

Jim


On Fri, Sep 6, 2013 at 10:53 AM, Ronald Klop wrote:

> Than I'll top-post too. Anyway. Try this:
>
> $ ls -al /var/backups/
> total 16417
> drwxr-x---   2 root  wheel   10 Sep  6 03:03 ./
> drwxr-xr-x  25 root  wheel   25 Sep  5 14:42 ../
> -rw-r--r--   1 root  wheel 1688 Dec  6  2012 aliases.bak
> -rw-r--r--   1 root  wheel 1665 Aug  4  2011 aliases.bak2
> -rw-r--r--   1 root  wheel  761 Feb  6  2013 group.bak
> -rw-r--r--   1 root  wheel  761 Jan  2  2013 group.bak2
> -rw---   1 root  wheel 2994 Feb  6  2013 master.passwd.bak
> -rw---   1 root  wheel 2994 Jan  2  2013 master.passwd.bak2
> -rw-r--r--   1 root  wheel  8362370 Sep  6 03:03 pkgdb.bak.tbz
> -rw-r--r--   1 root  wheel  8362370 Sep  5 03:03 pkgdb.bak.tbz.2
>
>
>
>
> On Thu, 05 Sep 2013 14:52:06 +0200, Jim Ballantine 
> wrote:
>
>  Sorry these didn't get to the list.
>> gmail responses only to sender and not cc,
>> it also seems to top post.
>>
>> -- Forwarded message --
>> From: Jim Ballantine 
>> Date: Wed, Sep 4, 2013 at 3:09 PM
>> Subject: Re: Package database
>> To: Freddie Cash 
>>
>>
>> I looked in /var/db and there is not dir/file named backup.  There is a
>> dir
>> named pkg.bak but it is empty.
>>
>>
>> On Wed, Sep 4, 2013 at 1:46 PM, Jim Ballantine > >wrote:
>>
>>  I'm trying to upgrade with portmaster and getting:
>>>
>>> portmaster -Gadv
>>> ===>>> Sorting ports by category
>>> ===>>> Gathering distinfo list for installed ports
>>>
>>> ===>>> No ORIGIN in /var/db/pkg/ORBit2-2.14.19/+**CONTENTS
>>>
>>> ===>>> No ORIGIN in /var/db/pkg/R-3.0.1/+CONTENTS
>>>
>>>
>>>
>>> On Wed, Sep 4, 2013 at 1:43 PM, Freddie Cash  wrote:
>>>
>>>  On Wed, Sep 4, 2013 at 10:41 AM, Jim Ballantine >>> >wrote:

  My /var/db/pkg has become corrupt, and I can't find an archive of it to
> install in it's place.  Does one exist and if so where?  If not any
> ideas on
> how to rebuild the db?
>
>
 Are you using PKGng or the old pkg_* tools?

 Meaning, is your data stored as individual files under
 /var/db/pkg/PORTNAME/*, or as a single sqlite database under
 /var/db/pkg?

 If using PKGng, there's a backup copy under /var/db/backup*

 If using the older pkg_* tools, you're screwed.  :)


 --
 Freddie Cash
 fjwc...@gmail.com


>>>
>>>  __**_
>> freebsd-stable@freebsd.org mailing list
>> http://lists.freebsd.org/**mailman/listinfo/freebsd-**stable
>> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@**
>> freebsd.org "
>>
>
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: devel/llvm33: failed to compile due to CLOCK_PROCESS_CPUTIME_ID issue

2013-09-06 Thread Dimitry Andric
On Sep 6, 2013, at 13:16, Dimitry Andric  wrote:
> On Sep 5, 2013, at 23:46, Oliver Pinter  wrote:
>> On 9/5/13, O. Hartmann  wrote:
...
>>> /usr/ports/devel/llvm33/work/llvm-3.3.src/lib/Support/Unix/Process.inc:75:23:
>>> error: use of undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID'
...
> This is because David Xu MFC'd his time.h changes to stable/9, but did not 
> merge r245428, for some reason.  There was quite a large window where 
> -current was broken in this respect.
> 
> I will merge the fix to stable/9 tonight, but I don't think it will make it 
> into 9.2-RELEASE, so we will still need a workaround for the port, for the 
> life of 9.2. :-(

Fortunately, re@ gave me permission to merge it into releng/9.2 (see r255308), 
so the change will make it into 9.2-RELEASE!

-Dimitry



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: Fwd: Package database

2013-09-06 Thread Ronald Klop

Than I'll top-post too. Anyway. Try this:

$ ls -al /var/backups/
total 16417
drwxr-x---   2 root  wheel   10 Sep  6 03:03 ./
drwxr-xr-x  25 root  wheel   25 Sep  5 14:42 ../
-rw-r--r--   1 root  wheel 1688 Dec  6  2012 aliases.bak
-rw-r--r--   1 root  wheel 1665 Aug  4  2011 aliases.bak2
-rw-r--r--   1 root  wheel  761 Feb  6  2013 group.bak
-rw-r--r--   1 root  wheel  761 Jan  2  2013 group.bak2
-rw---   1 root  wheel 2994 Feb  6  2013 master.passwd.bak
-rw---   1 root  wheel 2994 Jan  2  2013 master.passwd.bak2
-rw-r--r--   1 root  wheel  8362370 Sep  6 03:03 pkgdb.bak.tbz
-rw-r--r--   1 root  wheel  8362370 Sep  5 03:03 pkgdb.bak.tbz.2



On Thu, 05 Sep 2013 14:52:06 +0200, Jim Ballantine  
 wrote:



Sorry these didn't get to the list.
gmail responses only to sender and not cc,
it also seems to top post.

-- Forwarded message --
From: Jim Ballantine 
Date: Wed, Sep 4, 2013 at 3:09 PM
Subject: Re: Package database
To: Freddie Cash 


I looked in /var/db and there is not dir/file named backup.  There is a  
dir

named pkg.bak but it is empty.


On Wed, Sep 4, 2013 at 1:46 PM, Jim Ballantine  
wrote:



I'm trying to upgrade with portmaster and getting:

portmaster -Gadv
===>>> Sorting ports by category
===>>> Gathering distinfo list for installed ports

===>>> No ORIGIN in /var/db/pkg/ORBit2-2.14.19/+CONTENTS

===>>> No ORIGIN in /var/db/pkg/R-3.0.1/+CONTENTS



On Wed, Sep 4, 2013 at 1:43 PM, Freddie Cash  wrote:

On Wed, Sep 4, 2013 at 10:41 AM, Jim Ballantine  
wrote:


My /var/db/pkg has become corrupt, and I can't find an archive of it  
to

install in it's place.  Does one exist and if so where?  If not any
ideas on
how to rebuild the db?



Are you using PKGng or the old pkg_* tools?

Meaning, is your data stored as individual files under
/var/db/pkg/PORTNAME/*, or as a single sqlite database under  
/var/db/pkg?


If using PKGng, there's a backup copy under /var/db/backup*

If using the older pkg_* tools, you're screwed.  :)


--
Freddie Cash
fjwc...@gmail.com





___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: devel/llvm33: failed to compile due to CLOCK_PROCESS_CPUTIME_ID issue

2013-09-06 Thread Oliver Pinter
On 9/6/13, Dimitry Andric  wrote:
> On Sep 6, 2013, at 13:16, Dimitry Andric  wrote:
>> On Sep 5, 2013, at 23:46, Oliver Pinter  wrote:
>>> On 9/5/13, O. Hartmann  wrote:
 On a laptop, running FreeBSD 9.2-PRERELEASE #0 r255170: Tue Sep  3
 11:54:29 CEST 2013 amd64, compiling/updating port devel/llvm33 fails
 with the error shown below.

 The port is at llvm-3.3_2 and is supposed to be updated to
 llvm-3.3_4.

 On FreeBSD 10.0-CURRENT there is no problem compiling the port.

 [...]
 llvm[1]: Compiling Signals.cpp for Release build
 In file included from Process.cpp:85:
 /usr/ports/devel/llvm33/work/llvm-3.3.src/lib/Support/Unix/Process.inc:75:23:
 error: use of undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID' if
 (::clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &TS) == 0) ^
 1 error generated.
 gmake[1]: ***
 [/usr/ports/devel/llvm33/work/llvm-3.3.src/lib/Support/Release/Process.o]
 Error 1 gmake[1]: *** Waiting for unfinished jobs gmake[1]: Leaving
 directory `/usr/ports/devel/llvm33/work/llvm-3.3.src/lib/Support'
 gmake: *** [all] Error 1
>>>
>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/181817
>>
>> This is because David Xu MFC'd his time.h changes to stable/9, but did not
>> merge r245428, for some reason.  There was quite a large window where
>> -current was broken in this respect.
>>
>> I will merge the fix to stable/9 tonight, but I don't think it will make
>> it into 9.2-RELEASE, so we will still need a workaround for the port, for
>> the life of 9.2. :-(
>
> Note: the workaround I've used in head is
> http://svnweb.freebsd.org/changeset/base/250616 .  This simply does
> -DCLOCK_PROCESS_CPUTIME_ID=15 on the command line of
> lib/Support/Process.cpp, which is ugly, but works fine, unless somebody
> changes the define again. :-)

thanks! ;)

>
> -Dimitry
>
>
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: devel/llvm33: failed to compile due to CLOCK_PROCESS_CPUTIME_ID issue

2013-09-06 Thread Dimitry Andric
On Sep 6, 2013, at 13:16, Dimitry Andric  wrote:
> On Sep 5, 2013, at 23:46, Oliver Pinter  wrote:
>> On 9/5/13, O. Hartmann  wrote:
>>> On a laptop, running FreeBSD 9.2-PRERELEASE #0 r255170: Tue Sep  3
>>> 11:54:29 CEST 2013 amd64, compiling/updating port devel/llvm33 fails
>>> with the error shown below.
>>> 
>>> The port is at llvm-3.3_2 and is supposed to be updated to
>>> llvm-3.3_4.
>>> 
>>> On FreeBSD 10.0-CURRENT there is no problem compiling the port.
>>> 
>>> [...]
>>> llvm[1]: Compiling Signals.cpp for Release build
>>> In file included from Process.cpp:85:
>>> /usr/ports/devel/llvm33/work/llvm-3.3.src/lib/Support/Unix/Process.inc:75:23:
>>> error: use of undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID' if
>>> (::clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &TS) == 0) ^
>>> 1 error generated.
>>> gmake[1]: ***
>>> [/usr/ports/devel/llvm33/work/llvm-3.3.src/lib/Support/Release/Process.o]
>>> Error 1 gmake[1]: *** Waiting for unfinished jobs gmake[1]: Leaving
>>> directory `/usr/ports/devel/llvm33/work/llvm-3.3.src/lib/Support'
>>> gmake: *** [all] Error 1
>> 
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/181817
> 
> This is because David Xu MFC'd his time.h changes to stable/9, but did not 
> merge r245428, for some reason.  There was quite a large window where 
> -current was broken in this respect.
> 
> I will merge the fix to stable/9 tonight, but I don't think it will make it 
> into 9.2-RELEASE, so we will still need a workaround for the port, for the 
> life of 9.2. :-(

Note: the workaround I've used in head is 
http://svnweb.freebsd.org/changeset/base/250616 .  This simply does 
-DCLOCK_PROCESS_CPUTIME_ID=15 on the command line of lib/Support/Process.cpp, 
which is ugly, but works fine, unless somebody changes the define again. :-)

-Dimitry



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: devel/llvm33: failed to compile due to CLOCK_PROCESS_CPUTIME_ID issue

2013-09-06 Thread Dimitry Andric
On Sep 5, 2013, at 23:46, Oliver Pinter  wrote:
> On 9/5/13, O. Hartmann  wrote:
>> On a laptop, running FreeBSD 9.2-PRERELEASE #0 r255170: Tue Sep  3
>> 11:54:29 CEST 2013 amd64, compiling/updating port devel/llvm33 fails
>> with the error shown below.
>> 
>> The port is at llvm-3.3_2 and is supposed to be updated to
>> llvm-3.3_4.
>> 
>> On FreeBSD 10.0-CURRENT there is no problem compiling the port.
>> 
>> [...]
>> llvm[1]: Compiling Signals.cpp for Release build
>> In file included from Process.cpp:85:
>> /usr/ports/devel/llvm33/work/llvm-3.3.src/lib/Support/Unix/Process.inc:75:23:
>> error: use of undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID' if
>> (::clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &TS) == 0) ^
>> 1 error generated.
>> gmake[1]: ***
>> [/usr/ports/devel/llvm33/work/llvm-3.3.src/lib/Support/Release/Process.o]
>> Error 1 gmake[1]: *** Waiting for unfinished jobs gmake[1]: Leaving
>> directory `/usr/ports/devel/llvm33/work/llvm-3.3.src/lib/Support'
>> gmake: *** [all] Error 1
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/181817

This is because David Xu MFC'd his time.h changes to stable/9, but did not 
merge r245428, for some reason.  There was quite a large window where -current 
was broken in this respect.

I will merge the fix to stable/9 tonight, but I don't think it will make it 
into 9.2-RELEASE, so we will still need a workaround for the port, for the life 
of 9.2. :-(

-Dimitry



signature.asc
Description: Message signed with OpenPGP using GPGMail