ifconfig can't clear 'monitor' mode on the wireless device

2010-06-09 Thread Yuri

Over a year ago I filed this PR:
http://lists.freebsd.org/pipermail/freebsd-bugs/2009-February/034115.html

There is no response, and this problem is still there.
Is there any way to clear monitor mode from network device?

Yuri
___
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: davical upgrade problem

2010-06-09 Thread Matthias Fechner

Hi,

Am 10.06.10 07:12, schrieb n dhert:
I have not php5-pdo_pgsql-5.3.2_1 on mystem since this is for PHP5 
version 3.x, not for PHP5 version 2.x, which is the version of PHP I 
use on my system... Two months ago PHP5-3.2 was automatically 
installed as part of my daily portupgrades, but users on my 
(multiuser) system immediatly had a myriad of error messages, since 
they have applications that use PHP 5.2 instead of 5.3... I was forced 
to revert to PHP 5.2

But I do have on my system:
# pkg_info | grep pdo_
php52-pdo_mysql-5.2.13_2 The pdo_mysql shared extension for php
php52-pdo_pgsql-5.2.13_2 The pdo_pgsql shared extension for php
php52-pdo_sqlite-5.2.13_2 The pdo_sqlite shared extension for php
How to make Davical use these?


please always reply to the mailing list and not privat to me, you can 
also use the list reply button from thunderbird.

I have installed the following packages:
php5-pdo-5.3.2_1The pdo shared extension for php
php5-pdo_pgsql-5.3.2_1 The pdo_pgsql shared extension for php
php5-pdo_sqlite-5.3.2_1 The pdo_sqlite shared extension for php

It was running with php5.2 before here, so the version is not a problem.
If the lib is not found check your php configuration (extensions.conf) 
you can also use phpinfo to see if it is loaded, i you do not know I'm 
talking about, use google to learn a little bit about php. :)


And please no ToFu.

Bye,
Matthias

--
"Programming today is a race between software engineers striving to build bigger and 
better idiot-proof programs, and the universe trying to produce bigger and better idiots. 
So far, the universe is winning." -- Rich Cook

___
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: office apps

2010-06-09 Thread Polytropon
On Tue, 8 Jun 2010 18:58:47 -0600, Chad Perrin  wrote:
> With my old OO.o install (from package, not port), I haven't had any
> problems.  The thing even "exports" to PDF without Java.

Same here - I still have a v2 installation on another system that
has been installed by package, and it just works. It was the last
OpenOffice I could install via packages (localized, with dictio-
naries included, without unneeded stuff like KDE, Gnome, CUPS and
Java).



> Since then, however, I haven't been able to find a working OO.o binary
> package for FreeBSD, so I haven't upgraded my OO.o version.

I have found packages, but they don't work for me. I do always
get "** (soffice:579): WARNING **: unable to get gail version number",
but well, other things like Java in Firefox, or Acrobat Reader,
also don't work, so I put those aside and will try again in
some weeks. :-)



> > It took about 15 "seconds" of manual count to see an empty window
> > after typing "openoffice.org-3.0.0 -nologo".  Hardware is ...
> 
> I'm not sure what you mean by this.  Empty window?

It doesn't show the splash screen. After 27 seconds, I get an
empty word processing document window (Intel P4 2 GHz, 768 MB).

If you need information about command line options, they can
be obtained this way:

% /usr/local/bin/openoffice.org-3.0.0-swriter -help

The -nologo option is explained as "don't show startup screen".

In the usual unpolite way, there doesn't seem to be a man page.
Documentation is stored arbitrarily on the Web. :-)


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


mingw cross compiler -- cc1 issue

2010-06-09 Thread Malcolm Kay
I have installed mingw32 from ports:-
mingw32-gcc-4.4.0_1,1
mingw32-binutils-2.20,1
mingw32-bin-msvcrt-r3.18.a3.14

OS:-
FreeBSD xi.home 8.0-RELEASE FreeBSD 8.0-RELEASE #0

Running:-
%mingw32-gcc dummy.c
appears to execute without problems, producing a.exe

Running the alternative:-
%/usr/local/mingw32/bin/gcc dummy.c
leads to an error announcing cc1 is not found.

Since /usr/local/mingw32/bin/gcc and /usr/local/bin/mingw32-gcc
are hard linked it would seem that the executable code uses the
calling name to trace its way to cc1 
(/usr/local/libexec/gcc/mingw32/4.4.0/cc1)

Replace /usr/local/mingw32/bin/gcc with a symbolic link to
/usr/local/bin/mingw32-gcc and it seems to work.

Have I missed something in installing mingw32?
Is it not intended that /usr/local/mingw32/bin/gcc should be 
called?
Is there some problem with the port?
Or is there some quite different issue?

Help please,

Malcolm Kay
___
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"


Question on gvinum

2010-06-09 Thread Vinay
Hi,

I am new to FreeBSD. I have installed FreeBSD 6.3 and was playing with
gvinum.

I do not see /dev/gvinum tree. I have these modules loaded.


freebsd63# kldstat
Id Refs AddressSize Name
 1   23 0xc040 7b2d2c   kernel
 21 0xc0bb3000 cd44 geom_bde.ko
 31 0xc0bc 3a48 geom_ccd.ko
 41 0xc0bc4000 5a54 geom_concat.ko
 51 0xc0bca000 f7b8 geom_eli.ko
 62 0xc0bda000 1b0b4crypto.ko
 73 0xc0bf6000 ad04 zlib.ko
 81 0xc0c01000 5220 geom_gate.ko
 91 0xc0c07000 546c geom_label.ko
101 0xc0c0d000 55e0 geom_md.ko
111 0xc0c13000 13224geom_mirror.ko
121 0xc0c27000 4028 geom_nop.ko
131 0xc0c2c000 15a5cgeom_raid3.ko
141 0xc0c42000 5970 geom_shsec.ko
151 0xc0c48000 6c7c geom_stripe.ko
161 0xc0c4f000 39f8 geom_uzip.ko
171 0xc0c53000 11940geom_vinum.ko
181 0xc0c65000 5c304acpi.ko
191 0xc297c000 19000linux.ko

