Suspect results from iostat--FBSD bug?

2010-05-05 Thread Peter Steele
We use iostat to collect statistics of hard drive activity. We've been seeing 
some values for the transaction wait column that look suspicious. This is easy 
to reproduce by just running iostat repeatedly over a short period of time, as 
I show below. Notice the third from last column. From what I understand, when 
run in this fashion the values displayed are averaged over the system uptime. 
I'd expect then for the transaction wait value to not take these sudden dips. 
Is there an explanation for this?

# for ((i=1; i =100; i++)); do iostat -dxI ad8|tail +3; sleep 5; done
ad8  10291.0 569044.0 151986.0 10164944.0 4294967295  47.7  93
ad8  10304.0 570070.0 152012.0 10185395.0 4294967295  47.6  93
ad8  10312.0 571047.0 152028.0 10204575.0   85  47.5  93
ad8  10317.0 571729.0 152038.0 10217633.0 4294967295  47.5  93
ad8  10321.0 572363.0 152046.0 10230152.0 4294967295  47.4  93
ad8  10324.0 573863.0 152052.0 10247668.0 4294967295  48.2  93
ad8  10325.0 574438.0 152054.0 10259296.0 4294967295  48.1  93
ad8  10330.0 575150.0 152078.0 10273362.0 4294967295  48.1  93
ad8  10332.0 575693.0 152082.0 10283567.0 4294967295  48.0  93
ad8  10334.0 576478.0 152086.0 10298971.0 4294967295  48.0  93
ad8  10337.0 577363.0 152092.0 10316766.0 4294967295  47.9  93
ad8  10340.0 578501.0 152098.0 10328958.0 4294967295  48.4  93
ad8  10343.0 579682.0 152104.0 10352494.0 4294967295  48.3  93
ad8  10349.0 580806.0 152116.0 10375251.0 4294967295  48.2  93
ad8  10356.0 581462.0 152200.0 10387402.00  48.1  93
ad8  10362.0 582392.0 152212.0 10405738.0 4294967295  48.1  93
ad8  10367.0 583326.0 15.0 10424055.0 4294967295  48.0  93
ad8  10367.0 584412.0 15.0 10432981.0 4294967295  48.7  93
ad8  10376.0 585764.0 152240.0 10460020.0 4294967295  48.6  93
ad8  10377.0 586649.0 152242.0 10477525.0 4294967295  48.5  93
ad8  10382.0 587266.0 152252.0 10488950.0 4294967295  48.5  93
ad8  10392.0 587977.0 152272.0 10503115.0 4294967295  48.4  93
ad8  10402.0 588713.0 152292.0 10518177.0 4294967295  48.4  93
ad8  10403.0 589831.0 152294.0 10527746.0   16  48.8  93
ad8  10419.0 590811.0 152326.0 10547455.0 4294967295  48.7  93

___
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


php52-spl doesn't compile

2010-05-05 Thread n dhert
(FreeBSD 8.0 amd64)
As part of
# cd /usr/ports/lang/php52-extensions
# make install clean
I get teh error below..

What's wrong and how to remedy?


...
===  Building for php52-spl-5.2.13
/bin/sh /usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/libtool
--mode=compil
e cc  -I. -I/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl
-DPHP_ATOM_INC -I
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/include
-I/usr/ports/devel/ph
p52-spl/work/php-5.2.13/ext/spl/main
-I/usr/ports/devel/php52-spl/work/php-5.2.1
3/ext/spl -I/usr/local/include/php -I/usr/local/include/php/main
-I/usr/local/in
clude/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext
-I/usr
/local/include/php/ext/date/lib -I/usr/local/include/libxml2
-I/usr/local/includ
e  -DHAVE_CONFIG_H  -O2 -pipe -fno-strict-aliasing   -c
/usr/ports/devel/php52-s
pl/work/php-5.2.13/ext/spl/php_spl.c -o php_spl.lo
...
In file included from
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_arr
ay.h:26,
 from
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_eng
ine.c:32:
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.h:27:31:
error:
 ext/pcre/php_pcre.h: No such file or directory
In file included from
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_arr
ay.h:26,
 from
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_eng
ine.c:32:
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.h:147:
error: e
xpected specifier-qualifier-list before 'pcre_cache_entry'
*** Error code 1
In file included from
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_arr
ay.c:34:
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.h:27:31:
error:
 ext/pcre/php_pcre.h: No such file or directory
In file included from
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_arr
ay.c:34:
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.h:147:
error: e
xpected specifier-qualifier-list before 'pcre_cache_entry'
In file included from
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_ite
rators.c:34:
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.h:27:31:
error:
 ext/pcre/php_pcre.h: No such file or directory
In file included from
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_ite
rators.c:34:
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.h:147:
error: e
xpected specifier-qualifier-list before 'pcre_cache_entry'
*** Error code 1
In file included from
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_arr
ay.h:26,
 from
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/php_spl
.c:32:
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.h:27:31:
error:
 ext/pcre/php_pcre.h: No such file or directory
In file included from
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_arr
ay.h:26,
 from
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/php_spl
.c:32:
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.h:147:
error: e
xpected specifier-qualifier-list before 'pcre_cache_entry'
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.c: In
function
'spl_dual_it_construct':
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.c:1022:
error:
'struct anonymous' has no member named 'regex'
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.c:1023:
error:
'struct anonymous' has no member named 'pce'
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.c:1024:
error:
'struct anonymous' has no member named 'pce'
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.c:1029:
error:
'struct anonymous' has no member named 'pce'
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.c: In
function
'zim_spl_RegexIterator_accept':
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.c:1397:
error:
'struct anonymous' has no member named 'pce'
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.c:1397:
error:
'struct anonymous' has no member named 'pce'
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.c:1409:
error:
'struct anonymous' has no member named 'pce'
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.c:1422:
error:
'struct anonymous' has no member named 'pce'
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.c:1429:
error:
'struct anonymous' has no member named 'pce'
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.c:1429:
warning
: assignment makes pointer from integer without a cast
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.c: In
function
'zim_spl_RecursiveRegexIterator_getChildren':
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.c:1552:
error:
'struct anonymous' has no member named 'regex'
/usr/ports/devel/php52-spl/work/php-5.2.13/ext/spl/spl_iterators.c: In
function
'spl_dual_it_free_storage':

Re: compile error kdelibs4

2010-05-05 Thread Lowell Gilbert
Marco Beishuizen mb...@xs4all.nl writes:

 I'm getting an error compiling kdelibs4:

 /usr/local/include/qptrlist.h: In copy constructor
 QPtrListtype::QPtrList(const QPtrListtype) [with type =
 QDBusSignature]':
 /usr/local/include/qt4/QtCore/qmetatype.h:138:   instantiated from
 void* qMetaTypeConstructHelper(const T*) [with T =
 QPtrListQDBusSignature]'
 /usr/local/include/qt4/QtCore/qmetatype.h:163:   instantiated from
 int qRegisterMetaType(const char*, T*) [with T =
 QPtrListQDBusSignature]'
 /usr/local/include/qt4/QtDBus/qdbusextratypes.h:186:   instantiated
 from here
 /usr/local/include/qptrlist.h:69: error: type 'QGList' is not a direct
 base of 'QPtrListQDBusSignature'
 *** Error code 1
 3 errors
 *** Error code 2
 1 error
 *** Error code 2
 1 error
 *** Error code 1

 Has anyone an idea what's the problem here?

You seem to have a bunch of unique problems.  Have you customized your
compiler usage?  Do you have any  settings in make.conf or other
relevant /etc files?

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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: compile error kdelibs4

2010-05-05 Thread Marco Beishuizen

On Wed, 5 May 2010, Lowell Gilbert wrote:


You seem to have a bunch of unique problems.  Have you customized your
compiler usage?  Do you have any  settings in make.conf or other
relevant /etc files?


I've never done anything to compiler settings afaik. My /etc/make.conf 
looks like this:


CPUTYPE=nocona
NO_PROFILE=true
OVERRIDE_LINUX_BASE_PORT=f10
OVERRIDE_LINUX_NONBASE_PORTS=f10
# added by use.perl 2010-02-13 13:24:46
PERL_VERSION=5.10.1

