Re: a quick jails question

2007-09-02 Thread Wojciech Puchar



will a NFS server run in a jail?

im guessing no, that it falls into the funny services category (like snmp)
that wont run right in a jail.


look in ports for user space nfsd



thanks,
--
Jonathan Horne
http://dfwlpiki.dfwlp.org
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



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


Re: root on gmirror and disk failure...

2007-09-02 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Modulok wrote:

 The provider, /dev/mirror/gm0, is not being created. This is
 significant for obvious reasons: no mirror means no provider which
 means no root. The module /boot/kernel/geom_mirror.ko is loaded, as I
 have manually loaded it via the loader(8) prompt and attempted the
 simulated failure again with identical results. It's the provider that
 isn't being created, for whatever reason.
 
 Suggestions? (Other than purchasing a hardware RAID card).

I've seen these symptoms before.  It appears to be a feature of
certain Motherboards.  If you're lucky there will be some BIOS
options you can toggle to make it behave better -- usually to do
will telling the motherboard *not* to do any sort of RAID stuff itself.

Otherwise, look for BIOS updates, or switch to a different
Motherboard.  Systems supplied with hot swap drives (meaning SATA
rather than IDE) tend to work better.  Or install a hardware RAID
controller.

I've also a feeling that there's a behavioural difference between
'only one drive present' and 'one working drive and a blank disk'
but haven't really tested that theory out, as we solved the original
problem by other means.

Cheers,

Matthew

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

iD8DBQFG2m6/8Mjk52CukIwRCM/SAJ9paSYYdKjY4USerNYDCSKKPtjHUACfRNID
nDHwMgpGUrWa5q2h2y+rASw=
=9AW5
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sadly, my tinker-time has run out....

2007-09-02 Thread Michael Hauber
Hey, all...

I've been a user of FreeBSD and OpenBSD for quite a while now.  Unfortunatly, 
I haven't had much time to tinker lately, and that's unlikely to change in 
the near future.  Sadly, I need to get an OS that my wife would be more 
comfortable using and that wouldn't be as time-comsuming to make it more 
comfortable for her.  

I downloaded the uberyl live CD and found that ubuntu seems to pick up on 
everything I have on the laptop (as well as all the attachments), so I'm 
downloading it now.

Because I've put so much time into getting this FreeBSD install where it is 
now (and because I favor the BSDs), I'm still a bit hesitant...  Has anyone 
here had much experience with ubunu as a desktop?  Negatives/positives?

Kind of OT, I guess...  I'd just rather hear it from someone in this group 
rather than the inevitable, Oh yeah.  You won't be sorry. from the ubuntu 
folk (salespitches == fingernails on a chalkboard :) ).  

Thanks,

Mike


PS.  Yes, I've played with PC-BSD.  Unfortunately, that's still more work than 
I have time for.


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


Re: problems with a rc.d script I'm creating

2007-09-02 Thread Mel
On Sunday 02 September 2007 05:17:08 Jim Stapleton wrote:
 I'm trying to create an rc.d script to start akpop3d (it doesn't seem
 to come with one).

 According to the documentation on run_rc_command in /etc/rc.subr, I
 thought this should work. However I get no response when I run
 '/usr/local/etc/rc.d/akpop3d start', and ps -A doesn't show an akpop3d
 process. When I run it manually (akpop3d -d -s -L .akpop3d), it starts
 just fine.

 Could anyone suggest what I am missing here?

 Thanks,
 -Jim Stapleton

 The script:

 #!/bin/sh
 #
 # $FreeBSD: N/A
 #
 # PROVIDE: akpop3d
 # REQUIRE: DAEMON
 #
 # Add the following line to /etc/rc.conf to enable akpop3d:
 #
 # akpop3d_enable=YES
 #


 akpop3d_enable=${akpop3d_enable-NO}
 akpop3d_pidfile=${akpop3d_pidfile-/var/run/akpop3d.pid}
 akpop3d_flags=${akpop3d_flags--d -s -L .akpop3d}
 akpop3d_conffile=${akpop3d_conffile-}
 akpop3d_flush_cache=${akpop3d_flush_cache-NO}

 . /etc/rc.subr


 if [ ! -z $(check_pidfile $akpop3d_pidfile akpop3d) ]
 then

 else

 fi

 name=akpop3d
 rcvar=`set_rcvar`

 command=/usr/local/bin/${name}
 pidfile=${akpop3d_pidfile}
 #start_precmd=akpop3d_precmd

 load_rc_config ${name}



 run_rc_command $1

I haven't figured out the proper way myself, but the problem is that the 
defaults you set at top, override the rc.conf variables, because they don't 
exist yet. What I do is move load_rc_config before setting defaults. General 
order becomes:
name=foo
rcvar=`set_rcvar`
load_rc_config ${name}
foo_default=${foo_default:-default value}
run_rc_command $1

Seems to work, maybe I'll figure out the proper way once I finish reading:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/rc-scripting/index.html


-- 
Mel

People using reply to all on lists, must think I need 2 copies.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to change isc-dhcp3-server replies? (was:

2007-09-02 Thread Mel
On Sunday 02 September 2007 03:13:21 Joe wrote:

Gosh, I suddenly remember why I dropped yahoo webmail

 Ok, no so true.  I am watching tcpdump output from the two binaries. The
 old binary sends its reply to 255.255.255.255, while the new one sends its
 reply to 192.168.0.15.  Same config file and I tried the always-broadcast
 flag, and it only sets the bit for the client, but the server still
 broadcasts its reply to the client on the subnet mask.

 Old client reply (ml.. is server af is client):

 1188694380.961642 ml:ml:ml:ml:ml:ml  ff:ff:ff:ff:ff:ff, ethertype IPv4
 (0x0800), length 342: (tos 0x10, ttl  16, id 0, offset 0, flags [none],
 proto: UDP (17), length: 328) 192.168.0.15.67  255.255.255.255.68:
 BOOTP/DHCP, Reply, length: 300, xid:0x77915dc3, flags: [Broadcast] (0x8000)
 Your IP: 192.168.0.13
   Client Ethernet Address: af:af:af:af:af:af [|bootp]

 new client does not do this and clients do not get their ip address. I read
 somewhere that linux had a problem doing this in 2.2 kernels and it has
 something to do with the routing table in linux.  Not sure what is going on
 here, but the routing table looks fine.

slash mangled quotes

So what does the tcpdump exchange look like with the new binary and the 
always-broadcast flag? And we're talking server binaries, right?
-- 
Mel

People using reply to all on lists, must think I need 2 copies.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD time servers and Windows clients

2007-09-02 Thread takhoos

Hi all,
   I have one FreeBSD NTP server which syncs all my server clocks.   Getting 
the NTP server running was a piece of cake following the instructions in the 
online handbook.  Recently I was asked to sync a bunch of windows machines (10 
of them) to my NTP server.   Now I'm not a windows person, so I asked one of 
the windows people to figure out his side since my side was up and running.   
He wrote this little .bat file to run on the windows boxes to be sync'd.   Its 
pretty straight forwardjust save it as a .bat file (time.bat) and run it 
from your XP box.   Make sure to enter your NTP IP address where the x's are 
below. It seems to work fine for us.   Your mileage may vary.  There may be 
better/easier ways of doing this, but this is what works ok for us   

Here's the .bat fileuse it at your own risk

---
@echo Updating Time Service
@echo.
@echo.
@echo off
w32tm /config /manualpeerlist:xxx.xxx.xxx.xxx,0x8 /syncfromflags:manual
w32tm /config /update
@echo Restarting Time Service 
@echo.
@echo.
net stop w32time
net start w32time
pause
cls
@echo Verify your Time Server's IP Address and SNTP Flag of 0x8
@echo.
net time /querysntp
@echo.
@echo Exiting configuration 
pause
--

--
Joe

_
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: x11 drivers - conflicts

2007-09-02 Thread Mel
On Sunday 02 September 2007 01:39:15 Robert Davison wrote:

   Or how do I make the build process bring the blue config screen up again
 so I can deselect the intel driver.


cd /usr/ports/x11-drivers/xorg-drivers
make rmconfig

and take it from there. Or you could edit /var/db/ports/xorg-drivers/options.


-- 
Mel

People using reply to all on lists, must think I need 2 copies.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD time servers and Windows clients

2007-09-02 Thread Bill Moran
[EMAIL PROTECTED] wrote:

 
 Hi all,
I have one FreeBSD NTP server which syncs all my server clocks.   Getting 
 the NTP server running was a piece of cake following the instructions in the 
 online handbook.  Recently I was asked to sync a bunch of windows machines 
 (10 of them) to my NTP server.   Now I'm not a windows person, so I asked one 
 of the windows people to figure out his side since my side was up and 
 running.   He wrote this little .bat file to run on the windows boxes to be 
 sync'd.   Its pretty straight forwardjust save it as a .bat file 
 (time.bat) and run it from your XP box.   Make sure to enter your NTP IP 
 address where the x's are below. It seems to work fine for us.   Your 
 mileage may vary.  There may be better/easier ways of doing this, but this is 
 what works ok for us   

This sounds like a bad idea to me.  I seem to remember there's a
registry setting where you can specify explicit NTP servers for Windows.

Any reason why he went this route?

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sadly, my tinker-time has run out....

2007-09-02 Thread Manolis Kiagias


Michael Hauber wrote:
 Hey, all...

 I've been a user of FreeBSD and OpenBSD for quite a while now.  Unfortunatly, 
 I haven't had much time to tinker lately, and that's unlikely to change in 
 the near future.  Sadly, I need to get an OS that my wife would be more 
 comfortable using and that wouldn't be as time-comsuming to make it more 
 comfortable for her.  

 I downloaded the uberyl live CD and found that ubuntu seems to pick up on 
 everything I have on the laptop (as well as all the attachments), so I'm 
 downloading it now.

 Because I've put so much time into getting this FreeBSD install where it is 
 now (and because I favor the BSDs), I'm still a bit hesitant...  Has anyone 
 here had much experience with ubunu as a desktop?  Negatives/positives?

 Kind of OT, I guess...  I'd just rather hear it from someone in this group 
 rather than the inevitable, Oh yeah.  You won't be sorry. from the ubuntu 
 folk (salespitches == fingernails on a chalkboard :) ).  

 Thanks,

 Mike


 PS.  Yes, I've played with PC-BSD.  Unfortunately, that's still more work 
 than 
 I have time for.
   