Can you let me know what am i missing?

Regards
VP
___
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: Building amd64 kernel problems (missing kernel configuration files)

2010-06-09 Thread b. f.
> I am have a fresh install of FreeBSD 8.0 i386 and need to install an amd64
> kernel.
>
> I have copied /usr/src/sys/amd64/conf/GENERIC to
> /usr/src/sys/amd64/conf/JERRY

Support for cross-building is limited in the FreeBSD base system.
/usr/src/Makefile states:

"# If TARGET=machine (e.g. ia64, sparc64, ...) is specified you can
# cross build world for other machine types using the buildworld target,
# and once the world is built you can cross build a kernel using the
# buildkernel target."


but there are unwritten limitations, and this requires some care.
See, for example, developers running into problems even with i386 -->
amd64:

http://bsdimp.blogspot.com/2006/09/cross-building-freebsd.html

The fact that you are asking how to do this on the freebsd-questions
list probably means that you should _not_ be cross-building.

_Don't_ try to run an amd64 kernel with i386 world, or vice versa.
With some patches and tweaking you may get a few things to work, but
you're asking for trouble.

It would be better to get an amd64 installation disk, back up your
data, and do a re-installation from scratch, or at least a binary
upgrade of the existing base system, and then build a custom kernel
and world, if that's what you want to do.

b.
___
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: Building amd64 kernel problems (missing kernel configuration files)

2010-06-09 Thread Adam Vande More
On Wed, Jun 9, 2010 at 8:38 PM, Jerry Bell  wrote:

> I am have a fresh install of FreeBSD 8.0 i386 and need to install an amd64
> kernel.
>
> I have copied /usr/src/sys/amd64/conf/GENERIC to
> /usr/src/sys/amd64/conf/JERRY
>
> Then, I run "make buildkernel KERNCONF=JERRY" in /usr/src and get the
> following error:
> ERROR: Missing kernel configuration file(s) (JERRY).
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
>
>
> It seems to want JERRY to be in i386/conf.  If I copy JERRY to i386/conf
> and
> run "make buildkernel KERNCONF=JERRY", I get the following error:
> --
> >>> Kernel build for JERRY started on Wed Jun  9 20:50:30 EDT 2010
> --
> ===> JERRY
> mkdir -p /usr/obj/usr/src/sys
>
> --
> >>> stage 1: configuring the kernel
> --
> cd /usr/src/sys/i386/conf;
>
> PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
> config  -d /usr/obj/usr/src/sys/JERRY  /usr/src/sys/i386/conf/JERRY
> /usr/src/sys/i386/conf/JERRY: unknown option "HAMMER"
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
>
>
> I know I'm missing something simple, but can't quite figure out what it is.
>



I think you have to set TARGET_ARCH=amd64

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


Building amd64 kernel problems (missing kernel configuration files)

2010-06-09 Thread Jerry Bell
 Hello,

I am have a fresh install of FreeBSD 8.0 i386 and need to install an amd64
kernel.

I have copied /usr/src/sys/amd64/conf/GENERIC to
/usr/src/sys/amd64/conf/JERRY

Then, I run "make buildkernel KERNCONF=JERRY" in /usr/src and get the
following error:
ERROR: Missing kernel configuration file(s) (JERRY).
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


It seems to want JERRY to be in i386/conf.  If I copy JERRY to i386/conf and
run "make buildkernel KERNCONF=JERRY", I get the following error:
--
>>> Kernel build for JERRY started on Wed Jun  9 20:50:30 EDT 2010
--
===> JERRY
mkdir -p /usr/obj/usr/src/sys

--
>>> stage 1: configuring the kernel
--
cd /usr/src/sys/i386/conf;
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
config  -d /usr/obj/usr/src/sys/JERRY  /usr/src/sys/i386/conf/JERRY
/usr/src/sys/i386/conf/JERRY: unknown option "HAMMER"
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


I know I'm missing something simple, but can't quite figure out what it is.

Thanks,

Jerry
___
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: freebsd-update upgrade

2010-06-09 Thread Glen Barber

On 6/9/10 9:26 PM, Fbsd1 wrote:

Glen Barber wrote:

On 6/9/10 9:07 PM, Aiza wrote:

The upgrade function requires the -r newrelease flag.
The manpage does not state the formate of the newrelease value.

Is it just the release number like this 8.0 or is it like this
8.0-RELEASE?


8.0-RELEASE. I believe you can pull 8.0-RELEASE-p2 using -r as well.

Regards,


Thanks.

Have another question.

When freebsd-update first entered the ports system, it was limited to
updating systems that not been changed from the basic release. IE:
Recompiling the kernel adding devices or removing them. Is that still
true now?



If you have a custom kernel installed, freebsd-update will overwrite it 
with GENERIC, which means you will need to recompile your custom kernel.


Regards,

--
Glen Barber
___
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: why does ps |grep sometimes not return itself?

2010-06-09 Thread Pieter de Goeje
On Wednesday 09 June 2010 09:34:40 Matthew Seaman wrote:
> On 09/06/2010 08:15:23, Eitan Adler wrote:
> > Why do I sometimes see the grep in ps's output and sometimes not see it?
> > [ei...@alphabeta ~ ]% ps aux|grep Me
> > eitan 96325  0.0  0.0  1856   724   5  RL+  10:14AM   0:00.00 grep Me
> > [ei...@alphabeta ~ ]% ps aux|grep Me
> > [ei...@alphabeta ~ !1! ]%
>
> When you run that pipeline the OS doesn't start both programs exactly
> simultaneously. It starts ps(1) first, then grep(1) together with
> creating the pipeline by connecting ps's stdout to grep's stdin.
> Depending on system load and various other factors, this may allow ps(1)
> to grab the snapshot of the process table that it works on before
> grep(1) has started.  It's a race condition.
>
> Whether you see this effect or not will depend very much on system
> conformation and load.  I can't reproduce the effect on a lightly loaded
> dual processor machine, which always shows the grep process, whereas on
> a single processor virtual machine running under VirtualBox, I never see
> grep in the ps output unless I renice the ps(1) process.
>