Regards,
Marco
--
I know if you been talkin' you done said
just how surprised you wuz by the living dead.
You wuz surprised that they could understand you words
and never respond once to all the truth they heard.
But don't you get square!
There ain't no rule that says they got to care.
They can always swear they're deaf, dumb and blind.
___
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


newsyslog not reading /ect/rc.conf arguments?

2010-05-05 Thread Paul Hoffman
Greetings again. Running FreeBSD 8.0, I have added the following to 
/etc/rc.conf:
  newsyslog_flags=-a /usr/old-log/
I have stopped and started newsyslog. However, the rotated logs are still being 
written into /var/log. No errors appear in /var/log/messages or in dmesg.

Any clues?

--Paul Hoffman
___
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


HP NC522SFP 10GE-Adapter under FreeBSD?

2010-05-05 Thread Ewald Jenisch
Hi,

Does anybody know whether the HP NC522 SFP 10GE-Adapter
(http://h18000.www1.hp.com/products/servers/networking/nc522sfp/index.html)
is supported under FreeBSD.

HP only lists various Windoze and Linux as supported but I'd like to
get this baby going under FreeBSD 8.0.

Any experience with this piece of hardware under FreeBSD?

Thanks much in advance for your help,
-ewald
___
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: Suspect results from iostat--FBSD bug?

2010-05-05 Thread Giorgos Keramidas
On Wed, 5 May 2010 07:34:55 -0500, Peter Steele pste...@maxiscale.com wrote:
 We use iostat to collect statistics of hard drive activity. We've been
 seeing some values for the transaction wait column that look
 suspicious. This is easy to reproduce by just running iostat
 repeatedly over a short period of time, as I show below. Notice the
 third from last column. From what I understand, when run in this
 fashion the values displayed are averaged over the system uptime. I'd
 expect then for the transaction wait value to not take these sudden
 dips. Is there an explanation for this?

 # for ((i=1; i =100; i++)); do iostat -dxI ad8|tail +3; sleep 5; done
 ad8  10291.0 569044.0 151986.0 10164944.0 4294967295  47.7  93
 ad8  10304.0 570070.0 152012.0 10185395.0 4294967295  47.6  93
 ad8  10312.0 571047.0 152028.0 10204575.0   85  47.5  93

This looks like a bug in iostat.  4294967295 == 2 * 32 - -1

It seems that some call returns (unsigned long)-1, e.g. to indicate a
failing system/library call but iostat still prints the result:

: keram...@kobe:/home/keramida$ cat -n demo.c
:  1  #include limits.h
:  2  #include stdio.h
:  3
:  4  int
:  5  main(void)
:  6  {
:  7  (void)printf(-1 = %lu\n, (unsigned long)-1);
:  8  return 0;
:  9  }
: keram...@kobe:/home/keramida$ cc demo.c
: keram...@kobe:/home/keramida$ ./a.out
: -1 = 4294967295
: keram...@kobe:/home/keramida$

Which _precise_ version of FreeBSD are you using?

___
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: newsyslog not reading /ect/rc.conf arguments?

2010-05-05 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul Hoffman wrote:
 Greetings again. Running FreeBSD 8.0, I have added the following to 
 /etc/rc.conf:
   newsyslog_flags=-a /usr/old-log/
 I have stopped and started newsyslog. However, the rotated logs are still 
 being written into /var/log. No errors appear in /var/log/messages or in 
 dmesg.
 
 Any clues?
 
 --Paul Hoffman

Hi Paul,

newsyslog is invoked at boot time by the /etc/rc.d/newsyslog script to
create missing log files, but after that, it's invoked regularly by cron
to do the actual rotations.  Check the /etc/crontab file and add your
flags there, and you should be all set.

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFL4Ys+0sRouByUApARAoYwAJ9VjG0SH6fOmlil+kvJtadlg+VX3QCgl7aq
7be/1LJn4coaeF12O9G49Vc=
=0zhA
-END PGP SIGNATURE-

___
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: newsyslog not reading /ect/rc.conf arguments?

2010-05-05 Thread Giorgos Keramidas
On Wed, 5 May 2010 08:01:26 -0700, Paul Hoffman phoff...@proper.com wrote:
 Greetings again. Running FreeBSD 8.0, I have added the following to 
 /etc/rc.conf:

   newsyslog_flags=-a /usr/old-log/

 I have stopped and started newsyslog. However, the rotated logs are
 still being written into /var/log. No errors appear in
 /var/log/messages or in dmesg.

How did you start newsyslog?  There's an rc.d script that should *read*
the flags from rc.conf:

/etc/rc.d/newsyslog start

___
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


Is it safe to increase / double kern.maxvnodes under FreeBSD 6.4 i386?

2010-05-05 Thread Karl Pielorz


Hi,

We had some issues at the weekend that left one of our machines with a 
very, very large sendmail queue...


While we were trying to sort it out we noticed the machine takes over 4 
minutes to go through the queue (i.e. 'mailq').


I noticed the machine was hovering around the maxvnode limit - so I upped 
it.


The 'sweet spot' appears to be:

 sysctl -w kern.maxvnodes=25

That cuts the time to run a mailq from over four minutes down to 12 seconds.

The machine has 2Gb of RAM, and is 'moderately' loaded (normally) - is it 
wise to leave that setting at 250,000 - or is it likely to cause other 
issues (i.e. kernel memory issues) - is there any metric I can look at / 
check to see if we can get away with leaving it that high?


The only stuff I can seem to find on the 'net mostly concerns upping it 
under amd64 as that uses a different mapping method for vnodes - I can't 
seem to find anything that covers increasing it that much (2.5 * the 
default of 100,000) under i386.


As it obviously makes a huge difference for us, I'd love to leave it in 
place - but don't want to risk anything drastic like a panic.


Thanks,

-Karl
___
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: Samba 3.5.2 with/out aio on FreeBSD 7.2

2010-05-05 Thread Timur I. Bakeyev
The real answer would be: if you don't know, what you are doing -
don't compile from source.

Timur.

On Tue, Apr 27, 2010 at 10:44 PM, Gabor Radnai gabor.rad...@gmail.com wrote:
 Hi,

 I have a FreeBSD 7.2/amd64 machine with Samba 3.4.5 with aio support
 enabled. If I try to upgrade to Samba 3.5.2 from source aio support compiles
 but I receive Abnormal server exit: Failed to setup RT_SIGNAL_AIO handler
 fatal error from smbd. Without aio 3.5.2 too works nice.

 Did somebody successfully compiled and run Samba 3.5.2 with aio enabled?
 What special compile/runtime option would be required to enable aio?

 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


RE: Suspect results from iostat--FBSD bug?

2010-05-05 Thread Peter Steele
This looks like a bug in iostat.  4294967295 == 2 * 32 - -1

It seems that some call returns (unsigned long)-1, e.g. to indicate a failing 
system/library call but iostat still prints the result:

Which _precise_ version of FreeBSD are you using?

Well, that's a good question. The particular version I am running right now is 
basically FreeBSD 9.0-CURRENT (well, from a free weeks ago anyway) with lots of 
local kernel mods (to support drive pull primarily). I guess we could very well 
be hitting a bug in this 9.0 code since it hasn't officially been stamped as 
released...

___
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


dangerously dedicated disks and 8-stable status

2010-05-05 Thread krad
I updated a production box at work last night from freebsd 6.2 to 8-stable,
via 7-stable. The upgrade went ok just a minor glitch in jumping from 7 to
8. Basically all the device names changed from mfid0s1[a-g] to mfid0[a-g]. I
presume this is because the initial layout was  in dangerously dedicated
mode. Two issues here why did the naming scheme seem to indicate a more
normal MBR disk layout in bsd 6 and 7. Second what is the current status of
dangerously dedicated in 8-stable as i thought support was being dropped.
___
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


saving job state over a power outage

2010-05-05 Thread Joey Mingrone
Hello,

Our lab has a cluster (Sun Fire X40z master node, Opteron 270 and
generic 2.0 GHz Opteron based compute nodes) running 8.0-RELEASE.
We've been informed that the power has to be turned off for the
weekend, but one of the lab members has been running some jobs since
December.  I don't know much about the jobs, i.e., if they can be
restarted without losing all the computing work that's been done so
far.

Can anyone suggest a way to save the state of the jobs so they can
continue when the power comes back on?  From experience, ACPI seems
flaky if it will work at all because of problems with BIOS
implementations.  Also, iirc ACPI has issues with SMP kernels.  Is
there something similar to software suspend found in Linux?  Does
anyone have any other suggestions to accomplish this?

Thanks in advance,

Joey Mingrone
___
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


booting??

2010-05-05 Thread Gary Kline

well, the pcbsd iso on my dvd-rw seems to be doing something.  i
have at least seven junk dvd's that k3b tells me are full.  is
there a way of erasing these 7 discs or are they trash?

(I did try 

  # cdrecord dev=1,0,0 foo.iso 
  
on a non-empty and and empty DVD.  no joy.   k3b knew howto do it
right.  what are the magic commands to use from the cmdline to 
erase my dvd?  is there a utility to erase?

  tia,

  gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Money-back Novel

___
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: Samba 3.5.2 with/out aio on FreeBSD 7.2

2010-05-05 Thread Matthias
Guess that's the Russian way to say google is your best friend...:P

@gabor:
did you load the AIO module?


On 5 mei 2010, at 17:58, Timur I. Bakeyev wrote:

 The real answer would be: if you don't know, what you are doing -
 don't compile from source.
 
 Timur.
 
 On Tue, Apr 27, 2010 at 10:44 PM, Gabor Radnai gabor.rad...@gmail.com wrote:
 Hi,
 
 I have a FreeBSD 7.2/amd64 machine with Samba 3.4.5 with aio support
 enabled. If I try to upgrade to Samba 3.5.2 from source aio support compiles
 but I receive Abnormal server exit: Failed to setup RT_SIGNAL_AIO handler
 fatal error from smbd. Without aio 3.5.2 too works nice.
 
 Did somebody successfully compiled and run Samba 3.5.2 with aio enabled?
 What special compile/runtime option would be required to enable aio?
 
 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

___
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: newsyslog not reading /ect/rc.conf arguments?

2010-05-05 Thread Paul Hoffman
At 6:14 PM +0300 5/5/10, Giorgos Keramidas wrote:
How did you start newsyslog?  There's an rc.d script that should *read*
the flags from rc.conf:

/etc/rc.d/newsyslog start

Yes, exactly. I did '/etc/rc.d/newsyslog stop', then '/etc/rc.d/newsyslog 
start'.


At 11:14 AM -0400 5/5/10, Greg Larkin wrote:
newsyslog is invoked at boot time by the /etc/rc.d/newsyslog script to
create missing log files, but after that, it's invoked regularly by cron
to do the actual rotations.  Check the /etc/crontab file and add your
flags there, and you should be all set.

Thanks, I see that now.

This seems like a broken model: intial boot and later restarts uses arguments 
from /etc/rc.conf, but the periodic call does not. I don't think we want people 
modifying /etc/crontab, do we? Shouldn't /etc/crontab be calling 
'/etc/rc.d/newsyslog restart' instead?

--Paul Hoffman
___
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: Server disappears from network

2010-05-05 Thread Scott Johnson
 IIRC, there was a memory leak in the em driver for 8.0.  That and a 
bunch of other improvments
 to the em driver have happened since then so 
you may want to give 8-STABLE a go.

After some googling, I think I've found the problem: bug kern/144330, recently 
fixed in 8-stable.

I think it's unfortunate that such a bug (mbuf leakage) would manifest itself 
in this way. It is bad behavior for a server to simply disappear from the 
network with no other indication of what went wrong. Shouldn't there be 
something in /var/log/messages when the system runs out of mbufs?
___
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: Samba 3.5.2 with/out aio on FreeBSD 7.2

2010-05-05 Thread Gabor Radnai
Guys, arrogance and bad humor is not very helpful ...

Pls read again: I have a working version 3.4.5 _with_ aio. So, yes I know
what I am doing and yes, aio module is loaded. And yes, I know google. And
as I am asking here then no, I have not found any help yet.

My problem is that when using version 3.5.2 (which was compiled with
aio-support on and still aio module is loaded) I get this error message
below.

Any real help?

Thanks.

On Wed, May 5, 2010 at 6:59 PM, Matthias mgamsja...@gmail.com wrote:

 Guess that's the Russian way to say google is your best friend...:P

 @gabor:
 did you load the AIO module?


 On 5 mei 2010, at 17:58, Timur I. Bakeyev wrote:

  The real answer would be: if you don't know, what you are doing -
  don't compile from source.
 
  Timur.
 
  On Tue, Apr 27, 2010 at 10:44 PM, Gabor Radnai gabor.rad...@gmail.com
 wrote:
  Hi,
 
  I have a FreeBSD 7.2/amd64 machine with Samba 3.4.5 with aio support
  enabled. If I try to upgrade to Samba 3.5.2 from source aio support
 compiles
  but I receive Abnormal server exit: Failed to setup RT_SIGNAL_AIO
 handler
  fatal error from smbd. Without aio 3.5.2 too works nice.
 
  Did somebody successfully compiled and run Samba 3.5.2 with aio enabled?
  What special compile/runtime option would be required to enable aio?
 
  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: booting??

2010-05-05 Thread Andrew Gould
On Wed, May 5, 2010 at 11:59 AM, Gary Kline kl...@thought.org wrote:

 well, the pcbsd iso on my dvd-rw seems to be doing something.  i
 have at least seven junk dvd's that k3b tells me are full.  is
 there a way of erasing these 7 discs or are they trash?

 (I did try

  # cdrecord dev=1,0,0 foo.iso

 on a non-empty and and empty DVD.  no joy.   k3b knew howto do it
 right.  what are the magic commands to use from the cmdline to
 erase my dvd?  is there a utility to erase?

  tia,

  gary


Check out the following web page:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-dvds.html

Andrew
___
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: compile error kdelibs4

2010-05-05 Thread Marco Beishuizen

On Wed, 5 May 2010, Lowell Gilbert wrote:


Has anyone an idea what's the problem here?


You seem to have a bunch of unique problems.  Have you customized your
compiler usage?  Do you have any  settings in make.conf or other
relevant /etc files?


This one seems solved. It seems that libkde4 doesn't compile when qt33 is 
installed. After deinstalling qt33, libkde4 compiled ok.


--
What is truth?  We must adopt a pragmatic definition: it is what is believed
to be the truth.  A lie that is put across therefore becomes the truth and
may, therefore, be justified.  The difficulty is to keep up lying... it is
simpler to tell the truth and if a sufficient emergency arises, to tell one,
big thumping lie that will then be believed.
-- Ministry of Information, memo on the maintenance of
   British civilian morale, 1939
___
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: booting??

2010-05-05 Thread Polytropon
On Wed, 5 May 2010 09:59:35 -0700, Gary Kline kl...@thought.org wrote:
 (I did try 
 
   # cdrecord dev=1,0,0 foo.iso 
   
 on a non-empty and and empty DVD.  no joy. 

I'm not sure it's safe to use cdrecord for DVDs. Anyway, I
always wqas lucky using growisofs (from port dvd+rw-tools).
This is the command:

# growisofs -dvd-compat -Z /dev/dvd=foo.iso

You can replace /dev/dvd with the ATAPICAM device refering
to your DVD recorder, usually something like /dev/cd0. The
command

# camcontrol devlist

shows you the device name (löok for the SCSI ID 1,0,0 as
from your cdrecord example).



 what are the magic commands to use from the cmdline to 
 erase my dvd?  is there a utility to erase?

In man growisofs I found this:

Note that DVD+RW re-formatting procedure does not
substitute for blanking.  If you want to nullify
the media, e.g. for privacy reasons, do it
explicitly with 'growisofs -Z /dev/dvd=/dev/zero'.

This should work, or try the respective cdrecord blank=
command (all or fast).


-- 
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: dangerously dedicated disks and 8-stable status

2010-05-05 Thread Polytropon
On Wed, 5 May 2010 17:17:09 +0100, krad kra...@googlemail.com wrote:
 I updated a production box at work last night from freebsd 6.2 to 8-stable,
 via 7-stable. The upgrade went ok just a minor glitch in jumping from 7 to
 8. Basically all the device names changed from mfid0s1[a-g] to mfid0[a-g]. I
 presume this is because the initial layout was  in dangerously dedicated
 mode.

That's strange. Dangerously dedicated partitioning omits the
slicing part, so if you had mfid0s1[a-g] in 6 and 7, there was
a slice. Maybe the mfi driver is different in 8 in terms of
representing the disks?



 Two issues here why did the naming scheme seem to indicate a more
 normal MBR disk layout in bsd 6 and 7.

Very strange - if you can check booting from a live system CD
or DVD with FreeBSD 6 and 7, and the disks are mfid0s1[a-g],
and if you boot into FreeBSD 8, the disks are mfid0[a-g], that's
really strange...



 Second what is the current status of
 dangerously dedicated in 8-stable as i thought support was being dropped.

The support has been removed from sysinstall. You can't create
dedicated partitions (without slice) with sysinstall, but you
can create them manually (e. g. using bsdlabel and newfs). So
support isn't dropped at all - dedicated disks just is a new
special secret feature. :-)



-- 
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


PCI devices without drivers

2010-05-05 Thread Eitan Adler
I ran the following command and I was wondering how I could figure out
what drivers are needed for each of the following.

$pciconf -lv|grep -A 4 none
no...@pci0:0:31:3:  class=0x0c0500 card=0x3a1d17aa chip=0x29308086
rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) SMBus Controller'
class  = serial bus
subclass   = SMBus
no...@pci0:2:0:0:   class=0x088000 card=0x3d9b17aa chip=0x2382197b
rev=0x00 hdr=0x00
vendor = 'JMicron Technology Corp.'
device = 'JMB38X SD/MMC Host Controller (JMB38X)'
class  = base peripheral
no...@pci0:2:0:2:   class=0x080501 card=0x3d9a17aa chip=0x2381197b
rev=0x00 hdr=0x00
vendor = 'JMicron Technology Corp.'
class  = base peripheral
subclass   = SD host controller
no...@pci0:2:0:3:   class=0x088000 card=0x3d9c17aa chip=0x2383197b
rev=0x00 hdr=0x00
vendor = 'JMicron Technology Corp.'
device = 'JMB38X MS Host Controller (JMB38X)'
class  = base peripheral
___
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: newsyslog not reading /ect/rc.conf arguments?

2010-05-05 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul Hoffman wrote:
 At 6:14 PM +0300 5/5/10, Giorgos Keramidas wrote:
 How did you start newsyslog?  There's an rc.d script that should *read*
 the flags from rc.conf:

/etc/rc.d/newsyslog start
 
 Yes, exactly. I did '/etc/rc.d/newsyslog stop', then '/etc/rc.d/newsyslog 
 start'.
 
 
 At 11:14 AM -0400 5/5/10, Greg Larkin wrote:
 newsyslog is invoked at boot time by the /etc/rc.d/newsyslog script to
 create missing log files, but after that, it's invoked regularly by cron
 to do the actual rotations.  Check the /etc/crontab file and add your
 flags there, and you should be all set.
 
 Thanks, I see that now.
 
 This seems like a broken model: intial boot and later restarts uses arguments 
 from /etc/rc.conf, 
 but the periodic call does not. I don't think we want people modifying 
 /etc/crontab, do we? 
 Shouldn't /etc/crontab be calling '/etc/rc.d/newsyslog restart' instead?
 
 --Paul Hoffman

Hi Paul,

The problem here is that the /etc/rc.d/newsyslog script is used to
initialize the system at boot time with missing log files specified by
/etc/newsyslog.conf and not do any log rotation.  The arguments passed
to that invocation of newsyslog are (by default):

- -C  If specified once, then newsyslog will create any log files
which do not exist, and which have the C flag specified in their
config file entry.  If specified multiple times, then newsyslog
will create all log files which do not already exist.  If log
files are given on the command-line, then the -C or -CC will
only apply to those specific log files.
- -N  Do not perform any rotations.  This option is intended to be
used with the -C or -CC options when creating log files is the
only objective.

Because -N is not used under normal circumstances, but should be used at
boot time, you would need two different specifications for newsyslog
flags in /etc/rc.conf, one for boot time and one for invocation from cron.

That would complicate the rc system somewhat, so I would lean toward
simply adding your preferred arguments to the crontab file.  I modify
the system crontab file on my machines, and I don't think there's a big
problem doing that.

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFL4b4w0sRouByUApARArxgAJ4gvUbJK69ApZ9tr1LNE1fWd20fjgCfc4db
qyR2z9wgv53vIAYGQ+2u0HU=
=8qby
-END PGP SIGNATURE-

___
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


Received signal 15; terminating.

2010-05-05 Thread Antonio Kless
Received signal 15; terminating.

- this is the last line in /var/log/auth.log before my 7.2-STABLE suddenly
shut down. Something with signal 15 also was in /var/log/messages, but I
can't copy it exactly.

What could produce halting of system with this symptoms, if I sure that
nobody could just type shutdown or halt in root console?


-- 
Best regards,
Antonio Kless,
http://kless.spb.ru/
___
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


Magic Jack VOIP telephone

2010-05-05 Thread Lee Shackelford

Good afternoon, FreeBSD enthusiasts.  Have any of you attempted to use
Magic Jack VOIP telephone with an Intel workstation equipped with FreeBSD
operating system?  It is supposed to work with Mac OSX, which I understand
to be similar to FreeBSD, but I do not know if it is sufficiently similar.
Would appreciate a response from anyone who has attempted such a use,
whether successful, or unsuccessful.  Thank you.  L e e _ S h a c k e l f o
r d @ d o t . c a . g o v

___
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: Magic Jack VOIP telephone

2010-05-05 Thread Alejandro Imass
On Wed, May 5, 2010 at 3:16 PM, Lee Shackelford
lee_shackelf...@dot.ca.gov wrote:

 Good afternoon, FreeBSD enthusiasts.  Have any of you attempted to use
 Magic Jack VOIP telephone with an Intel workstation equipped with FreeBSD

Hi there, and sorry to be so blunt.

MagicJack is a piece of crap. The dongle is just an a/d conerter to
plug-in a regular phone, the rest is pure software. I had to throow 2
away because of lack of Linux support and just stuck with Skype who
now BTW offers international SIP services, so I also hooked up Skype +
Asterisk. This means you can purchase Skype phone # and attach it to
your Asterisk and everything in FBSD. No Windoze crappy software.

 operating system?  It is supposed to work with Mac OSX, which I understand
 to be similar to FreeBSD, but I do not know if it is sufficiently similar.
 Would appreciate a response from anyone who has attempted such a use,
 whether successful, or unsuccessful.  Thank you.  L e e _ S h a c k e l f o
 r d @ d o t . c a . g o v

 ___
 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: Magic Jack VOIP telephone

2010-05-05 Thread Outback Dingo
not sure id waste my time on Magic Jack, let alone working with FreeBSD

On Wed, May 5, 2010 at 3:16 PM, Lee Shackelford
lee_shackelf...@dot.ca.govwrote:


 Good afternoon, FreeBSD enthusiasts.  Have any of you attempted to use
 Magic Jack VOIP telephone with an Intel workstation equipped with FreeBSD
 operating system?  It is supposed to work with Mac OSX, which I understand
 to be similar to FreeBSD, but I do not know if it is sufficiently similar.
 Would appreciate a response from anyone who has attempted such a use,
 whether successful, or unsuccessful.  Thank you.  L e e _ S h a c k e l f o
 r d @ d o t . c a . g o v

 ___
 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


Problems booting up on 1201N

2010-05-05 Thread Phusion
I recently got a Asus 1201N and installed FreeBSD 8.0 on it. This uses
the alc (Atheros AR8132 PCIe Fast Ethernet) NIC card.

/etc/rc.conf
  hostname=host.test.com
  ifconfig_alc0=DHCP

I noticed that if I start up the computer with the network cable
unplugged it will hang at the following spot. This happens right after
installing meaning I can install the OS and have the NIC get a DHCP IP
address and then when rebooting I unplug the network cable and it
hangs.

Setting hostname: host.test.com

So, this must mean that it finishes running /etc/rc.d/hostname, but
I'm not sure what comes next in the boot process.

Phusion
___
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: dangerously dedicated disks and 8-stable status

2010-05-05 Thread krad
On 5 May 2010 18:55, Polytropon free...@edvax.de wrote:

 On Wed, 5 May 2010 17:17:09 +0100, krad kra...@googlemail.com wrote:
  I updated a production box at work last night from freebsd 6.2 to
 8-stable,
  via 7-stable. The upgrade went ok just a minor glitch in jumping from 7
 to
  8. Basically all the device names changed from mfid0s1[a-g] to
 mfid0[a-g]. I
  presume this is because the initial layout was  in dangerously dedicated
  mode.

 That's strange. Dangerously dedicated partitioning omits the
 slicing part, so if you had mfid0s1[a-g] in 6 and 7, there was
 a slice. Maybe the mfi driver is different in 8 in terms of
 representing the disks?



  Two issues here why did the naming scheme seem to indicate a more
  normal MBR disk layout in bsd 6 and 7.

 Very strange - if you can check booting from a live system CD
 or DVD with FreeBSD 6 and 7, and the disks are mfid0s1[a-g],
 and if you boot into FreeBSD 8, the disks are mfid0[a-g], that's
 really strange...

 I agree, but it definitely happened, as i did the upgrade remotely. Luckily
the data center was only a mile or so away from my home, so it wasn't a
major disaster to console it, point the kernel at  the correct device and
tweak fstab. COst me an hour more sleep than it had to though 8(

I have another box to do in the next day or so. Is there anything you
recommend me looking at/running? Hopefully this box will have a drac card in
it 8)



  Second what is the current status of
  dangerously dedicated in 8-stable as i thought support was being dropped.

 The support has been removed from sysinstall. You can't create
 dedicated partitions (without slice) with sysinstall, but you
 can create them manually (e. g. using bsdlabel and newfs). So
 support isn't dropped at all - dedicated disks just is a new
 special secret feature. :-)


 This was the bit i was worried about, as i didnt want to get caught out in
the future when I want to upgrade again


 --
 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: dangerously dedicated disks and 8-stable status

2010-05-05 Thread krad
On 5 May 2010 21:28, krad kra...@googlemail.com wrote:



 On 5 May 2010 18:55, Polytropon free...@edvax.de wrote:

 On Wed, 5 May 2010 17:17:09 +0100, krad kra...@googlemail.com wrote:
  I updated a production box at work last night from freebsd 6.2 to
 8-stable,
  via 7-stable. The upgrade went ok just a minor glitch in jumping from 7
 to
  8. Basically all the device names changed from mfid0s1[a-g] to
 mfid0[a-g]. I
  presume this is because the initial layout was  in dangerously dedicated
  mode.

 That's strange. Dangerously dedicated partitioning omits the
 slicing part, so if you had mfid0s1[a-g] in 6 and 7, there was
 a slice. Maybe the mfi driver is different in 8 in terms of
 representing the disks?



  Two issues here why did the naming scheme seem to indicate a more
  normal MBR disk layout in bsd 6 and 7.

 Very strange - if you can check booting from a live system CD
 or DVD with FreeBSD 6 and 7, and the disks are mfid0s1[a-g],
 and if you boot into FreeBSD 8, the disks are mfid0[a-g], that's
 really strange...

 I agree, but it definitely happened, as i did the upgrade remotely.
 Luckily the data center was only a mile or so away from my home, so it
 wasn't a major disaster to console it, point the kernel at  the correct
 device and tweak fstab. COst me an hour more sleep than it had to though 8(

 I have another box to do in the next day or so. Is there anything you
 recommend me looking at/running? Hopefully this box will have a drac card in
 it 8)



  Second what is the current status of
  dangerously dedicated in 8-stable as i thought support was being
 dropped.

 The support has been removed from sysinstall. You can't create
 dedicated partitions (without slice) with sysinstall, but you
 can create them manually (e. g. using bsdlabel and newfs). So
 support isn't dropped at all - dedicated disks just is a new
 special secret feature. :-)


 This was the bit i was worried about, as i didnt want to get caught out in
 the future when I want to upgrade again


 --

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




