Re: NFSv2 Wrong FS Size

2009-02-05 Thread perryh
   you could rebuild df to print its numbers as unsigned
   instead of signed.  Just watch out if your local filesystems
   start eating into their 8% reserve, since they'll start
   reporting huge values.
  
  Or patch df to print local filesystem sizes as signed -- so
  that the reserve reporting still works -- and NFS as unsigned
  to match the spec.

 That works as long as you don't NFS-mount other FreeBSD systems
 with overfull drives :)

Looking at this a little more closely, it appears that the struct
statfs returned by statfs(2) and friends tells the whole story,
using 64-bit values most of which are defined as unsigned.  (Only
f_bavail and f_ffree -- the number of blocks and inodes available to
non-superusers -- are defined as signed.)  The code that converts
from the 32-bit NFSv2 to the 64-bit struct statfs values seems
more likely to be somewhere in NFS than in df(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


Re: Xorg upgrade desaster: Xlib: extension Generic Event Extension missing on display :0.0.

2009-02-05 Thread cwt

Ulrich Spörlein wrote:

On Fri, 30.01.2009 at 23:19:41 +0100, O. Hartmann wrote:
  

After upgrading one of my FreeBSD 8.0-CUR/amd64 boxes to new xorg-7.4
and having done hurting recompiling nearly everything/package twice now
firefox3 still doesn't work properly and hits me when starting with this
error message:

Xlib:  extension Generic Event Extension missing on display :0.0.

Then firefox3 freezes forever, showing something like the background or
pixel remnants of windows/picograms moving over its window.



This should be unrelated to Xorg 7.4, as it happens to my 7.1 box,
running Xorg 7.3 and the latest firefox3. Please try backing down
firefox3 or some other related libraries that were updated in the last
month (when this started to show up)

Cheers,
Ulrich Spörlein
  
hey, sorry to barge in, but have you ppl by any chance seen a related 
post about this?
i saw this (am still getting it) after 7.4 upgrade, but when someone 
else reported it, the person who i think committed xorg updates i 
believe said this warning is harmless and only showing because some new 
functionality in the lib is not yet being used, something to that effect?


i think he explained that he just overlooked disabling the warning.

are you aware of this or are you having stability problems still? my 
system spits this warning, but just noise, and all working ok otherwise.
if you are aware of the post, but still having problems, then disregard 
this, and sorry if i missed something

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


Re: OT: SVN checkout checksumming

2009-02-05 Thread perryh
 I want to use SVN to automate the update process of a custom 
 application. So, I'm planning to indicate to every PC to update 
 periodically to a specific branch of the repository. The problem
 is that I need to be sure the files where not corrupted during
 the transfer. So, I'm planning to generate the hash (SHA or MD5,
 doesn't really matters) of every file downloaded by SVN on the
 client. For this to work, I need to compare the hashes with their
 server-side equivalent ...

Do you need to mirror the entire branch, or only distribute the
latest version?  If the latter, ports/net/rsync may be what you're
looking for.
___
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: Graphics tablet / Xorg / mouse problems

2009-02-05 Thread Rainer Hurling
I think it should be sufficient to set hald_enable=FALSE in etc/rc.conf 
to deactivate hald instead of chmod usr/local/etc/rc.d/hald.


Rainer


Am 04.02.2009 05:23 (UTC+1) schrieb Antonio Rieser:

Hi,

Thanks a million for your help.  Many thanks to Bartosz, too!  Just to
be sure I understood how to deactivate hald, I ran (as root) the
command

chmod -x /usr/local/etc/rc.d/hald

which should prevent it from running in the future, then, for this session

pkill hald

That should do it, right?

Also, I reported earlier that everything seems to be normal if I boot
with the tablet plugged in, but that's not always true.  I now think
that if I log in and out enough I get the same error messages.

I have enclosed my Device Section of /etc/X11/Xorg.conf below.

All the best,

  Tony

-

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option NoAccel # [bool]
#Option SWcursor# [bool]
#Option ColorKey# i
#Option CacheLines  # i
#Option Dac6Bit # [bool]
#Option DRI # [bool]
#Option NoDDC   # [bool]
#Option ShowCache   # [bool]
#Option XvMCSurfaces# i
#Option PageFlip# [bool]
Identifier  Card0
Driver  intel
VendorName  Intel Corporation
BoardName   82852/855GM Integrated Graphics Device
BusID   PCI:0:2:0
Option  Accel On
EndSection


On Mon, Feb 2, 2009 at 4:36 AM, Dominic Fandrey kamik...@bsdforen.de wrote:

Antonio Rieser wrote:

Hi,

I recently installed FreeBSD 7.1 on an ACER Aspire
1680 laptop. I'm running KDE 3.5 and the most recent Xorg port with a
Wacom Bamboo tablet and the wacom driver from the ports collection.  I
have the following problems with the tablet and mouse: ...

Just to keep you up to date, Bartosz is on it. Of course, I cannot give
you a schedule. With the involvement of hald things seem to get much
more complicated. It might be a temporary solution to deactivate
hald support.

Regards


___
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


broken ports

2009-02-05 Thread David Collins
Hi,

I am not sure if this is better here or in the ports list, but I
thought that since it is something that I have done because I don't
know what I am doing here would be better

A while ago I installed ports and everything was working fine.
Recently I thought one of my ports was causing my machine to crash so
I uninstalled it, but later found out that the only problem was a poor
wireless network and low diskspace. Trying to reinstall the port
failed at the configure stage. I tried a few others and they also
failed at the same stage. This leads me to believe that it is
something I have done.

So here is the make install error:
===  Script configure failed unexpectedly.Please report the problem
to kuriy...@freebsd.org [maintainer]  and attach
the/usr/ports/textproc/expat2/work/expat-2.0.1/config.log including
the outputof the failure of your make command. Also, it might be a
good idea to providean overview of all packages installed on your
system (e.g. an `ls/var/db/pkg`).

I found a post saying to try to compile a test program, so I tried that:
viper:~$ gcc -o hello hello.c
/usr/bin/ld: cannot find -lgcc_s

So it appears that I have completely screwed the pooch! Is there
anything I can do to fix this?

Thanks
David Collins
___
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: is there any way to increase disk performance ?

2009-02-05 Thread Yavuz

Ok. I increased vfs.read_max

while I was looking  into this case in google, I see a value of MAXPHYS
in my kernel, there is a value called MAXPHYS=(128*1024) as default.
What should I set this value ?




Yavuz wrote:

I have freebsd7 (amd64 bit)  and sata2 disk 7200 rpm.

it's running mail server which has services like pop3,imap,smtp and 
webmail on this machine.


When I type systat 1 -vmstat on command line, even I rarely see that disk 
usage hits 100%.

I have no problem as ram and cpu.  they is enough.

is there any way to increase disk performance without causing any problem 
?



sysctl vfs.read_max=32 can help read performance
___
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: is there any way to increase disk performance ?

2009-02-05 Thread Wojciech Puchar


while I was looking  into this case in google, I see a value of MAXPHYS
in my kernel, there is a value called MAXPHYS=(128*1024) as default.
What should I set this value ?


i use 1024*1024






Yavuz wrote:

I have freebsd7 (amd64 bit)  and sata2 disk 7200 rpm.

it's running mail server which has services like pop3,imap,smtp and 
webmail on this machine.


When I type systat 1 -vmstat on command line, even I rarely see that disk 
usage hits 100%.

I have no problem as ram and cpu.  they is enough.

is there any way to increase disk performance without causing any problem 
?



sysctl vfs.read_max=32 can help read performance
___
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: broken ports

2009-02-05 Thread Dominic Fandrey
David Collins wrote:
 Hi,
 
 I am not sure if this is better here or in the ports list, but I
 thought that since it is something that I have done because I don't
 know what I am doing here would be better
 
 A while ago I installed ports and everything was working fine.
 Recently I thought one of my ports was causing my machine to crash so
 I uninstalled it, but later found out that the only problem was a poor
 wireless network and low diskspace. Trying to reinstall the port
 failed at the configure stage. I tried a few others and they also
 failed at the same stage. This leads me to believe that it is
 something I have done.
 
 So here is the make install error:
 ===  Script configure failed unexpectedly.Please report the problem
 to kuriy...@freebsd.org [maintainer]  and attach
 the/usr/ports/textproc/expat2/work/expat-2.0.1/config.log including
 the outputof the failure of your make command. Also, it might be a
 good idea to providean overview of all packages installed on your
 system (e.g. an `ls/var/db/pkg`).
 
 I found a post saying to try to compile a test program, so I tried that:
 viper:~$ gcc -o hello hello.c
 /usr/bin/ld: cannot find -lgcc_s
 
 So it appears that I have completely screwed the pooch! Is there
 anything I can do to fix this?
 
 Thanks
 David Collins

I suggest you give us the complete error message. The lines before the
one you posted ought to be the most interesting ones.
___
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: is there any way to increase disk performance ?

2009-02-05 Thread Ivan Voras
Yavuz wrote:
 Ok. I increased vfs.read_max
 
 while I was looking  into this case in google, I see a value of MAXPHYS
 in my kernel, there is a value called MAXPHYS=(128*1024) as default.
 What should I set this value ?

Neither vfs.read_max nor MAXPHYS will help a mail server (or any other
server dealing with small files).



signature.asc
Description: OpenPGP digital signature


Re: policykit fails to build on 7.1-stable i386

2009-02-05 Thread Anton Shterenlikht
On Wed, Feb 04, 2009 at 02:34:35PM -0700, Steve Franks wrote:
  I think portupgrade -f p5-XML-Parser got me over the hurdle. There was
 
 !!!
  a file missing altho the port was installed. Forced it to build and
 !!!
 
  reinstall and things were able to build once again.
 
 Someone (maintainer or upstream) should be paying more attention here.
  All my systems have gone thru this problem this week.  That begins to
 cross over from nuisance to something stronger in my bookI don't
 like port problems that break *everything* - should have been obvious
 to catch before releasing it into the wild if it breaks (at my
 estimate) 20+ ports.  Same as the current X.Org 7.4 issues...we losing
 our touch or something?  I like gloating to the linux people about
 robustness.  Hate to give them fodder ;)

