any way to stop boot2 from waiting for keypress at system startup

2013-07-02 Thread takCoder
Hi Everyone,

i wanna stop boot2 from getting a input string to change default boot
point.. is there any way around, other than changing boot2.c source code to
disable this feature??

As you may know, on system-startup, if you press any key, you will see the
following prompt, waiting for you to enter related string:
FreeBSD/x86 boot
Default: 0:ad(0,a)
boot:

I checked it and found out that i can change boot2.c file to disable this
section.. but I'd rather find another way.. Would you please let me know
whether there are any other ways to do so?

Thank you all in advance :)

Best Regards,
takCoder
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: any way to stop boot2 from waiting for keypress at system startup

2013-07-02 Thread Polytropon
On Tue, 2 Jul 2013 11:05:22 +0430, takCoder wrote:
 Hi Everyone,
 
 i wanna stop boot2 from getting a input string to change default boot
 point.. is there any way around, other than changing boot2.c source code to
 disable this feature??
 
 As you may know, on system-startup, if you press any key, you will see the
 following prompt, waiting for you to enter related string:
 FreeBSD/x86 boot
 Default: 0:ad(0,a)
 boot:
 
 I checked it and found out that i can change boot2.c file to disable this
 section.. but I'd rather find another way.. Would you please let me know
 whether there are any other ways to do so?

Without having checked it, but is this what you are searching for?

In /boot/loader.conf:

autoboot_delay=-1

From /boot/defaults/loader.conf:

Delay in seconds before autobooting,
set to -1 if you don't want user to be
allowed to interrupt autoboot process and
escape to the loader prompt, set to
NO to disable autobooting

I'm using autoboot_delay=1 to limit the time which the system
is waiting before continuing the boot process.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: any way to stop boot2 from waiting for keypress at system startup

2013-07-02 Thread takCoder
Thank you for your quick reply. :)

Unfortunately, no.. the option you are talking about is for limitting or
disabling beastie menu waiting time, and i am using the option you mention
as well..

I wait to disable a feature one step before that.. before even loading
kernel.. i just don't know what exactly its name is.. but it's just at the
beginning of boot2 procedure; it waits for 3 seconds for user input and if
you press any key, it shows you the prompt i mentioned and so on..
if there is no key-press,  the normal process will go on..

Best Regards,
t.a.k


On Tue, Jul 2, 2013 at 11:10 AM, Polytropon free...@edvax.de wrote:

 On Tue, 2 Jul 2013 11:05:22 +0430, takCoder wrote:
  Hi Everyone,
 
  i wanna stop boot2 from getting a input string to change default boot
  point.. is there any way around, other than changing boot2.c source code
 to
  disable this feature??
 
  As you may know, on system-startup, if you press any key, you will see
 the
  following prompt, waiting for you to enter related string:
  FreeBSD/x86 boot
  Default: 0:ad(0,a)
  boot:
 
  I checked it and found out that i can change boot2.c file to disable this
  section.. but I'd rather find another way.. Would you please let me know
  whether there are any other ways to do so?

 Without having checked it, but is this what you are searching for?

 In /boot/loader.conf:

 autoboot_delay=-1

 From /boot/defaults/loader.conf:

 Delay in seconds before autobooting,
 set to -1 if you don't want user to be
 allowed to interrupt autoboot process and
 escape to the loader prompt, set to
 NO to disable autobooting

 I'm using autoboot_delay=1 to limit the time which the system
 is waiting before continuing the boot process.



 --
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

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


Re: sleepycat db VS MySQL or postgres

2013-07-02 Thread Ivan Voras
On 01/07/2013 22:28, Jim Pazarena wrote:
 I have a rather extensive series of databases created and in use all
 with the very old sleepycat db3. I believe in the addage don't fix
 what ain't broken, but in the case of db3, it IS broken and my db
 files get corrupted on occasion.
 
 I could move to db5 or db6 OR MySQL, or even postgres.
 
 I use simple primary key files, most entries are added from a CLI
 or termcap/curses screen. Some programatically. With about the same
 number of sequential dumps vs indexed random reads.
 
 I have no experience with the c interface for postgres or mysql, but
 also, do not know how much the c interface has changed for sleepycat
 5/6 compared to the c interface for db3, which I understand quite well.
 So I am prepared for a learning curve irrespective of which platform
 I select. Records do not exceed much more than 10-20,000, with key sizes
 not much wider than 16 bytes (ipv4), 13 (mac), 32 (ipv6). And various
 smaller key sizes.
 
 Suggestions would be very much appreciated.

Well, this is essentially a bikeshed thread... so why not chip in :)

I'd say it depends on what is your priority or what do you want to
achieve by switching databases.

If you want it to be as easy as possible, switch to DB5 and you'll be ok.