I am working (and tinkering as you put it) with many kinds of systems:
Fedora / Ubuntu as desktops, Debian as servers, FreeBSD both desktops
and servers, Windows 2003 servers, XP desktops, even Vista :)
To put it simply, every system has its strong points, ups and downs. For
example, Windows has drivers for everything - many are crap, but they
still exist - and a few applications you just can't replace with
anything else. Ubuntu, the one you are considering, is based on Debian,
which I consider excellent, especially for servers. But if you are
coming from a FreeBSD background, Ubuntu will seem rather restrictive
and easy. It is an easy desktop for *NIX beginners, and it is now
marketed as the Linux you will never have to touch the command line. As
I recall, the default install will not even setup gcc, although the
package (build-essential) is on CD. There are obviously a lot of helper
apps, like automatic installation of codecs etc. but it is still Linux.
If you are a power user you will need to tinker it, and there will be
things missing you will need to install. Example: First time I tried to
mount some NFS shares, they were taking ages. I found out it was missing
the nfs-common package. Maybe a beginner does not care about it, but I
consider this basic functionality and expect it to be there (or that I
will be informed it is not, beforehand). I also need the compiler,
kernel headers and stuff to compile kernel modules. Ubuntu seems to have
a lot of ready made things, good for beginners but quite limiting for
me, I have to actually rip things out to install my stuff (e.g. disable
their versions of some restricted drivers to install mine). That being
said, it is making an alternate, non-Windows desktop accessible to a lot
of people, which I consider a good thing.
Though I suggest Ubuntu to enthusiastic Linux beginners, I find it
difficult to give an argument for anyone with an average FreeBSD
knowledge. At home I mostly use Fedora as a Linux desktop.

The part of your post I don't really understand, is what is really
bothering you with your FreeBSD install. Are you missing programs /
features you just can't live without?  Is it something to do with the
ports / packages? Installing, customizing and becoming familiar with
your FreeBSD system does take some time, but this is followed by a very
long effortless stable operation. Assuming a typical installation where
users' needs don't constantly change, you can easily maintain a FreeBSD
install with minimum hassle. And how is Ubuntu going to be any easier
for your wife? Assuming you are administering the machine, a FreeBSD
with  a Gnome  desktop will be more or less the same from the user
standpoint to Ubuntu (or any other distro) with Gnome.





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


RE: FreeBSD time servers and Windows clients

2007-09-02 Thread Terry Sposato
Hi Joe,

It is quite simple to do on all variants of Windows really, you can use
group policy mainly, XP, Vista etc. Have an option of specifying a time
server by using the time / date settings when you are logged in as
Administrator. 

The .bat file you posted also does the same thing via the cmd line. 

Regards,

Terry

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Sunday, 2 September 2007 8:40 PM
To: freebsd-questions@freebsd.org
Subject: FreeBSD time servers and Windows clients


Hi all,
   I have one FreeBSD NTP server which syncs all my server clocks.   Getting
the NTP server running was a piece of cake following the instructions in the
online handbook.  Recently I was asked to sync a bunch of windows machines
(10 of them) to my NTP server.   Now I'm not a windows person, so I asked
one of the windows people to figure out his side since my side was up and
running.   He wrote this little .bat file to run on the windows boxes to be
sync'd.   Its pretty straight forwardjust save it as a .bat file
(time.bat) and run it from your XP box.   Make sure to enter your NTP IP
address where the x's are below. It seems to work fine for us.   Your
mileage may vary.  There may be better/easier ways of doing this, but this
is what works ok for us   

Here's the .bat fileuse it at your own risk


---
@echo Updating Time Service
@echo.
@echo.
@echo off
w32tm /config /manualpeerlist:xxx.xxx.xxx.xxx,0x8 /syncfromflags:manual
w32tm /config /update
@echo Restarting Time Service 
@echo.
@echo.
net stop w32time
net start w32time
pause
cls
@echo Verify your Time Server's IP Address and SNTP Flag of 0x8
@echo.
net time /querysntp
@echo.
@echo Exiting configuration 
pause

--

--
Joe

_
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx_
__
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: g_vfs write error = 28, bad memory?

2007-09-02 Thread Kris Kennaway

Ian Smith wrote:

On Sat, 01 Sep 2007 19:34:41 +0200 Kris Kennaway [EMAIL PROTECTED] wrote:
  Per olof Ljungmark wrote:
   Kris Kennaway wrote:
   Per olof Ljungmark wrote:
   Kris Kennaway wrote:
   Per olof Ljungmark wrote:
   I use a memory file system for some tmp files and last night I saw 
   this, followed by a reboot. Bad memory? 6-STABLE from April..

  
   foo-bar kernel: g_vfs_done():md0[WRITE(offset=259244032, 
   length=131072)]error = 28
   foo-bar kernel: g_vfs_done():md0[WRITE(offset=259375104, 
   length=131072)]error = 28

   [ten more lines...]
   [reboot]
  
   Thanks,
  
   #define ENOSPC  28  /* No space left on device */
  
   You are probably (incorrectly) using a malloc backed disk.  Use swap 
   backing and you won't panic when memory is low.

  
   Yes, sounds likely, thanks. One more question then, where is the md 
   information stored through a reboot? I did not edit rc.conf or fstab 
   or kernel config but still /dev/md0 came back up. Hmmm.

  
   It's not, unless something is explicitly creating it each time you 
   boot.  Perhaps you are using a rc.conf setting that creates a md /tmp.
   
   Indeed, here it was:
   
   amavisd_enable=YES

   amavisd_ram=512m
   
   and the line in rc.d/amavisd

   mdmfs -M -s ${amavisd_ram} -w vscan:vscan md /var/amavis/tmp || true
   for some reason creates a malloc based mfs
   
   Perhaps I should check this with the maintainer...
   
   
  
  Yes, malloc backing for md should be used in almost no situations.


Am I right in thinking such situations would then be limited to diskless
/ flashdisk / embedded systems having no swap?  Seems obvious, but ..


Sort of.  Swap backing will still work when you have no swap, and it's 
still faster than malloc backing.  The problem is that I think backing 
store reservation (-o reserve) doesn't work unless you have actual 
swap to back everything, whereas with malloc backing it reserves in 
memory.  This means that it is easy to overcommit memory and the system 
will probably panic when it suddenly finds no free memory for the md (as 
in the original email).


Ideally if no swap was configured, swap backing would also reserve the 
space in memory, and then I am not aware of any other reasons to 
continue using malloc backing.


Kris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: FreeBSD time servers and Windows clients

2007-09-02 Thread Terry Sposato
Bill,

The registry setting is to allow you to sync time to an internet source and
also offer the ability of the Windows Time Service to sync other machines
which aren't actively part of a domain relationship. If you want to do this
then the registry fix is the way. If you want to simply sync with a
non-domain time source then group policy is the best way on Windows Server
operating systems.

Regards,

Terry

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill Moran
Sent: Sunday, 2 September 2007 9:05 PM
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Subject: Re: FreeBSD time servers and Windows clients

[EMAIL PROTECTED] wrote:

 
 Hi all,
I have one FreeBSD NTP server which syncs all my server clocks.
Getting the NTP server running was a piece of cake following the
instructions in the online handbook.  Recently I was asked to sync a bunch
of windows machines (10 of them) to my NTP server.   Now I'm not a windows
person, so I asked one of the windows people to figure out his side since my
side was up and running.   He wrote this little .bat file to run on the
windows boxes to be sync'd.   Its pretty straight forwardjust save it as
a .bat file (time.bat) and run it from your XP box.   Make sure to enter
your NTP IP address where the x's are below. It seems to work fine for
us.   Your mileage may vary.  There may be better/easier ways of doing this,
but this is what works ok for us   

This sounds like a bad idea to me.  I seem to remember there's a
registry setting where you can specify explicit NTP servers for Windows.

Any reason why he went this route?

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Recent update to RELENG_6 creates lots of calcru warnings

2007-09-02 Thread Kris Kennaway

James Long wrote:
I'm running FreeBSD RELENG_6 on a Compaq DL380 G2 dual PIII-1.4GHz with 
an SMP kernel.  dmesg below.


Prior to about August 12, the system had been quite stable.

Since that time, I am finding lots of calcru warnings, which often
cause system services to fail when they see unorthodox time shifts.

Section 5.19 of the handbook appears not to be current any longer,
suggesting setting kern.timecounter.method=1.  
kern.timecounter.hardware=i8254 also does not improve things.


Other suggestions?

Thanks,

Jim


Sep  1 18:00:30 ns sudo:james : TTY=ttyp0 ; 
PWD=/usr/local/www/sites/com.umpquanet/support ; USER=root ; 
COMMAND=/sbin/sysctl -w kern.timecounter.hardware=i8254
Sep  1 18:02:44 ns kernel: calcru: runtime went backwards from 1343309 usec to 
1178478 usec for pid 3663 (hpasmd)
Sep  1 18:02:44 ns kernel: calcru: negative runtime of -1274607 usec for pid 
3660 (hpasmd)
Sep  1 18:02:44 ns kernel: calcru: runtime went backwards from 6470361 usec to 
5811413 usec for pid 995 (postgres)
Sep  1 18:02:44 ns kernel: calcru: negative runtime of -1099076 usec for pid 36 
(pagedaemon)
Sep  1 18:02:44 ns kernel: calcru: negative runtime of -5928105 usec for pid 35 
(fdc0)
Sep  1 18:02:44 ns kernel: calcru: negative runtime of -1526937 usec for pid 32 
(acpi_cooling0)
Sep  1 18:02:44 ns kernel: calcru: runtime went backwards from 8015143 usec to 
1437770 usec for pid 15 (yarrow)
Sep  1 18:02:44 ns kernel: calcru: negative runtime of -12360933 usec for pid 2 
(g_event)
Sep  1 18:02:44 ns kernel: calcru: negative runtime of -2106022786 usec for pid 
13 (swi4: clock sio)
Sep  1 18:02:44 ns kernel: calcru: runtime went backwards from 295074296 usec 
to 292484248 usec for pid 1 (init)
Sep  1 18:02:44 ns kernel: calcru: runtime went backwards from 1343309 usec to 
1178478 usec for pid 3663 (hpasmd)
Sep  1 18:02:44 ns kernel: calcru: negative runtime of -1274607 usec for pid 
3660 (hpasmd)
Sep  1 18:02:44 ns kernel: calcru: runtime went backwards from 6470361 usec to 
5811413 usec for pid 995 (postgres)
Sep  1 18:02:44 ns kernel: calcru: negative runtime of -1099076 usec for pid 36 
(pagedaemon)
Sep  1 18:02:44 ns kernel: calcru: negative runtime of -5928105 usec for pid 35 
(fdc0)
Sep  1 18:02:44 ns kernel: calcru: negative runtime of -1526937 usec for pid 32 
(acpi_cooling0)
Sep  1 18:02:44 ns kernel: calcru: runtime went backwards from 8015143 usec to 
1437770 usec for pid 15 (yarrow)
Sep  1 18:02:44 ns kernel: calcru: negative runtime of -12360933 usec for pid 2 
(g_event)
Sep  1 18:02:44 ns kernel: calcru: negative runtime of -2106022734 usec for pid 
13 (swi4: clock sio)
Sep  1 18:02:44 ns kernel: calcru: runtime went backwards from 295074296 usec 
to 292484248 usec for pid 1 (init)