yes, I think something went seriously wrong with X after upgrades of
23-24 Jan 2009. I cannot get X to work at all on 7.1-stable or 8.0-current,
and some stubborn problems on 6.4-stable alpha.

I submitted one PR already, and am preparing two more.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: Xorg upgrade desaster: Xlib: extension Generic Event Extension missing on display :0.0.

2009-02-05 Thread O. Hartmann

Ulrich Spörlein wrote:

On Fri, 30.01.2009 at 23:19:41 +0100, O. Hartmann wrote:

After upgrading one of my FreeBSD 8.0-CUR/amd64 boxes to new xorg-7.4
and having done hurting recompiling nearly everything/package twice now
firefox3 still doesn't work properly and hits me when starting with this
error message:

Xlib:  extension Generic Event Extension missing on display :0.0.

Then firefox3 freezes forever, showing something like the background or
pixel remnants of windows/picograms moving over its window.


This should be unrelated to Xorg 7.4, as it happens to my 7.1 box,
running Xorg 7.3 and the latest firefox3. Please try backing down
firefox3 or some other related libraries that were updated in the last
month (when this started to show up)

Cheers,
Ulrich Spörlein


Hello.
As I reported earlier in this thread, I recompiled everything/package on 
my boxes at least three times and the specified problem still remained. 
But after the update of libGL/libGLUT the last three days everything 
seems to run all right now. Weird ...


Greetings,
Oliver

___
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


xdm doesn't run as daemon

2009-02-05 Thread Anton Shterenlikht
After upgrades of 23-24 Jan 2009 xdm is not working:

# xdm
# ps ax|grep xdm
75632  p1  S+ 0:00.01 grep xdm
# cat /var/log/xdm.log
#

So no xdm daemon.

My system: FreeBSD 6.4-STABLE alpha, xdm-1.1.8_1.

Any ideas?

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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


xdm doesn't run as daemon

2009-02-05 Thread Robert Huff

Anton Shterenlikht writes:

  After upgrades of 23-24 Jan 2009 xdm is not working:
  
  # xdm
  # ps ax|grep xdm
  75632  p1  S+ 0:00.01 grep xdm
  # cat /var/log/xdm.log

  Any ideas?

1) May we see /var/log/Xorg.0.log?
2) Does startx work?


Robert Huff

___
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: broken ports

2009-02-05 Thread David Collins
Sorry, forgot about that. Looking at it again I am not sure this is a
ports thing, and more of an issue with the compiling tool chain.


viper:/usr/ports/net-p2p/rtorrent$ sudo make
===  Vulnerability check disabled, database not found
===  Found saved configuration for rtorrent-0.8.2_1
= rtorrent-0.8.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
= Attempting to fetch from http://libtorrent.rakshasa.no/downloads/.
rtorrent-0.8.2.tar.gz 100% of  494 kB   48 kBps 00m00s
===  Extracting for rtorrent-0.8.2_1
= MD5 Checksum OK for rtorrent-0.8.2.tar.gz.
= SHA256 Checksum OK for rtorrent-0.8.2.tar.gz.
===  Patching for rtorrent-0.8.2_1
===  Applying FreeBSD patches for rtorrent-0.8.2_1
===   rtorrent-0.8.2_1 depends on package: libtorrent=0.12.2 - found
===   rtorrent-0.8.2_1 depends on shared library: curl.5 - found
===  Configuring for rtorrent-0.8.2_1
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
===  Script configure failed unexpectedly.
Please report the problem to f...@freebsd.org [maintainer]  and attach the
/usr/ports/net-p2p/rtorrent/work/rtorrent-0.8.2/config.log including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/net-p2p/rtorrent.
*** Error code 1

Stop in /usr/ports/net-p2p/rtorrent.



Also this might help

viper:/usr/ports/net-p2p/rtorrent$ uname -a
FreeBSD viper.homeunix.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb
24 19:59:52 UTC 2008
r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386



On 05/02/2009, Dominic Fandrey kamik...@bsdforen.de wrote:
 David Collins wrote:
 Hi,

 I am not sure if this is better here or in the ports list, but I
 thought that since it is something that I have done because I don't
 know what I am doing here would be better

 A while ago I installed ports and everything was working fine.
 Recently I thought one of my ports was causing my machine to crash so
 I uninstalled it, but later found out that the only problem was a poor
 wireless network and low diskspace. Trying to reinstall the port
 failed at the configure stage. I tried a few others and they also
 failed at the same stage. This leads me to believe that it is
 something I have done.

 So here is the make install error:
 ===  Script configure failed unexpectedly.Please report the problem
 to kuriy...@freebsd.org [maintainer]  and attach
 the/usr/ports/textproc/expat2/work/expat-2.0.1/config.log including
 the outputof the failure of your make command. Also, it might be a
 good idea to providean overview of all packages installed on your
 system (e.g. an `ls/var/db/pkg`).

 I found a post saying to try to compile a test program, so I tried that:
 viper:~$ gcc -o hello hello.c
 /usr/bin/ld: cannot find -lgcc_s

 So it appears that I have completely screwed the pooch! Is there
 anything I can do to fix this?

 Thanks
 David Collins

 I suggest you give us the complete error message. The lines before the
 one you posted ought to be the most interesting ones.

___
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: xdm doesn't run as daemon

2009-02-05 Thread Anton Shterenlikht
On Thu, Feb 05, 2009 at 08:01:25AM -0500, Robert Huff wrote:
 
 Anton Shterenlikht writes:
 
   After upgrades of 23-24 Jan 2009 xdm is not working:
   
   # xdm
   # ps ax|grep xdm
   75632  p1  S+ 0:00.01 grep xdm
   # cat /var/log/xdm.log
 
   Any ideas?
 
   1) May we see /var/log/Xorg.0.log?
   2) Does startx work?

This is a headless box, I don't run X server on it.
I connect to it via XDMCP and run clients.
So I've neither /var/log/Xorg.0.log nor startx on this box.

It worked fine until the upgrade.

I'm now thoroughtly confused by dbus and hal issues. So in case
it matters I run neither hald nor dbus-daemon on this box.

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: Problem gdm 2.24, xdmcp D-BUS?

2009-02-05 Thread Klaus Friis Østergaard
2009/2/1 Klaus Friis Østergaard farremo...@gmail.com:
On Fri, Jan 30, 2009 at 04:03:10PM +0100, Klaus Friis Østergaard wrote:

I tried to remove the directories that was not removed by deinstall
manually, and then installed again, now no complaints about not being
able to uninstall I can now start gdm again, with out any complaints,
but when I run sockstat I cannot see gdm-binary active nor any listen
on udp 177.

Any suggestions?


GDM 2.24 ist broken, not only on FreeBSD but also on other systems like
Fedora. My personal workaround ist to keep using 2.20 for now, which
seems to be the last working version that came from the gnome team.

 gdm-2.24.1_5 is not broken, else I couldn't have logged onto my
 gnome-desktop some minutes ago. But there are some feature-regressions
 compared to 2.20 - developers say they have rewritten important parts
 of the code.

 Greetings,

 Uli.

 Thanks, but how do I reverse back to gdm 2.20? Is this possible with
 the portupgrade tools?

 /Klaus


 --
 Klaus F. Østergaard, farremosen(at)gmail dot com

Thanks, it worked with portdowngrade and then I just used the
portupgrade -a -x /x11/gdm



-- 
Klaus F. Østergaard, farremosen(at)gmail dot 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: No wifi signal with usb antenna (rum driver)

2009-02-05 Thread Paul B. Mahol
On 2/4/09, Lars Lonne lonnel...@gmail.com wrote:
 Hi all. I have recently installed FreeBSD-7.1-RELEASE on my Compaq Evo
 laptop. It used to dualboot with windows xp and gentoo linux, but I
 decided to give FreeBSD a try instead, so now it dualboots with
 windows and FreeBSD. My biggest problem is connecting to the internet
 over the local wifi network. I am using a usb antenna, which uses the
 rum driver in FreeBSD. When using windows, the signal strength is low
 (I am located quite far from the access point), but works fine. I can
 connect to the network and get on the internet, no problem. Problem is
 when I start FreeBSD, I cannot get a signal, i.e. ifconfig always
 reports no carrier. I can connect to the network with FreeBSD if I
 move closer to the AP, but it is impractical for me to do so.

 Has anyone experienced anything similar, or know what could be causing
 it? Please let me know if you need more information. Hope you can help
 me.

 /lars
 ___
 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