If you want to learn something interesting, try one of the recent NoSQL
databases, such as Redis, MongoDB or CouchDB - they're like DBx but with
significantly more powerful query capabilities.

If you want to get a feel of how SQL databases work, go with PostgreSQL,
but be aware that to really use a SQL database the way they're made to
be used, you'll need to properly design a relational schema. Using them
to store 20 KiB blobs indexed by a single key is way too simplistic and
probably much slower than what you could get with a simple DBx engine.
Also, SQL databases usually work with SQL queries, which are text, so
you'll have a non-trivial task of fitting C structs in their text/blob
field types - it's best to avoid it. Also, you'll need to learn how to
tune and maintain proper database servers.

If you want to just try SQL but without bothering with tuning and
maintainance, try SQLite, but beware it is basically limited to a single
writer (and inifinite reader) clients in the best case (with WAL
journalling).




signature.asc
Description: OpenPGP digital signature


Re: any way to stop boot2 from waiting for keypress at system startup

2013-07-02 Thread takCoder
i found the answer! if i add a -n parameter to /boot.config file, the
mentioned feature will be disabled..


On Tue, Jul 2, 2013 at 11:16 AM, takCoder tak.offic...@gmail.com wrote:

 Thank you for your quick reply. :)

 Unfortunately, no.. the option you are talking about is for limitting or
 disabling beastie menu waiting time, and i am using the option you mention
 as well..

 I wait to disable a feature one step before that.. before even loading
 kernel.. i just don't know what exactly its name is.. but it's just at the
 beginning of boot2 procedure; it waits for 3 seconds for user input and if
 you press any key, it shows you the prompt i mentioned and so on..
 if there is no key-press,  the normal process will go on..

 Best Regards,
 t.a.k


 On Tue, Jul 2, 2013 at 11:10 AM, Polytropon free...@edvax.de wrote:

 On Tue, 2 Jul 2013 11:05:22 +0430, takCoder wrote:
  Hi Everyone,
 
  i wanna stop boot2 from getting a input string to change default boot
  point.. is there any way around, other than changing boot2.c source
 code to
  disable this feature??
 
  As you may know, on system-startup, if you press any key, you will see
 the
  following prompt, waiting for you to enter related string:
  FreeBSD/x86 boot
  Default: 0:ad(0,a)
  boot:
 
  I checked it and found out that i can change boot2.c file to disable
 this
  section.. but I'd rather find another way.. Would you please let me know
  whether there are any other ways to do so?

 Without having checked it, but is this what you are searching for?

 In /boot/loader.conf:

 autoboot_delay=-1

 From /boot/defaults/loader.conf:

 Delay in seconds before autobooting,
 set to -1 if you don't want user to be
 allowed to interrupt autoboot process and
 escape to the loader prompt, set to
 NO to disable autobooting

 I'm using autoboot_delay=1 to limit the time which the system
 is waiting before continuing the boot process.



 --
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...



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


Re: sleepycat db VS MySQL or postgres

2013-07-02 Thread Mark Felder

On Tue, 02 Jul 2013 05:45:47 -0500, Ivan Voras ivo...@freebsd.org wrote:


Well, this is essentially a bikeshed thread... so why not chip in


I disagree; all of these databases have distinctly different uses.

MySQL/PostgreSQL: pick your poison. Relational databases. Will you have  
multiple users connecting to the database? Will there be lots of updates  
to the data? These are what you want. If you care about data integrity,  
I'd choose Postgres.


SQLite: Do you want a relational database without needing a daemon to be  
running and will only have a single user/process accessing the database at  
one time? This is what you want.


NoSQL: Do you want to dabble with the mess that is NoSQL so you can build  
your cloud? Don't care if other nodes aren't guaranteed to get the  
latest copy of the data? This is what you want.


SleepyCat/BerkleyDB: Is your data WORM? (Write Once Read Many) If so, this  
is *ABSOLUTELY* what you want.




If twitter was built upon a WORM database instead of MySQL they could host  
the entirety of twitter on a handful of servers instead of the gross  
MySQL+Cassandra mess they're fighting with today.

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


Re: sleepycat db VS MySQL or postgres

2013-07-02 Thread Ivan Voras
On 02/07/2013 13:55, Mark Felder wrote:

 If twitter was built upon a WORM database instead of MySQL they could
 host the entirety of twitter on a handful of servers instead of the
 gross MySQL+Cassandra mess they're fighting with today.

I'd say their problem is not exactly solvable by only choosing a database :D
They, like Facebook, have the problem of fanout, where a single piece
of data goes into thousands of different user pages. Whatever they save
in the raw data access operations will probably be relatively small
compared to the horsepower needed to combine pages from all these
fleeting data pieces.

But yes, obviously a database designed specifically for one thing will
be optimized for that thing.