dmesg output:

Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #0: Mon Aug 27 17:24:37 PDT 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP-UMP
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) III CPU family  1400MHz (1390.66-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6b1  Stepping = 1
  
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 1073725440 (1023 MB)
avail memory = 1037357056 (989 MB)
ACPI APIC Table: COMPAQ 0083
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  3
 cpu1 (AP): APIC ID:  0
MADT: Forcing active-low polarity and level trigger for SCI
ioapic1 Version 1.1 irqs 16-31 on motherboard
ioapic0 Version 1.1 irqs 0-15 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: COMPAQ P24 on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x240-0x243 on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge on acpi0
pci0: ACPI PCI bus on pcib0
ciss0: Compaq Smart Array 5i port 0x2000-0x20ff mem 
0xf5ec-0xf5ef,0xf3ef-0xf3ef3fff irq 16 at device 1.0 on pci0
ciss0: [GIANT-LOCKED]
fxp0: Intel 82559 Pro/100 Ethernet port 0x2400-0x243f mem 
0xf5eb-0xf5eb0fff,0xf5d0-0xf5df irq 18 at device 2.0 on pci0
miibus0: MII bus on fxp0
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:02:a5:ad:82:d5
fxp1: Intel 82559 Pro/100 Ethernet port 0x2440-0x247f mem 
0xf5cf-0xf5cf0fff,0xf5b0-0xf5bf irq 20 at device 4.0 on pci0
miibus1: MII bus on fxp1
inphy1: i82555 10/100 media interface on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Ethernet address: 00:02:a5:ad:82:d4
pci0: base peripheral at device 6.0 (no driver attached)
isab0: PCI-ISA bridge at 

Re: Backup the basics of the system.

2007-09-02 Thread Mel
On Saturday 01 September 2007 21:36:50 Joshua Isom wrote:

 I'm about to downgrade from -CURRENT to 6-STABLE, and since I can't
 seem do it in place without screwing around with a lot of stuff, I
 might need to reinstall completely.

The proper way to downgrade is to restore the level 0 backups you made before 
upgrading, as outlined in /usr/src/UPDATING. Downgrades are especially hard.

 But which configuration files are 
 the ones I need to backup the most?  I know rc.conf and loader.conf,
 but what else would be needed to easily restore the setup of the
 system?  Would I just somehow be able to use mergemaster to get a diff
 and manually apply everything?

/etc/periodic.conf, /etc/master.passwd aside from the ones you mentioned.
Also, any dir in /etc/ that's not from the base system (/etc/X11* comes to 
mind).

To save yourself a headache, I'd rm -rf /etc/rc.d before doing installworld 
and run mergemaster as mergemaster -i.

I *think* mergemaster just checks if a CVSId is different, not older. Same for 
make delete-old whether a file is in the base system and not in the source 
tree. Let's hope for your sake it is :)
-- 
Mel

People using reply to all on lists, must think I need 2 copies.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: x11 drivers - conflicts

2007-09-02 Thread matt donovan
You have to do make config in xorg-drivers again to reconfigure the port



 Message: 33
 Date: Sun, 2 Sep 2007 00:39:15 +0100 (BST)
 From: Robert Davison [EMAIL PROTECTED]
 Subject: x11 drivers - conflicts
 To: freebsd-questions@freebsd.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=iso-8859-1

 I was this evening doing a portupgrade on some of my outdated packages one
 of which was x11-drivers

   I did a portupgrade -arR and got the blue config screen for the
 x11-drivers. I stupidly chose and intel driver which when i run the
 portupgrade ends with the following error

   you cant choose both i810 and intel drivers as they are conflicting

   Where do I find the config that I change to stop the build process
 including the intel driver. I've looked in the x11-driver makefile and cant
 see anything out of the ordinary.

   Or how do I make the build process bring the blue config screen up again
 so I can deselect the intel driver.

   Any help would be much appreciated.


 -
 Yahoo! Answers - Get better answers from someone who knows. Tryit now.

 --

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

 End of freebsd-questions Digest, Vol 192, Issue 20
 **

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


Re: pf rdr + netsed : reinject loop...

2007-09-02 Thread Norberto Meijome
On Fri, 31 Aug 2007 22:09:42 +0200
Mel [EMAIL PROTECTED] wrote:

 On Friday 31 August 2007 18:27:26 Norberto Meijome wrote:
  On Fri, 31 Aug 2007 17:40:06 +0200
 
  Mel [EMAIL PROTECTED] wrote:
netsed's output is (part ) :
---
Script started on Fri Aug 31 07:52:12 2007
[EMAIL PROTECTED] /usr/home/luser]# netsed tcp 10101 0 0  s/FOO/BAR
netsed 0.01b by Michal Zalewski [EMAIL PROTECTED]
[*] Parsing rule s/FOO/BAR ...
[+] Loaded 1 rules...
[+] Listening on port 10101/tcp.
[+] Using dynamic (transparent proxy) forwarding.
   
[+] Got incoming connection from 172.16.82.81:1178 to 127.0.0.1:10101
[*] Forwarding connection to 127.0.0.1:10101
[+] Got incoming connection from 127.0.0.1:51337 to 127.0.0.1:10101
[*] Forwarding connection to 127.0.0.1:10101
[+] Caught client - server packet.
  
   I think you need to figure out what this 'transparent proxy mode' of
   netsed does, cause it should under no circumstances forward to itself...
 
  it simply forwards the packet to the dst_ip:dst_port it originally had.
  But, as Daniel H pointed out, those packets had been rewritten by pf's rdr
  to go TO netsed's ip:port  hence netsed wont change anything.  It works
  fine in non-proxy mode, but as I said in my first msg, that is not an
  option for me.
 
  So the obvious question is how to get the packets to netsed's IP:PORT
  without having the packet's original destination IP/PORT changedmaybe
  incorporating the netsed code into a socks5-compatible server (in my case,
  the app that generates the packets understands SOCKS). Alas, I am drawing a
  blank here atm.
 
  Otherwise, i can only think that a new netgraph node would perform better
  than my current pf + netsed approach
 
 Figured I'd take a shot at it and it works:
 # ./netsed tcp 10101 0 0 s/boo/GET/
 netsed 0.01b by Michal Zalewski [EMAIL PROTECTED]
 [*] Parsing rule s/boo/GET/...
 [+] Loaded 1 rules...
 [+] Listening on port 10101/tcp.
 [+] Using dynamic (transparent proxy) forwarding.
 [+] Got incoming connection from 11.22.33.44:27712 to 127.0.0.1:10101
 [*] Forwarding connection to 55.66.77.88:80
 [+] Caught client - server packet.
 
 Renamed the ip's to protect the innocent, but that's all. I typed boo / 
 HTTP/1.0 and got back a solid page of html.
 Patch inlined below sig. I'm surprised no one ever caught up on this, seeing 
 the makefile is last modified in 2005 :)
 

Mel,
Thanks so very much for putting this together. It works a charm. I may put 
together some BSD specific documentation for this port, and possible add some 
build-time options to the port.

Also, if memory serves me right, ipfw's divert may not be modifying the packets 
: i have used ipfw diver with the tcpmss daemon and there were no issues - of 
course, it may be that tcpmss checked with ipfw's table to see what change had 
been done, in which case netsed should support it too. 

Humbled again, grateful and proud of OSS,
B
_
{Beto|Norberto|Numard} Meijome

I've dirtied my hands writing poetry, for the sake of seduction; that is, for 
the sake of a useful cause.
   Dostoevsky

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ldconfig problem after upgrade 4.11 to 5.5

2007-09-02 Thread Martin Schweizer
Hello Kris

Am Mon, Aug 27, 2007 at 03:34:54PM + Kris Kennaway schrieb:
After I updated my 4.11 to an 5.5 system (following 
/usr/src/UPDATING), I get 
around 63 error messages while the system boot up:

ldconfig: /var/run/ld.so.hints: No such file or directory
  search: trailing characters ignored
  No such file or directory
0: - lmalloc.1.1: trailing characters ignored. No such 
file or 
directory
...
...

   Looks like it might be a broken symlink.
   
   Why are you updating to 5.5 though?  You should be using 6.2.
  
  If I'm understanding /usr/src/UPDATING correct I should first 
  update to 5.5 
  and then to 6.2?
 
 OK.  It may have been easier (and still could be) to just do a binary
 upgrade instead.
 
  Any ideas where I can check this symlink?
 
 Use find(1) to look for libmalloc.so.1.1

The files are all located in /usr/lib/compat/aout. The path is defined 
in 
/etc/defaults/rc.conf
[snip]
ldconfig_paths_aout=/usr/lib/compat/aout /usr/X11R6/lib/aout 
/usr/local/lib/aout
[snip]