This is known rum issue, some code is missing.

I debuged it some time ago, but with no luck.
I will try again some time later 

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


After upgrade problems with many open files

2009-02-05 Thread Klaus Friis Østergaard
Hi,

After I recently update my 7.0 Freebsd Box I have now a small problem
with performance and many open files.

This has not een an issue before so I don't know what a nornal level
is, but at the moment I have increased the kern.maxfiles from 12.000
to 60.000, and the system uses between 22.000 to 30.000 open files.

On the box I is samba, MySQL (with no real activity only installed not
used yet), gnome, interfaces I have I have 5 thin clients attached to
this server, they get X via xdmcp from thin clienter that boots up
with there own os (Elux).

After the upgrade of application every thing seems to be slow, could
it be related to the many open files are there other places to look
for tunning

I have tried to use lsof but I do'not find 2 lines when listed.

Any help/guidience to solve this would be apriciated.

/Klaus


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


newsletter APP NOT listserve

2009-02-05 Thread Jean-Paul Natola
Can anyone recommend a newsletter application , preferably where I can just
have an ordinary user login via a webpage , upload a file/message/ and click
send?

I was playing with mailman , but that seems to be a list serve app.


tia 




___
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


How to change default boot loader location

2009-02-05 Thread Victor M. Blood
Hi, All.

I have a SATA-II disk, which split for 4 primary partitions, eg:
1. NTFS  (Active) / ntldr
2. BSD (/var, /usr)
4. NTFS
3. BSD (/, swap)
* partitions showed as 'how it's phisicaly placed on drive'

Used bootpart I have create 'freebsd.bin' and try to loadup it into
ntldr, boot.ini

eg: bootpart 2 LBA freebsd.bin

Freebsd loader shows two error messages about 'Invalid Partition' and
prompt me
boot: 0:ad(0,a)/boot/kernel/kernel

Then I 'by hands' try: 0:ad(4,3,a)/boot/loader, Free BSD has normal
start loader, menus, kernel, etc... works!

I try write this line in /boot.config, but have no any result...
eg: echo 0:ad(4,3,a)/boot/loader /boot.config

Help me please, how I can get autoboot from slice 3, unit 4 ?

PS: sorry for my english.
-- 
With all regards, Victor M. Blood. mailto: free...@masm.elcom.ru
FTN: 2:5024/1...@fidonet.org, ICQ#3567656




___
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: newsletter APP NOT listserve

2009-02-05 Thread Geoff Fritz
On Thu, Feb 05, 2009 at 09:31:56AM -0500, Jean-Paul Natola wrote:
 Can anyone recommend a newsletter application , preferably where I can just
 have an ordinary user login via a webpage , upload a file/message/ and click
 send?
 
 I was playing with mailman , but that seems to be a list serve app.

I've been using phplist for a couple of years on a client's site.  It has
click stats, a decent web interface, relatively easy to get up and running,
and the performance is pretty good.

It is a little top-heavy, though, since it requires apache/php/mysql.
However, after enabling mysql query caching and adding eaccelerator into
the mix, it runs fairly well.  My last send clocked in at 47k messages per
hour on a 2.8GHz dual-core Pentium-D, using postfix as the local MTA.

I like the fact that it will automatically prune the list membership after
a user-configurable number of bounces.  Filter the bounce catcher account,
though, as spam will make your DB grow to insane sizes and bog it down.

It's not the best package in the world, but it's the only comperable
open source package that I know of.  I hope to hear of alternatives in
this thread.

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


about upgrade

2009-02-05 Thread Yavuz
I have a freebsd7.0-stable 


how can I upgrade this to freebsd7.1-release ?

is there a way for this one which from stable to 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: about upgrade

2009-02-05 Thread Glen Barber
On Thu, Feb 5, 2009 at 11:45 AM, Yavuz mas...@ihlas.net.tr wrote:
 I have a freebsd7.0-stable
 how can I upgrade this to freebsd7.1-release ?


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading.html


-- 
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: system time on top output

2009-02-05 Thread Bruce Cran
On Thu, 5 Feb 2009 00:00:35 +0200
Omer Faruk Sen omerf...@gmail.com wrote:

 Hi,
 
 I have a running pgsql server but on heavy loads it consumes lots of
 time in system (more than %50). I can see that
 
 CPU states: 15.4% user,  0.0% nice, 81.9% system,  1.5% interrupt,
 1.2% idle
 
 But how can I debug that kind of system. vmstat and other tools only
 show most cpu is used by system. But how can I go deeper and debug
 that kind of a problem?
 Any tools that you can suggest me?

I've not used it, but I believe DTrace is probably the best tool to
find the cause of the problem.  It's in 7.1 and later.

-- 
Bruce
___
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: No wifi signal with usb antenna (rum driver)

2009-02-05 Thread Lars Lonne
2009/2/5 Paul B. Mahol one...@gmail.com:
 On 2/4/09, Lars Lonne lonnel...@gmail.com wrote:
 Hi all. I have recently installed FreeBSD-7.1-RELEASE on my Compaq Evo
 laptop. It used to dualboot with windows xp and gentoo linux, but I
 decided to give FreeBSD a try instead, so now it dualboots with
 windows and FreeBSD. My biggest problem is connecting to the internet
 over the local wifi network. I am using a usb antenna, which uses the
 rum driver in FreeBSD. When using windows, the signal strength is low
 (I am located quite far from the access point), but works fine. I can
 connect to the network and get on the internet, no problem. Problem is
 when I start FreeBSD, I cannot get a signal, i.e. ifconfig always
 reports no carrier. I can connect to the network with FreeBSD if I
 move closer to the AP, but it is impractical for me to do so.

 Has anyone experienced anything similar, or know what could be causing
 it? Please let me know if you need more information. Hope you can help
 me.

 /lars
 ___
 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


 This is known rum issue, some code is missing.

 I debuged it some time ago, but with no luck.
 I will try again some time later 

 --
 Paul


Thank you for your reply. I have the same problem with the ral driver
(as I mentioned in an earlier email to this mailing list) when I am
using a different antenna (a pc-card). Is this also a known issue with
the ral driver?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: about upgrade

2009-02-05 Thread Anton Shterenlikht
On Thu, Feb 05, 2009 at 06:45:00PM +0200, Yavuz wrote:
 I have a freebsd7.0-stable 
 
 how can I upgrade this to freebsd7.1-release ?
 
 is there a way for this one which from stable to release ? 

you mean to 7.1-release instead of 7.1-stable?

what about tag=RELENG_7_1 in cvsup?
see appendix A.7.1 in the user manual.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: No wifi signal with usb antenna (rum driver)

2009-02-05 Thread Paul B. Mahol
On 2/5/09, Lars Lonne lonnel...@gmail.com wrote:
 2009/2/5 Paul B. Mahol one...@gmail.com:
 On 2/4/09, Lars Lonne lonnel...@gmail.com wrote:
 Hi all. I have recently installed FreeBSD-7.1-RELEASE on my Compaq Evo
 laptop. It used to dualboot with windows xp and gentoo linux, but I
 decided to give FreeBSD a try instead, so now it dualboots with
 windows and FreeBSD. My biggest problem is connecting to the internet
 over the local wifi network. I am using a usb antenna, which uses the
 rum driver in FreeBSD. When using windows, the signal strength is low
 (I am located quite far from the access point), but works fine. I can
 connect to the network and get on the internet, no problem. Problem is
 when I start FreeBSD, I cannot get a signal, i.e. ifconfig always
 reports no carrier. I can connect to the network with FreeBSD if I
 move closer to the AP, but it is impractical for me to do so.

 Has anyone experienced anything similar, or know what could be causing
 it? Please let me know if you need more information. Hope you can help
 me.

 /lars
 ___
 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


 This is known rum issue, some code is missing.

 I debuged it some time ago, but with no luck.
 I will try again some time later 

 --
 Paul


 Thank you for your reply. I have the same problem with the ral driver
 (as I mentioned in an earlier email to this mailing list) when I am
 using a different antenna (a pc-card). Is this also a known issue with
 the ral driver?

If on linux(open source driver, not via ndiswrapper) you do not have
such problem, than it is ral driver fault.

-- 
Paul
___
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: No wifi signal with usb antenna (rum driver)