I would like to add that you can avoid the issue entirely by using this 
command:
% ps aux -p `pgrep sh`
USERPID %CPU %MEM   VSZ   RSS  TT  STAT STARTED  TIME COMMAND
root   1326  0.0  0.1  6680  3664  ??  Is1:09AM   0:00.00 /usr/sbin/sshd
pyotr  1460  0.0  0.1  3972  2696  v0  I 1:09AM   0:00.02 -zsh (zsh)

-- 
Pieter de Goeje
___
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: freebsd-update upgrade

2010-06-09 Thread Fbsd1

Glen Barber wrote:

On 6/9/10 9:07 PM, Aiza wrote:

The upgrade function requires the -r newrelease flag.
The manpage does not state the formate of the newrelease value.

Is it just the release number like this 8.0 or is it like this 
8.0-RELEASE?


8.0-RELEASE.  I believe you can pull 8.0-RELEASE-p2 using -r as well.

Regards,


Thanks.

Have another question.

When freebsd-update first entered the ports system, it was limited to 
updating systems that not been changed from the basic release. IE: 
Recompiling the kernel adding devices or removing them. Is that still 
true now?

___
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: Fwd: [Netatalk-devel] Fwd: unable to install netatalk

2010-06-09 Thread Thiago Esteves
Thank you very much, Joe. After update my ports tree again I got the patch
and the issue was resolved.

Regards,
Thiago

On Wed, Jun 9, 2010 at 9:55 PM, Thiago Esteves  wrote:

> It seems that there isn't any patch for dsi.h on netatalk/files directory:
>
> Prescott:files root$ ls -la
> total 16
> drwxr-xr-x  2 root  wheel   512 Jun  4 18:24 .
> drwxr-xr-x  4 root  wheel   512 Jun  9 21:34 ..
> -rw-r--r--  1 root  wheel  1987 Mar 26 21:13 netatalk.in
> -rw-r--r--  1 root  wheel   929 May 30 14:03 patch-config_Makefile.in
> -rw-r--r--  1 root  wheel  1320 May 30 14:03 patch-config_netatalk.conf
> -rw-r--r--  1 root  wheel   428 May 30 14:03 patch-configure
> -rw-r--r--  1 root  wheel   512 May 30 14:03 patch-etc-uams_Makefile.in
> -rw-r--r--  1 root  wheel   585 May 30 14:03 patch-etc_afpd_afp_options.c
> Prescott:files root$
>
>
> I am going to try to update ports tree again.
>
> Regards,
> Thiago
>
>
> On Wed, Jun 9, 2010 at 9:48 PM, Joe Marcus Clarke wrote:
>
>> On 6/9/10 8:38 PM, Thiago Esteves wrote:
>> > Hello Joe,
>> >
>> >  Thanks for your time. I have updated the ports tree, cleaned up the
>> > netatalk package on distfiles and tried to build the port again but I am
>> > got the same error:
>>
>> It builds for me on 6-STABLE.  I thought it would build on all 6.X, but
>> 6.3 is too old to be properly supported.
>>
>> That said, you might not have gotten the necessary updates.  Make sure
>> you have a patch for include/atalk/dsi.h in your netatalk/files directory.
>>
>> Joe
>>
>> >
>> > In file included from dsi_attn.c:17:
>> > ../../include/atalk/dsi.h:63: error: field `server' has incomplete type
>> > ../../include/atalk/dsi.h:63: error: field `client' has incomplete type
>> > gmake[3]: *** [dsi_attn.lo] Error 1
>> > gmake[3]: Leaving directory
>> > `/usr/ports/net/netatalk/work/netatalk-2.1.1/libatalk/dsi'
>> > gmake[2]: *** [all-recursive] Error 1
>> > gmake[2]: Leaving directory
>> > `/usr/ports/net/netatalk/work/netatalk-2.1.1/libatalk'
>> > gmake[1]: *** [all-recursive] Error 1
>> > gmake[1]: Leaving directory
>> `/usr/ports/net/netatalk/work/netatalk-2.1.1'
>> > gmake: *** [all] Error 2
>> > *** Error code 1
>> >
>> > Many thanks,
>> > Thiago
>> >
>> > On Wed, Jun 9, 2010 at 7:49 PM, Joe Marcus Clarke > > > wrote:
>> >
>> > On 6/9/10 3:16 PM, Thiago Esteves wrote:
>> > > Hello Marcus,
>> > >
>> > >  Sorry to disturb you, but I have posted that issue on three
>> mailing
>> > > lists and haven't got any answers. I saw that you are the
>> > maintainer for
>> > > netatalk port on FreeBSD, probably you can help me. Please check
>> the
>> > > issue described on the email below.
>> >
>> > I just committed a fix for this.
>> >
>> > Joe
>> >
>> > >
>> > >  Thanks for your time.
>> > >
>> > > Regards,
>> > > Thiago
>> > >
>> > > -- Forwarded message --
>> > > From: *Thiago Esteves* > >  > > >>
>> > > Date: Wed, Jun 9, 2010 at 3:12 PM
>> > > Subject: [Netatalk-devel] Fwd: unable to install netatalk
>> > > To: netatalk-de...@lists.sourceforge.net
>> > 
>> > > > > >
>> > >
>> > >
>> > > Hello all,
>> > >
>> > >  I don't know if it is the correct place to request such kind of
>> > > support, but I haven't
>> > > got any answers from netatalk-admins.
>> > >
>> > >  Could someone help me with the issue described below?
>> > >
>> > > Thanks,
>> > > Thiago
>> > >
>> > > -- Forwarded message --
>> > > From: *Thiago Esteves* > >  > > >>
>> > > Date: Tue, Jun 8, 2010 at 10:41 AM
>> > > Subject: unable to install netatalk
>> > > To: netatalk-adm...@lists.sourceforge.net
>> > 
>> > > > > >
>> > >
>> > >
>> > > Hello all,
>> > >
>> > >  I am trying to install netatalk on FreeBSD 6.3 p15 but I am
>> > > experiencing difficulties, it seems that some
>> > > code can not be compiled, please check output attached.
>> > >
>> > >  /I would appreciate any help/ that is given, if you can explain
>> > that's
>> > > even better.
>> > >
>> > > Many thanks,
>> > > Thiago
>> > >
>> > > Output:
>> > >
>> > > *libtool: link: (cd .libs/libcnid.lax/libcnid_tdb.a && ar x
>> > >
>> >
>> "/usr/ports/net/netatalk/work/netatalk-2.1.1/libatalk/cnid/tdb/.libs/libcnid_tdb.a")
>> > > libtool: link: ar cru .libs/libcnid.a .libs/cnid.o
>> .libs/cnid_init.o
>> > > .libs/

Re: freebsd-update upgrade

2010-06-09 Thread Glen Barber

On 6/9/10 9:07 PM, Aiza wrote:

The upgrade function requires the -r newrelease flag.
The manpage does not state the formate of the newrelease value.

Is it just the release number like this 8.0 or is it like this 8.0-RELEASE?


8.0-RELEASE.  I believe you can pull 8.0-RELEASE-p2 using -r as well.

Regards,

--
Glen Barber
___
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-update upgrade

2010-06-09 Thread Aiza

The upgrade function requires the -r newrelease flag.
The manpage does not state the formate of the newrelease value.

Is it just the release number like this 8.0 or is it like this 8.0-RELEASE?
___
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: Configure PMBR to Find Loader on GPT Disk

2010-06-09 Thread Jason C. Wells

Jason C. Wells wrote:

After setting up a GPT disk and installing the boot blocks with:

   # gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ad4

The system wants to boot:

   0:ad(0p2)/boot/kernel/kernel

I manually intervene to cause the system to boot:

   1:ad(5p8)/boot/loader

How do I configure the boot blocks to do this without human 
intervention on a GPT system?  boot0cfg doesn't seem to be the correct 
tool for this job.
The docs and various guides around the net could use a little help.  
Please correct me below.  My C and assembly is non-existent and I 
discovered the information below by trial and error and reading the source.


My subject header is wrong.  The pmbr is working just like it should.  
It is gptboot that is failing to find my boot loader.


I found a work around for the non-configurability of the pmbr/gptboot 
code.  gptboot searchs for the first UFS partition and tries to use that 
partition as root.  In my partition scheme, the first partition was for 
user data. The presence of boot.config in the first partition will cause 
gptboot to boot some other disk and partition of your choice.  In my 
case, I added 1:ad(5p8)/boot/loader to boot.config on 0:ad(4p2) to allow 
my system to boot automatically.


Also, some guides online magically select the size of 64k for the 
freebsd-boot partition.  This is not just magic. It's mandatory.  The 
pmbr boot code assume that the partition is not larger than 64k and 
complains if it is larger.  Ref my earlier message on that topic.


The bad part about all of this is that I intend to build a mirror from 
two disks. Will my boot process be brittle because the boot.config is 
not actually located in / where it truly belongs?  If I pull bios disk 
0, then when I boot, bios disk 1 will be renumbered to bios disk 0.  The 
boot.config file won't be there.  The system will fail to boot.


It sure would be nice if 'gpart bootcode' would accept 
'1:ad(5p8)/boot/loader' as an option so I don't have to be sticking 
boot.config files in weird locations.


Regards,
Jason

A partition of type freebsd-boot is NOT where you mount /boot.
___
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: Small webserver recommendations

2010-06-09 Thread Nathan Peet Maier
There is a webserver bundled with a framework called web2py.
www.web2py.org.  You can run it as a user from BSD or Linux.
-Nate Maier
___
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: Java plugin with Firefox 3.6

2010-06-09 Thread Ian Smith
In freebsd-questions Digest, Vol 314, Issue 3, Message: 22
On Mon, 7 Jun 2010 16:08:34 -0400 Jerry  wrote:
 > On Tue, 8 Jun 2010 01:13:01 +1000 (EST)
 > Ian Smith  articulated:
 > 
 > > In freebsd-questions Digest, Vol 314, Issue 1, Message: 33
 > > On Mon, 7 Jun 2010 06:08:24 -0400 Jerry 
 > > wrote:
 > >  > On Mon, 7 Jun 2010 07:50:04 +0200
 > >  > Harry Matthiesen Jensen  articulated:
 > >  > 
 > >  > 
 > >  > > On Mon, Jun 07, 2010 at 12:20:08AM +, Márcio C.G. wrote:
 > >  > > > 
 > >  > > > As this link (http://forums.freebsd.org/showthread.php?t=10570)
 > >  > > > says, JAVA PLUGIN WONT WORK WITH FIREFOX 3.6. I tried to use
 > >  > > > linux-sun-jdk16 port, but the plugin didn t work too. Is there
 > >  > > > an workaround or anybody that knows how-to use java plugin
 > >  > > > within firefox 3.6?
 > >  > > > 
 > >  > > 
 > >  > > I just "portinstall firefox3", which right now will give you
 > >  > > Firefox 3.5.9, and java works ;-)
 > >  > 
 > >  > The OP requested help with Firefox-3.6, not with older deprecated
 > >  > versions. Perhaps when version '4' is released, support for Java in
 > >  > '3.6.x' will become available.
 > > 
 > > Dear Jerry,

Ok, you whinged and I had a dig.  I got deservedly walloped myself not 
long ago for whining about something likely within my power to help ..

 > I honestly enjoy satire. That said, it does not change the fact that a
 > serviceable version of Java, suitable for Firefox-3.6, does not exist
 > within the FreeBSD framework. A quick investigation of other operating
 > systems would seem to indicate that FreeBSD is virtually alone in this
 > regards. Now, I am sure that you have personally seen the white sheet
 > detailing the technical reasons for this and will be willing to share
 > it with me and perhaps others who might also be curious about the lack
 > of said product.

.. so I deserve a bit of sarcasm :)  My point was that, with exception 
of projects sponsored by the Foundation and work sponsored by various 
firms that simply need to get certain things done, FreeBSD isn't like a 
company in any position to 'put some people onto' any desired features; 
things happen when someone/s put _themselves_ onto it, because they want 
to see it happen, and enjoy the challenges of practicing their arts.

Check out what Sun and indirectly Mozilla have to say about this:

Why do I need Java 6 Update 10 and above for Firefox 3.6 and later 
versions?
http://java.com/en/download/faq/firefox_newplugin.xml

What are the features and enhancements in the latest release of Java 
6 Update10 (6u10)? 
http://java.com/en/download/help/features_java6update10.xml

The 'features and enhancements' seem to be mostly about making updating 
easier on Windows, and because they've _chosen_ to drop support for the 
'classic' way of identifying the JRE in use pre 3.6.0, they've _chosen_ 
to employ a level of instant obsolescence and forced upgrade that Adobe 
might be proud of.  That's a big change from 3.5.x, and one that would 
be considered an ABI change requiring a new major version in FreeBSD.

So as Chuck Swiger rightly said, if latest Firefox+Java matters to you, 
FreeBSD isn't the right solution just now .. until it matters enough to 
someone/s to make what seem likely very non-trivial changes to our Java 
and how it integrates with our kernel and userland.  Way, way beyond me.

 > Now, I assume that you are familiar with the nVidia 64 bit drivers and
 > FreeBSD. It took years for that to be rectified. Based on that past
 > experience, I feel that stating that Firefox-4 might well be released
 > before a serviceable Java is available for version 3.6+ is a real
 > possibility.

As I recall, nVidia required kernel changes in FreeBSD that had to wait 
for a major version bump (ie, to 8.x) to make it into a release version?

 > Your commentary does serve to prove a very real point however. To wit:
 > 
 > Pointing out or stating a problem with a Microsoft product is
 > insightful, constructive criticism; however, doing the same for an open
 > source product is destructive, counter productive, flame bait.

Microsoft is a company with massive resources to throw at any problems 
(or new means of cornering markets :) and people pay real money to use 
their products, so can at least hope for some sort of service on demand.

The contrast with FreeBSD couldn't be much more stark, could it Jerry?  

If you want something fixed you a) do it yourself; b) work with other 
people who are doing it; c) offer to help test and debug and/or document 
development or d) at least offer useful critique on appropriate list/s, 
knowing that 'send code' is the most likely response from busy people.

 > Seriously Ian, I question whether the FreeBSD authors are more
 > interested in bumping version numbers than they are in producing a
 > fully serviceable, quality product. When was the last time you tried
 > getting a native FreeBSD driver for an   'N' class USB wireless
 >

Re: office apps

2010-06-09 Thread parv
in message <20100609005847.gf37...@guilt.hydra>, wrote Chad Perrin
thusly...
>
> On Tue, Jun 08, 2010 at 04:43:42AM -1000, p...@pair.com wrote:
...
> > It took about 15 "seconds" of manual count to see an empty
> > window after typing "openoffice.org-3.0.0 -nologo".
...
> I'm not sure what you mean by this.  Empty window?

Sorry, by "empty window" I meant the open office swriter window
showing an empty, spanking new document (to start writing in).


  - parv


-- 

___
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: office apps

2010-06-09 Thread James Phillips




> Date: Tue, 8 Jun 2010 18:44:17 -0600
> From: Chad Perrin 
> Subject: Re: office apps
> To: FreeBSD Questions 
> Message-ID: <20100609004417.gc37...@guilt.hydra>
> Content-Type: text/plain; charset="us-ascii"
> 

I don't really like Oo.org either. It is a little better than MS-Office, be 
seems to follow the same general design philosophy.

> 
> I wish I'd find a foolproof, simple, transparent way for me
> to see and
> edit well-formatted plain text no matter what nonsense
> bloated featuritis
> infected office suite anyone else wanted to use.

Well, I heard RTF is useful for interoperability between MS word versions, but 
I am not sure how well interoperability between different vendors works in 
practice.
The Wikipedia page says RTF is a proprietary standard:
http://en.wikipedia.org/wiki/Rich_Text_Format

You may also want to use an SGML variant like HTML or XML, but those can be 
tedious to manually edit. For quick messages, Plain ASCII text is much better 
unless you need a different character set. In that case, Unicode text will 
probably work.

Regards,

James Phillips

> 
> -- 
> Chad Perrin [ original content licensed OWL: http://owl.apotheon.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: net-snmp 5.5 tcp wrappers broken

2010-06-09 Thread Andrea Venturoli

On 06/09/10 17:12, krad wrote:

Has anyone one else this behaviour


Yep.




/etc/hosts.allow

ALL : X : allow
ALL : ALL : deny


snmpd: ALL : allow

works.





Googling around, it seems FreeBSD is not the only OS affected...



 bye
av.
___
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: Core dump with php52-recode?

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

Richard Morse wrote:
> Hi! I just did a portsnap and found that php52 had been updated. When I 
> recompiled (using `portmaster -i php52 php52-extensions`, suddenly php 
> started crashing:
> 
>> Jun 9 10:27:30 hedwig kernel: pid 35517 (php), uid 1001: exited on signal 11 
>> (core dumped) 
> 
> I was able to trace this down to the php52-recode extension. Has anyone else 
> noticed this behaviour?
> 
> Thanks,
> Ricky
> 
> 

Hi Ricky,

I ran into a similar problem a while back and corrected it by
re-ordering the PHP extensions.ini file.  Perhaps these pages will help
troubleshoot the problem:

http://nerdstock.org/php_extensions?lang=en
http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround

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/

iD8DBQFMD7I00sRouByUApARArYvAJoCtyHnjjr16X9aJ801+HazpGucJgCffQPN
tGah/ScE2ZIIcfylZnw2NGQ=
=q4IX
-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: TeX qurestions, for anybody who cares to reply... .

2010-06-09 Thread Alejandro Imass
On Tue, Jun 8, 2010 at 11:51 PM, Gary Kline  wrote:
> hi y'all!
>

[...]

Just my 0.02:

I use LaTeX directly strictly for typesetting but not for structure
and content. In other words, for structure and content I prefer to
work in a higher level structure such as DocBook or any other
meta-model of a document, _and then_ transform to LaTeX for print
(physical) typesetting. This has _many_ advantages since you can keep
"the source" of your document in a high-level structure (SGML, XML.,
Wiki Markup, txt2tags, etc.) and more easily transform that to any
media, including print.

My personal preference is SGML and the DocBook structure, because it
more easily adapts to our need. I prefer SGML DocBook because XSLT is
still (and probably will always be) limited for the kinds of
transformation needed to things like LaTex so DSSSL is much more
powerful IMHO for that. Besides, the popular Norman Walsh stylesheets
are so well though-out for books, that he usually get's it right, and
they need very few tweaks to adapt them to your needs.

Anyway, the message is that LaTex is an awesome technology for what it
is: a typesetting system, not an authoring tool. If you keep you
source data in a structured authoring format, you can later use the
data per se, for example structured text searches, re-use of the data,
etc. etc. etc.

Best,
Alejandro Imass
___
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"


Core dump with php52-recode?

2010-06-09 Thread Richard Morse
Hi! I just did a portsnap and found that php52 had been updated. When I 
recompiled (using `portmaster -i php52 php52-extensions`, suddenly php started 
crashing:

> Jun 9 10:27:30 hedwig kernel: pid 35517 (php), uid 1001: exited on signal 11 
> (core dumped) 

I was able to trace this down to the php52-recode extension. Has anyone else 
noticed this behaviour?

Thanks,
Ricky


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

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


net-snmp 5.5 tcp wrappers broken

2010-06-09 Thread krad
Has anyone one else this behaviour

/etc/hosts.allow

ALL : X : allow
ALL : ALL : deny

do an simple system snmp query from host x fails
remove the deny all line and it starts working.

trussing the process shows snmpd calling lib wrap and accessing the
hosts.allow fine, just no joy. Earlier version on net-snmp 5.3 i upgraded
from works fine. Ports and src tree csup'd very recently. ssh does have
these issues with the same hosts.allow file.

Hosts reverse and forward dns matches



FreeBSD xx 8.0-STABLE FreeBSD 8.0-STABLE #0: Wed Jun  9 10:52:17 BST
2010 x:/usr/obj/usr/src/sys/DTRACE  amd64

# ls /etc/host*
/etc/host.conf/etc/hosts/etc/hosts.allow
/etc/hosts.equiv/etc/hosts.lpd


[root]# /usr/local/sbin/snmpd -v

NET-SNMP version:  5.5
Web:   http://www.net-snmp.org/
Email: net-snmp-cod...@lists.sourceforge.net

[root]# ls -l /usr/local/sbin/snmpd
-rwxr-xr-x  1 root  wheel  28880 Jun  9 12:30 /usr/local/sbin/snmpd
[root]# ldd /usr/local/sbin/snmpd
/usr/local/sbin/snmpd:
libnetsnmpagent.so.20 => /usr/local/lib/libnetsnmpagent.so.20
(0x80064c000)
libnetsnmphelpers.so.20 => /usr/local/lib/libnetsnmphelpers.so.20
(0x800793000)
libnetsnmpmibs.so.20 => /usr/local/lib/libnetsnmpmibs.so.20
(0x8008b7000)
libwrap.so.6 => /usr/lib/libwrap.so.6 (0x800abe000)
libperl.so => /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so
(0x800bc6000)
libcrypt.so.5 => /lib/libcrypt.so.5 (0x800dec000)
libutil.so.8 => /lib/libutil.so.8 (0x800f05000)
libnetsnmp.so.20 => /usr/local/lib/libnetsnmp.so.20 (0x801015000)
libm.so.5 => /lib/libm.so.5 (0x8011e3000)
libkvm.so.5 => /lib/libkvm.so.5 (0x801302000)
libdevstat.so.7 => /lib/libdevstat.so.7 (0x80140a000)
libcrypto.so.6 => /lib/libcrypto.so.6 (0x80150f000)
libelf.so.1 => /usr/lib/libelf.so.1 (0x8017a7000)
libc.so.7 => /lib/libc.so.7 (0x8018bf000)
___
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: xsltproc: failed to load external entity

2010-06-09 Thread Eitan Adler
>
> I'm not a common user of xsltproc, but the combination of an argument
> beginning "http://"; along with the option "-nonet" (described as "Do not
> use the Internet to fetch DTDs, entities or documents" on the man page)
> seems rather fishy to me.  Can this combination ever work?
>
> Has anyone else seen this?  Does anyone have a suggestion for a fix?

Install with NO_INSTALL_MANPAGES and the problem will go away.
I think it comes from a configuration option for docbook.

-- 
Eitan Adler
___
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: davical upgrade problem

2010-06-09 Thread Matthias Fechner

Hi,

Am 09.06.10 14:31, schrieb n dhert:

--->   Upgrading 'davical-0.9.8.4' to 'davical-0.9.9' (www/davical)
--->   Build of www/davical started at: Tue, 08 Jun 2010 06:48:38 +0200
--->   Building '/usr/ports/www/davical'
===>   Cleaning for davical-0.9.9
Unknown extension pdo_pgsql for PHP 52.
   


have you installed the paket: php5-pdo_pgsql?

Bye,
Matthias

--
"Programming today is a race between software engineers striving to build bigger and 
better idiot-proof programs, and the universe trying to produce bigger and better idiots. 
So far, the universe is winning." -- Rich Cook

___
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: TeX qurestions, for anybody who cares to reply... .

2010-06-09 Thread Polytropon
On Tue, 8 Jun 2010 20:51:53 -0700, Gary Kline  wrote:
> in my ascii type i cannot type
> the e-aigu and i cannot find it in any of the docs. 

Isnt e-aigu part of the ASCII table? Depending on your editor,
can you manually enter it using the "two accents key" (on the
german keyboard directly left to the backspace key) to enter
the sequence accent-letter, generating é, É, è and È?

Finally, LaTeX allows you to add the diacritical mark using
the proper macro: \'{e} - while in this case the apostrophe
key is used to create the ' (as a stand-alone character, or
"single quote").



> the  most important part is that i want the demo blurb
> [[modified from usenet when i drafted this]] in "typewriter"
> typeface. the docs i googled said that {\tt text blah blah }
> would put the text between the braces in typewriter-font.

Use the safe LaTeX form: \texttt{text blah blah}, allthough
the for you used - switching to \tt face using scope, is
possible.



> i would like to make the text smaller that the surrounding text.

If you want to quote text (which indents it), use \begin{quote} ...
\end{quote}.



> so my last question is: how do i tell tex/latex to make the
> denoted text in tt font and with 9pt size? 

LaTeX doesn't give you direct control over pt sizes - and that's
GOOD. Just imagine your text is 10pt in general, and you want
several passages to be 6pt. Fine. Now you decide that your text
is better in 12pt in general - and you now need to set all
occurances of 6pt manually to a different value.

LaTeX uses relative font size modifiers.
\tiny - \scriptsize - \footnotesize - \small - \normalsize - 
\large - \Large - \LARGE - \huge - \Huge.

The base size it refers to is declared in your preable, e. g.

\documentclass[12pt,a4paper,twoside]{article}

which sets 12pt as reference value for \normalsize.

You can use them either by "switch state" or by scopus, e. g.

Now big text will follow. \Huge Zorch, uch huge text!!!
\normalsize Ah, being back to normal.

which is equivalent to

Now big text will follow. {\Huge Zorch, uch huge text!!!}
Ah, being back to normal.

Personally, I prefer the second form.


> the "\\" should give
> the ragged edge as it appeared on the tube.  this works in
> {verse} anyway.   i'm not sure what to do at the bottom of the
> post; i figure trial/error will anser that.

The \\ macro creates a forced line-break within a paragraph and
should hardly be used. It's microformatting, and that's what
LaTeX should not be abused for. :-)



> here is the bit of the novel that i need help with.  any/all help
> is much appreciated.
> 
> +
> 
> ``Can you show me?'' she said.

Erm, why don't you use doublequotes instead of doubled singlequotes?
Yes, it sounds stupid, but it's like implementing quotes using commas
and apostrophes ,,like in this example'' for example. :-)

Use "` (doublequote backtick) for opening quotes and "' (doublequote
apostrophe) for closing quotes. When I say "doublequote", I refer to
the inch character (as in 21" CRT) in your alphanumerical keyboard
section.

You can also use macros for quoting, but I found them a bit too
much typing, I just wanto to mention them: there are \glqq and \grqq
(german left quote quote, german right quote quote) and \glq and \grq,
representing ,,text'' and ,text'. There are also \flqq (french left
quote quote) and the forms \frqq, \flq and \frq, to use <>
and ; for russian quotes, >>text<< and >text<, use them in
the opposite order.