Any ideas?
   
   Are you missing aout support from your kernel?  I think it's COMPAT_AOUT.
  
  After reading about ldconfig and playing with the parameters (see man page) 
  I 
  find out that the processing of the pathes in /etc/defaults/rc.conf isn't 
  correct.
  /etc/defaults/rc.conf:
  [snip]
  ldconfig_insecure=NO  # Set to YES to disable ldconfig security checks
  ldconfig_paths=/usr/lib/compat /usr/X11R6/lib /usr/local/lib
  ldconfig_paths_aout=/usr/lib/compat/aout /usr/X11R6/lib/aout 
  /usr/local/lib/aout
  ldconfig_local_dirs=/usr/local/libdata/ldconfig 
  /usr/X11R6/libdata/ldconfig
  # Local directories with ldconfig configuration files.
  ldconfig_local32_dirs=/usr/local/libdata/ldconfig32 
  /usr/X11R6/libdata/ldconfig32
  # Local directories with 32-bit compatibility ldconfig
  [snip]
  
  Following this I set in /etc/rc.conf
  
  [snip]
  ldconfig_paths_aout=/usr/lib/compat/aout
  [snip]
  
  Any ideas why the kernel do not process the pathes correct?
  
  Now it works. Thank you for your help.
  
 
 You need a.out support *IN YOUR KERNEL*.  i.e. you need to enable it
 in your kernel configuration and recompile your kernel.

Only for clarification. This option I've in my kernel:
[snip]
options COMPAT_AOUT
[snip]

After the above change in /etc/rc.conf no messages occurs while FreeBSD is 
starting.

-- 
Regards,

Martin Schweizer
[EMAIL PROTECTED]

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;



pgphwFE6k0ARp.pgp
Description: PGP signature


Re: problems with a rc.d script I'm creating

2007-09-02 Thread Jim Stapleton
 I haven't figured out the proper way myself, but the problem is that the
 defaults you set at top, override the rc.conf variables, because they don't
 exist yet. What I do is move load_rc_config before setting defaults. General
 order becomes:
 name=foo
 rcvar=`set_rcvar`
 load_rc_config ${name}
 foo_default=${foo_default:-default value}
 run_rc_command $1

 Seems to work, maybe I'll figure out the proper way once I finish reading:
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/rc-scripting/index.html

Thanks.

Putting this before anything else butt he #!/bin/sh and the intro
comments worked but spat out some errors.

name=akpop3d
rcvar=`set_rcvar`
load_rc_config ${name}

[EMAIL PROTECTED] /usr/local/etc/rc.d]# ./akpop3d start
set_rcvar: not found
load_rc_config: not found
Starting akpop3d.



So, I tried putting the `. /etc/rc.subr` before that, but it didn't
even start the server (processed with no errors, and a ps -A showed no
server)


At least I have something that *works* now, even if it spews errors. Thank you.

Also, if you reply, could you please reply-all? Sorry, I have this
list in digest mode due to volume, and I can't do a proper reply that
keeps thread information without having a normal copy.

Thanks,
-Jim Stapleton
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sadly, my tinker-time has run out....

2007-09-02 Thread Mike Jeays
On Sunday 02 September 2007 02:22, Michael Hauber wrote:
 Hey, all...

 I've been a user of FreeBSD and OpenBSD for quite a while now. 
 Unfortunatly, I haven't had much time to tinker lately, and that's unlikely
 to change in the near future.  Sadly, I need to get an OS that my wife
 would be more comfortable using and that wouldn't be as time-comsuming to
 make it more comfortable for her.

 I downloaded the uberyl live CD and found that ubuntu seems to pick up on
 everything I have on the laptop (as well as all the attachments), so I'm
 downloading it now.

 Because I've put so much time into getting this FreeBSD install where it is
 now (and because I favor the BSDs), I'm still a bit hesitant...  Has anyone
 here had much experience with ubunu as a desktop?  Negatives/positives?

 Kind of OT, I guess...  I'd just rather hear it from someone in this group
 rather than the inevitable, Oh yeah.  You won't be sorry. from the ubuntu
 folk (salespitches == fingernails on a chalkboard :) ).

 Thanks,

 Mike


 PS.  Yes, I've played with PC-BSD.  Unfortunately, that's still more work
 than I have time for.

I am one of those sad cases who used FreeBSD for many years as my primary 
desktop at home, and then switched to Ubuntu about 6 months ago.  I still run 
FreeBSD on an older server, that runs round the clock and is 100% reliable.

I was only slightly frustrated by FreeBSD, mainly because of my inability to 
get a Hauuppage TV card to work, even after a few queries on this list.  I 
also found that other multimedia software seemed more available and easier to 
set up - I not saying they were impossible, just that I seemed to be spending 
more time trying to get them to work than I wanted.

Ubuntu works very well 'out of the box', and their Synaptic tool for finding 
and installing software is excellent. I am now running VirtualBox under 
Ubuntu, and it works extremely well; I can run W2K and XP for occasional use 
as guests, and what seems like full speed. (Much faster than QEMU, which I 
used before.)  Both KDE and GNOME work fine, and for basic work with Firefox, 
Thunderbird, OpenOffice and Postgresql, there is nothing much to choose 
between FreeBSD and Ubuntu from an office user's point of view.  Both work 
great.  Both seem rock solid, and recover well from the occasional power 
outages I get at my new home.  (Ought to get a battery backup before disaster 
hits one day, I suppose).  All the development tools are a few mouse-clicks 
away.

I may switch back one day, as I like FreeBSD very much for its sound design 
and underlying philosophy.  I feel 'guilty' about having changed!

-- 
Mike Jeays
http://www.jeays.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sadly, my tinker-time has run out....

2007-09-02 Thread Jonathan Horne
On Sunday 02 September 2007 07:31:41 Mike Jeays wrote:
 On Sunday 02 September 2007 02:22, Michael Hauber wrote:
  Hey, all...
 
  I've been a user of FreeBSD and OpenBSD for quite a while now.
  Unfortunatly, I haven't had much time to tinker lately, and that's
  unlikely to change in the near future.  Sadly, I need to get an OS that
  my wife would be more comfortable using and that wouldn't be as
  time-comsuming to make it more comfortable for her.
 
  I downloaded the uberyl live CD and found that ubuntu seems to pick up on
  everything I have on the laptop (as well as all the attachments), so I'm
  downloading it now.
 
  Because I've put so much time into getting this FreeBSD install where it
  is now (and because I favor the BSDs), I'm still a bit hesitant...  Has
  anyone here had much experience with ubunu as a desktop? 
  Negatives/positives?
 
  Kind of OT, I guess...  I'd just rather hear it from someone in this
  group rather than the inevitable, Oh yeah.  You won't be sorry. from
  the ubuntu folk (salespitches == fingernails on a chalkboard :) ).
 
  Thanks,
 
  Mike
 
 
  PS.  Yes, I've played with PC-BSD.  Unfortunately, that's still more work
  than I have time for.

 I am one of those sad cases who used FreeBSD for many years as my primary
 desktop at home, and then switched to Ubuntu about 6 months ago.  I still
 run FreeBSD on an older server, that runs round the clock and is 100%
 reliable.

 I was only slightly frustrated by FreeBSD, mainly because of my inability
 to get a Hauuppage TV card to work, even after a few queries on this list. 
 I also found that other multimedia software seemed more available and
 easier to set up - I not saying they were impossible, just that I seemed to
 be spending more time trying to get them to work than I wanted.

 Ubuntu works very well 'out of the box', and their Synaptic tool for
 finding and installing software is excellent. I am now running VirtualBox
 under Ubuntu, and it works extremely well; I can run W2K and XP for
 occasional use as guests, and what seems like full speed. (Much faster than
 QEMU, which I used before.)  Both KDE and GNOME work fine, and for basic
 work with Firefox, Thunderbird, OpenOffice and Postgresql, there is nothing
 much to choose between FreeBSD and Ubuntu from an office user's point of
 view.  Both work great.  Both seem rock solid, and recover well from the
 occasional power outages I get at my new home.  (Ought to get a battery
 backup before disaster hits one day, I suppose).  All the development tools
 are a few mouse-clicks away.

 I may switch back one day, as I like FreeBSD very much for its sound design
 and underlying philosophy.  I feel 'guilty' about having changed!

from my experience as an admin over at openaddict.com, ubuntu really seems to 
have ascended quickly thru the ranks of the quality distributions.  if you 
take a look at distrowatch.com, ubuntu is also the most highest clicked on 
distro.  based on behavior from what i see from the linux community, it looks 
like:

  Oh yeah.  You won't be sorry.

cheers,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problems with a rc.d script I'm creating

2007-09-02 Thread Mel
On Sunday 02 September 2007 14:18:17 Jim Stapleton wrote:
  I haven't figured out the proper way myself, but the problem is that the
  defaults you set at top, override the rc.conf variables, because they
  don't exist yet. What I do is move load_rc_config before setting
  defaults. General order becomes:
  name=foo
  rcvar=`set_rcvar`
  load_rc_config ${name}
  foo_default=${foo_default:-default value}
  run_rc_command $1
 
  Seems to work, maybe I'll figure out the proper way once I finish
  reading:
  http://www.freebsd.org/doc/en_US.ISO8859-1/articles/rc-scripting/index.ht
 ml

 Thanks.

 Putting this before anything else butt he #!/bin/sh and the intro
 comments worked but spat out some errors.
 
 name=akpop3d
 rcvar=`set_rcvar`
 load_rc_config ${name}
 
 [EMAIL PROTECTED] /usr/local/etc/rc.d]# ./akpop3d start
 set_rcvar: not found
 load_rc_config: not found
 Starting akpop3d.
 


 So, I tried putting the `. /etc/rc.subr` before that, but it didn't
 even start the server (processed with no errors, and a ps -A showed no
 server)

That's weird. Here's my qpopper one, that works. Maybe you can find what's 
causing the errors for you:
#!/bin/sh
# PROVIDE: qpopper
# REQUIRE: DAEMON

. /etc/rc.subr

name=qpopper
rcvar=`set_rcvar`
load_rc_config $name

qpopper_config=${qpopper_config:-/usr/local/etc/qpopper.config}
qpopper_host=${qpopper_host:-127.0.0.1}
qpopper_port=${qpopper_port:-110}

command=/usr/local/libexec/${name}
command_args=-f ${qpopper_config} ${qpopper_host}:${qpopper_port}
required_files=${qpopper_config}