Hmm, things get a little strange

on a box I built from scratch

# bsdlabel /dev/mfid0
bsdlabel: /dev/mfid0: no valid label found

# bsdlabel /dev/mfid0s1
# /dev/mfid0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  419430404.2BSD 2048 16384 28528
  b:  8388608  4194304  swap
  c: 2854589220unused0 0 # raw part, don't
edit
  d: 16777216 125829124.2BSD 2048 16384 28528
  e:  8388608 293601284.2BSD 2048 16384 28528
  f:  8388608 377487364.2BSD 2048 16384 28528
  g: 129954672 461373444.2BSD 2048 16384 28528
  h: 109366906 1760920164.2BSD 2048 16384 28528

All fairly normal

One the next box I have to upgrade (built by a former employee who was well
known for his qwirky ways)

# bsdlabel /dev/mfid0s1
# /dev/mfid0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  209715204.2BSD 2048 16384 28528
  b: 16777216  2097152  swap
  c: 1420820480unused0 0 # raw part, don't
edit
  d: 16777216 188743684.2BSD 2048 16384 28528
  e: 16777216 356515844.2BSD 2048 16384 28528
  f: 16777216 524288004.2BSD 2048 16384 28528
  g: 72876032 692060164.2BSD 2048 16384 28528

# bsdlabel /dev/mfid0
# /dev/mfid0:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  209715204.2BSD 2048 16384 28528
  b: 16777216  2097152  swap
  c: 1420820480unused0 0 # raw part, don't