> ``Okay, this is one of the groups where you'll find endless arguments.
> This is the newsgroup called `talk.abortion.'  Now the first article here
> is this one--'' Erik typed another key and a brief paragraph displayed:
> 
> {\tt chris\_sm...@holyrose.mass.edu Christopher L. Z. Smith

I would use

\begin{quote}
{\tt chris\_sm...@holyrose.mass.edu Christopher L. Z. Smith

next paragraph here

and maybe another one
}
\end{quote}

in this example. Works perfectly for multilines and paragraphs.
Don't only focus on how things look like; make it clear to you
what certain passages and elements of your text ARE. For example,
the above short passage can be seen as a quote.

If you see that you need the "quote from newsgroup discussion"
text element more often, define an own environment for it, so
IF you want to change its look, change it ONCE, in a central
position, and stay away from microformatting.

For example, put this before \begin{document} (in fact, put
it anywhere before use):

\newenvironment{ngquote}{\begin{quote}\tt}{\end{quote}}

You can now use it that way:

\begin{ngquote}
chris\_sm...@holyrose.mass.edu Christopher L. Z. Smith

next paragraph here

and maybe another one
\end{ngquote}

If you wish to also reduce text size, do it in the environment
declaration to make all occurances benefit from it.

Oh, and whenever you encounter special characters that do have a
meaning in LaTeX, and you don't know the 

Re: TeX qurestions, for anybody who cares to reply... .

2010-06-09 Thread Chip Camden
On Jun 08 2010 20:51, Gary Kline wrote:

> 
> He added, ``There are some news groups on the Net that have little to do
> with computers, per se.  There are groups that argue about politics,
> religion, science, art, you name it.  I don't waste my time with those.''
> 


Nice ploy to generate interest in your novel.  I'd change "There are some
groups on the Net that have little" to "Some groups on the Net have
little".  Likewise, "There are groups that argue" to "Some groups argue",
or perhaps "You can find groups that argue".  I try to avoid the passive
"There are" whenever possible.

-- 
Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com
___
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"


xsltproc: failed to load external entity

2010-06-09 Thread A. Wright


Is anyone else experiencing a rash of docbook-related build
issues centering around xsltproc accessing remote XML files?


Currently while building polkit (recursively from a build of emacs), I get
the error:

gmake[3]: Entering directory 
`/usr/ports/sysutils/polkit/work/polkit-0.96/docs/man'
/usr/local/bin/xsltproc -nonet --stringparam 
man.base.url.for.relative.links /usr/local/share/gtk-doc/html/polkit-1/ 
--xinclude 
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl 
polkit.xml
warning: failed to load external entity 
"http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl";
cannot parse 
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
gmake[3]: *** [polkit.8] Error 4