signature.asc
Description: OpenPGP digital signature


Re: sleepycat db VS MySQL or postgres

2013-07-02 Thread Mark Felder

On Tue, 02 Jul 2013 07:12:37 -0500, Ivan Voras ivo...@freebsd.org wrote:


On 02/07/2013 13:55, Mark Felder wrote:


If twitter was built upon a WORM database instead of MySQL they could
host the entirety of twitter on a handful of servers instead of the
gross MySQL+Cassandra mess they're fighting with today.


I'd say their problem is not exactly solvable by only choosing a  
database :D

They, like Facebook, have the problem of fanout, where a single piece
of data goes into thousands of different user pages. Whatever they save
in the raw data access operations will probably be relatively small
compared to the horsepower needed to combine pages from all these
fleeting data pieces.



Good point :) I'm still sure it would work much, much better though.  
However, I'm just glad that's not *my* problem to fix.

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


When is /boot/menu.rc supposed to updated?

2013-07-02 Thread Trond Endrestøl
Is it the task of:

1. mergemaster, or
2. make installkernel, or
3. make installworld, or
4. the user by manually copying from /usr/src/sys/boot/forth/menu.rc?

I upgraded a 9.0-STABLE VM yesterday, it was last touched late in 
August last year. The VM previously used CVSup for updating /usr/src, 
but is now using Subversion.

Neither mergemaster nor make installkernel nor make installworld 
detected a new version of menu.rc, not even the change from CVS-Id 
string to the Subversion-Id string.

This a bit strange, but maybe someone can shed some light on this.

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Curl -7.24.0_4 heap corruption

2013-07-02 Thread Reggie Euser

We're running FreeBSD 8.3-RELEASE-p3 and portaudit says:

Affected package: curl-7.24.0_2
Type of problem: cURL library -- heap corruption in curl_easy_unescape.
Reference: 
http://portaudit.FreeBSD.org/01cf67b3-dc3b-11e2-a6cd-c48508086173.html


1 problem(s) in your installed packages found.

You are advised to update or deinstall the affected package(s) immediately.

Have updated ports tree, checked UPDATING (nothing on curl since 2010). For 
last several days, portmaster curl has attempted to install curl-7.24.0_3 - 
same heap corruption issue.


Today, portmaster curl attempted to install curl-7.24.0_4. I thought, great, 
the port has been updated!


Except that the heap corruption issue persists and the update fails.

Anyone have any insights into this issue?

Thanks!


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


Re: Curl -7.24.0_4 heap corruption

2013-07-02 Thread Ryan Frederick
Update your ports vulnerability database before attempting to compile 
curl. `portaudit -Fda` should do the trick.


Ryan

On 07/02/2013 08:49 AM, Reggie Euser wrote:

We're running FreeBSD 8.3-RELEASE-p3 and portaudit says:

Affected package: curl-7.24.0_2
Type of problem: cURL library -- heap corruption in curl_easy_unescape.
Reference:
http://portaudit.FreeBSD.org/01cf67b3-dc3b-11e2-a6cd-c48508086173.html

1 problem(s) in your installed packages found.

You are advised to update or deinstall the affected package(s) immediately.

Have updated ports tree, checked UPDATING (nothing on curl since 2010).
For last several days, portmaster curl has attempted to install
curl-7.24.0_3 - same heap corruption issue.

Today, portmaster curl attempted to install curl-7.24.0_4. I thought,
great, the port has been updated!

Except that the heap corruption issue persists and the update fails.

Anyone have any insights into this issue?

Thanks!


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

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


Terrible ix performance

2013-07-02 Thread Outback Dingo
Ive got a high end storage server here, iperf shows decent network io

iperf -i 10 -t 20 -c 10.0.96.1 -w 2.5M -l 2.5M

Client connecting to 10.0.96.1, TCP port 5001
TCP window size: 2.50 MByte (WARNING: requested 2.50 MByte)

[  3] local 10.0.96.2 port 34753 connected with 10.0.96.1 port 5001
[ ID] Interval   Transfer Bandwidth
[  3]  0.0-10.0 sec  9.78 GBytes  8.40 Gbits/sec
[  3] 10.0-20.0 sec  8.95 GBytes  7.69 Gbits/sec
[  3]  0.0-20.0 sec  18.7 GBytes  8.05 Gbits/sec


the card has a 3 meter twinax cable from cisco connected to it, going
through a fujitsu switch. We have tweaked various networking, and kernel
sysctls, however from a sftp and nfs session i cant get better then 100MBs
from a zpool with 8 mirrored vdevs. We also have an identical box that will
get 1.4Gbs with a 1 meter cisco twinax cables that writes 2.4Gbs compared
to reads only 1.4Gbs...