edit
  d: 16777216 188743684.2BSD 2048 16384 28528
  e: 16777216 356515844.2BSD 2048 16384 28528
  f: 16777216 524288004.2BSD 2048 16384 28528
  g: 72876032 692060164.2BSD 2048 16384 28528

not sure what he has done fdisk output is fairly normal on this box as well

*** Working on device /dev/mfid0 ***
parameters extracted from in-core disklabel are:
cylinders=8844 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=8844 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 0, size 142082048 (69376 Meg), flag 80 (active)
beg: cyl 0/ head 0/ sector 1;
end: cyl 1023/ head 50/ sector 38
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED

looks like i will have to change fstab again. At least I wont have to travel
this time though
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, 

Re: kdelibs3 fails to compile

2010-05-05 Thread Marco Beishuizen

On Tue, 4 May 2010, Marco Beishuizen wrote:


./kopenssl.h:532: error: 'STACK' has not been declared
./kopenssl.h:538: error: 'STACK' has not been declared
./kopenssl.h:544: error: expected ';' before '(' token
./kopenssl.h:550: error: ISO C++ forbids declaration of 'STACK' with no type
./kopenssl.h:550: error: expected ';' before '*' token
./kopenssl.h:556: error: 'STACK' has not been declared
./kopenssl.h:562: error: ISO C++ forbids declaration of 'STACK' with no type
./kopenssl.h:562: error: expected ';' before '*' token
./kopenssl.h:828: error: ISO C++ forbids declaration of 'STACK' with no type