I'm not a common user of xsltproc, but the combination of an argument
beginning "http://"; along with the option "-nonet" (described as "Do not
use the Internet to fetch DTDs, entities or documents" on the man page)
seems rather fishy to me.  Can this combination ever work?

Has anyone else seen this?  Does anyone have a suggestion for a fix?

Thanks,
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: Too many defunct processes; kill -9 not working

2010-06-09 Thread C. P. Ghost
On Wed, Jun 9, 2010 at 2:41 PM, Joshua Gimer  wrote:
> On Wed, Jun 9, 2010 at 5:08 AM, Eitan Adler  wrote:
>> What can I do to determine why processes are not getting killed by kill -9?
>
> Try attaching to it using truss to see if it will shed some light on the
> reason why the process will not die.

The only reason for zombies is that the parent process doesn't
invoke the wait(2) system call to reclaim their return status.
I'd truss(1) the parent: maybe it is buggy or even stopped (SIGSTOP?).

-- 
Cordula's Web. http://www.cordula.ws/
___
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: Too many defunct processes; kill -9 not working

2010-06-09 Thread Joshua Gimer
On Wed, Jun 9, 2010 at 5:08 AM, Eitan Adler  wrote:

>
> What can I do to determine why processes are not getting killed by kill -9?
>
>
Try attaching to it using truss to see if it will shed some light on the
reason why the process will not die.

http://www.unix.com/man-page/FreeBSD/1/truss/

-- 
Thanks,
Joshua Gimer

---

http://www.linkedin.com/in/jgimer
http://twitter.com/jgimer
http://itsecops.blogspot.com/
___
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: Too many defunct processes; kill -9 not working

2010-06-09 Thread Giorgos Keramidas
On Wed, 9 Jun 2010 14:08:58 +0300, Eitan Adler  wrote:
> Lately I've been getting a considerable number of defunct processes. I
> do not know of any major event that changed my computer (ie it is not
> related to an ports update or a freeBSD upgrade).
>
> This is often caused by me killing the process using kill -15 or kill
> -3 or kill -9.
>
> What can I do to determine why processes are not getting killed by kill -9?
>
> % ps -o ppid -o comm|grep defunct|cut -d ' ' -f 1 |xargs kill -9
> typically gets rid of them (by killing their parent)

That's the only way to kill zombies...

You can't signal the zombie/defunct process itself, because it's gone
already.  But you can kill the process who spawned it.

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


davical upgrade problem

2010-06-09 Thread n dhert
I have php52-5.2.13_2 (not php5-5.3.2, too many people had stuff only
compatible with the 5.2 version)

There was an upgrade of davical, but I get
--->  Upgrade of www/davical started at: Tue, 08 Jun 2010 06:48:38 +0200
--->  Upgrading 'davical-0.9.8.4' to 'davical-0.9.9' (www/davical)
--->  Build of www/davical started at: Tue, 08 Jun 2010 06:48:38 +0200
--->  Building '/usr/ports/www/davical'
===>  Cleaning for davical-0.9.9
Unknown extension pdo_pgsql for PHP 52.
*** Error code 1
Stop in /usr/ports/www/davical.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20100608-92
883-p9aga4-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=davical-0.9.8.4
UPGRADE_P
ORT_VER=0.9.8.4 make FETCH_BEFORE_ARGS=-q DEPENDS_TARGET=package
** Fix the problem and try again.
but I have on my system:
# pkg_info | grep pdo_
php52-pdo_mysql-5.2.13_2 The pdo_mysql shared extension for php
php52-pdo_pgsql-5.2.13_2 The pdo_pgsql shared extension for php
php52-pdo_sqlite-5.2.13_2 The pdo_sqlite shared extension for php

What's wrong, how to solve?
___
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"


Too many defunct processes; kill -9 not working

2010-06-09 Thread Eitan Adler
Lately I've been getting a considerable number of defunct processes. I
do not know of any major event that changed my computer (ie it is not
related to an ports update or a freeBSD upgrade).

This is often caused by me killing the process using kill -15 or kill
-3 or kill -9.

What can I do to determine why processes are not getting killed by kill -9?

% ps -o ppid -o comm|grep defunct|cut -d ' ' -f 1 |xargs kill -9
typically gets rid of them (by killing their parent)

-- 
Eitan Adler
___
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: Atheros AR8131 Ethernet hangs shutdown

2010-06-09 Thread perryh
CyberLeo Kitsana  wrote:

> ... Alas, this box lacks obvious serial ports.

If you don't mind taking it apart, there's a fair chance of finding
a 3- or 9-pin SIO header on the circuit board.  It may be TTL level
rather than RS232, however.
___
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: why does ps |grep sometimes not return itself?

2010-06-09 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/06/2010 08:15:23, Eitan Adler wrote:
> Why do I sometimes see the grep in ps's output and sometimes not see it?
> [ei...@alphabeta ~ ]% ps aux|grep Me
> eitan 96325  0.0  0.0  1856   724   5  RL+  10:14AM   0:00.00 grep Me
> [ei...@alphabeta ~ ]% ps aux|grep Me
> [ei...@alphabeta ~ !1! ]%
> 

When you run that pipeline the OS doesn't start both programs exactly
simultaneously. It starts ps(1) first, then grep(1) together with
creating the pipeline by connecting ps's stdout to grep's stdin.
Depending on system load and various other factors, this may allow ps(1)
to grab the snapshot of the process table that it works on before
grep(1) has started.  It's a race condition.

Whether you see this effect or not will depend very much on system
conformation and load.  I can't reproduce the effect on a lightly loaded
dual processor machine, which always shows the grep process, whereas on
a single processor virtual machine running under VirtualBox, I never see
grep in the ps output unless I renice the ps(1) process.

Cheers

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwPRBAACgkQ8Mjk52CukIxkWgCeNSQX37XoGvaZn2A/0vYrmUka
1yMAnjtZJoYNqOdo9UDkWks/4cYpVFPy
=Rkg3
-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"


why does ps |grep sometimes not return itself?

2010-06-09 Thread Eitan Adler
Why do I sometimes see the grep in ps's output and sometimes not see it?
[ei...@alphabeta ~ ]% ps aux|grep Me
eitan 96325  0.0  0.0  1856   724   5  RL+  10:14AM   0:00.00 grep Me
[ei...@alphabeta ~ ]% ps aux|grep Me
[ei...@alphabeta ~ !1! ]%

-- 
Eitan Adler
___
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"