run_rc_command $1

 Also, if you reply, could you please reply-all? Sorry, I have this
 list in digest mode due to volume, and I can't do a proper reply that
 keeps thread information without having a normal copy.

Ah. Done.


-- 
Mel

People using reply to all on lists, must think I need 2 copies.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problems with a rc.d script I'm creating

2007-09-02 Thread Jim Stapleton
Thanks, I'll play with that a bit more.

-Jim Stapleton

On 9/2/07, Mel [EMAIL PROTECTED] wrote:
 On Sunday 02 September 2007 14:18:17 Jim Stapleton wrote:
   I haven't figured out the proper way myself, but the problem is that the
   defaults you set at top, override the rc.conf variables, because they
   don't exist yet. What I do is move load_rc_config before setting
   defaults. General order becomes:
   name=foo
   rcvar=`set_rcvar`
   load_rc_config ${name}
   foo_default=${foo_default:-default value}
   run_rc_command $1
  
   Seems to work, maybe I'll figure out the proper way once I finish
   reading:
   http://www.freebsd.org/doc/en_US.ISO8859-1/articles/rc-scripting/index.ht
  ml
 
  Thanks.
 
  Putting this before anything else butt he #!/bin/sh and the intro
  comments worked but spat out some errors.
  
  name=akpop3d
  rcvar=`set_rcvar`
  load_rc_config ${name}
  
  [EMAIL PROTECTED] /usr/local/etc/rc.d]# ./akpop3d start
  set_rcvar: not found
  load_rc_config: not found
  Starting akpop3d.
  
 
 
  So, I tried putting the `. /etc/rc.subr` before that, but it didn't
  even start the server (processed with no errors, and a ps -A showed no
  server)

 That's weird. Here's my qpopper one, that works. Maybe you can find what's
 causing the errors for you:
 #!/bin/sh
 # PROVIDE: qpopper
 # REQUIRE: DAEMON

 . /etc/rc.subr

 name=qpopper
 rcvar=`set_rcvar`
 load_rc_config $name

 qpopper_config=${qpopper_config:-/usr/local/etc/qpopper.config}
 qpopper_host=${qpopper_host:-127.0.0.1}
 qpopper_port=${qpopper_port:-110}

 command=/usr/local/libexec/${name}
 command_args=-f ${qpopper_config} ${qpopper_host}:${qpopper_port}
 required_files=${qpopper_config}

 run_rc_command $1

  Also, if you reply, could you please reply-all? Sorry, I have this
  list in digest mode due to volume, and I can't do a proper reply that
  keeps thread information without having a normal copy.

 Ah. Done.


 --
 Mel

 People using reply to all on lists, must think I need 2 copies.

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


Re: ldconfig problem after upgrade 4.11 to 5.5

2007-09-02 Thread Kris Kennaway

Martin Schweizer wrote:

Hello Kris

Am Mon, Aug 27, 2007 at 03:34:54PM + Kris Kennaway schrieb:
After I updated my 4.11 to an 5.5 system (following /usr/src/UPDATING), I get 
around 63 error messages while the system boot up:


ldconfig: /var/run/ld.so.hints: No such file or directory
  search: trailing characters ignored
  No such file or directory
0: - lmalloc.1.1: trailing characters ignored. No such file or 
directory

...
...


Looks like it might be a broken symlink.

Why are you updating to 5.5 though?  You should be using 6.2.
If I'm understanding /usr/src/UPDATING correct I should first update to 5.5 
and then to 6.2?

OK.  It may have been easier (and still could be) to just do a binary
upgrade instead.


Any ideas where I can check this symlink?

Use find(1) to look for libmalloc.so.1.1
The files are all located in /usr/lib/compat/aout. The path is defined in 
/etc/defaults/rc.conf

[snip]
ldconfig_paths_aout=/usr/lib/compat/aout /usr/X11R6/lib/aout 
/usr/local/lib/aout
[snip]

Any ideas?

Are you missing aout support from your kernel?  I think it's COMPAT_AOUT.
After reading about ldconfig and playing with the parameters (see man page) I 
find out that the processing of the pathes in /etc/defaults/rc.conf isn't 
correct.

/etc/defaults/rc.conf:
[snip]
ldconfig_insecure=NO# Set to YES to disable ldconfig security checks
ldconfig_paths=/usr/lib/compat /usr/X11R6/lib /usr/local/lib
ldconfig_paths_aout=/usr/lib/compat/aout /usr/X11R6/lib/aout 
/usr/local/lib/aout
ldconfig_local_dirs=/usr/local/libdata/ldconfig /usr/X11R6/libdata/ldconfig
# Local directories with ldconfig configuration files.
ldconfig_local32_dirs=/usr/local/libdata/ldconfig32 
/usr/X11R6/libdata/ldconfig32
# Local directories with 32-bit compatibility ldconfig
[snip]

Following this I set in /etc/rc.conf

[snip]
ldconfig_paths_aout=/usr/lib/compat/aout
[snip]

Any ideas why the kernel do not process the pathes correct?

Now it works. Thank you for your help.


You need a.out support *IN YOUR KERNEL*.  i.e. you need to enable it
in your kernel configuration and recompile your kernel.


Only for clarification. This option I've in my kernel:
[snip]
options COMPAT_AOUT
[snip]

After the above change in /etc/rc.conf no messages occurs while FreeBSD is 
starting.


OK great, thanks for confirming.

Kris

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


Re: problems with a rc.d script I'm creating

2007-09-02 Thread Gerard
On September 01, 2007 at 11:17PM Jim Stapleton wrote:


 akpop3d_enable=${akpop3d_enable-NO}
 akpop3d_pidfile=${akpop3d_pidfile-/var/run/akpop3d.pid}
 akpop3d_flags=${akpop3d_flags--d -s -L .akpop3d}
 akpop3d_conffile=${akpop3d_conffile-}
 akpop3d_flush_cache=${akpop3d_flush_cache-NO}

I believe you have to precede these with a colon and space; i.e. : 
for it to work correctly.

-- 
Gerard
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


xfce4 and 6.2: dbus-daemon is using 100% cpu

2007-09-02 Thread Charlie
Hi everyone,

I'm running 6.2-RELEASE on two systems (a Pentium 4 and a dual Athlon), and
whenever I log into Xfce4, I notice that a process called dbus-daemon is
invoked and eats up 100% of the CPU when no other processes are running.

If another process is running, dbus-daemon only hogs about 50% of the CPU,
but this is still frustrating. If, for example, I am compiling a port,
dbus-daemon takes about 50% of my CPU time, leaving only half the
processor's time for compiling.

I am fairly new to xfce, and googling the issue hasn't helped me out. Any
ideas? How can I fix dbus so it doesn't use so much CPU, or how can I
disable it completely? I know it is used for inter-application
communication, but I'm not entirely sure I need it (I don't see any adverse
effects when I kill it manually).

I don't see anything unusual in /var/log/messages, nor any errors in
~/.xsession-errors.

Thanks for the help,

Charlie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sadly, my tinker-time has run out....

2007-09-02 Thread Andrew Gould
On 9/2/07, Mike Jeays [EMAIL PROTECTED] wrote:

 On Sunday 02 September 2007 02:22, Michael Hauber wrote:
  Hey, all...
 
  I've been a user of FreeBSD and OpenBSD for quite a while now.
  Unfortunatly, I haven't had much time to tinker lately, and that's
 unlikely
  to change in the near future.  Sadly, I need to get an OS that my wife
  would be more comfortable using and that wouldn't be as time-comsuming
 to
  make it more comfortable for her.
 
  I downloaded the uberyl live CD and found that ubuntu seems to pick up
 on
  everything I have on the laptop (as well as all the attachments), so I'm
  downloading it now.
 
  Because I've put so much time into getting this FreeBSD install where it
 is
  now (and because I favor the BSDs), I'm still a bit hesitant...  Has
 anyone
  here had much experience with ubunu as a desktop?  Negatives/positives?
 
  Kind of OT, I guess...  I'd just rather hear it from someone in this
 group
  rather than the inevitable, Oh yeah.  You won't be sorry. from the
 ubuntu
  folk (salespitches == fingernails on a chalkboard :) ).
 
  Thanks,
 
  Mike
 
 
  PS.  Yes, I've played with PC-BSD.  Unfortunately, that's still more
 work
  than I have time for.

 I am one of those sad cases who used FreeBSD for many years as my primary
 desktop at home, and then switched to Ubuntu about 6 months ago.  I still
 run
 FreeBSD on an older server, that runs round the clock and is 100%
 reliable.

 I was only slightly frustrated by FreeBSD, mainly because of my inability
 to
 get a Hauuppage TV card to work, even after a few queries on this list.  I
 also found that other multimedia software seemed more available and easier
 to
 set up - I not saying they were impossible, just that I seemed to be
 spending
 more time trying to get them to work than I wanted.

 Ubuntu works very well 'out of the box', and their Synaptic tool for
 finding
 and installing software is excellent. I am now running VirtualBox under
 Ubuntu, and it works extremely well; I can run W2K and XP for occasional
 use
 as guests, and what seems like full speed. (Much faster than QEMU, which I
 used before.)  Both KDE and GNOME work fine, and for basic work with
 Firefox,
 Thunderbird, OpenOffice and Postgresql, there is nothing much to choose
 between FreeBSD and Ubuntu from an office user's point of view.  Both work
 great.  Both seem rock solid, and recover well from the occasional power
 outages I get at my new home.  (Ought to get a battery backup before
 disaster
 hits one day, I suppose).  All the development tools are a few
 mouse-clicks
 away.

 I may switch back one day, as I like FreeBSD very much for its sound
 design
 and underlying philosophy.  I feel 'guilty' about having changed!

 --
 Mike Jeays
 http://www.jeays.ca
 ___


I moved from Linux to FreeBSD in 2000.  Two years ago, at the request of my
IT department, I started looking to move a database server back to Linux.
Unfortunately(?), I found that each Linux distribution came with either
problems or limitations.  Several distros worked well out of the box; but I
still had problems getting the applications I wanted working either because
of bugs or license politics.  I never made the move.