2009-02-05 Thread Lars Lonne
2009/2/5 Paul B. Mahol one...@gmail.com:
 On 2/5/09, Lars Lonne lonnel...@gmail.com wrote:
 2009/2/5 Paul B. Mahol one...@gmail.com:
 On 2/4/09, Lars Lonne lonnel...@gmail.com wrote:
 Hi all. I have recently installed FreeBSD-7.1-RELEASE on my Compaq Evo
 laptop. It used to dualboot with windows xp and gentoo linux, but I
 decided to give FreeBSD a try instead, so now it dualboots with
 windows and FreeBSD. My biggest problem is connecting to the internet
 over the local wifi network. I am using a usb antenna, which uses the
 rum driver in FreeBSD. When using windows, the signal strength is low
 (I am located quite far from the access point), but works fine. I can
 connect to the network and get on the internet, no problem. Problem is
 when I start FreeBSD, I cannot get a signal, i.e. ifconfig always
 reports no carrier. I can connect to the network with FreeBSD if I
 move closer to the AP, but it is impractical for me to do so.

 Has anyone experienced anything similar, or know what could be causing
 it? Please let me know if you need more information. Hope you can help
 me.

 /lars
 ___
 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


 This is known rum issue, some code is missing.

 I debuged it some time ago, but with no luck.
 I will try again some time later 

 --
 Paul


 Thank you for your reply. I have the same problem with the ral driver
 (as I mentioned in an earlier email to this mailing list) when I am
 using a different antenna (a pc-card). Is this also a known issue with
 the ral driver?

 If on linux(open source driver, not via ndiswrapper) you do not have
 such problem, than it is ral driver fault.

 --
 Paul


Ok, thank you for your help. I'll try the ndiswrapper and see if I can
get better results with that.

-- 
Lars
___
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: No wifi signal with usb antenna (rum driver)

2009-02-05 Thread Paul B. Mahol
On 2/5/09, Paul B. Mahol one...@gmail.com wrote:
 On 2/5/09, Lars Lonne lonnel...@gmail.com wrote:
 2009/2/5 Paul B. Mahol one...@gmail.com:
 On 2/4/09, Lars Lonne lonnel...@gmail.com wrote:
 Hi all. I have recently installed FreeBSD-7.1-RELEASE on my Compaq Evo
 laptop. It used to dualboot with windows xp and gentoo linux, but I
 decided to give FreeBSD a try instead, so now it dualboots with
 windows and FreeBSD. My biggest problem is connecting to the internet
 over the local wifi network. I am using a usb antenna, which uses the
 rum driver in FreeBSD. When using windows, the signal strength is low
 (I am located quite far from the access point), but works fine. I can
 connect to the network and get on the internet, no problem. Problem is
 when I start FreeBSD, I cannot get a signal, i.e. ifconfig always
 reports no carrier. I can connect to the network with FreeBSD if I
 move closer to the AP, but it is impractical for me to do so.

 Has anyone experienced anything similar, or know what could be causing
 it? Please let me know if you need more information. Hope you can help
 me.

 /lars
 ___
 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


 This is known rum issue, some code is missing.

 I debuged it some time ago, but with no luck.
 I will try again some time later 

 --
 Paul


 Thank you for your reply. I have the same problem with the ral driver
 (as I mentioned in an earlier email to this mailing list) when I am
 using a different antenna (a pc-card). Is this also a known issue with
 the ral driver?

 If on linux(open source driver, not via ndiswrapper) you do not have
 such problem, than it is ral driver fault.

Until such issues get resolved, you can try/use ndisulator (it works
fine for my rum and bwi cards).
Keep in mind that _real_ support for USB devices with ndisulator is
currently available only in 8.0

-- 
Paul
___
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: No wifi signal with usb antenna (rum driver)

2009-02-05 Thread Paul B. Mahol
On 2/5/09, Lars Lonne lonnel...@gmail.com wrote:
 2009/2/5 Paul B. Mahol one...@gmail.com:
 On 2/5/09, Lars Lonne lonnel...@gmail.com wrote:
 2009/2/5 Paul B. Mahol one...@gmail.com:
 On 2/4/09, Lars Lonne lonnel...@gmail.com wrote:
 Hi all. I have recently installed FreeBSD-7.1-RELEASE on my Compaq Evo
 laptop. It used to dualboot with windows xp and gentoo linux, but I
 decided to give FreeBSD a try instead, so now it dualboots with
 windows and FreeBSD. My biggest problem is connecting to the internet
 over the local wifi network. I am using a usb antenna, which uses the
 rum driver in FreeBSD. When using windows, the signal strength is low
 (I am located quite far from the access point), but works fine. I can
 connect to the network and get on the internet, no problem. Problem is
 when I start FreeBSD, I cannot get a signal, i.e. ifconfig always
 reports no carrier. I can connect to the network with FreeBSD if I
 move closer to the AP, but it is impractical for me to do so.

 Has anyone experienced anything similar, or know what could be causing
 it? Please let me know if you need more information. Hope you can help
 me.

 /lars
 ___
 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


 This is known rum issue, some code is missing.

 I debuged it some time ago, but with no luck.
 I will try again some time later 

 --
 Paul


 Thank you for your reply. I have the same problem with the ral driver
 (as I mentioned in an earlier email to this mailing list) when I am
 using a different antenna (a pc-card). Is this also a known issue with
 the ral driver?

 If on linux(open source driver, not via ndiswrapper) you do not have
 such problem, than it is ral driver fault.

 --
 Paul


 Ok, thank you for your help. I'll try the ndiswrapper and see if I can
 get better results with that.

You mean ndisulator on FreeBSD, ndisgen(8).

ndiswrapper works only with linux.

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


Generating packages from ports without docs

2009-02-05 Thread Matias Surdi

Hi,

When I build a package with make package for a port, the resulting 
package contains also the docs (which upon installatin are located in 
/usr/local/share/doc/[package]



Which is the best way to not include those files in the generated package?


Thanks a lot.

___
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


Shrink a Slice? FreeBSD 7.1

2009-02-05 Thread perikillo
   Hi people.
   I have been googling without any good info about: How to shrink a slice?

   Case: I installed a new server for mysql, is working, I already install
all the ports I need, them I spend a lot of hours yesterday with this baby,
now this is my current disk layout:

/dev/ad0s1a on / (ufs, local, noatime, soft-updates)
devfs on /dev (devfs, local)
/dev/ad0s1f on /tmp (ufs, local, noatime, soft-updates)
/dev/ad0s1d on /usr (ufs, local, noatime, soft-updates)
/dev/ad0s1e on /var (ufs, local, noatime, soft-updates)
/dev/ad0s1g on /backups (ufs, local, soft-updates)

   What I want to do is to shrink the slice /dev/ad0s1g

Filesystem  1M-blocks   Used  Avail Capacity  Mounted on
/dev/ad0s1a   49523222351%/
devfs   0  0  0   100%/dev
/dev/ad0s1f   495  0456 0%/tmp
/dev/ad0s1d  5967   4225   126477%/usr
/dev/ad0s1e 15863   1343  13251 9%/var
/dev/ad0s1g272313  48823 20170419%/backups

  Like u can see, is the last slice I have, is posible to remove that slice
and create a new one?

  I don't have info there yet and is not a freebsd default slice, I know
that I need to umount first.

  I have been reading some post but all I have seen is that ins not possible
or I'm wrong?

  I try to with sysinstall looks like don't let me do this.

  Running FreeBSD 7.1-p2.

  Thanks all for your time!!!
___
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: newsletter APP NOT listserve

2009-02-05 Thread Jean-Paul Natola


-Original Message-
From: Geoff Fritz [mailto:gfr...@gmail.com] 
Sent: Thursday, February 05, 2009 11:26 AM
To: Jean-Paul Natola
Cc: questi...@freebsd.org
Subject: Re: newsletter APP NOT listserve

On Thu, Feb 05, 2009 at 09:31:56AM -0500, Jean-Paul Natola wrote:
 Can anyone recommend a newsletter application , preferably where I can just
 have an ordinary user login via a webpage , upload a file/message/ and
click
 send?
 
 I was playing with mailman , but that seems to be a list serve app.

I've been using phplist for a couple of years on a client's site.  It has
click stats, a decent web interface, relatively easy to get up and running,
and the performance is pretty good.

It is a little top-heavy, though, since it requires apache/php/mysql.
However, after enabling mysql query caching and adding eaccelerator into
the mix, it runs fairly well.  My last send clocked in at 47k messages per
hour on a 2.8GHz dual-core Pentium-D, using postfix as the local MTA.

I like the fact that it will automatically prune the list membership after
a user-configurable number of bounces.  Filter the bounce catcher account,
though, as spam will make your DB grow to insane sizes and bog it down.

It's not the best package in the world, but it's the only comperable
open source package that I know of.  I hope to hear of alternatives in
this thread.
_-
Well the server I plan to run it a VPS server, so I REALLY DON'T know what
the specs are on the box- and since it's not dedicated I have no clue what
else or what other sites are on it- I do know it has exim installed which I
am very familiar with and actually use- I know it has MySql on it as well it
a red hat 9 os if im not mistaken and I've never used apache or php, what's
the learning curve like to get that running?


___
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: Link UP/DOWN problem with re0 on FreeBSD 7.1

2009-02-05 Thread Graeme Dargie
-Original Message-
From: FreeBSD [mailto:free...@optiksecurite.com] 
Sent: 04 February 2009 21:55
Cc: freebsd-questions@freebsd.org
Subject: Re: Link UP/DOWN problem with re0 on FreeBSD 7.1

FreeBSD a écrit :
 Graeme Dargie a écrit :
 If you do a dmesg are you also showing a watchdog time out for the nic ?

 I only ask as I am having the exact same problem with the exact same 
 card and I have yet to find a solution, if I come across something I 
 will let you know.

 Regards
 Graeme
 
 Not a single time...sorry.
 

 -Original Message-
 From: FreeBSD [mailto:free...@optiksecurite.com] Sent: 26 January 2009 
 18:58
 To: freebsd-questions@freebsd.org
 Subject: Re: Link UP/DOWN problem with re0 on FreeBSD 7.1

 FreeBSD a écrit :
 Hi everyone,

 Just to put you in context, I applied the following patch to make the 
 card available:

 SVN rev 186389 on 2008-12-22 00:46:22Z by yongari

 Since we don't request reset for rlphy(4), the link state 'UP'
 event from mii(4) may not be delivered if valid link was already
 established. To address the issue, check current link state after
 driving MII_TICK. This should fix a regression introduced in
 r185753 on fast ethernet controllers.

 ---

 I don't have any issue related to that anymore. The problem is that I 
 get link UP/DOWN a few times per hour on 3 identical machines that I 
 dumped/restored. They are all pluged in a Cisco switch that works 
 fine for every other PCs.

 Jan 26 06:09:15 term005 kernel: re0: link state changed to DOWN
 Jan 26 06:09:17 term005 kernel: re0: link state changed to UP

 I tried to switch cables, but I got the same result.

 There is the pciconf -lv output:

 r...@pci0:3:0:0: class=0x02 card=0x02831028 chip=0x816810ec 
 rev=0x02 hdr=0x00
 vendor = 'Realtek Semiconductor'
 device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC'
 class  = network
 subclass   = ethernet

 There is the output of vmstat -i:

 interrupt  total   rate
 irq18: re0 ehci0++ 63766  0
 irq19: atapci0277001  3
 cpu0: timer156068748   1961
 Total  156409515   1966

 Could it be related to the fact that there is re0 and ehci0++ on the 
 same IRQ?

 Thank you for your help,

 Martin

 I just tried with a brand new Dell 2708 switch and the problem is 
 still there. I just confirmed that the UP/DOWN occurs every 10 minutes 
 (+- a few seconds).

 Thanks again,

 Martin


Just to follow-up on my own problem...

I tried to disable some options of the card with :
ifconfig re0 -rxcsum -txcsum -tso -lro -vlanhwtag

but nothing as changed. I just tried to download a big file (FreeBSD 
7.1-REL DVD iso in fact) to see if the deconnection occurs even during a 
transfer. The DVD downloaded successfully and I verified that the MD5 
are OK. BUT, /var/log/messages continue to tell me that:
Feb  4 16:09:29 term003 kernel: re0: link state changed to UP
Feb  4 16:19:26 term003 kernel: re0: link state changed to DOWN
Feb  4 16:19:30 term003 kernel: re0: link state changed to UP
Feb  4 16:19:32 term003 kernel: re0: link state changed to DOWN

during the transfer (which worked OK). I don't know if that can help 
someone to help me ;)