does anyone have an idea of what the bottle neck could be?? This is a
shared storage array with dual LSI controllers connected to 32 drives via
an enclosure, local dd and other tests show the zpool performs quite well.
however as soon as we introduce any type of protocol, sftp, samba, nfs
performance plummets. Im quite puzzled and have run out of ideas.

ix0@pci0:2:0:0: class=0x02 card=0x000c8086 chip=0x10fb8086 rev=0x01
hdr=0x00
vendor = 'Intel Corporation'
device = '82599EB 10-Gigabit SFI/SFP+ Network Connection'
class  = network
subclass   = ethernet
ix1@pci0:2:0:1: class=0x02 card=0x000c8086 chip=0x10fb8086 rev=0x01
hdr=0x00
vendor = 'Intel Corporation'
device = '82599EB 10-Gigabit SFI/SFP+ Network Connection'
class  = network
subclass   = ethernet
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Should I be able to use mergemaster with freebsd-update?

2013-07-02 Thread Eugene

Hi all,

In case anybody was following this discussion, I have successfully upgraded 
the system from 8.2 to 8.4 using freebsd-update. The process did have some 
glitches (in retrospect, minor ones) but mostly they were not related to 
freebsd-update (like some issues with gmirror and firewall configurations). 
The data merging phase was quite bearable and reasonable (if a bit tedious) 
and all the databases got properly updated.


Thanks to everyone involved!

Eugene

-Original Message- 
From: Mike Brown

Sent: Wednesday, June 26, 2013 6:22 AM
To: freebsd-questions@freebsd.org
Subject: Re: Should I be able to use mergemaster with freebsd-update?

On Tue, Jun 25, 2013, at 15:29, Eugene wrote:

I do not quite understand. Is the freebsd-update upgrade process
completely broken?


IMHO it is partially broken; I'm not doing anything special. How broken it 
is
depends on what's getting changed. Most of what the system is designed to 
do,

it indeed does very well. It also overlaps some of the functionality of
mergemaster in that it automatically merges as many files as it can, which 
is

nice.