Don't kid yourself, even open source applications and operating systems go
through occasional periods where technical know-how is needed, even
*Ubuntu.  If you don't believe me, browse through the email lists of any
*BSD or Linux operating system.

This month's edition of Linux Format has an article documenting an
experiment where 3 newbies are asked to perform various tasks in Linux.  You
may find this article useful.

If the original poster is leaving FreeBSD to save time and make his wife's
computing experience a pleasant one, I recommend Mac OS X.  It comes with
all of the advantages of Apple's understanding of users and user
interfaces.  Also, you can install your favorite unix apps via macports.

In my home, I use Mac OS X for photo editing and creating slideshow DVDs.  I
use FreeBSD as my desktop and a database server.

Good luck,

Andrew
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports/115885: misc/help2man: help2man ignores installed gettext perl mod; insists on stale p5-* dependency

2007-09-02 Thread [EMAIL PROTECTED]
* snowcrash+freebsd [2007-09-02 19:11]:
  It is not supported to mix FreeBSD ports collection perl modules
  with modules installed from CPAN.
 
  http://www.freebsd.org/cgi/query-pr.cgi?pr=115885
 
 I'm not mixing anything.  I have *NO* FreeBSD ports collection perl
 modules installed, at all.
 
 I *only* have CPAN modules installed.  gettext is installed on my
 system via CPAN.
 
 I am trying to get help2man to work with a CPAN-only installation.
 
 It does not.  *IT* is trying to mix a port-perl-module, not me.

You have perl modules installed, that have no corresponding installed
FreeBSD port. There once was a project called BSDPAN that AFAIK was
written to work around this problem, but i don't know what the status is
(CCing perl). 

regards tilman
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sadly, my tinker-time has run out....

2007-09-02 Thread Michael Hauber
On Sunday 02 September 2007 07:12:37 am Manolis Kiagias proclaimed:
 Michael Hauber wrote:
  Hey, all...
 
  I've been a user of FreeBSD and OpenBSD for quite a while now. 
  Unfortunatly, I haven't had much time to tinker lately, and that's
  unlikely to change in the near future.  Sadly, I need to get an OS that
  my wife would be more comfortable using and that wouldn't be as
  time-comsuming to make it more comfortable for her.
 
  I downloaded the uberyl live CD and found that ubuntu seems to pick up on
  everything I have on the laptop (as well as all the attachments), so I'm
  downloading it now.
 
  Because I've put so much time into getting this FreeBSD install where it
  is now (and because I favor the BSDs), I'm still a bit hesitant...  Has
  anyone here had much experience with ubunu as a desktop? 
  Negatives/positives?
 
  Kind of OT, I guess...  I'd just rather hear it from someone in this
  group rather than the inevitable, Oh yeah.  You won't be sorry. from
  the ubuntu folk (salespitches == fingernails on a chalkboard :) ).
 
  Thanks,
 
  Mike
 
 
  PS.  Yes, I've played with PC-BSD.  Unfortunately, that's still more work
  than I have time for.

 I am working (and tinkering as you put it) with many kinds of systems:
 Fedora / Ubuntu as desktops, Debian as servers, FreeBSD both desktops
 and servers, Windows 2003 servers, XP desktops, even Vista :)
 To put it simply, every system has its strong points, ups and downs. For
 example, Windows has drivers for everything - many are crap, but they
 still exist - and a few applications you just can't replace with
 anything else. Ubuntu, the one you are considering, is based on Debian,
 which I consider excellent, especially for servers. But if you are
 coming from a FreeBSD background, Ubuntu will seem rather restrictive
 and easy. It is an easy desktop for *NIX beginners, and it is now
 marketed as the Linux you will never have to touch the command line. As
 I recall, the default install will not even setup gcc, although the
 package (build-essential) is on CD. There are obviously a lot of helper
 apps, like automatic installation of codecs etc. but it is still Linux.
 If you are a power user you will need to tinker it, and there will be
 things missing you will need to install. Example: First time I tried to
 mount some NFS shares, they were taking ages. I found out it was missing
 the nfs-common package. Maybe a beginner does not care about it, but I
 consider this basic functionality and expect it to be there (or that I
 will be informed it is not, beforehand). I also need the compiler,
 kernel headers and stuff to compile kernel modules. Ubuntu seems to have
 a lot of ready made things, good for beginners but quite limiting for
 me, I have to actually rip things out to install my stuff (e.g. disable
 their versions of some restricted drivers to install mine). That being
 said, it is making an alternate, non-Windows desktop accessible to a lot
 of people, which I consider a good thing.
 Though I suggest Ubuntu to enthusiastic Linux beginners, I find it
 difficult to give an argument for anyone with an average FreeBSD
 knowledge. At home I mostly use Fedora as a Linux desktop.

 The part of your post I don't really understand, is what is really
 bothering you with your FreeBSD install. Are you missing programs /
 features you just can't live without?  Is it something to do with the
 ports / packages? Installing, customizing and becoming familiar with
 your FreeBSD system does take some time, but this is followed by a very
 long effortless stable operation. Assuming a typical installation where
 users' needs don't constantly change, you can easily maintain a FreeBSD
 install with minimum hassle. And how is Ubuntu going to be any easier
 for your wife? Assuming you are administering the machine, a FreeBSD
 with  a Gnome  desktop will be more or less the same from the user
 standpoint to Ubuntu (or any other distro) with Gnome.



These responses have all been informative, and I appreciate them very much...

To answer your question, it's a matter of access for both me and my wife.  Due 
to my job, we travel quite a bit.  For my wife, it's the small things 
like, My sister just sent me a link to a video on youtube and it's not 
working right.  For me, it's the hours I spend pouring over it, trying to 
get it to work for her.

Personally, I prefer to build everything from ports because I can get the 
custom builds.  On this machine, that takes quite a bit of time.  In one case 
(when FreeBSD ports went to x.org7.2 ), it took over a week to upgrade (I 
arrived at a hotel and immediately started the upgrade, and when it came time 
a week later to check out, I had to stop it...  That ended up creating a huge 
mess)...

I'd like to think I'm pretty familiar with the BSDs.  I've been using both 
FreeBSD and OpenBSD since around '98 (both as desktops and various kinds of 
servers...  I used to have 8 computers in my bedroom alone, and my hobby is 

Re: ports/115885: misc/help2man: help2man ignores installed gettext perl mod; insists on stale p5-* dependency

2007-09-02 Thread snowcrash+freebsd
hi,

 You have perl modules installed, that have no corresponding installed
 FreeBSD port.

i do not use BSDPAN -- it's sloppy about its dependency mgmt.

as i do on every other os/platform, i use ONLY native cpan/cpanp.

i have dozens of cpan-installed perl-modules.  cpan/cpanp manage the
dependencies just fine.

the problem is in the case of 'help2man'.

the port-install of help2man *DOES* use the cpan-installed gettext
perl-module correctly,

 pkg_info | grep help2man
   help2man-1.36.4_1   Automatically generating simple manual pages from
 pkg_delete help2man-1.36.4_1
 portinstall help2man
   ---  Installing 'help2man-1.36.4_1' from a port (misc/help2man)
   ---  Building '/usr/ports/misc/help2man'
   ...
   ===   help2man-1.36.4_1 depends on file: /usr/local/bin/perl5.8.8 - found
   ===  Applying FreeBSD patches for help2man-1.36.4_1
   ===   help2man-1.36.4_1 depends on file:
/usr/local/lib/perl5/site_perl/5.8.8/mach/Locale/gettext.pm - found
   ...

*BUT*, in subsequent port updates/upgrades, it looks for the
p5-Locale-gettext* module.

looking in source,

cd /usr/ports/misc/help2man
grep p5-Locale-gettext *
 Makefile:BUILD_DEPENDS=
${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext
 Makefile:RUN_DEPENDS=
${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext

and verifying in my system,

 module_info Locale::gettext
  Name:Locale::gettext
  Version: 1.05
  Directory:   /usr/local/lib/perl5/site_perl/5.8.8/mach
  File:/usr/local/lib/perl5/site_perl/5.8.8/mach/Locale/gettext.pm
Core module: no

there's no legitimate reason why it should NOT be looking for the
*correctly installed* gettext dependency in site_perl path ...

but, the fact remains that it isn't.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports/115885: misc/help2man: help2man ignores installed gettext perl mod; insists on stale p5-* dependency

2007-09-02 Thread Mel
On Sunday 02 September 2007 20:12:03 snowcrash+freebsd wrote:
 hi,

  You have perl modules installed, that have no corresponding installed
  FreeBSD port.

 i do not use BSDPAN -- it's sloppy about its dependency mgmt.

 as i do on every other os/platform, i use ONLY native cpan/cpanp.

 i have dozens of cpan-installed perl-modules.  cpan/cpanp manage the
 dependencies just fine.

Except for apps in the ports, because cpan/cpanp can not register *port* 
dependencies.
RUN_DEPENDS does not mean check if this file exists, it means register a 
dependency on this port. What it does is:
1) check if the port is installed and if not install it.
2) add a line @pkgdep portname-version to $PKGDB/portname-version/+CONTENTS
3) add a line @DEPORIGIN:category/origin to $PKGDB/portname-version/+CONTENTS
4) add a line portname-version to $PKGDB/depname-version/+REQUIRED_BY

If you wanna get rid of this problem, you could use an AFTER_INSTALL hack in 
pkgtools.conf to undo 2)-4). Messy, but works.

Much cleaner is to just use the ports system p5-*. It does it's job very well 
and since you're familiar with cpan/cpanp I'm sure you'll have no problem 
installing modules that might not exist in the freebsd ports into a directory 
*outside* the ports hierarchy (/usr/local) and add this to the module search 
path.

-- 
Mel

People using reply to all on lists, must think I need 2 copies.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports/115885: misc/help2man: help2man ignores installed gettext perl mod; insists on stale p5-* dependency

2007-09-02 Thread Anton Berezin
On Sun, Sep 02, 2007 at 11:12:03AM -0700, snowcrash+freebsd wrote:

 as i do on every other os/platform, i use ONLY native cpan/cpanp.
 
 i have dozens of cpan-installed perl-modules.  cpan/cpanp manage the
 dependencies just fine.

 the problem is in the case of 'help2man'.
 
 the port-install of help2man *DOES* use the cpan-installed gettext
 perl-module correctly,

 there's no legitimate reason why it should NOT be looking for the
 *correctly installed* gettext dependency in site_perl path ...
 
 but, the fact remains that it isn't.