Thanks,

Martin

___
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

I have a solution to this well a work around.

Add -tso to the relevant line in /etc/rc.conf

ifconfig_re0=inet 192.168.1.103  netmask 255.255.255.0 -tso

Adding -tso stops the link up / link down problem. Now I am understand that 
this may increase cpu if the traffic on the nic is high. I am sure some one the 
list will know of any other implications this may have.

It is a known problem and I site I read the bug had been submitted so hopefully 
it wont exist in 8.0 

Regards

Graeme

___
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: Shrink a Slice? FreeBSD 7.1

2009-02-05 Thread Jerry McAllister
On Thu, Feb 05, 2009 at 12:19:13PM -0800, perikillo wrote:

Hi people.
I have been googling without any good info about: How to shrink a slice?
 
Case: I installed a new server for mysql, is working, I already install
 all the ports I need, them I spend a lot of hours yesterday with this baby,
 now this is my current disk layout:
 
 /dev/ad0s1a on / (ufs, local, noatime, soft-updates)
 devfs on /dev (devfs, local)
 /dev/ad0s1f on /tmp (ufs, local, noatime, soft-updates)
 /dev/ad0s1d on /usr (ufs, local, noatime, soft-updates)
 /dev/ad0s1e on /var (ufs, local, noatime, soft-updates)
 /dev/ad0s1g on /backups (ufs, local, soft-updates)
 
What I want to do is to shrink the slice /dev/ad0s1g

  /dev/ad0s1g is a partition, not a slice.
  /dev/ad0s1 is the slice.

MicroSloth usage of the terms is different and confuses people sometimes.

As far as I know neither growfs(8) nor tunefs(8) can shrink the disk
allocated to a partition.

The only way is to dump each of the filesystems to some other
reliable media (maybe tape or a large USB disk) and then repartition
that slice to be the sizes you want.Use dump(8) to make the dumps
and then check the dump files out before starting the repartitioning.

First you have to build a filesystem on the USB drive.   
You should be able to use bsdlabel to create a single partition
that covers the whole drive.   

But, if your FreeBSD or BIOS is old enough it might not go that big, 
so you will need to break it down in to smaller slices and make a 
partition in each.  (I have had to do that.  But if it is 7.xx it 
should not be necessary)  To break it up, get the  gparted  utility.   
Download its boot image and use it to break up the USB disk in to 
slices that your FreeBSD will handle.  You need to have it make all 
what it calls (in the MS way) Primary Partitions, but those are what 
are called slices in FreeBSD land.

Don't get tempted to use gparted to shrink your ad0s1 slice because
it will not work right.   That will just trash the current partitions.
It is not what you are looking for.

Either if your FreeBSD will handle the whole USB or after you have it
broken up, then build a partition on each slice of the USB using bsdlabel.
Don't make it bootable or write a boot sector on it.  Then run newfs(8)
on it to make a filesystem.
This bsdlabel and newfs can be done while the system is running.

Then, take the system down and run the dumps.You can do the dumps
from single user mode or boot a fixit image from the install CD.
You will need to do the repartitioning and restore the dumps from
the fixit anyway so you could just start there.
Boot the machine from the fixit disk - create a 'holographic' image as 
they call it.   Fixit is usually on disc1.

Run the dumps.
Lets say you are doing the dumps to a USB drive that comes up
as /dev/da0 in the fixit boot and your current disk still is
comes up with the name  /dev/ad0 .

First, make up mount points for all your filesystems that you want to
dump plus for the filesystem[s] on the USB drive.
NOTE: That the fixit runs from a memory resident filesystem so whatever
  you create there will disappear on boot.

Anyway, skip dumping /tmp and /dev is a pretend filesystem.

mkdir /oldroot
mkdir /oldusr
mkdir /oldvar
mkdir /oldbkup

mkdir /usbdrive

(You can actually make the dumps from the devices rather than mounting 
 them, but I have never gotten in to that habit)

Mount those partitions

mount /dev/ad0s1a /oldroot
mount /dev/ad0s1d /oldusr
mount /dev/ad0s1e /oldvar
mount /dev/ad0s1g /oldbkup