This one is solved too. It appears that FreeBSD uses two versions of 
OpenSSL and these two don't mix to well. I had a problem with another port 
some time ago which insisted on installing openssl with MD2 support on 
(wasn't on by default). Now kdelibs3 insists on using the openssl in the 
base system and doesn't like openssl from ports. So I had to deinstall 
openssl from ports first. I don't understand why there isn't just one 
openssl version used.


--
The Three Major Kind of Tools

* Tools for hitting things to make them loose or to tighten them up or
  jar their many complex, sophisticated electrical parts in such a
  manner that they function perfectly.  (These are your hammers, maces,
  bludgeons, and truncheons.)

* Tools that, if dropped properly, can penetrate your foot.  (Awls)

* Tools that nobody should ever use because the potential danger is far
  greater than the value of any project that could possibly result.
  (Power saws, power drills, power staplers, any kind of tool that uses
  any kind of power more advanced than flashlight batteries.)
-- Dave Barry, The Taming of the Screw
___
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: Addition to BSDstats

2010-05-05 Thread Chris Whitehouse

Marc G. Fournier wrote:


can you tell me two things:

nslookup rpt.bsdstats.org

and the contents of /var/db/bsdstats


I seem to have probs with mine too. I was under the impression that 
bsdstats was installed by default (in the base system?) so for a very 
long time I haven't installed it. Obviously I was wrong.


So I've just installed from ports then run:

muji2# /usr/local/etc/periodic/monthly/300.statistics -nodelay
fetch: 
http://rpt.bsdstats.org/scripts/getid.php?key=: 
Connection refused

Posting monthly OS statistics to rpt.bsdstats.org

(Not sure if publishing the key is a security risk so replacing it with x's)

A bit later

muji2# /usr/local/etc/periodic/monthly/300.statistics -nodelay
Posting monthly OS statistics to rpt.bsdstats.org

But www.bsdstats.org/bt/countries.html is still showing only 3 FreeBSD 
in UK. Will it right itself later?


BTW, I can't get the Ports Stats page on the website.

Chris

___
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


2 qstns re pc-bsd...

2010-05-05 Thread Gary Kline

while it installed faitly easily, the ssh studd failed; so is
there any easy way of doing this?  and more important, am i going
to have to join thepc-bsd list or will you guys be pissed off if
i ask here?  [i'm trying to add my beloved zsh [[heart-throbs]],
and ff3, and others. i thought i had installed the ports stuff.
nope.

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

___
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: 2 qstns re pc-bsd...

2010-05-05 Thread Chris Whitehouse

Gary Kline wrote:

i ask here?  [i'm trying to add my beloved zsh [[heart-throbs]],
and ff3, and others. i thought i had installed the ports stuff.
nope.


When I looked at PCBSD some while ago it had 3 ways of doing ports. #1 
is standard (make install) FreeBSD ports, #2 is also standard FreeBSD 
ports but installed to a different location, #3 is PBI which is 
statically compiled (or at least is completely self contained in some 
way) and is a very quick binary install. zsh is available here 
http://www.pbidir.com/bt/pbi/96. The PBI system is a bit of a flagship 
aspect of PCBSD so probably works pretty well.


Method 2, which is the default when you build your own, is designed to 
keep 'your' ports separate from 'system' ports. Because PCBSD is a 
desktop system some ports eg kde are ready installed and are upgraded as 
part of a PCBSD system upgrade. 'Your' ports are installed in a separate 
place to allow PCBSD upgrades to occur without interfering with yours.


That's written from memory of a year ago - please check for yourself in 
case things have changed.


I think you mentioned in a previous post that you wanted PCBSD for some 
server stuff. I'm just curious because PCBSD is clearly aimed at desktop 
use, whereas one might think FreeBSD is a more appropriate choice for 
the server stuff. Not that either couldn't do either job...


Chris


gary





___
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: booting??

2010-05-05 Thread Chris Hill

On Wed, 5 May 2010, Polytropon wrote:


On Wed, 5 May 2010 09:59:35 -0700, Gary Kline kl...@thought.org wrote:

(I did try

  # cdrecord dev=1,0,0 foo.iso

on a non-empty and and empty DVD.  no joy.


I'm not sure it's safe to use cdrecord for DVDs. Anyway, I
always wqas lucky using growisofs (from port dvd+rw-tools).
This is the command:

# growisofs -dvd-compat -Z /dev/dvd=foo.iso

You can replace /dev/dvd with the ATAPICAM device refering
to your DVD recorder, usually something like /dev/cd0. The
command

# camcontrol devlist

shows you the device name (l?ok for the SCSI ID 1,0,0 as
from your cdrecord example).




what are the magic commands to use from the cmdline to
erase my dvd?  is there a utility to erase?


In man growisofs I found this:

Note that DVD+RW re-formatting procedure does not
substitute for blanking.  If you want to nullify
the media, e.g. for privacy reasons, do it
explicitly with 'growisofs -Z /dev/dvd=/dev/zero'.

This should work, or try the respective cdrecord blank=
command (all or fast).


In addition to Polytropon's sage advice, I need to mention that you never 
said that these were rewritable DVDs you're working with. Not saying 
you're that dumb, but *I* am that dumb so it's the sort of thing I might 
have overlooked. Also, make sure that (assuming they are rewritable) they 
are the right kind for your drive: the plus and minus discs are not 
the same; that's DVD+RW versus DVD-RW.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
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: Addition to BSDstats

2010-05-05 Thread Chris Hill

On Tue, 4 May 2010, Marc G. Fournier wrote:


On Tue, 4 May 2010, Gary Kline wrote:


On Tue, May 04, 2010 at 09:12:21PM -0300, Marc G. Fournier wrote:

On Wed, 5 May 2010, Fbsd1 wrote:


BSDSTATS is dead. Don't waste your time.


Not dead, still very active with reports in daily ...


i see a golden opportunity here, marc.  why not post the
basic onlist now?  i've been signed up for a long while and
have never checked ... be nice to see the latest stats.


Stats are updated real time ... just go to http://www.bsdstats.org ...

The only stats that aren't working right now are the ports ones, not 
sure why we disabled that one, but suspect alot of it is size / load 
time related ... the database is *huge* for that ... I'm going to have 
to look into that one ...


Since we're on the topic, and in light of Fbsd1's recent adventure... 
Panama seems awfully high in the country stats. I understand what you said 
upthread about haproxy being in Panama, but it's a small country to be 
always at the top; maybe there's some way to differentiate between really 
in Panama and don't know? It also seems odd that I, personally, as a 
home user, should be responsible for about 3% of the bsdstats-reporting 
FreeBSD machines in the US. (3 hosts out of 101)


Just wondering.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
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: 2 qstns re pc-bsd...

2010-05-05 Thread Gary Kline
On Wed, May 05, 2010 at 11:52:48PM +0100, Chris Whitehouse wrote:
 Gary Kline wrote:
 i ask here?  [i'm trying to add my beloved zsh [[heart-throbs]],
 and ff3, and others. i thought i had installed the ports stuff.
 nope.
 
 When I looked at PCBSD some while ago it had 3 ways of doing ports. #1 
 is standard (make install) FreeBSD ports, #2 is also standard FreeBSD 
 ports but installed to a different location, #3 is PBI which is 
 statically compiled (or at least is completely self contained in some 
 way) and is a very quick binary install. zsh is available here 
 http://www.pbidir.com/bt/pbi/96. The PBI system is a bit of a flagship 
 aspect of PCBSD so probably works pretty well.


hmm.  i clicked on the package icon thing and after clicking
around, the thing went nuts.  maybe it was trying to upgrade
everything from 07jan.

i got tothe Shells table; but then found nowhere to click.
--this was about 70 minutes ago.  i will happily learn about
pbi --ok, not happily, but willingly-- if it lets me dload
the binary.  [[i can Always get the src, right?]  but there
was nowhere that i saw to click that displayed the
pbidir.com/bt/ URL.  How does one get there?  I must have
done something ungodly silly during the install; i thought i
clicked on the ports choice.  not ye olden fashioned #1, but
the #2 you mention above.  hangon; it's about a yard away.  

...not clear.  i think it is updating.  i opened the browser
and do have a link to the net.  one thing that is confusing
is the mouse clicks.  left, then right+ Open. ...

 
 Method 2, which is the default when you build your own, is designed to 
 keep 'your' ports separate from 'system' ports. Because PCBSD is a 
 desktop system some ports eg kde are ready installed and are upgraded as 
 part of a PCBSD system upgrade. 'Your' ports are installed in a separate 
 place to allow PCBSD upgrades to occur without interfering with yours.

it would help [maybe only me] to have a 'Console' frame to
see what is really going on.  all that is shown is a
horizontal strip with blue barber pole stripes and the
percentages ...  Of What, dunno!


 
 That's written from memory of a year ago - please check for yourself in 
 case things have changed.

i'll do that!  looks like this 'pbi' stuff is a solution for
the dependency messes here.  i wonder how much thought has
been given to using that solution here.  Anybody care to jump
in?

 
 I think you mentioned in a previous post that you wanted PCBSD for some 
 server stuff. I'm just curious because PCBSD is clearly aimed at desktop 
 use, whereas one might think FreeBSD is a more appropriate choice for 
 the server stuff. Not that either couldn't do either job...
 


well, the deal was [and still is] that i had to move over to
my other computr or KVM to the other [ubuntu] to play
streams.  audio/video.  for my money, i prefer to listen to
radio streams about 5 to 1, but the standalone BBC || NPR
radio deals wouldn't play on freebsd.  And none of the
video streams played here.  it was partly mucking with that
proprietary Sun stuff, and maybe the flashit too.
nutshell, only on linux did everything work.  

after about 15 years of FreeBSD, i know it fairly well.  so
pc-bsd would be pref to ubuntu.  here, at least, i know where
things live :-)now i may be wrong, but i think openjdk7
got things starting to work. 

a pal, an older student at the UW is going to help me set up
a fail safe, roll-over {fall-back/failsafe} configuration 
that will have my Server stuff AND ~kline.  

when my network was crumbling in jan '08, a guy from dallas 
set me up with a pfSense computer plus the server. very
secure, but just slightly overkill[?] ... my college friend 
thinks we can do everything with ifp or pf or ipfw and DNS,
web and mail and /home.  A backup would be there justincase.  

ok, enuf,   [ tx],

gary


 Chris
 
 gary
 
 
 
 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

___
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: Addition to BSDstats

2010-05-05 Thread Marc G. Fournier

On Wed, 5 May 2010, Chris Whitehouse wrote:


Marc G. Fournier wrote:


can you tell me two things:

nslookup rpt.bsdstats.org

and the contents of /var/db/bsdstats


I seem to have probs with mine too. I was under the impression that bsdstats 
was installed by default (in the base system?) so for a very long time I 
haven't installed it. Obviously I was wrong.


So I've just installed from ports then run:

muji2# /usr/local/etc/periodic/monthly/300.statistics -nodelay
fetch: 
http://rpt.bsdstats.org/scripts/getid.php?key=: 
Connection refused

Posting monthly OS statistics to rpt.bsdstats.org


That one would be a result of the change(s) I made last night to deal with 
everything being recorded as 'Country == Panama' ... it waas a DNS change 
that took a bit to propogate out ...


But www.bsdstats.org/bt/countries.html is still showing only 3 FreeBSD in UK. 
Will it right itself later?


Can you send me your key?  Its still showing just 3 FBSD, but that page 
has definitely been updating in #s, so not sure why it didnt jump to 4 ...


I did narrow down the view in the database from 3 mos to 'just this month' 
so that the country numbers do look accurate, but will re-extend things as 
time goes on with the cleaned up #s ...



BTW, I can't get the Ports Stats page on the website.


I'm going to have to look at re-enabling that one ... that table is so 
huge that processing it was killer ... I've since moved things to a much 
larger server, so will run some tests and get that back online ...



Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.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: Addition to BSDstats

2010-05-05 Thread Marc G. Fournier

On Wed, 5 May 2010, Chris Hill wrote:

Since we're on the topic, and in light of Fbsd1's recent adventure... 
Panama seems awfully high in the country stats. I understand what you 
said upthread about haproxy being in Panama, but it's a small country to 
be always at the top; maybe there's some way to differentiate between 
really in Panama and don't know? It also seems odd that I, 
personally, as a home user, should be responsible for about 3% of the 
bsdstats-reporting FreeBSD machines in the US. (3 hosts out of 101)


You will see those numbers dropping over the course of the month ... if 
ppl out there are reading this and wish to help 'fix the numbers', just 
run:


/usr/local/etc/periodic/monthly/300.statistics -nodelay

to update their records with the right country vs Panama, and you'll see 
it change quickly ... you'll even notice that the overall numbers right 
now are quick low, as I narrowed down the view to just 'so far this 
month' to help bring down the Panama skew, so there is no overlap right 
now with last month ...


The PC-BSD #s are the ones that really skew'd those numbers up though, 
since theirs is auto-installed and always up to date, so unlike alot of 
FBSD users that have old versions installed pointing directly to the 
physical server, the PC-BSD ones were pointing to the load balancer ... 
DNS will have to catch up for them 





 
Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.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: Addition to BSDstats

2010-05-05 Thread Marc G. Fournier

On Wed, 5 May 2010, Chris Whitehouse wrote:

I seem to have probs with mine too. I was under the impression that 
bsdstats was installed by default (in the base system?)


There has been talk about adding it as an option to sysinstall, but, 
unfortunately, I don't have enough knowledge of sysinstall to add it, and 
nobody else has step'd forward that does ... the idea wasn't to 
auto-install/enable, but to make it more visible while you are installing 
...


Anyone out there able to do this ... ?

so for a very 

long time I haven't installed it. Obviously I was wrong.

So I've just installed from ports then run:

muji2# /usr/local/etc/periodic/monthly/300.statistics -nodelay
fetch: 
http://rpt.bsdstats.org/scripts/getid.php?key=: 
Connection refused

Posting monthly OS statistics to rpt.bsdstats.org

(Not sure if publishing the key is a security risk so replacing it with x's)

A bit later

muji2# /usr/local/etc/periodic/monthly/300.statistics -nodelay
Posting monthly OS statistics to rpt.bsdstats.org

But www.bsdstats.org/bt/countries.html is still showing only 3 FreeBSD in UK. 
Will it right itself later?


BTW, I can't get the Ports Stats page on the website.

Chris





Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.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


bash while read question

2010-05-05 Thread Evuraan
I cant figure out why the variable in in loop2 does not hike to +1?
(its a friday, i am dazed, I admit. but this should not be a mystery!)
any help would be much appreciated.


$ cat loop1
#! /bin/bash

date  /tmp/somefile
b=1
while read blah; do
let b=(b+1)
done   /tmp/somefile
echo variable is $b

$ cat loop2
#! /bin/bash

date  /tmp/somefile
b=1
cat /tmp/somefile | while read blah; do
let b=(b+1)
done
echo variable is $b


$ ./loop1
variable is 2

$ ./loop2
variable is 1
___
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


BSDstats website displaying data incorrectly

2010-05-05 Thread Fbsd1


Why does this page show PCBSD has count of 387
http://www.bsdstats.org/bt/home.html?os=

And this page shows PCBSD has count of 1307
http://www.bsdstats.org/bt/home.html?os=PC-BSD

Why is this? I would think both should show the same value, or you 
better add explanation to the web page why the count is different.



And that little selection box on the home page should have some 
explanation of its function. Just sticking it there on the right side of 
the page above the titles hoping someone will fall into it is not user 
friendly.


What is going on with the release stats? What are you showing there?
Is that just for Freebsd? If so then the count is incorrect. This should 
be showing the count for each release under each operating system. IE. 
what release are in use for freebsd, netbsd, openbsd ect.


Website also needs explanation of the time frame being reported. Are the 
values shows as of the the first day of the current month? In general 
the website does not explain much of anything about what is being shown. 
 Put a lot more text describing the overall process and the reporting 
cycle. Also think some kind of operating system monthly growth chart 
over time is needed. Say going back 3 years to current.


The current website is way to passive in the way things are worded. Try 
to inspire people to show their loyalty, allegiance, and devotion by 
running the bsdstats client to anonymously report their usage to the 
benefit of everyone. Developers donate large amounts of their personal 
free time working on the operating systems, the least the users can do 
is fulfill their obligation to demonstrate their gratitude to the 
developers by running bsdstats. Emphasize the reporting is anonymously. 
Website needs to promote it self more. Get on the home page of all the 
different BSD systems. Try to become a default part of the BSD systems 
basic release. Like PCbsd does. Not option to go get it and turn it on, 
but all ready there with option to turn off if desired. This is only 
self promotion of the individual operating systems and should be 
something they should be interested in doing.



___
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: bash while read question

2010-05-05 Thread CyberLeo Kitsana
On 05/05/2010 08:25 PM, Evuraan wrote:
 I cant figure out why the variable in in loop2 does not hike to +1?
 (its a friday, i am dazed, I admit. but this should not be a mystery!)
 any help would be much appreciated.
 snip
 $ cat loop2
 #! /bin/bash
 
 date  /tmp/somefile
 b=1
 cat /tmp/somefile | while read blah; do
 let b=(b+1)
 done
 echo variable is $b

This particular syntax executes the 'while' block in a subshell. The
variables set or altered in the subshell are never propagated back up to
the parent shell.

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
cyber...@cyberleo.net

Furry Peace! - http://.fur.com/peace/
___
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: Addition to BSDstats

2010-05-05 Thread Randi Harper

Marc G. Fournier wrote:

On Wed, 5 May 2010, Chris Whitehouse wrote:

I seem to have probs with mine too. I was under the impression that 
bsdstats was installed by default (in the base system?)


There has been talk about adding it as an option to sysinstall, but, 
unfortunately, I don't have enough knowledge of sysinstall to add it, 
and nobody else has step'd forward that does ... the idea wasn't to 
auto-install/enable, but to make it more visible while you are 
installing ...


Anyone out there able to do this ... ?


I have not heard any talk about this up until this email. I wouldn't 
want to add an option to sysinstall for this unless bsdstats was part of 
base. If it were, this would be trivial, but I don't really want to pop 
up any optional package menus other than what already exists.


-- randi
___
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: Addition to BSDstats

2010-05-05 Thread mikel king


On May 5, 2010, at 10:55 PM, Randi Harper wrote:


Marc G. Fournier wrote:

On Wed, 5 May 2010, Chris Whitehouse wrote:

I seem to have probs with mine too. I was under the impression  
that bsdstats was installed by default (in the base system?)


There has been talk about adding it as an option to sysinstall,  
but, unfortunately, I don't have enough knowledge of sysinstall to  
add it, and nobody else has step'd forward that does ... the idea  
wasn't to auto-install/enable, but to make it more visible while  
you are installing ...


Anyone out there able to do this ... ?


I have not heard any talk about this up until this email. I wouldn't  
want to add an option to sysinstall for this unless bsdstats was  
part of base. If it were, this would be trivial, but I don't really  
want to pop up any optional package menus other than what already  
exists.


-- randi


This idea was mentioned a few years as a way to improve advocacy  
statistics. Something short and sweet, with a one or two line  
explanation encouraging people to install the BSDStats system. If it  
were a yes/no option similar to the Would you like to install Linux  
Compatibility then it would be a no brainer.  Honestly this seems  
relatively unobtrusive and quite logical.



Regards,
Mikel King
Senior Editor, BSD News Network
Columnist, BSD Magazine
6 Alpine Court,
Medford, NY 11763
http://www.linkedin.com/in/mikelking
http://twitter.com/mikelking

___
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


dont think much of pcbsd.....

2010-05-05 Thread Gary Kline
maybe i need to reboot the ThinkPad, but i can't find and d/load
zsh and many other of our std ports.  no ff3, no evo or kmail.
not much there-there.  at least from what i see right now.
oh-yeah, and the festival stuff, too.  

oh, and no ssh configured by default.  pc-bsd has a well thought
out pbi, but that's about all i see.   i am planning to build my
own, open src tabler-with-keyboard along with my vim and other
tts tools.  it would run on the new A9's that will be out by fall.

would be be a MAJOR undertaking to try this pbi thing on our real
OS.   i may be [[or seriously am]] biased after having run this
since 2.0.5, but we've got the best system around.

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

___
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: BSDstats website displaying data incorrectly

2010-05-05 Thread Marc G. Fournier

On Thu, 6 May 2010, Fbsd1 wrote:



Why does this page show PCBSD has count of 387
http://www.bsdstats.org/bt/home.html?os=

And this page shows PCBSD has count of 1307
http://www.bsdstats.org/bt/home.html?os=PC-BSD

Why is this? I would think both should show the same value, or you 
better add explanation to the web page why the count is different.


As was explained earlier, normal operation looks at the past couple of 
months, to deal with cases, where, for instance, someone has it set to 
only report on reboot, but not monthly ... due to the countries issue that 
you pointed out, I made a slight change while things restabilize so that 
it is only showing this month's stats ... I will expand it again as the 
old data for countries fades away ...


The descrepancy above is due to the sub-OS pages not using the same DB 
query as the upper one, and as I didn't do the web front end, and the 
person who did is no longer around, I have to figure out *how* the code he 
wrote works, especially for those sub pages (template system, as there is 
no /bt/ file system *on* the server ...


As to the rest ... especially the comments about the web site itself ... 
feel like stepping into the breach on that one?  I have no creative talent 
for doing a web page, which is why I recruited someone way back when ...



Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.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: Addition to BSDstats

2010-05-05 Thread Marc G. Fournier

On Wed, 5 May 2010, Randi Harper wrote:


Marc G. Fournier wrote:

On Wed, 5 May 2010, Chris Whitehouse wrote:

I seem to have probs with mine too. I was under the impression that 
bsdstats was installed by default (in the base system?)


There has been talk about adding it as an option to sysinstall, but, 
unfortunately, I don't have enough knowledge of sysinstall to add it, and 
nobody else has step'd forward that does ... the idea wasn't to 
auto-install/enable, but to make it more visible while you are installing 
...


Anyone out there able to do this ... ?


I have not heard any talk about this up until this email.


Its been brought up a few times over the past couple of years ...

I wouldn't want to add an option to sysinstall for this unless bsdstats 
was part of base.


Since it is just a script that was designed specifically so that it 
doesn't require any other ports to be installed, *in theory* it could just 
be dump'd into /etc/periodic/monthly without any issues ...


But, if it were ... unlike PC-BSD, it would have to be opt-in, not opt-out 
... based on all of the discussions in the past, and I agree, nobody would 
appreciate (and outcry would be heavy) if someone were to add an 'opt-out 
phone home script' that they didn't consciously enable ...




Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.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: Addition to BSDstats

2010-05-05 Thread Randi Harper

mikel king wrote:


On May 5, 2010, at 10:55 PM, Randi Harper wrote:


Marc G. Fournier wrote:

On Wed, 5 May 2010, Chris Whitehouse wrote:

I seem to have probs with mine too. I was under the impression that 
bsdstats was installed by default (in the base system?)


There has been talk about adding it as an option to sysinstall, but, 
unfortunately, I don't have enough knowledge of sysinstall to add 
it, and nobody else has step'd forward that does ... the idea wasn't 
to auto-install/enable, but to make it more visible while you are 
installing ...


Anyone out there able to do this ... ?


I have not heard any talk about this up until this email. I wouldn't 
want to add an option to sysinstall for this unless bsdstats was part 
of base. If it were, this would be trivial, but I don't really want 
to pop up any optional package menus other than what already exists.


-- randi


This idea was mentioned a few years as a way to improve advocacy 
statistics. Something short and sweet, with a one or two line 
explanation encouraging people to install the BSDStats system. If it 
were a yes/no option similar to the Would you like to install Linux 
Compatibility then it would be a no brainer.  Honestly this seems 
relatively unobtrusive and quite logical. 
You're right, it is just for advocacy statistics. bsdstats is not an 
integral part of system operation. We prompt for Linux Compatibility 
because it could be needed for technical reasons. While advocacy is 
certainly important, the installer needs to be simplified, not 
complicated even more with unnecessary options and menus.


-- randi
___
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: Addition to BSDstats

2010-05-05 Thread Adam Vande More
On Thu, May 6, 2010 at 12:20 AM, Randi Harper ra...@freebsd.org wrote:


 This idea was mentioned a few years as a way to improve advocacy
 statistics. Something short and sweet, with a one or two line explanation
 encouraging people to install the BSDStats system. If it were a yes/no
 option similar to the Would you like to install Linux Compatibility then
 it would be a no brainer.  Honestly this seems relatively unobtrusive and
 quite logical.


 You're right, it is just for advocacy statistics. bsdstats is not an
 integral part of system operation. We prompt for Linux Compatibility because
 it could be needed for technical reasons. While advocacy is certainly
 important, the installer needs to be simplified, not complicated even more
 with unnecessary options and menus.


It could be placed in the yes/no questions at the end of the install.
Debian does something similar.

-- 
Adam Vande More
___
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