Sorry, but I am afraid that if you insist on not using Perl modules
installed via ports this means you cannot expect any ports depending on Perl
modules to work.

It might be fixable in this particular instance (did you provide a patch in
your PR?  thought so...), but you cannot expect it to work in general.

Cheers,
\Anton.
-- 
We're going for 'working' here. 'clean' is for people with skills...
-- Flemming Jacobsen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD time servers and Windows clients

2007-09-02 Thread Kurt Buff
It's much simpler than that.

c:\net time /setsntp:ntpserver.yourdomain.tld

or, if you have more than one ntp server

c:\net time /setsntp:ntp1.yourdomain.tld ntp2.yourdomain.tld

On 9/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hi all,
   I have one FreeBSD NTP server which syncs all my server clocks.   Getting 
 the NTP server running was a piece of cake following the instructions in the 
 online handbook.  Recently I was asked to sync a bunch of windows machines 
 (10 of them) to my NTP server.   Now I'm not a windows person, so I asked one 
 of the windows people to figure out his side since my side was up and 
 running.   He wrote this little .bat file to run on the windows boxes to be 
 sync'd.   Its pretty straight forwardjust save it as a .bat file 
 (time.bat) and run it from your XP box.   Make sure to enter your NTP IP 
 address where the x's are below. It seems to work fine for us.   Your 
 mileage may vary.  There may be better/easier ways of doing this, but this is 
 what works ok for us

 Here's the .bat fileuse it at your own risk

 ---
 @echo Updating Time Service
 @echo.
 @echo.
 @echo off
 w32tm /config /manualpeerlist:xxx.xxx.xxx.xxx,0x8 /syncfromflags:manual
 w32tm /config /update
 @echo Restarting Time Service
 @echo.
 @echo.
 net stop w32time
 net start w32time
 pause
 cls
 @echo Verify your Time Server's IP Address and SNTP Flag of 0x8
 @echo.
 net time /querysntp
 @echo.
 @echo Exiting configuration
 pause
 --

 --
 Joe

 _
 News, entertainment and everything you care about at Live.com. Get it now!
 http://www.live.com/getstarted.aspx___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Recent update to RELENG_6 creates lots of calcru warnings

2007-09-02 Thread Kris Kennaway

James Long wrote:

On Sun, Sep 02, 2007 at 01:18:05PM +0200, Kris Kennaway wrote:

James Long wrote:
I'm running FreeBSD RELENG_6 on a Compaq DL380 G2 dual PIII-1.4GHz with an 
SMP kernel.  dmesg below.

Prior to about August 12, the system had been quite stable.
Since that time, I am finding lots of calcru warnings, which often
cause system services to fail when they see unorthodox time shifts.
Section 5.19 of the handbook appears not to be current any longer,
suggesting setting kern.timecounter.method=1.  
kern.timecounter.hardware=i8254 also does not improve things.

Other suggestions?
Thanks,
Jim
Sep  1 18:00:30 ns sudo:james : TTY=ttyp0 ; 
PWD=/usr/local/www/sites/com.umpquanet/support ; USER=root ; 
COMMAND=/sbin/sysctl -w kern.timecounter.hardware=i8254
Sep  1 18:02:44 ns kernel: calcru: runtime went backwards from 1343309 
usec to 1178478 usec for pid 3663 (hpasmd)
Sep  1 18:02:44 ns kernel: calcru: negative runtime of -1274607 usec for 
pid 3660 (hpasmd)


... big snip ...

Does reverting to the older kernel work?  If so, can you isolate which 
commit caused the problem by doing a binary search of date ranges?  This 
should be easy to do since the rate of changes to RELENG_6 is low.


Kris


Please pardon the rookie question, but the machine is not blazingly 
fast to build (circa 90 minute world, 20 min. kernel).  For the 
purposes of the binary search, may I build just the kernel, and would 
you suggest leaving the up-to-date world and running against a 
slightly older kernel as I test, or should I roll the world back to 
early August, and test against a slightly new kernel -- or will it 
matter?

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




You should only need to rebuild the kernel when searching.

Kris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vlc won't play region encoded DVDs (fixed)

2007-09-02 Thread C Thala
On 8/16/07, Chandhee Thala [EMAIL PROTECTED] wrote:
 Most of the American DVDs I try to play gets a region encoding error
 and quits. I have no problems with foreign DVDs (from other
 countries).

Well, it turned out that this region encoding error was a huge red
herring. I was about to flash the firmware on my machine's built-in
DVD drive to change the encoding when I decided to try an external DVD
drive that I know for sure played Region 1 DVDs (or at least, it did
in Windows).

Lo and behold, it had the same problem.

Turns out that the perms on the drive were 640, making it 666 fixed the problem.

Weird.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xfce4 and 6.2: dbus-daemon is using 100% cpu

2007-09-02 Thread Jason Morgan
On Sun, Sep 02, 2007 at 11:31:48AM -0400, Charlie wrote:
 Hi everyone,
 
 I'm running 6.2-RELEASE on two systems (a Pentium 4 and a dual Athlon), and
 whenever I log into Xfce4, I notice that a process called dbus-daemon is
 invoked and eats up 100% of the CPU when no other processes are running.
 
 If another process is running, dbus-daemon only hogs about 50% of the CPU,
 but this is still frustrating. If, for example, I am compiling a port,
 dbus-daemon takes about 50% of my CPU time, leaving only half the
 processor's time for compiling.
 
 I am fairly new to xfce, and googling the issue hasn't helped me out. Any
 ideas? How can I fix dbus so it doesn't use so much CPU, or how can I
 disable it completely? I know it is used for inter-application
 communication, but I'm not entirely sure I need it (I don't see any adverse
 effects when I kill it manually).
 
 I don't see anything unusual in /var/log/messages, nor any errors in
 ~/.xsession-errors.
 
 Thanks for the help,
 
 Charlie

I've run into this before (along with other dbus/Thunar issues) and it
was only fixed by building XFCE from source. Installing from the
package has always caused problems for me. I run XFCE on three
workstations -- though I run -STABLE -- all of them had the same
problem.

I know, not much help.

Cheers,

~Jason
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Krusader - [Shift + Delete] and SFTP

2007-09-02 Thread Zbigniew Komarnicki
Hello,

I have two problems:

1. Problem
===
I want to ask, how to set in Krusader 1.80.0 key binding or action such:
[Shift] + [Delete] - delete file permanently

This is not default under FreeBSD, why?

On the page:
http://krusader.sourceforge.net/handbook/basic.html#deleting
I'm reading that:
Deleting files/directories is done by selecting them and pressing F8 or 
Delete. By defaultit will be moved to KDE's Trash, Shift+Delete will delete 
the file permanently.

But when I'm looking on shortcat in Krusader in FreeBSD:
Settings - Configure Shortcuts
and then
Action  ShortcutAlternate
Cut to Clipboard   Ctrl+X   Shift+Delete
Delete  F8

Why this is that done, that [Shift+ Delete] is binding to action Cut to 
Clipboard?

I also cannot find option as Delete permanently. Of course I can reasign 
Shift+Delete to action Delete as alternace shortcut, but this don't delete 
file permanently, but move file to Trash.

I can only delete file permanently from poupmenu, where there are two option:
Delete and Move to Trash (and others of course).

2. Problem
=
Why I cannot connect by ssh (sftp) to other machine? Under Debian I can.
Please check what I am trying to do:
Tools - New Net Connections ...
then
Protocol: sftp://
Host: a.b.c.d
Port: 22
user and password and then click Connect. 
Then I obtain:
Error encountered while talking to ssh.
and then I obtain second error:
Unknown error
Error encountered while talking to ssh.

It only work when I connect by protocol fish://
Why? Why protocol sftp://; does not work?
As I mention earlier under Linux it work.

I'm sorry for my English, and I'm sorry for the details, but it should work 
exactly as stated in Krusader handbook, no mater what this is Linux or Unix 
it should works as expected.

Please for help with this issues or comments, why this is that.

I'm using FreeBSD 6.2, Krusader from ports (x11-fm/krusader).

Best regards,
Zbigniew
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Krusader - [Shift + Delete] and SFTP

2007-09-02 Thread Mel
On Sunday 02 September 2007 23:07:26 Zbigniew Komarnicki wrote:
 Hello,

 I have two problems:


 Action  ShortcutAlternate
 Cut to Clipboard   Ctrl+X   Shift+Delete
 Delete  F8

 Why this is that done, that [Shift+ Delete] is binding to action Cut to
 Clipboard?

Part of unix history:
ctrl-c in consoles is the default SIGINT (interrupt) signal,
ctrl-v is used type literal escaped chars

hence, copying is done with shift+insert/delete.
As for the keybindings and your second problem, that's application specific 
and since I don't use krusader I can't help ya there.

-- 
Mel

People using reply to all on lists, must think I need 2 copies.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Tunning Freebsd for clustering

2007-09-02 Thread Emanuel Marufo
Ok gays here is the configuration of mounts:

Centos:

/dev/VolGroup00/LogVol00 /   ext3defaults1 1
LABEL=/boot /boot   ext3defaults1 2
none/dev/ptsdevpts  gid=5,mode=620  0 0
none/dev/shmtmpfs   defaults0 0
none/proc   procdefaults0 0
none/syssysfs   defaults0 0
/dev/VolGroup00/LogVol01 swapswapdefaults0 0
192.168.0.254:/home/alumnos /home/alumnosnfs defaults0 0

hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   12260 MB in  2.00 seconds = 6130.93 MB/sec
 Timing buffered disk reads:  174 MB in  3.00 seconds =  57.95 MB/sec



FBSD 6.2:

/dev/ad0s1b noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   1
/dev/ad0s1e /tmpufs rw  2   2
/dev/ad0s1f /usrufs rw  2   2
/dev/ad0s1d /varufs rw  2   2
192.168.0.254:/home/profesores  /home/profesores nfsrw  0   0
192.168.0.254:/home/alumnos /home/alumnos   nfs rw  0   0
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0


diskinfo -t /dev/ad0