mount /dev/da0s1 /usbdrive(This device name might be different
depending on how you make it.   Some possibilities are:
  /dev/da0s1If you just newfs the slice without making a partition in it
  /dev/da0s1a  If you make a slice with fdisk and a partition with bsdlabel
  /dev/da0aIf you make a partition with bsdlabel without making a slice

Now do the dumps

dump 0af /usbdrive/rootdump /oldroot
dump 0af /usbdrive/usrdump /oldusr
dump 0af /usbdrive/vardump /oldvar
dump 0af /usbdrive/bkupdump /oldbkup

This will take a while depending on media you use.
By the way, to tape it would go to /dev/nsa0 rather than /usbdrive/oldroot, etc

Once the dumps are done, you may want to reboot and mount that USB
drive or read the tape and look at the dumps to make sure they can
be read. Just a precaution.

At least you will need to unmount all the partitions so bsdlabel
can work on them

Anyway, once you are happy with your dumps, then get back in to
the fixit and use bsdlabel to rewrite the partitions.

Just bsdlabel -e ad0s1

(You should not need to write a new boot block as this process should
 not touch that sector)

Adjust the partitions as you see fit.   Make partition 'a' start 
at offset of 0  and use a '*' for the rest of the offsets.
bsdlabel will calculate them correctly.  You can also make the 
size of the last partition be '*' and bsdlabel will put the remainder
of the usable space in it.


Re: newsletter APP NOT listserve

2009-02-05 Thread Geoff Fritz
On Thu, Feb 05, 2009 at 03:55:17PM -0500, Jean-Paul Natola wrote:
 
 _-
 Well the server I plan to run it a VPS server, so I REALLY DON'T know what
 the specs are on the box- and since it's not dedicated I have no clue what
 else or what other sites are on it- I do know it has exim installed which I
 am very familiar with and actually use- I know it has MySql on it as well it
 a red hat 9 os if im not mistaken and I've never used apache or php, what's
 the learning curve like to get that running?

The learning curve?  That entirely depends on how comfortble you are with
configuring applications on Unix/Linux servers in general.  If you've never
set up a web server, then it will take you some time to get things nailed
down correctly.  If you merely have not installed Apache before, as opposed
to another web server, then it should not be difficult.

All I can say is start from the bottom, and work your way up.  Learn to
configure mysql, next install and set up Apache, then get PHP installed.
Last, read up on the rquirements for phplist, install the required PHP
modules, and then finally phplist itself.

The first time I set up phplist, I had a working setup in a couple of
hours, which I then took a few days to test thoroughly.  However, I did
have several years of of apache/mysql/php setup and usage experience before
that.

All I can suggest is to jump in and start learning.  All of these open
source packages have great online docs, tutorials, and support communities
to get you going.

Good luck with whatever you end up using.

-- Geoff
___
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: Generating packages from ports without docs

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

Matias Surdi wrote:
 Hi,
 
 When I build a package with make package for a port, the resulting
 package contains also the docs (which upon installatin are located in
 /usr/local/share/doc/[package]
 
 
 Which is the best way to not include those files in the generated package?
 
 
 Thanks a lot.

Hi Matias,

make NOPORTDOCS=yes package ought to do it.

Hope that helps,
Greg
- --
Greg Larkin

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

iD8DBQFJi2nW0sRouByUApARAp9OAJ9JGC7f5NRkTRlAAtrr7IMVvtzd2QCgg0p2
IsGnQUEDP9GO85hgN/1gaw8=
=w/Ud
-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


usage of swap file

2009-02-05 Thread Yavuz

I use freebsd7.0
I have 2 Gbyte RAM and 4 Gbyte Swap.
my system sometimes need more memory and although there was 3.90 Gbyte swap, 
I saw that run out of memory  when I see with top command.

Why doesn't the machine use swap properly ?

What do I have to do ?



___
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: usage of swap file

2009-02-05 Thread Wojciech Puchar

I use freebsd7.0
I have 2 Gbyte RAM and 4 Gbyte Swap.
my system sometimes need more memory and although there was 3.90 Gbyte swap, 
I saw that run out of memory  when I see with top command.

Why doesn't the machine use swap properly ?


it does


What do I have to do ?

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


problem with date, dump or restore

2009-02-05 Thread Ivan Dimitrov
Hi list,

with freebsd 7.0, after a probably successful dump :
#dump -0Lauf ./ad0s1f.dump /dev/ad0s1f
  DUMP: Date of this level 0 dump: Thu Feb  5 07:18:58 2009
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping snapshot of /dev/ad0s1f (/usr) to ./ad0s1f.dump
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 3021548 tape blocks.
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: 16.92% done, finished in 0:24 at Thu Feb  5 07:48:39 2009
  DUMP: 39.28% done, finished in 0:15 at Thu Feb  5 07:44:33 2009
  DUMP: 62.36% done, finished in 0:09 at Thu Feb  5 07:43:09 2009
  DUMP: 93.06% done, finished in 0:01 at Thu Feb  5 07:40:35 2009
  DUMP: DUMP: 3024998 tape blocks on 1 volume
  DUMP: finished in 1271 seconds, throughput 2380 KBytes/sec
  DUMP: level 0 dump on Thu Feb  5 07:18:58 2009
  DUMP: Closing ./ad0s1f.dump
  DUMP: DUMP IS DONE

the restore reports that
1)   Header with wrong dumpdate.
2)   expected next file 141455, got 146

# restore -rf /storage/backup/ad0s1f.dump
Header with wrong dumpdate.
expected next file 141455, got 146


and this is the same for all slices (except the numbers in the second line)

so where/what is the problem ? Does anyone know what, exactly, this means?

thanks
Ivan
___
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: Multiple MAC on a single (physical) interface

2009-02-05 Thread Nikos Vassiliadis

Frédéric Perrin wrote:

Hello,