Where it is under-designed and under-implemented is in its rudimentary
handling of un-mergeable files, and in its total lack of support for the
regeneration of /etc/*.db files (like the, uh, rather important password
database) and sendmail aliases - things that you would handle via 
mergemaster
in an ordinary, source-based upgrade, but which you must now figure out how 
to
do by hand, without any guidance, and they really don't make it easy for 
you.


... 


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


devel/qt4-corelib dosen´t build

2013-07-02 Thread Bernt Hansson

Hello list.

I´m having problems with devel/qt4-corelib

../../include/QtCore/../../src/corelib/tools/qbytearray.h:535: note: 
 bool operator==(const QByteArray, const QByteArray)
../../include/QtCore/../../src/corelib/tools/qbytearray.h:537: note: 
 bool operator==(const QByteArray, const char*)
../../include/QtCore/../../src/corelib/tools/qbytearray.h:539: note: 
 bool operator==(const char*, const QByteArray)

../../include/QtCore/../../src/corelib/tools/qbytearray.h: At global scope:
../../include/QtCore/../../src/corelib/tools/qbytearray.h:583: error: 
'QBool' does not name a type
../../include/QtCore/../../src/corelib/tools/qbytearray.h:585: error: 
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:587: error: 
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:589: error: 
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:592: error: 
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:594: error: 
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:596: error: 
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:598: error: 
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:600: error: 
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:605: error: 
expected initializer before '' token
../../include/QtCore/../../src/corelib/tools/qbytearray.h:606: error: 
expected initializer before '' token
../../include/QtCore/../../src/corelib/tools/qbytearray.h:610: error: 
expected initializer before 'qCompress'
../../include/QtCore/../../src/corelib/tools/qbytearray.h:611: error: 
expected initializer before 'qUncompress'
../../include/QtCore/../../src/corelib/tools/qbytearray.h: In function 
'QByteArray qCompress(const QByteArray, int)':
../../include/QtCore/../../src/corelib/tools/qbytearray.h:613: error: 
'const class QMemArraychar' has no member named 'constData'
../../include/QtCore/../../src/corelib/tools/qbytearray.h: In function 
'QByteArray qUncompress(const QByteArray)':
../../include/QtCore/../../src/corelib/tools/qbytearray.h:614: error: 
redefinition of 'QByteArray qUncompress(const QByteArray)'
/usr/local/include/qcstring.h:124: error: 'QByteArray qUncompress(const 
QByteArray)' previously defined here
../../include/QtCore/../../src/corelib/tools/qbytearray.h:615: error: 
'const class QMemArraychar' has no member named 'constData'

../../include/QtCore/../../src/corelib/tools/qbytearray.h: At global scope:
../../include/QtCore/../../src/corelib/tools/qbytearray.h:618: error: 
'Q_MOVABLE_TYPE' has not been declared
../../include/QtCore/../../src/corelib/tools/qbytearray.h:618: error: 
expected constructor, destructor, or type conversion before ';' token
../../include/QtCore/../../src/corelib/tools/qbytearray.h:621: error: 
expected constructor, destructor, or type conversion before 
'QT_END_NAMESPACE'

*** Error code 1
1 error
*** Error code 1

Stop in /usr/ports/devel/qt4-corelib.

FreeBSD 8.3-STABLE #0: Fri Feb 22 20:03:01 CET 2013
/usr/obj/usr/src/sys/GENERIC  amd64
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: devel/qt4-corelib dosen´t build

2013-07-02 Thread Bernt Hansson

On 2013-07-02 19:33, Bernt Hansson wrote:

Hello list.



EDIT: How odd, it builds just fine on i386

FreeBSD testbox.fqdn 8.3-STABLE FreeBSD 8.3-STABLE #0: Fri Feb 22 
20:03:01 CET 2013 root@fqdn:/usr/obj/usr/src/sys/GENERIC  i386



I´m having problems with devel/qt4-corelib

../../include/QtCore/../../src/corelib/tools/qbytearray.h:535: note:
  bool operator==(const QByteArray, const QByteArray)
../../include/QtCore/../../src/corelib/tools/qbytearray.h:537: note:
  bool operator==(const QByteArray, const char*)
../../include/QtCore/../../src/corelib/tools/qbytearray.h:539: note:
  bool operator==(const char*, const QByteArray)
../../include/QtCore/../../src/corelib/tools/qbytearray.h: At global scope:
../../include/QtCore/../../src/corelib/tools/qbytearray.h:583: error:
'QBool' does not name a type
../../include/QtCore/../../src/corelib/tools/qbytearray.h:585: error:
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:587: error:
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:589: error:
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:592: error:
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:594: error:
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:596: error:
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:598: error:
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:600: error:
too few template-parameter-lists
../../include/QtCore/../../src/corelib/tools/qbytearray.h:605: error:
expected initializer before '' token
../../include/QtCore/../../src/corelib/tools/qbytearray.h:606: error:
expected initializer before '' token
../../include/QtCore/../../src/corelib/tools/qbytearray.h:610: error:
expected initializer before 'qCompress'
../../include/QtCore/../../src/corelib/tools/qbytearray.h:611: error:
expected initializer before 'qUncompress'
../../include/QtCore/../../src/corelib/tools/qbytearray.h: In function
'QByteArray qCompress(const QByteArray, int)':
../../include/QtCore/../../src/corelib/tools/qbytearray.h:613: error:
'const class QMemArraychar' has no member named 'constData'
../../include/QtCore/../../src/corelib/tools/qbytearray.h: In function
'QByteArray qUncompress(const QByteArray)':
../../include/QtCore/../../src/corelib/tools/qbytearray.h:614: error:
redefinition of 'QByteArray qUncompress(const QByteArray)'
/usr/local/include/qcstring.h:124: error: 'QByteArray qUncompress(const
QByteArray)' previously defined here
../../include/QtCore/../../src/corelib/tools/qbytearray.h:615: error:
'const class QMemArraychar' has no member named 'constData'
../../include/QtCore/../../src/corelib/tools/qbytearray.h: At global scope:
../../include/QtCore/../../src/corelib/tools/qbytearray.h:618: error:
'Q_MOVABLE_TYPE' has not been declared
../../include/QtCore/../../src/corelib/tools/qbytearray.h:618: error:
expected constructor, destructor, or type conversion before ';' token
../../include/QtCore/../../src/corelib/tools/qbytearray.h:621: error:
expected constructor, destructor, or type conversion before
'QT_END_NAMESPACE'
*** Error code 1
1 error
*** Error code 1

Stop in /usr/ports/devel/qt4-corelib.

FreeBSD 8.3-STABLE #0: Fri Feb 22 20:03:01 CET 2013
/usr/obj/usr/src/sys/GENERIC  amd64
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org




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


Re: upgrade qjail

2013-07-02 Thread Гуляев Гоша
   Guys! I have a similar problem. But from your answer I don't
   understand, is it needed to create all jails from scratch?!! Or it
   possible recreate existed jails with qjail-3.0?
   Tell me please how to do that procedure without reinstalling all jails
   from scratch.

   09.06.2013, 07:55, Fbsd8 fb...@a1poweruser.com:

 Masayoshi Fujimoto wrote:

 Hi.
 Could you tell me how to upgrade qjail-1.7 to qjail-3.0 ?
 I can not start www. So I have to use qjail-1.7 now. _
 root@freebsd:/root # pkg_info | grep qjail
 qjail-1.7 Utility to quickly deploy and manage jails
 root@freebsd:/root # jls
 JID IP Address Hostname Path
 1 192.168.0.20 www /usr/jails/www
 root@freebsd:/root # portmaster qjail
 root@freebsd:/root # rehash
 root@freebsd:/root # pkg_info | grep qjail
 qjail-3.0 Utility to quickly deploy and manage jails
 root@freebsd:/root # reboot
 I got the following message.
 jail: qjail: path : not an absolute pathname
 Error: /usr/sbin/jail failed to start jail www.
 because of errors in jail.conf file.
 root@freebsd:/root # cat /etc/jail.conf
 qjail {
 host.hostname = qjail;
 path = ;
 mount.fstab = ;
 exec.start = /bin/sh /etc/rc;
 exec.stop = /bin/sh /etc/rc.shutdown;
 exec.consolelog = /var/log/qjail.qjail.console.log;
 devfs_ruleset = 4;
 allow.mount.devfs;
 }
 So I edited /etc/jail.conf :
 www {
 host.hostname = www;
 path = /usr/jails/www;
 mount.fstab = ;
 exec.start = /bin/sh /etc/rc;
 exec.stop = /bin/sh /etc/rc.shutdown;
 exec.consolelog = /var/log/qjail.qjail.console.log;
 devfs_ruleset = 4;
 allow.mount.devfs;
 ip4.addr = 192.168.0.20;
 interface = alc0;
 }
 root@freebsd:/root # /usr/local/etc/rc.d/qjail.bootime restart
 jail: qjail: path : not an absolute pathname
 Error: /usr/sbin/jail failed to start jail www.
 because of errors in jail.conf file.
 I got same massage.
 My /etc/jail.conf has been changed default one.

 qjail-1.7 is way out of date.
 you have to delete all your 1.7 jails
 then do pkg_delete qjail-1.7
 then
 portsnap fetch
 portsnap extract
 cd /usr/ports/sysutils/qjail
 ee Makefile and make sure it says qjail-3.0
 make install clean
 man qjail
 recreate your jails
 ___
 [1]freebsd-questions@freebsd.org mailing list
 [2]http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [3]freebsd-questions-unsubscr...@freebsd.org

References

   1. mailto:freebsd-questions@freebsd.org
   2. http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   3. mailto:freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


OT: rsync on Mac OSX

2013-07-02 Thread Chris Maness
I have been using rsync with Mac OSX with no issues until today.  I
generally use it instead of the copy command because if the copy fails on
large files, I can pick up where I left off.  I have backed up entire Final
Cut Pro projects this way with no issues.  However, I recently synced a
drive to a folder in another drive, and the OS does not recognize the final
rendered files as quicktime files.  The files work fine in the parent
drive.  I have no idea what might be going on.  I used the flags: rsync
-vaur like I always do.  Any suggestions?

Thanks,
Chris Maness
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OT: rsync on Mac OSX

2013-07-02 Thread Giorgos Keramidas
On Tue, 2 Jul 2013 13:35:00 -0700, Chris Maness ch...@chrismaness.com wrote:
 I have been using rsync with Mac OSX with no issues until today.  I
 generally use it instead of the copy command because if the copy fails
 on large files, I can pick up where I left off.  I have backed up
 entire Final Cut Pro projects this way with no issues.  However, I
 recently synced a drive to a folder in another drive, and the OS does
 not recognize the final rendered files as quicktime files.  The files
 work fine in the parent drive.  I have no idea what might be going on.
 I used the flags: rsync -vaur like I always do.  Any suggestions?

This is a FreeBSD list, so any issues rsync may have with MacOS X are
not very relevant to what FreeBSD is doing or would do.  Having said
that though, can you try without the -u option?  Maybe modification
times are newer on the target drive and rsync skips everything.

You should probably also enable --stats and have a look at the final
report of rsync, to see if it actually sync'ed any files, or skipped all
of them because of mtime checks.

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


Re: OT: rsync on Mac OSX

2013-07-02 Thread Chris Maness
On Tue, Jul 2, 2013 at 2:30 PM, Giorgos Keramidas
keram...@ceid.upatras.grwrote:

 On Tue, 2 Jul 2013 13:35:00 -0700, Chris Maness ch...@chrismaness.com
 wrote:
  I have been using rsync with Mac OSX with no issues until today.  I
  generally use it instead of the copy command because if the copy fails
  on large files, I can pick up where I left off.  I have backed up
  entire Final Cut Pro projects this way with no issues.  However, I
  recently synced a drive to a folder in another drive, and the OS does
  not recognize the final rendered files as quicktime files.  The files
  work fine in the parent drive.  I have no idea what might be going on.
  I used the flags: rsync -vaur like I always do.  Any suggestions?

 This is a FreeBSD list, so any issues rsync may have with MacOS X are
 not very relevant to what FreeBSD is doing or would do.  Having said
 that though, can you try without the -u option?  Maybe modification
 times are newer on the target drive and rsync skips everything.

 You should probably also enable --stats and have a look at the final
 report of rsync, to see if it actually sync'ed any files, or skipped all
 of them because of mtime checks.


Yep, the files copied, and I used touch to force them to recopy.
 However, the files that were copied are not recognizable by their native
aps.  Just big junk files.  I have no clue what happened.  I am just
copying everything by a simple cut and paste this time.  However, this
directory is HUGE and I won't know until about 18 hours from now.

Thanks,
Chris Maness
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OT: rsync on Mac OSX

2013-07-02 Thread Giorgos Keramidas
On Tue, 2 Jul 2013 14:48:03 -0700, Chris Maness ch...@chrismaness.com wrote:
On Tue, Jul 2, 2013 at 2:30 PM, Giorgos Keramidas 
keram...@ceid.upatras.grwrote:
On Tue, 2 Jul 2013 13:35:00 -0700, Chris Maness ch...@chrismaness.com wrote:
 I have been using rsync with Mac OSX with no issues until today.  I
 generally use it instead of the copy command because if the copy fails
 on large files, I can pick up where I left off.  I have backed up
 entire Final Cut Pro projects this way with no issues.  However, I
 recently synced a drive to a folder in another drive, and the OS does
 not recognize the final rendered files as quicktime files.  The files
 work fine in the parent drive.  I have no idea what might be going on.
 I used the flags: rsync -vaur like I always do.  Any suggestions?

 This is a FreeBSD list, so any issues rsync may have with MacOS X are
 not very relevant to what FreeBSD is doing or would do.  Having said
 that though, can you try without the -u option?  Maybe modification
 times are newer on the target drive and rsync skips everything.

 You should probably also enable --stats and have a look at the final
 report of rsync, to see if it actually sync'ed any files, or skipped all
 of them because of mtime checks.

 Yep, the files copied, and I used touch to force them to recopy.
  However, the files that were copied are not recognizable by their native
 aps.  Just big junk files.  I have no clue what happened.  I am just
 copying everything by a simple cut and paste this time.  However, this
 directory is HUGE and I won't know until about 18 hours from now.

Since you are going to wait anyway, why don't you try peeking at some of
the file checksums while this is running?

MacOS X comes with a shasum utility which implements SHA-256 checksums,
so you should be able to look at a few random samples of these files,
e.g. by running on the source disk:

shasum -a 256 source_directory/file/path/to/some/file.ext

shasum -a 256 copied_directory/file/path/to/some/file.ext

If these are the same, then the applications look elsewhere, e.g. in the
'hidden' .DS_Store stuff some MacOS directories contain.

But if the checksums are different, well, then there's your problem.

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


Re: OT: rsync on Mac OSX

2013-07-02 Thread Chris Maness
 Since you are going to wait anyway, why don't you try peeking at some of
 the file checksums while this is running?

 MacOS X comes with a shasum utility which implements SHA-256 checksums,
 so you should be able to look at a few random samples of these files,
 e.g. by running on the source disk:

 shasum -a 256 source_directory/file/path/to/some/file.ext

 shasum -a 256 copied_directory/file/path/to/some/file.ext

 If these are the same, then the applications look elsewhere, e.g. in the
 'hidden' .DS_Store stuff some MacOS directories contain.

 But if the checksums are different, well, then there's your problem.


That could be the issue.  I did see some permission warnings with
.DS_Store.  However, to make space I had to dump all of it, so no files to
do a post mortem on.  I will have to check that out if things go awry this
time.

Thanks,
Chris Maness
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Acer Laptop Bightness and Volume Hotkeys not working!

2013-07-02 Thread Mike C.
On 06/23/13 23:57, CeDeROM wrote:

 Hey :-) For my Dell laptop the backlight is controlled by hardware,
 unlike sound keys where you can assign them to use
 xf86audiovolumeup/down (or similar) to interact with mixer. I would
 search for automatic backlight hothey that would block manual control,
 or BIOS settings (like automatic backlight) or maybe new BIOS would
 fix that problem..?
 Best regards,
 Tomek

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

I don't hae any BIOS settings for this... I have the most recent version
of my bios but this Ultrabooks don't really have many options :)

The keys work on windows, and I don't find any driver related to it on
the website... very odd...


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


Re: any way to stop boot2 from waiting for keypress at system startup

2013-07-02 Thread Polytropon
On Tue, 2 Jul 2013 15:18:04 +0430, takCoder wrote:
 i found the answer! if i add a -n parameter to /boot.config file, the
 mentioned feature will be disabled..

Sorry for my confusion. The option you've successfully found
is documented in man 8 boot (which also provides a short
description of the stages performed at system boot). That's
why it's good to know how the different components of the
boot process are named so it becomes more logical where to
search. :-)

From the manual page:

-nignore key press to interrupt boot before loader(8)
  is invoked.

Explained:

 However, it is possible to dispense with the third stage altogether,
 either by specifying a kernel name in the boot block parameter file,
 /boot.config, or, unless option -n is set, by hitting a key during a
 brief pause (while one of the characters -, \, |, or / is displayed)
 before loader(8) is invoked.  Booting will also be attempted at stage
 two, if the third stage cannot be loaded.

It's always good to know where thine documentation is. ;-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


X client without X server

2013-07-02 Thread Olivier Nicole
Hi,

Is there a way to install an X client without automatically install an
X server?

On all my systems, I throw xterm and emacs, as the primary tools I use
for management, but the display is always remote, I never, ever, run X
on the machine, but still it install X server, fonts and a lot of
useless junk like xcalc.

Is there a way to install xterm and only the libraries that are needed
to run xterm?

TIA,

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


Re: Terrible ix performance

2013-07-02 Thread Outback Dingo
On Tue, Jul 2, 2013 at 11:04 AM, Outback Dingo outbackdi...@gmail.comwrote:

 Ive got a high end storage server here, iperf shows decent network io

 iperf -i 10 -t 20 -c 10.0.96.1 -w 2.5M -l 2.5M
 
 Client connecting to 10.0.96.1, TCP port 5001
 TCP window size: 2.50 MByte (WARNING: requested 2.50 MByte)
 
 [  3] local 10.0.96.2 port 34753 connected with 10.0.96.1 port 5001
 [ ID] Interval   Transfer Bandwidth
 [  3]  0.0-10.0 sec  9.78 GBytes  8.40 Gbits/sec
 [  3] 10.0-20.0 sec  8.95 GBytes  7.69 Gbits/sec
 [  3]  0.0-20.0 sec  18.7 GBytes  8.05 Gbits/sec


 the card has a 3 meter twinax cable from cisco connected to it, going
 through a fujitsu switch. We have tweaked various networking, and kernel
 sysctls, however from a sftp and nfs session i cant get better then 100MBs
 from a zpool with 8 mirrored vdevs. We also have an identical box that will
 get 1.4Gbs with a 1 meter cisco twinax cables that writes 2.4Gbs compared
 to reads only 1.4Gbs...

 does anyone have an idea of what the bottle neck could be?? This is a
 shared storage array with dual LSI controllers connected to 32 drives via
 an enclosure, local dd and other tests show the zpool performs quite well.
 however as soon as we introduce any type of protocol, sftp, samba, nfs
 performance plummets. Im quite puzzled and have run out of ideas.

 ix0@pci0:2:0:0: class=0x02 card=0x000c8086 chip=0x10fb8086 rev=0x01
 hdr=0x00
 vendor = 'Intel Corporation'
 device = '82599EB 10-Gigabit SFI/SFP+ Network Connection'
 class  = network
 subclass   = ethernet
 ix1@pci0:2:0:1: class=0x02 card=0x000c8086 chip=0x10fb8086 rev=0x01
 hdr=0x00
 vendor = 'Intel Corporation'
 device = '82599EB 10-Gigabit SFI/SFP+ Network Connection'
 class  = network
 subclass   = ethernet


Okay so now curiousity has me its loading the ix driver and working
but not up to speed,
it is feasible it should be using the ixgbe driver??
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: any way to stop boot2 from waiting for keypress at system startup

2013-07-02 Thread takCoder
Yes you are right :)
If i knew the feature's name, it would be easier to find this option out..
Actually i found mentioned flag while tracing boot2.c code...

Anyway, Thank you for your complete reply :)


On Wed, Jul 3, 2013 at 6:35 AM, Polytropon free...@edvax.de wrote:

 On Tue, 2 Jul 2013 15:18:04 +0430, takCoder wrote:
  i found the answer! if i add a -n parameter to /boot.config file, the
  mentioned feature will be disabled..

 Sorry for my confusion. The option you've successfully found
 is documented in man 8 boot (which also provides a short
 description of the stages performed at system boot). That's
 why it's good to know how the different components of the
 boot process are named so it becomes more logical where to
 search. :-)

 From the manual page:

 -nignore key press to interrupt boot before loader(8)
   is invoked.

 Explained:

  However, it is possible to dispense with the third stage altogether,
  either by specifying a kernel name in the boot block parameter file,
  /boot.config, or, unless option -n is set, by hitting a key during a
  brief pause (while one of the characters -, \, |, or / is displayed)
  before loader(8) is invoked.  Booting will also be attempted at stage
  two, if the third stage cannot be loaded.

 It's always good to know where thine documentation is. ;-)



 --
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

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