/dev/ad0
512 # sectorsize
16469620# mediasize in bytes (153G)
321672960   # mediasize in sectors
319120  # Cylinders according to firmware.
16  # Heads according to firmware.
63  # Sectors according to firmware.

Seek times:
Full stroke:  250 iter in   5.309058 sec =   21.236 msec
Half stroke:  250 iter in   3.716832 sec =   14.867 msec
Quarter stroke:   500 iter in   6.108698 sec =   12.217 msec
Short forward:400 iter in   3.142779 sec =7.857 msec
Short backward:   400 iter in   2.694669 sec =6.737 msec
Seq outer:   2048 iter in   0.180814 sec =0.088 msec
Seq inner:   2048 iter in   0.203852 sec =0.100 msec
Transfer rates:
outside:   102400 kbytes in   1.707093 sec =59985 kbytes/sec
middle:102400 kbytes in   1.873011 sec =54671 kbytes/sec
inside:102400 kbytes in   3.016051 sec =33952 kbytes/sec
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to change isc-dhcp3-server replies?

2007-09-02 Thread Joe
For some reason they are no longer showing up in tcpdump?

I can see the DHCP discover and the DHCP offers, but can't get tcpdump to 
output them?

DHCPDISCOVER from AA:AA:AA:AA:AA:AA via xl0
DHCPOFFER on 192.168.0.13 to AA:AA:AA:AA:AA:AA (w2k-box) via xl0

This happens 4 times, but I can get tcpdump to output the offer.  Using

tcpdump -netvvvi xl0 -t udp port 67 or udp port 68

Not sure what is going on now.  

Joe

 Ok, no so true. I am watching tcpdump output from the two binaries. The
 old binary sends its reply to 255.255.255.255, while the new one sends its
 reply to 192.168.0.15. Same config file and I tried the always-broadcast
 flag, and it only sets the bit for the client, but the server still
 broadcasts its reply to the client on the subnet mask.

 Old client reply (ml.. is server af is client):

 1188694380.961642 ml:ml:ml:ml:ml:ml  ff:ff:ff:ff:ff:ff, ethertype IPv4
 (0x0800), length 342: (tos 0x10, ttl 16, id 0, offset 0, flags [none],
 proto: UDP (17), length: 328) 192.168.0.15.67  255.255.255.255.68:
 BOOTP/DHCP, Reply, length: 300, xid:0x77915dc3, flags: [Broadcast] 
(0x8000)
 Your IP: 192.168.0.13
 Client Ethernet Address: af:af:af:af:af:af [|bootp]

 new client does not do this and clients do not get their ip address. I 
read
 somewhere that linux had a problem doing this in 2.2 kernels and it has
 something to do with the routing table in linux. Not sure what is going on
 here, but the routing table looks fine.

So what does the tcpdump exchange look like with the new binary and the
always-broadcast flag? And we're talking server binaries, right?


   
-
Looking for a deal? Find great prices on flights and hotels with Yahoo! 
FareChase.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sadly, my tinker-time has run out....

2007-09-02 Thread Andrew Gould
On 9/2/07, Michael Hauber [EMAIL PROTECTED] wrote:


 I'm in the process of backup, and will be installing ubuntu shortly.  Like
 one
 of the repliers stated, I too feel somewhat guilty...  But I'll be back
 one
 of these days.

 Thanks, all.


 Mike


Don't feel guilty.  Keep a FreeBSD server running at home while you travel!
You can backup your data securely and use it remotely via tightvnc.

Andrew
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sadly, my tinker-time has run out....

2007-09-02 Thread Pollywog
On Sunday 02 September 2007 23:37:49 Andrew Gould wrote:


 Don't feel guilty.  Keep a FreeBSD server running at home while you travel!
 You can backup your data securely and use it remotely via tightvnc.

 Andrew

There must be some trick to accessing a FreeBSD server via VNC.
I have done it on Linux but I could not get it to work in FreeBSD.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sadly, my tinker-time has run out....

2007-09-02 Thread Predrag Punosevac



There must be some trick to accessing a FreeBSD server via VNC.
I have done it on Linux but I could not get it to work in FreeBSD.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
There are no tricks? You just install VNC. Then type vncserver and you 
will guided to
create password and given server extension. So for instance if your 
server name is oko.net and vnc client number 1 you will access it with 
vncviewer oko.net:1
To customize your vnc experience file .vnc/xstartup must be edited. You 
can specify Window Manager or Desktop. Your firewall must be adjusted as 
well.


I am watching this thread and  wondering why are we discussing Ubuntu 
and Linux on this forum. Don't you guys have your own forum to discuss.


PC-BSD is far easier to configure than Ubuntu. It is much more solid.We 
have Ubuntu as a Desktop OS at Department of Mathematics at the 
University or Arizona. It is full of problems and we have six very good 
system administrators that also run our Debian servers flawlessly. By 
the way Ubuntu has a problem with keyboard mapping in VNC mode. So it is 
useless unless you run 6.04 version or older.


This seems to me as feeding a troll. If somebody wants to use Ubuntu, OS 
X or Windows it is their choice but issues related to that operating 
systems should not be discussed hire.




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


My Proxy Server(Squid) in FreeBSD 5.4 used to be hang

2007-09-02 Thread Prakash Poudyal
Hello Everybody,

I have IBM Server which consists of FreeBSD 5.4 and its consist of Squid for
running proxy server. After running for 2 or 3 days it canonot be  ping the
server and also does provide the service but you know when I go and access
that server directly it start to work. It would not be hang , it start to
work. I donot what is its problem. So please could give me some idea related
to it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sadly, my tinker-time has run out....

2007-09-02 Thread Andrew Gould
On 9/2/07, Pollywog [EMAIL PROTECTED] wrote:

 On Sunday 02 September 2007 23:37:49 Andrew Gould wrote:

 
  Don't feel guilty.  Keep a FreeBSD server running at home while you
 travel!
  You can backup your data securely and use it remotely via tightvnc.
 
  Andrew

 There must be some trick to accessing a FreeBSD server via VNC.
 I have done it on Linux but I could not get it to work in FreeBSD.
 ___


I've had good luck with both vnc and tightvnc.  The only tricks that I can
think of are remembering the right window/port and allowing the ports
through the firewall.

Andrew
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sadly, my tinker-time has run out....

2007-09-02 Thread Pollywog
On Monday 03 September 2007 01:37:23 Predrag Punosevac wrote:
  There must be some trick to accessing a FreeBSD server via VNC.
  I have done it on Linux but I could not get it to work in FreeBSD.
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 There are no tricks? You just install VNC. Then type vncserver and you
 will guided to
 create password and given server extension. So for instance if your
 server name is oko.net and vnc client number 1 you will access it with
 vncviewer oko.net:1
 To customize your vnc experience file .vnc/xstartup must be edited. You
 can specify Window Manager or Desktop. Your firewall must be adjusted as
 well.


Thanks, that describes what I have done.  I will try again after the next time 
I update ports.

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


Re: Sadly, my tinker-time has run out....

2007-09-02 Thread Pollywog
On Monday 03 September 2007 01:46:30 Andrew Gould wrote:
 On 9/2/07, Pollywog [EMAIL PROTECTED] wrote:
  On Sunday 02 September 2007 23:37:49 Andrew Gould wrote:
   Don't feel guilty.  Keep a FreeBSD server running at home while you
 
  travel!
 
   You can backup your data securely and use it remotely via tightvnc.
  
   Andrew
 
  There must be some trick to accessing a FreeBSD server via VNC.
  I have done it on Linux but I could not get it to work in FreeBSD.
  ___

 I've had good luck with both vnc and tightvnc.  The only tricks that I
 can think of are remembering the right window/port and allowing the ports
 through the firewall.

I did not use TightVNC, but some other VNC.
I will try it again, with TightVNC

thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


BSDstats Statistics for Aug, 2007 ...

2007-09-02 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Although I should send this out more often then I do, last month was a 
particularly good month, with *everyone* except for NetBSD going up in numbers 
...

First off all, for those that aren't aware:

The mission of this site is to compile semi-accurate numbers for advocacy and 
marketing of the *BSD operating systems.

Through interaction with several system administrators out there, from a 
security / anonymity perspective, we have tried to design things such that we 
save nothing in the database that could be used to compromise  your servers ... 
no hostname, no IP ...

The stats  have also been designed to allow for multiple reporting by the same 
host each month (ie. rebooting your desktop), so it doesn't have to be run just 
on the first of the month.

The web site, although it looks good, is incomplete at this time ... Anthony, 
our 'webmaster' has been a wee bit pre-occupied the past little while, but 
hopes to be able to dive back in again by the end of the month, and clean up 
some of the reports.

To date, we have the following *BSD distributions reporting in:

DesktopBSD
DragonFly
FreeBSD
GNU/kFreeBSD
MidnightBSD
MirBSD
NetBSD
OpenBSD
PC-BSD

PC-BSD, to the best of our knowledge, is the only one that defaults to enabled, 
while the rest have to be enabled manually.

For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats to set 
things up.

And that's the sales pitch ... over the past few months, we've broken the 
11,000k host mark ...

Since we don't have any 'trend reports' on the site yet, please feel free to 
visit http://bsdstats.org/os_report.php?lastmonth to see changes from July - 
August ...

But, overall for August:

 DesktopBSD+152.7%
 DragonFly +  5.3%
 FreeBSD   +  2.7%
 GNU/kFreeBSD  +150.0%
 MidnightBSD   +100.0%
 MirBSD+190.0%
 NetBSD-  5.5%
 OpenBSD   + 13.5%
 PC-BSD+  0.2%
   ===
   +  5.1%

If you aren't participating, we very much encourage you to start ... the report 
script is a shell script, so you can scan it to figure out what, exactly, is 
being sent in .. and there is only one level of reporting that is  required, 
and that is Operating System + Version ... Device and Ports reporting are 100% 
optional ...

For those that are participating ... once more, thank you ... and spread the 
word, we need more reporters :)




- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFG23x04QvfyHIvDvMRAg6zAJsFKf1PBwnid5Y2PHOmYDBA87ksuACeMrpt
MGfVhInjKFbuYfi4c6GPbcA=
=mzYj
-END PGP SIGNATURE-

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