I live in a network where it is pretty much assumed that one machine ==
one MAC address == one IP address. Therefore, in order to play with
jails, some having of course access to the network, I need to be able to
send and receive using several MAC addresses, as if I had several NIC
(which I of course don't have).

I first describe the setup I have come up with, then ask the list a
couple of questions.

rl0 (my only physical interface) is made promiscous, and its otherwise
fine configuration is not touched (it still has it MAC and IP address) :
# ifconfig rl0 promisc

Create a bridge, and attach it rl0 :
# ifconfig bridge0 create
# ifconfig bridge0 addm rl0 up

Create 2 interfaces : the first one will be connected to the
bridge, the other will be the one we really want to use.

# ifconfig tap0 create
# ifconfig bridge0 addm tap0 up
# ifconfig tap1 create

Link tap0 to tap1, I have been using the br_select.c example that
comme with the generic tap/tun driver on vtun.sf.net (basically, what
it does is :
@ open(/dev/tap0); open(/dev/tap1);
@ for ever:
@ if there is data in tap0, copy it to tap1
@ if there is data in tap1, copy it to tap0
@ end for

Then, configure tap1 as wanted, as in :
# ifconfig tap0 up ; ifconfig tap1 up
# dhclient tap1

Then start a jail with the IP given to tap1, with a network service in
it (sshd will do). Check that ssh'ing to the jail works.

It should be possible to create use n tap devices, by doing :
@ for ever:
@ if there is data in tap0, copy it to tap1, ... tapn
@ if there is data in tap1 or ... tapn, copy it to tap0
@ end for

Also, while researching my problem, I see that it shouldn't be very
hard to add hooks to rc.conf to automate all this process.

Questions :

It seems quite a convoluted setup (especially having to make a tunnel
from tap0 to tap1 ... tapn). Is there an easier way ? Comments ?


Yes, you could use a netgraph bridge to bridge several
ethernet interfaces together. Luckily, there is also a
pseudo-ethernet-like interface you can attach to this
bridge and of course you get to treat the pseudo-ethernet
as a regular ethernet interface, that is, change its
MAC address.

The process is described here:
http://www.bsdatwork.com/2004/06/19/mac_spoofing_on_freebsd/

It's simple and an all-in-kernel solution.

HTH, Nikos


___
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: newsletter APP NOT listserve

2009-02-05 Thread Jean-Paul Natola



The learning curve?  That entirely depends on how comfortble you are with
configuring applications on Unix/Linux servers in general.  If you've never
set up a web server, then it will take you some time to get things nailed
down correctly.  If you merely have not installed Apache before, as opposed
to another web server, then it should not be difficult.

All I can say is start from the bottom, and work your way up.  Learn to
configure mysql, next install and set up Apache, then get PHP installed.
Last, read up on the rquirements for phplist, install the required PHP
modules, and then finally phplist itself.

The first time I set up phplist, I had a working setup in a couple of
hours, which I then took a few days to test thoroughly.  However, I did
have several years of of apache/mysql/php setup and usage experience before
that.

All I can suggest is to jump in and start learning.  All of these open
source packages have great online docs, tutorials, and support communities
to get you going.


-- Geoff

since this hosted server holds our website and database, my main concern is
that i do not affect those existing configurations- a web developer created
our site/shopping cart and cms and loaded it all on this VPS -  i just don't
want to someone to come to me and say hey our website is down or something
to that affect


___
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: shell commands - exclusion

2009-02-05 Thread Chris Whitehouse

Jaime wrote:

On Wed, Feb 4, 2009 at 9:35 AM, t-u-t marshc...@gmail.com wrote:
if i have say one (or even two) single file/directories among many others,
and i want to perform any said function like cp, mv, rm, etc.. , to all
other files except that one or two, is there a way to do that in a single
command?
e.g
rm -r * {-except foo1 foo15}


I think you should be able to do it with a combination of -prune and 
-delete (or -exec rm -rf {} \; ) on a find command. Substitute your 
other commands for rm -rf in the -exec above.


I would give you a working example except I can't figure out the syntax 
for -prune. Examples from google don't seem to work in (my) FreeBSD.


chr...@pcbsd% find .
.
./test.mov
./test.mpg
./dir1
./dir1/file1
./dir1/file2
./file3
chr...@pcbsd% find . -print
.
./test.mov
./test.mpg
./dir1
./dir1/file1
./dir1/file2
./file3
chr...@pcbsd% find . -print -o -prune dir1
find: dir1: unknown option
chr...@pcbsd% find . -print -o -prune -name dir1
.
./test.mov
./test.mpg
./dir1
./dir1/file1
./dir1/file2
./file3
chr...@pcbsd% find . -print -o -name dir1 -prune
.
./test.mov
./test.mpg
./dir1
./dir1/file1
./dir1/file2
./file3
chr...@pcbsd% find . -o -name dir1 -prune
find: -o: no expression before -o
chr...@pcbsd% find . -name * -o -name dir1 -prune
.
./test.mov
./test.mpg
./dir1
./dir1/file1
./dir1/file2
./file3
chr...@pcbsd%

(Please don't tell me to read the man page, I have several times. Even 
Aeleen Frisch says it is impenetrable :P)


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


problem mounting dvd ISO

2009-02-05 Thread cguan

Hi,

I'm trying to mount a w2k8 dvd iso image on freebsd 7 using mdconfig and
mount -t cd9660. the commands appeared to be working fine but when I look at
the mount point I only see a readme.txt file reads:

This disc contains a UDF file system and requires an operating system
that supports the ISO-13346 UDF file system specification.

code:
#mdconfig -a -t vnode /path/to/w2k8.iso -u 0
#mount -t cd9660 /dev/md0 /mnt
#ls /mnt
readme.txt


if I use mount_udf, it said Invalid argument
code
#mount -t udf  /dev/md0 /mnt
mount_udf: /dev/md0: Invalid argument

However, mounting a CD iso image using the same way is fine. 

How do I solve this problem? I have been googling for a couple of hours but
can fine an answer. 

thanks,
Calvin
-- 
View this message in context: 
http://www.nabble.com/problem-mounting-dvd-ISO-tp21864688p21864688.html
Sent from the freebsd-questions mailing list archive at Nabble.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: shell commands - exclusion

2009-02-05 Thread Paul Procacci

Chris Whitehouse wrote:

Jaime wrote:

On Wed, Feb 4, 2009 at 9:35 AM, t-u-t marshc...@gmail.com wrote:
if i have say one (or even two) single file/directories among many 
others,

and i want to perform any said function like cp, mv, rm, etc.. , to all
other files except that one or two, is there a way to do that in a 
single

command?
e.g
rm -r * {-except foo1 foo15}


I think you should be able to do it with a combination of -prune and 
-delete (or -exec rm -rf {} \; ) on a find command. Substitute your 
other commands for rm -rf in the -exec above.


I would give you a working example except I can't figure out the 
syntax for -prune. Examples from google don't seem to work in (my) 
FreeBSD.


chr...@pcbsd% find .
..
../test.mov
../test.mpg
../dir1
../dir1/file1
../dir1/file2
../file3
chr...@pcbsd% find . -print
..
../test.mov
../test.mpg
../dir1
../dir1/file1
../dir1/file2
../file3
chr...@pcbsd% find . -print -o -prune dir1
find: dir1: unknown option
chr...@pcbsd% find . -print -o -prune -name dir1
..
../test.mov
../test.mpg
../dir1
../dir1/file1
../dir1/file2
../file3
chr...@pcbsd% find . -print -o -name dir1 -prune
..
../test.mov
../test.mpg
../dir1
../dir1/file1
../dir1/file2
../file3
chr...@pcbsd% find . -o -name dir1 -prune
find: -o: no expression before -o
chr...@pcbsd% find . -name * -o -name dir1 -prune
..
../test.mov
../test.mpg
../dir1
../dir1/file1
../dir1/file2
../file3
chr...@pcbsd%

(Please don't tell me to read the man page, I have several times. Even 
Aeleen Frisch says it is impenetrable :P)


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


find . \! -name blah -a \! -name blah2 -delete

no?
___
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: newsletter APP NOT listserve

2009-02-05 Thread Jean-Paul Natola
Ideally, stats,  subscribe, unsubscribe, and let the person in charge have
the ability to  be able to select the recipients for a particular letter
based on a field or combination of two fields. i.e.  send to all contacts
that are doctors  or send to all contacts that are doctors and are in the
HIV prevention program- upload lists can be csv txt excel  doesnt really
matter-

GUI would be great for managing contacts because if the the contacts address
changes i want the user to be able to login and change his address or phone
etc...







Jean-Paul Natola
Network Administrator
Information Technology
Family Care International
588 Broadway Suite 503
New York, NY 10012
Phone:212-941-5300 xt 36
Fax:  212-941-5563
Mailto: jnat...@familycareintl.org



-Original Message-
From: Vince Sabio [mailto:tastel...@mac.com]
Sent: Thu 2/5/2009 20:20
To: Jean-Paul Natola
Subject: Re: newsletter APP NOT listserve
 
** At 09:31 -0500 on 02/05/2009, Jean-Paul Natola wrote:

Can anyone recommend a newsletter application , preferably where I can just
have an ordinary user login via a webpage , upload a file/message/ and click
send?

What are the requirements/characteristics of the newsletter app 
you're looking for? Does it need to have stats/campaign tracking? Is 
a web interface required, or can the user simply format and send his 
e-mail message via e-mail to the server? Does it need to provide the 
ability for users to subscribe and unsubscribe themselves? How will 
the newsletter owner upload his list? What format will (should?) the 
list be in when he uploads it? How large will the lists be? If they 
are small enough, then most mail clients should be able to provide 
the basic functionality of sending a newsletter to a list.

I was playing with mailman , but that seems to be a list serve app.

The proper term is list server, so as not to confuse with 
Listserv, which is a copyrighted product (developed by Eric Thomas 
and L-Soft).


Vince SabioDon't blame me; I voted for Matthew.tastel...@mac.com

Socialism: Government of the inept, by the inept, for the inept.



___
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


problem rsycing with remote dir

2009-02-05 Thread David Karapetyan
Hello everyone. I am using the --backup flag in rsync to save 
incremental changes that rsync makes when I sync a directory on my 
laptop with my remote server. Please look at my pastebin code: 
http://pastebin.com/m16a3ce38On The problem is that I end up generating 
an r...@davidkarapetyan.homeunix.com: directory on my laptop that 
contains empty versions of all the directories that were backed up. In 
short, it is a directory filled with empty sub directories. Furthermore,  
I am unable to have $INC be placed anywhere other than within $TARGET, 
no matter how I alter the code. Interestingly enough, I use a very 
similar script on the server itself, with no issues. It seems that 
rsync's remote backup scheme, with the --backup flag, is a bit borked.  
Any suggestions?

-- --
Best,
David Karapetyan
http://davidkarapetyan.com
University of Notre Dame
Department of Mathematics
255 Hurley Hall
Notre Dame, IN 46556-4618
Phone: 574-631-5706
Cell:  202-460-5173
Fax:   574-631-6579

___
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: usage of swap file

2009-02-05 Thread RW
On Fri, 6 Feb 2009 00:33:40 +0200
Yavuz mas...@ihlas.net.tr wrote:

 I use freebsd7.0
 I have 2 Gbyte RAM and 4 Gbyte Swap.
 my system sometimes need more memory and although there was 3.90
 Gbyte swap, I saw that run out of memory  when I see with top command.
 Why doesn't the machine use swap properly ?

I'm not sure what you are saying here, but if you mean that it appears
to have very little free memory, but isn't swapping, then that's normal,
see:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/book.html#TOP-FREEMEM
___
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: usage of swap file

2009-02-05 Thread Glen Barber
On Thu, Feb 5, 2009 at 5:46 PM, Wojciech Puchar
woj...@wojtek.tensor.gdynia.pl wrote:
 I use freebsd7.0
 I have 2 Gbyte RAM and 4 Gbyte Swap.
 my system sometimes need more memory and although there was 3.90 Gbyte
 swap, I saw that run out of memory  when I see with top command.
 Why doesn't the machine use swap properly ?

 it does

 What do I have to do ?

 nothing

Those are the most worthless responses I have ever seen.  Instead of
one-word answers, how about enlightening us all on the basis for your
response?


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


RTL8201 not explicitly in 7.1 supported hardware

2009-02-05 Thread Len Conrad

A client wants to buy some TigerDirect/VisionMan 1U's with this mobo:

http://www.biostar-usa.com/mbdetails.asp?model=P4M900%20MICRO%20775

RTL8201 PHY Ethernet

http://www.freebsd.org/releases/7.1R/hardware.html

... shows only RTL81xx

has anybody got RTL8201 working with FreeBSD 7.1, 7.0?

thanks,
Len

___
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: problem mounting dvd ISO

2009-02-05 Thread Michael Powell
cguan wrote:

 
 Hi,
 
 I'm trying to mount a w2k8 dvd iso image on freebsd 7 using mdconfig and
 mount -t cd9660. the commands appeared to be working fine but when I look
 at the mount point I only see a readme.txt file reads:
 
 This disc contains a UDF file system and requires an operating system
 that supports the ISO-13346 UDF file system specification.
 
 code:
 #mdconfig -a -t vnode /path/to/w2k8.iso -u 0
 #mount -t cd9660 /dev/md0 /mnt
 #ls /mnt
 readme.txt
 
 
 if I use mount_udf, it said Invalid argument
 code
 #mount -t udf  /dev/md0 /mnt
 mount_udf: /dev/md0: Invalid argument
 
 However, mounting a CD iso image using the same way is fine.
 
 How do I solve this problem? I have been googling for a couple of hours
 but can fine an answer.
 
 thanks,
 Calvin

Have you tried loading the udf module, e.g., kldload udf.ko and maybe the 
udf_iconv.ko prior to trying the mount command?

-Mike



___
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


having trouble with OpenOffice

2009-02-05 Thread af300wsm

Hi,

Tonight I finally took the bull by the horns and got OpenOffice installed.  
However, I'm not having a problem that I haven't found an answer to yet but  
seems to be related to the X server (from searches on the net). So, I do  
this:


[a...@sniper /usr/home/andy]$ /usr/local/bin/openoffice.org-2.4.2-scalc
I18N: Operating system doesn't support locale en_US
The application cannot be started.
The component manager is not available.
Segmentation fault (core dumped)


As you can tell, OpenOffice failed because my OS doesn't support  
locale en_US. Huh!?! I'm using the English version. In fact, the only way  
to consider me as being bilingual is something of a matter of mental  
gymnastics because English is spoken in England and to me, England is a  
foreign country. Thus, I'm bilingual, or at the least, I speak a foreign  
language.


Never the less, how would this be fixed?

Andy
___
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: problem mounting dvd ISO

2009-02-05 Thread cguan

yes, I did.

# kldstat -v | grep udf
 42 0xc44bd000 7000 udf.ko
419 udf
 51 0xc4498000 2000 udf_iconv.ko
423 udf_iconv
# mount -t udf /dev/md0 ../iso_mount/w2k8-amd64
mount_udf: /dev/md0: Invalid argument
# 

Is it possible the udf version is too new that the freebsd doesn't support
it? I can mount it with my ubuntu 8.10.

thanks,
Calvin


Michael Powell-6 wrote:
 
 cguan wrote:
 
 
 Hi,
 
 I'm trying to mount a w2k8 dvd iso image on freebsd 7 using mdconfig and
 mount -t cd9660. the commands appeared to be working fine but when I look
 at the mount point I only see a readme.txt file reads:
 
 This disc contains a UDF file system and requires an operating system
 that supports the ISO-13346 UDF file system specification.
 
 code:
 #mdconfig -a -t vnode /path/to/w2k8.iso -u 0
 #mount -t cd9660 /dev/md0 /mnt
 #ls /mnt
 readme.txt
 
 
 if I use mount_udf, it said Invalid argument
 code
 #mount -t udf  /dev/md0 /mnt
 mount_udf: /dev/md0: Invalid argument
 
 However, mounting a CD iso image using the same way is fine.
 
 How do I solve this problem? I have been googling for a couple of hours
 but can fine an answer.
 
 thanks,
 Calvin
 
 Have you tried loading the udf module, e.g., kldload udf.ko and maybe the 
 udf_iconv.ko prior to trying the mount command?
 
 -Mike
 
 
 
 ___
 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
 
 

-- 
View this message in context: 
http://www.nabble.com/problem-mounting-dvd-ISO-tp21864688p21866650.html
Sent from the freebsd-questions mailing list archive at Nabble.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: Xlib: extension Generic Event Extension missing on display :0.0

2009-02-05 Thread Da Rock
On Thu, 2009-02-05 at 08:53 +0100, Alain G. Fabry wrote:
 I'm using the radeonhd driver and am getting the message also.
 
 Video card is the ati mobility radeon x1600.
 
 
 On Wed, Feb 04, 2009 at 06:48:40PM -0500, Robert Huff wrote:
  
  Da Rock writes:
  
 X is working fine here on a Radeon X1650 on 7.1-RELEASE with rnoland's
 last patch to update the kernel direct rendering support (which should
 be in 7-STABLE by now). Accellerated X works, 2D and 3D. Xv also works.

This is getting very interesting now. Based On your comments as
well as others this could be related to intel. So far all good
reports are from radeon video drivers, but I happen to be running
onboard intel videos.
  
  I'm getting this.
  It appears harmless.
  The machine in question has a Matrox G450.
  
  
  
  Robert Huff
  
Ok, got that sorted - I'd like to fill in exactly how, but I can't quite
remember what was the trick :( (I think it might have had something to
do EXA and XAA, don't hold me to it though). The error message is still
showing, but I can watch something now on xine and/or mplayer now.

Having said that, I'm still having some crashes- but thats for my new
thread... (seems appropriate)

Thanks again guys.

___
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


xine-remote crashes xine

2009-02-05 Thread Da Rock
OK. Xine works (plays, etc), I can connect with xine-remote (from
another m/c) and identify. However, if I send the 'mrl play content
here' xine crashes and I get the following error:

cannot read request from client (0/2112/Resource temporarily
unavailable)
could not handle external client request
xiTK received SIGSEGV signal, RIP.
Abort trap: 6 (core dumped)


I decided to go straight to the source and sent a post to the xine-user
list, but there really is very little activity on that list (I joined up
36 hrs ago and there has been 1 post besides mine there, and no
replies). Ergo, I came to the conclusion that I should try here as the
problem also seems localized to FreeBSD (Fedora works fine).

I'm wondering if this could be a security feature or a bug in
FreeBSD/Xine preventing external commands being processed?

___
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


Flash9 and FreeBSD7.0 isssue

2009-02-05 Thread dhaneshk k

Hi  list, 


 I followed  http://freebsd.langhans.com.pl/af/index.html

To enable  flash9   support for FreeBSD7.0




I  installed FreeBSD7.0 with Linux compatibility

so the first step (1.3 ) I skipped   



second step I followed and installed  latestfirefox-devel


then I installed nspluginwrapper



next step I downloaded this  
ftp://greyone.tulatelecom.ru/pub/linux/adobe/install_flash_player_9_linux.tar.gz

from this link 
http://www.filewatcher.com/m/install_flash_player_9_linux.tar.gz.2608602.0.0.html
  as adobe.com not allowing me to download it.


then I untarred itand copied  libflashplayer.so  to   
~/.mozilla/plugins  ( I created plugins directory as there is no
default plugins directory  in  ~/.mozilla/
  and I invoked the nspluginwrapper $ nspluginwrapper  -v -a -i 
and  observed that it created nswrapper.libflashplayer.so   



but   $  nspluginwrapper -l  given me  the   the message  segmentation 
fault  core dumped   sig 11 

what I made wrong ?


 I tried to restart  the firefox and   it restarted and showing message  you 
updated to the latest fiefox version .


but when I accessed the   http://www.adobe.com/shockwave/welcome/   URL I am 
getting message in the   console as 


LoadPlugin: failed to initialize shared library 
/home/dhanesh/.mozilla/plugins/libflashplayer.so [Shared object libdl.so.2 
not found, required by libflashplayer.so]

Gtk-Message: Failed to load module gnomebreakpad:
libgnomebreakpad.so: cannot open shared object file: No such file or
directory
LoadPlugin: failed to initialize shared library 
/home/dhanesh/.mozilla/plugins/libflashplayer.so [Shared object libdl.so.2 
not found, required by libflashplayer.so]

Gtk-Message: Failed to load module gnomebreakpad:
libgnomebreakpad.so: cannot open shared object file: No such file or
directory



but find commad showing that   libdl.so.2 is ther in
/usr/compat/linux/lib/libdl.so.2



# find / -name libdl.so.2
/usr/compat/linux/lib/libdl.so.2


[dhanesh]$ sysctl compat.linux.osrelease
compat.linux.osrelease: 2.4.2

[dhanesh$ uname -a
FreeBSD  7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 
r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386



 any hints to  make it work most welcome..  please see this paste also  
http://rafb.net/p/Yz7dBS79.html

thanks in advance 
-- 
K.K. Dhanesh
_
Wish to Marry Now? Join MSN Matrimony FREE!
http://www.in.msn.com/matrimony___
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


Slow DNS (and host: connection timed out)

2009-02-05 Thread David Naylor
Hi,

My ISP is using a WinGate DNS but resolving host names often takes a long 
time.  The problem is also present in Konqueror (3  4) and Firefox.  

An example:
# time host google.co.za
google.co.za has address 66.249.93.104
google.co.za has address 72.14.207.104
google.co.za has address 64.233.161.104
;; connection timed out; no servers could be reached
;; connection timed out; no servers could be reached
0.000u 0.008s 0:24.69 0.0%  0+0k 0+0io 0pf+0w

The web browsers also take a long time before they actually try connecting.  
# konqueror www.google.co.za 
[1] 4862
# sh -c 'while true; do echo -n .; netstat -np tcp; sleep 5; done'
..Active Internet connections
Proto Recv-Q Send-Q  Local Address  Foreign Address   (state)
tcp4   0  0 192.168.0.6.55429  63.245.209.93.80   SYN_SENT
tcp4   0  0 192.168.0.6.12337  74.125.77.147.80   SYN_SENT
.Active Internet connections
Proto Recv-Q Send-Q  Local Address  Foreign Address   (state)
tcp4   0  0 192.168.0.6.55429  63.245.209.93.80   SYN_SENT
tcp4   0  0 192.168.0.6.12337  74.125.77.147.80   SYN_SENT

Firefox on Windows doesn't have this problem.

Lastly:
# cat /etc/resolve.conf
nameserver 192.193.194.1

What is wrong, why is DN resolving taking such an abnormally long time?  How 
can I diagnose and fix it?

Thanks in advance,

David

System:
# uname -a
FreeBSD dragon.dg 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #0: Sub Feb 1 20:27:42 
SAST 2009 r...@dragon.dg:/tmp/tmp/src/sys/GENERIC i386

and
# uname -a
FreeBSD dragonmini.dg 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Dec 21 20:04:04 
SAST 2008 r...@dragonmini.dg:/tmp/usr/src/sys/GENERIC amd64


signature.asc
Description: This is a digitally signed message part.