Re: sk0: watchdog timeout

2005-11-04 Thread Vladimir Dvorak
Nicolas Blais wrote:

On November 3, 2005 06:37 pm, martinko wrote:
  

Vladimir Dvorak wrote:


Hello,

I have a problem with network card. From time to time kernel says

sk0: watchdog timeout

It has (probably) random behavior.

I use FreeBSD 5.4-RELEASE-p8, motherboard is ASUS A8V Deluxe (AMD64,
Athlon64XP 3200+) and internal network card from pciconf -v -l

[EMAIL PROTECTED]:10:0: class=0x02 card=0x811a1043 chip=0x432011ab 
rev=0x13
hdr=0x00
vendor   = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
device   = '88E8001 Gigabit 32-bit Ethernet Controller with
Integrated PHY'
class= network
subclass = ethernet


This machine should be sent to serverhouse and I am not sure, if it is
ready. :-( Can anyone tell me what is the solution ? To buy another
netcard ?

Thank you,

Vladimir Dvorak




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

the same chip here and i see the messages from time to time too.
not sure what's the problem or if there is any at all.
so far card has been working alright, or at least i haven't noticed any
issues.

m.




Same here too:

sk0: watchdog timeout
sk0: watchdog timeout
sk0: watchdog timeout

with occasional :
sk0: discard frame w/o leading ethernet header (len 10 pkt len 10)
sk0: discard frame w/o leading ethernet header (len 11 pkt len 11)

Network is running fine, though sometimes accessing the internet takes 2-3 
seconds (as if the DNS was not responding) but then is fine. 

  

Yes, the same feeling. This error is independend on load. I downloaded
tens of GB and nothing happend, but usually after boot this error
occures ( I do not know if it is really error).
Tonight I tested small pings on this machine from several stations in
network, no watchdog timeout message.
Once I mentioned 1-2 seconds networking break, when I 'dmesg'
immediatelly after that, the watchdog was there.
Im not sure if I can put it as production server :-(. But   I will
try. ;-)

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


Re: Bug ?: SCHED_4BSD VS SCHED_ULE

2005-11-04 Thread Kris Kennaway
On Thu, Nov 03, 2005 at 10:58:58PM -0500, Ian Lord wrote:
 Hi,
 
 I am running amd64 version on a Dell 2850 Dual Xeon processor with emt64
 
 as soon as I turn on SCHED_ULE instead of SCHED_4BSD in rc.conf, the 
 system starts to behave strangely.
 
 During boot, named and sshd can't start normally, system is unstable, etc
 
 Is that a known bug or isnt it suppose to work anyway on this kind of 
 system ?

You forgot to mention what version of FreeBSD you're running.  Also,
you don't control the scheduler from rc.conf, it's compiled into your
kernel.

Anyway, SCHED_ULE is better on 6.0 than on previous releases, but it's
still not officially supported, and there are some known problems with
it.

Kris


pgpXIQnqogioN.pgp
Description: PGP signature


Re: nssswitch - anyone using nss_X ? nss/freebsd complete?

2005-11-04 Thread Harti Brandt
On Thu, 3 Nov 2005, Nathan Vidican wrote:

NVAnyone using any sort of nss_X.so module? Are there any open issues with
NVFreeBSD/amd64 and nssswitch? I've been reading a good deal of archived
NVmailing list messages regarding development/threading issues, but to no avail
NVhave I found any definitive answer as to if nssswitch works correctly and
NVcompletely under FreeBSD.

I'm using nss_winbind. Seems to work. No idea if there are 64bit issues - 
I'm currently running it in 32bit only.

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


OPen Office 2.0 via packages

2005-11-04 Thread Glyn Millington


Greetings!

For the sake of a continuing happy marriage !  I really need to install
OPenOffice 2 on a machine at home - soon to be running FreeBSD 6.0 (i386)
:-)  I can't build the port because the hard drive is too small - just
enough spare space for the compiling. 

Is it possible to do this via packages? Can anyone give me pointers as
to what packages I need, what bits of Java are necessary for a
pre-compiled package?  Is it possible to do this via packages at all?

Thanks in advance

atb

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


Re: OPen Office 2.0 via packages

2005-11-04 Thread Andrew P.
On 11/4/05, Glyn Millington [EMAIL PROTECTED] wrote:


 Greetings!

 For the sake of a continuing happy marriage !  I really need to install
 OPenOffice 2 on a machine at home - soon to be running FreeBSD 6.0 (i386)
 :-)  I can't build the port because the hard drive is too small - just
 enough spare space for the compiling.

 Is it possible to do this via packages? Can anyone give me pointers as
 to what packages I need, what bits of Java are necessary for a
 pre-compiled package?  Is it possible to do this via packages at all?

 Thanks in advance

 atb

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


ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/2.0/

Just try to pkg_add it. OO doesn't require Java to run,
only to build. There are some run-dependencies, you
can see them here:
http://www.freshports.org/editors/openoffice.org-2.0/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OPen Office 2.0 via packages

2005-11-04 Thread Glyn Millington
Andrew P. [EMAIL PROTECTED] writes:

 Just try to pkg_add it. OO doesn't require Java to run,
 only to build. 

Brilliant!!   This (about Java) was  what I needed to know.



 There are some run-dependencies, you can see them here:
 http://www.freshports.org/editors/openoffice.org-2.0/

Sorry - should have found this myself!  Still learning about the
resources


Many thanks for a marriage saved :-)

atb




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


Re: building HTML::Mason to use mod_perl2

2005-11-04 Thread Grigory O. Ptashko
Hello.

And what is the problem?
I have a working HTML::Mason + Apache 2 + mod_perl 2.
I installed all them from sources but I don't think that installing
them from ports will give something different. But first may be you
should cvsup your ports tree and use portinstall to get the last
versions of all.

 Hello,

 If I build the www/p5-HTML-Mason port, it seems to require mod_perl.
 I'm using apache2 with mod_perl2, and I'm wondering if there's a way
 to get it working with those.

 Thanks,
 Mike
 --
 Michael P. Soulier [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]


cannot jkill JAIL

2005-11-04 Thread Vladimir Dvorak
Hi,

cannot jkill jail.

I have in /etc/rc.conf this:

jail_enable=yes
jail_list=firma1
jail_set_hostname_allow=NO

jail_firma1_rootdir=/mnt/JAILS/10.0.0.166
jail_firma1_hostname=company1.domain.com
jail_firma1_ip=10.0.0.166
jail_firma1_exec_start=/bin/sh /etc/rc
jail_firma1_exec_stop=/bin/sh /etc/rc.shutdown
jail_firma1_exec_devfs_enable=YES

After boot process I ssh to host system and look for jail like this:

[EMAIL PROTECTED] jls
   JID  IP Address  Hostname  Path
 1  10.0.0.166  company1.domain.com  
/mnt/JAILS/10.0.0.166

And the problem ? I cannot jkill this jail

[EMAIL PROTECTED] jkill -r 1
jkill: couldn't connect to kernel: bad namelist - no kernbase
[EMAIL PROTECTED] jkill -k 1
jkill: couldn't connect to kernel: bad namelist - no kernbase
[EMAIL PROTECTED] jkill -f -k 1
jkill: couldn't connect to kernel: bad namelist - no kernbase

No chance. :-( ( but as you can see, jls reports jail running and I can
via SSH connect to)

What I am doing wrong ?

Thank you,

Vladimir


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


Re: Upcoming FreeBSD releases...

2005-11-04 Thread martinko

Kris Kennaway wrote:

On Fri, Nov 04, 2005 at 01:00:03AM +0100, martinko wrote:



but where is the schedule published ??
i fail to locate it on the web site. all i can find are current and old 
releases and an incomplete schedule for upcoming 6.0 (about which i 
just complained in other thread btw).



http://www.freebsd.org/releng/index.html

Kris


thanks, kris.
only that 5.5 is still scheduled for november while you said it 
might/will be delayed up to a few months.

and 6.0 schedule / todo is (still) incomplete as already noted.
now, i don't want to complain (much), i can imagine it's a lot of work. 
still it might be very confusing / unpredictable for newcomers. at least 
it's for me.
i believe that since release model changed to time-based it is crucial 
to inform users of expected dates and update them as soon as it is known 
they won't be met.

cheers,
martin

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


Re: MySQL port not d/loading

2005-11-04 Thread tim cle


--- Lowell Gilbert
[EMAIL PROTECTED] wrote:

 tim cle [EMAIL PROTECTED] writes:
 
  I'm attempting to install MySQL via ports but its
 not
  d/loading. I know my system should do this,
 because I
  just finished installing apache via ports, and it
  d/loaded fine. So, is anyone having problems
 d/loading
  the MySQL port(s) - i tried 4.0 and 4.1 and 5.0 -
 none
  of them transfer successfully. Or is my system
 just
  annoying me for fun (j/k)
 
 What actually happens when you try?
 -- 
 Lowell Gilbert, embedded/networking software
 engineer, Boston area
   http://be-well.ilk.org/~lowell/
 ___
 freebsd-questions@freebsd.org mailing list

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

Hi again, I have successfully installed MySQL - but
the mirror system still doesnt seem right - it went
through all the mirrors, and wouldn't d/l from them -
then it finally worked from the main bsd ftp site -
I've put the output underneath - note this is what I
got when I did another test run after already d/l it -
it has been like this for at least a day now.
Regards, Tim.

---


[EMAIL PROTECTED] cd /usr/ports/databases/mysql41-server/
[EMAIL PROTECTED] make install distclean
===  Vulnerability check disabled, database not found

You may use the following build options:

WITH_CHARSET=charsetDefine the primary
built-in charset (latin1).
WITH_XCHARSET=list  Define other built-in
charsets (may be 'all').
WITH_COLLATION=collate  Define default
collation (latin1_swedish_ci).
WITH_OPENSSL=yesEnable secure
connections.
WITH_LINUXTHREADS=yes   Use the linuxthreads
pthread library.
WITH_PROC_SCOPE_PTH=yes Use process scope
threads
(try it if you use
libpthread).
BUILD_OPTIMIZED=yes Enable compiler
optimizations
(use it if you need
speed).
BUILD_STATIC=yesBuild a static version
of mysqld.
(use it if you need
even more speed).
WITHOUT_INNODB=yes  Disable support for
InnoDB table handler.
WITH_NDB=yesEnable support for NDB
Cluster.

= mysql-4.1.10a.tar.gz doesn't seem to exist in
/usr/ports/distfiles/.
= Attempting to fetch from
ftp://ftp.easynet.be/mysql/Downloads/MySQL-4.1/.
fetch:
ftp://ftp.easynet.be/mysql/Downloads/MySQL-4.1/mysql-4.1.10a.tar.gz:
File unavailable (e.g., file not found, no access)
= Attempting to fetch from
ftp://ftp.fi.muni.cz/pub/mysql/Downloads/MySQL-4.1/.
fetch:
ftp://ftp.fi.muni.cz/pub/mysql/Downloads/MySQL-4.1/mysql-4.1.10a.tar.gz:
File unavailable (e.g., file not found, no access)
= Attempting to fetch from
http://mysql.mirrors.cybercity.dk/Downloads/MySQL-4.1/.
fetch:
http://mysql.mirrors.cybercity.dk/Downloads/MySQL-4.1/mysql-4.1.10a.tar.gz:
Not Found
= Attempting to fetch from
ftp://ftp.fh-wolfenbuettel.de/pub/database/mysql/Downloads/MySQL-4.1/.
fetch:
ftp://ftp.fh-wolfenbuettel.de/pub/database/mysql/Downloads/MySQL-4.1/mysql-4.1.10a.tar.gz:
Protocol error
= Attempting to fetch from
ftp://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-4.1/.
fetch:
ftp://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-4.1/mysql-4.1.10a.tar.gz:
File unavailable (e.g., file not found, no access)
= Attempting to fetch from
http://netmirror.org/mirror/mysql.com/Downloads/MySQL-4.1/.
fetch:
http://netmirror.org/mirror/mysql.com/Downloads/MySQL-4.1/mysql-4.1.10a.tar.gz:
Not Found
= Attempting to fetch from
ftp://netmirror.org/mysql.com/Downloads/MySQL-4.1/.
fetch:
ftp://netmirror.org/mysql.com/Downloads/MySQL-4.1/mysql-4.1.10a.tar.gz:
File unavailable (e.g., file not found, no access)
= Attempting to fetch from
http://mirrors.ntua.gr/MySQL/Downloads/MySQL-4.1/.
fetch:
http://mirrors.ntua.gr/MySQL/Downloads/MySQL-4.1/mysql-4.1.10a.tar.gz:
Not Found
= Attempting to fetch from
ftp://ftp.ntua.gr/pub/databases/mysql/Downloads/MySQL-4.1/.
fetch:
ftp://ftp.ntua.gr/pub/databases/mysql/Downloads/MySQL-4.1/mysql-4.1.10a.tar.gz:
File unavailable (e.g., file not found, no access)
= Attempting to fetch from
http://mysql.sote.hu/Downloads/MySQL-4.1/.
fetch:
http://mysql.sote.hu/Downloads/MySQL-4.1/mysql-4.1.10a.tar.gz:
Not Found
= Attempting to fetch from
ftp://ftp.rhnet.is/pub/mysql/Downloads/MySQL-4.1/.
fetch:
ftp://ftp.rhnet.is/pub/mysql/Downloads/MySQL-4.1/mysql-4.1.10a.tar.gz:
File unavailable (e.g., file not found, no access)
= Attempting to fetch from
ftp://mirror.widexs.nl/pub/mysql/Downloads/MySQL-4.1/.
fetch:
ftp://mirror.widexs.nl/pub/mysql/Downloads/MySQL-4.1/mysql-4.1.10a.tar.gz:
File unavailable (e.g., file not found, no access)
= Attempting to fetch from
ftp://mysql.mirror.trueserver.nl/pub/mirror/mysql/Downloads/MySQL-4.1/.
fetch:
ftp://mysql.mirror.trueserver.nl/pub/mirror/mysql/Downloads/MySQL-4.1/mysql-4.1.10a.tar.gz:
No address record
= Attempting to fetch from

Re: Upcoming FreeBSD releases...

2005-11-04 Thread Kris Kennaway
On Fri, Nov 04, 2005 at 10:39:41AM +0100, martinko wrote:
 Kris Kennaway wrote:
 On Fri, Nov 04, 2005 at 01:00:03AM +0100, martinko wrote:
 
 
 but where is the schedule published ??
 i fail to locate it on the web site. all i can find are current and old 
 releases and an incomplete schedule for upcoming 6.0 (about which i 
 just complained in other thread btw).
 
 
 http://www.freebsd.org/releng/index.html
 
 Kris
 
 thanks, kris.
 only that 5.5 is still scheduled for november while you said it 
 might/will be delayed up to a few months.
 and 6.0 schedule / todo is (still) incomplete as already noted.
 now, i don't want to complain (much), i can imagine it's a lot of work. 
 still it might be very confusing / unpredictable for newcomers. at least 
 it's for me.
 i believe that since release model changed to time-based it is crucial 
 to inform users of expected dates and update them as soon as it is known 
 they won't be met.

The release engineers are busy with engineering the release, so please
have patience.  Or if you feel that you need to tell them something,
you should contact them directly.

Kris



pgpz7rqTLFByq.pgp
Description: PGP signature


Re: /etc/rc.conf /etc/defaults/rc.conf

2005-11-04 Thread Philip Paeps
On 2005-11-04 06:16:49 (+0330), Mohsen Pahlevanzadeh [EMAIL PROTECTED] wrote:
 What's relation of /etc/rc.conf  /etc/defaults/rc.conf?

The defaults are contained in /etc/defaults/rc.conf and can be overriden in
/etc/rc.conf.  As keramida said, you're not supposed to edit anything in the
defaults, and it's subject to change every time you update your system.

If you're looking for the explanation of an option, the (well-commented)
default sometimes proves more useful than the rc.conf(5) manual.

 - Philip

-- 
Philip PaepsPlease don't Cc me, I am
[EMAIL PROTECTED]   subscribed to the list.

  BOFH Excuse #239:
CPU needs bearings repacked
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot jkill JAIL

2005-11-04 Thread Vladimir Dvorak
Vladimir Dvorak wrote:

Hi,

cannot jkill jail.

I have in /etc/rc.conf this:

jail_enable=yes
jail_list=firma1
jail_set_hostname_allow=NO

jail_firma1_rootdir=/mnt/JAILS/10.0.0.166
jail_firma1_hostname=company1.domain.com
jail_firma1_ip=10.0.0.166
jail_firma1_exec_start=/bin/sh /etc/rc
jail_firma1_exec_stop=/bin/sh /etc/rc.shutdown
jail_firma1_exec_devfs_enable=YES

After boot process I ssh to host system and look for jail like this:

[EMAIL PROTECTED] jls
   JID  IP Address  Hostname  Path
 1  10.0.0.166  company1.domain.com  
/mnt/JAILS/10.0.0.166

And the problem ? I cannot jkill this jail

[EMAIL PROTECTED] jkill -r 1
jkill: couldn't connect to kernel: bad namelist - no kernbase
[EMAIL PROTECTED] jkill -k 1
jkill: couldn't connect to kernel: bad namelist - no kernbase
[EMAIL PROTECTED] jkill -f -k 1
jkill: couldn't connect to kernel: bad namelist - no kernbase

No chance. :-( ( but as you can see, jls reports jail running and I can
via SSH connect to)

What I am doing wrong ?

Thank you,

Vladimir

  

Now it is solved.

I should mount devfs into the jail also. ('mount_devfs devfs
/mnt/JAILS/10.0.0.167/dev')

Vladimir

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


Re: diskless FreeBSD with grub

2005-11-04 Thread Daniel Hepper
 --- Ursprüngliche Nachricht --- 
 Von: Richard Burakowski [EMAIL PROTECTED] 
 An: Daniel Hepper [EMAIL PROTECTED] 
 Kopie: freebsd-questions@freebsd.org 
 Betreff: Re: diskless FreeBSD with grub 
 Datum: Thu, 03 Nov 2005 10:22:15 +1100 
  
 Daniel Hepper wrote: 
  
 Hi, 
  
 I want to boot diskless into FreeBSD-5.4 with grub. 
  
 snip 
 title bsd-nfsroot 
 kernel (nd)/kernel/kernel ip=dhcp root=/dev/nfs 
 nfsroot=141.2.71.253:/dta/fBSD_diskless 
 boot 
 /snip 
  
 It loads the kernel, but does not boot. My guess is that it doesn't 
find 
 the root partition. 
  
 if you look carefully, it's telling you where it thinks the root  
 partition is.  if that looks right, then check your nfs server log. 
  
 you have seen the diskless booting howto on freebsd.org (among others)  
 and recompiled your kernel for diskless booting? IIRC the kernel goes  
 through a second round of querying dhcp for info. 
Thanks for your hints! 
I've read the diskless booting howto before, but I did not yet built a 
custom kernel. Now I have a custom kernel with: 
  
options BOOTP  # Use BOOTP to obtain IP address/hostname 
options BOOTP_NFSROOT  # NFS mount root file system using BOOTP info 
hints  GENERIC.hints 
 
When I boot this kernel from disk, it shows the device hints, sends out 
dhcp-requests and tries to mount / with nfs. 
 
But when I load it over the net, i get the following: 
 
grub root (nd) 
Filesytem type is tftp, using hole disk. 
 
grub kernel --type=freebsd /freebsd-boot/kernel/kernel 
   [FreeBSD-elf, 0x40:0x446f54:0x0,0x847f60:0x7d600:0x4fce0, 
shtab=0 
16438, entry=0x43f2b0] 
 
grub boot 
 
The prompt disappears and the system reboots after approx. 25 sec. 
(The custom kernel has the same behaviour as the default kernel from the 
FreeBSD installationdisk) 
 
Where does it tell me where it thinks the root filesystem is? 
 
Greetings, 
Daniel Hepper 

-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nssswitch - anyone using nss_X ? nss/freebsd complete?

2005-11-04 Thread Uwe Laverenz
On Thu, Nov 03, 2005 at 04:14:52PM -0500, Nathan Vidican wrote:

 avail have I found any definitive answer as to if nssswitch works correctly 
 and completely under FreeBSD.

I use nss_ldap (and pam_ldap), it is supported since 5.1_RELEASE. At
this time only passwd and group can be used via nsswitch. It works
without problems.

 Personal interest being drawn from my own issues using, configuring, and 
 updating/compiling nss_ldap. Issues in the code, issues with making new 

I never tried to compile them on my own, I always use nss_ldap and pam_ldap
from the ports.

 Sparing one problem, current version from FreeBSD/ports/current seems to 
 work correctly, but problem is quite an issue and potential security risk - 

Do you have an URL about this security risk?

Uwe

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


Re: MySQL port not d/loading

2005-11-04 Thread Andrew P.
On 11/4/05, tim cle [EMAIL PROTECTED] wrote:

 Hi again, I have successfully installed MySQL - but
 the mirror system still doesnt seem right - it went
 through all the mirrors, and wouldn't d/l from them -
 then it finally worked from the main bsd ftp site -
 I've put the output underneath - note this is what I
 got when I did another test run after already d/l it -
 it has been like this for at least a day now.
 Regards, Tim.

 Note that it does finally succeed from the last site
 (main ftp for bsd) so the fetch/ftp is working ok -
 just not with the other sites.


It seems to be a purely networking issue. I haven't
heard of any major outages in Australia lately, but
with US Tier-1 ISP's fighting and all - it kinda
doesn't come as a surprise.

Start with ensuring that your Internet connection is
OK, then try accessing the sites that failed - and
if they fail again, call your ISP support.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PHP 4.4.0-4.4.1 apache module include() problem

2005-11-04 Thread Max Belushkin
Dear all,

  I've just updated from PHP 4.4.0 to PHP 4.4.1 (on FreeBSD 5.1-RELEASE, 
Apache 2.0.55). And now for a lot of scripts (the only common thing between 
them is that they connect to mysql) I have the following strange behaviour:
after apache startup (prefork mode), everything works fine for 3-4 requests. 
After that, the following error starts appearing at random, more and more 
often as time goes by:
Cannot redeclare mmquery() (previously declared in /home/test/func_base.php:9) 
in /home/test/func_base.php on line 9

  At this point, mysql sockets start stacking as well, they do not get closed 
(netstat -ta shows more and more with each above error message).

  Now, func_base.php is included with include_once. I tried even changing it 
to if (!$inc_done) include_once(func_base.php); and setting $inc_done=1 
in func_base.php - the exact same behaviour persists.

  This was not the case with PHP 4.4.0 just 2 hours ago.

  I've searched google, have seen similar questions but related to older PHP 
versions, but no reasonable solutions.

  I would be most grateful for any pointers...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


read grey text

2005-11-04 Thread Efren Bravo
Hi,

When fbsd is booting, it shows an error in bright
white inside the gray but I'm not able to read it.

Where can I read this gray text or better the error in
bright white?

Thanks... 



__ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: read grey text

2005-11-04 Thread Grigory O. Ptashko
try dmesg

 Hi,

 When fbsd is booting, it shows an error in bright
 white inside the gray but I'm not able to read it.

 Where can I read this gray text or better the error in
 bright white?

 Thanks... 


 
 __ 
 Renovamos el Correo Yahoo! 
 Nuevos servicios, más seguridad 
 http://correo.yahoo.es
 ___
 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: read grey text

2005-11-04 Thread Glenn Dawson

At 04:47 AM 11/4/2005, Efren Bravo wrote:

Hi,

When fbsd is booting, it shows an error in bright
white inside the gray but I'm not able to read it.

Where can I read this gray text or better the error in
bright white?


dmesg has a copy of what was shown during boot.

you can also hit the scroll-lock key and then use 
page-up/page-down to scroll though the text while it's still on the screen.


-Glenn



Thanks...



__
Renovamos el Correo Yahoo!
Nuevos servicios, más seguridad
http://correo.yahoo.es
___
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: read grey text

2005-11-04 Thread Philip Paeps
On 2005-11-04 13:47:26 (+0100), Efren Bravo [EMAIL PROTECTED] wrote:
 When fbsd is booting, it shows an error in bright white inside the gray but
 I'm not able to read it.

I assume the grey is actually due to the contrast/brightness on your monitor.
By default, FreeBSD kernel messages are printed in white on black.

 Where can I read this gray text or better the error in bright white?

dmesg(8)

You might find it helps to change the colours of the console output.  You can
do this by setting SC_KERNEL_CONS_ATTR in your kernel config file.  I find
green on black the easiest to read:

options SC_KERNEL_CONS_ATTR=(FG_GREEN|BG_BLACK)

See NOTES/LINT for more documentation about this.

 - Philip

-- 
Philip PaepsPlease don't Cc me, I am
[EMAIL PROTECTED]   subscribed to the list.

  Science is true.  Don't be misled by facts.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bug ?: SCHED_4BSD VS SCHED_ULE

2005-11-04 Thread Ian Lord
Sorry about the rc.conf mistake, I should sleep more at night instead 
of typing stupidities :)


I was meaning
/usr/src/sys/amd64/config/MYKERNEL

I am running freebsd 5.4 amd64 version

Should there be a big improvement from running ULE ?, nobody reported 
the bug I have with it ?


Thanks

At 03:38 2005-11-04, Kris Kennaway wrote:

On Thu, Nov 03, 2005 at 10:58:58PM -0500, Ian Lord wrote:
 Hi,

 I am running amd64 version on a Dell 2850 Dual Xeon processor with emt64

 as soon as I turn on SCHED_ULE instead of SCHED_4BSD in rc.conf, the
 system starts to behave strangely.

 During boot, named and sshd can't start normally, system is unstable, etc

 Is that a known bug or isnt it suppose to work anyway on this kind of
 system ?

You forgot to mention what version of FreeBSD you're running.  Also,
you don't control the scheduler from rc.conf, it's compiled into your
kernel.

Anyway, SCHED_ULE is better on 6.0 than on previous releases, but it's
still not officially supported, and there are some known problems with
it.

Kris


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


Re: PHP 4.4.0-4.4.1 apache module include() problem

2005-11-04 Thread Garrett Cooper
Max Belushkin wrote:

Dear all,

  I've just updated from PHP 4.4.0 to PHP 4.4.1 (on FreeBSD 5.1-RELEASE, 
Apache 2.0.55). And now for a lot of scripts (the only common thing between 
them is that they connect to mysql) I have the following strange behaviour:
after apache startup (prefork mode), everything works fine for 3-4 requests. 
After that, the following error starts appearing at random, more and more 
often as time goes by:
Cannot redeclare mmquery() (previously declared in /home/test/func_base.php:9) 
in /home/test/func_base.php on line 9

  At this point, mysql sockets start stacking as well, they do not get closed 
(netstat -ta shows more and more with each above error message).

  Now, func_base.php is included with include_once. I tried even changing it 
to if (!$inc_done) include_once(func_base.php); and setting $inc_done=1 
in func_base.php - the exact same behaviour persists.

  This was not the case with PHP 4.4.0 just 2 hours ago.

  I've searched google, have seen similar questions but related to older PHP 
versions, but no reasonable solutions.

  I would be most grateful for any pointers...
  

The web dev for our dept upgraded some software for a wiki to the
latest version because of PHP version changes, so what you may need to
do is change/upgrade any affected php software that accesses MySQL.
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


read grey text -ipf error on load

2005-11-04 Thread Efren Bravo
Hi,

When fbsd is booting, it shows an error in
bright
white inside the gray but I'm not able to read
it.

Where can I read this gray text or better the
error in bright white?

dmesg has a copy of what was shown during boot.

you can also hit the scroll-lock key and then
use 
page-up/page-down to scroll though the text
while it's still on the 
screen.

I could see the error, I was trying to load
ipfilter in /rc.conf as handbook says but when
the os boots, it shows those messages:

link_elf: symbol in6_cksum undefined
kldload: can't load ipf: No such file or
directory
/etc/rc: ERROR: IP-filter module failed to load.

I've looked at internet and I found that it's a
problem of my kernel because I compiled it
without IPv6.  
  
Is there a solution to install IPF without
compiling the kernel again?

Thanks...




 

Efren Bravo.



__ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


getting an old NIC to work

2005-11-04 Thread David Fleck
I recently acquired an old HP Kayak and decided to put FreeBSD on it. 
The installation appears to be fine, with one little problem - the network 
card doesn't work. (I don't actually know what kind of card it is, as I 
haven't opened the case on the machine yet.)


The card itself is ok - I can use it just fine with a Knoppix disk.  The 
machine is on a LAN, plugged into an old 10Mb hub.


It appears to be recognized by the FreeBSD kernel (I tried a 4.9 install 
and a 5.3 install, because I have the disks at hand - both installs gave 
identical results):


the relevant dmesg output is:
pcn0: AMD PCNet/PCI 10/100BaseTX port 0xbcc0-0xbcdf mem 0xfedfcc00-0xfedfcc1f 
irq 11 at device 19.0 on pci0
pcn0: Ethernet address: 00:66:b0:4a:bc:1c
miibus0: MII bus on pcn0
lxtphy0: LXT970 10/100 media interface on miibus0
lxtphy0:100baseFX, 100baseFX-FDX, 10baseT, 10baseT-FDX, 100baseTX, 
100baseTX-FDX, auto

ifconfig:
pcn0: flags=8843UP,BRODADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.1.10 netmask 0xff00 broadcast 192.168.1.255
inet6 fe80::260:b0ff:fea4:bc1c%pcn0 prefixlen 64 scopeid 0x1
ether 00:66:b0:4a:bc:1c
media: Ethernet autoselect (10baseT/UTP)
status: active

the machine can ping itself at 192.168.1.10.  It can't ping the 
defaultrouter (192.168.1.1) set in rc.conf, or anything else on the local 
network.


I'm at the end of my limited networking experience.  Any assistance in 
getting the machine talking to the rest of the network is appreciated.


(As an aside - how do I get a display of the current routing table?)


--
David Fleck
[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: read grey text -ipf error on load

2005-11-04 Thread Giorgos Keramidas
On 2005-11-04 15:18, Efren Bravo [EMAIL PROTECTED] wrote:
 link_elf: symbol in6_cksum undefined
 kldload: can't load ipf: No such file or directory
 /etc/rc: ERROR: IP-filter module failed to load.

 I've looked at internet and I found that it's a problem of my
 kernel because I compiled it without IPv6.

True.

 Is there a solution to install IPF without compiling the kernel again?

You may find one, if you spend the time untangling the dependency
of IPF on INET6 even when the latter is not included in the
kernel config.  Is it worth your time right now though?

I'd probably go ahead and rebuild :)

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


port status

2005-11-04 Thread eoghan

Hello
Im wondering if there is a status page that show work on ports/pkg's? 
Much like freshports, but for instance if I wanted to see the current 
work on kde 3.4.3 for example - would there be a place where I could get 
such info? The ports system is really great too!

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


RE: getting an old NIC to work

2005-11-04 Thread Steve Bertrand

 I recently acquired an old HP Kayak and decided to put FreeBSD on it. 
 The installation appears to be fine, with one little problem 
 - the network card doesn't work. (I don't actually know what 
 kind of card it is, as I haven't opened the case on the machine yet.)
 
 The card itself is ok - I can use it just fine with a Knoppix 
 disk.  The machine is on a LAN, plugged into an old 10Mb hub.
 
 It appears to be recognized by the FreeBSD kernel (I tried a 
 4.9 install and a 5.3 install, because I have the disks at 
 hand - both installs gave identical results):
 
 the relevant dmesg output is:
 pcn0: AMD PCNet/PCI 10/100BaseTX port 0xbcc0-0xbcdf mem 
 0xfedfcc00-0xfedfcc1f irq 11 at device 19.0 on pci0
 pcn0: Ethernet address: 00:66:b0:4a:bc:1c
 miibus0: MII bus on pcn0
 lxtphy0: LXT970 10/100 media interface on miibus0 
 lxtphy0:100baseFX, 100baseFX-FDX, 10baseT, 10baseT-FDX, 
 100baseTX, 100baseTX-FDX, auto
 
 ifconfig:
 pcn0: flags=8843UP,BRODADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   inet 192.168.1.10 netmask 0xff00 broadcast 192.168.1.255
   inet6 fe80::260:b0ff:fea4:bc1c%pcn0 prefixlen 64 scopeid 0x1
   ether 00:66:b0:4a:bc:1c
   media: Ethernet autoselect (10baseT/UTP)
   status: active
 
 the machine can ping itself at 192.168.1.10.  It can't ping 
 the defaultrouter (192.168.1.1) set in rc.conf, or anything 
 else on the local network.

Everything looks fine up to this point, so the problem you describe (not
being able to ping anything aside from itself). So, first reply back
with the defaultrouter line in rc.conf so we can ensure it's accurate.

Second (relevant to the question below, paste us the output from:

# netstat -rn

One more thing...is this a clean install? Have you built yourself a new
kernel adding any extra options? (ie IPFW)..and are you absolutely sure
that the upstream gateway is indeed 192.168.1.1 (ie: can you ping it
from a different workstation?

Regards,

Steve

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


Re: port status

2005-11-04 Thread Andrew P.
On 11/4/05, eoghan [EMAIL PROTECTED] wrote:
 Hello
 Im wondering if there is a status page that show work on ports/pkg's?
 Much like freshports, but for instance if I wanted to see the current
 work on kde 3.4.3 for example - would there be a place where I could get
 such info? The ports system is really great too!
 Thanks
 Eoghan
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


http://freebsd.kde.org/

Most ports require only a few hours of work, so
there's no dedicated pages of course. Big ports
like KDE have pages accessible via google
(freebsd portname).

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


Re: port status

2005-11-04 Thread eoghan

Andrew P. wrote:

http://freebsd.kde.org/

Most ports require only a few hours of work, so
there's no dedicated pages of course. Big ports
like KDE have pages accessible via google
(freebsd portname).

http://pointyhat.freebsd.org/ can also be of
interest.


Excellent! Thanks for the info.
Eoghan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New Logo

2005-11-04 Thread Jerry McAllister
 
 On 2 Nov 2005 at 19:31, Jerry McAllister wrote:
 
  Although it may be reasonable to create a FreeBSD logo to supplant 
  the Beastie mascot, unfortunately this thing that has seemingly won 
  a contest is not a logo.   It is really just another mascot, this 
  time with a kind of Pokemon kind of look to it.   

Hm.   Just noted a too quick typing error in my post.
I meant to say supplement and not supplant.

 It might make for a nice antenna ball.  You could put a smiley face on 
 it, but then Jack in the Box might sue for infringement.  For those in 
 parts of the world not fortunate to have a Jack in the Box on every other 
 street corner, see:

But even rarer in the world are White Castles.   But, that is
even less relevant.(I did find one in Kuala Lumpur once)

jerry

 
http://www.jacks-gear.com/
 
 [On third thought, I think I'd like my bikeshed in flame red.]
 
 
 --
 Jerry Dunham
 [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: New Logo

2005-11-04 Thread Jerry McAllister
 
  it would be interesting to learn the total # of core members, and how
  the vote went, yay and nay, and whether, it at all, the core is
  hearing the message which seems to be emanating from the non-core..
 
 Sigh. *the message*? Mixed messages at best. Some like it. A few 
 more don't. A number really, really don't like it at all. Many, 
 many, many, many, many more are completely silent on the topic, 
 meaning they really don't give a flying /dev/null.
 
  IOW, can the decision be reversed? is it being considered? 

It is not like a governmental edict condemning someone to death or
to pay higher taxes was made.   to 'reverse' it, just use what 
you want on you systems and ignore the decorations on the FreeBSD
web site.

 If the process gets reversed based on the fervent outcry of a small 
 number of people who think they have somehow been disenfranchised, 
 that would be just as silly as the oft-repeated this whole thing 
 was done to please offended right-wingers argument.
 
 There was a process (seems to me it was a fair process), it's over, 
 and some factions lost, particularly the don't change anything 
 faction. By gosh and gee willikers, what a surprise.
 
 Seems to me like those who are up in arms over this:
 (a) had every chance to participate in the process

 a I had every opportunity to participate.   
 I did make a couple of minor comments saying roughly that it
 isn't worth all the freaking out worry people were putting in to it.

 (b) did not participate in the process except to heartily denounce 
 the very existence of the process and its goal

 b I did a couple of idle sketches, but am such a lousy drawer that
 even I could see that they were worthless.   So, I just hoped
 other more talented folk would come up with something reasonable.
 I suspect that 99 44/100 of those who didn't submit anything
 were in about the same place.

 (c) even now outright refuse to go and be part of the advocacy@ 
 community where this discussion is germane to that list charter

 c I used to be subsrcibed to the advocacy list, but really didn't
 need the constant barrage of flames about whether FreeBSD or Linux
 did the most damage to Microsloth and the endless psuedo-legalistic
 arguments from self-appointed psuedo-experts.There is too much
 dross to discard to get to any metal over there.

 (d) need a real big mop for all the spilled milk and tears

 d I don't really think it is all that important and am not crying.
 I am far more interested in the quality of the product and in
 that, with small occasional glitches, am generally impressed and 
 pleased.But, since the supposed aim was to come up with 
 a real _logo_ because Beastie was really just a _mascot_, I think
 this missed the mark and just ended up with a stylized additional
 _mascot_ from which it might be fun to make some more FreeBSD toys.
 It should appeal nicely to the kid and anim crowd.
 But, it didn't manage to result in a real _logo_ being adopted.

Oh well

 
 Biggest. Bike. Shed. Ever.
 

I looked that up once, but have not gotten used to the slang application.
It always reminds me of the big covered bicycle parking garages in Japan.
You rent a slot monthly or yearly, just like those condemned to living
in one of the big cities in the USA might rent a parking space for their
car.  They hold hundreds and even thousands of bikes.  Kind of impressive.

jerry

 -- 
 Greg Barniskis, Computer Systems Integrator
 South Central Library System (SCLS)
 Library Interchange Network (LINK)
 gregb at scls.lib.wi.us, (608) 266-6348
 ___
 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: MySQL port not d/loading

2005-11-04 Thread Lowell Gilbert
tim cle [EMAIL PROTECTED] writes:

 Hi again, I have successfully installed MySQL - but
 the mirror system still doesnt seem right - it went
 through all the mirrors, and wouldn't d/l from them -
 then it finally worked from the main bsd ftp site -
 I've put the output underneath - note this is what I
 got when I did another test run after already d/l it -
 it has been like this for at least a day now.
[snip]
 = mysql-4.1.10a.tar.gz doesn't seem to exist in /usr/ports/distfiles/.

With a current set of ports, you would be trying to download (and
install) mysql-4.1.15.tar.gz.  The outdated version supported in your
ports tree has been removed from most of the download sites.  To
support people like you who are still running old ports trees, FreeBSD
keeps the distfiles for supported releases around.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: custom kernel problem

2005-11-04 Thread Lowell Gilbert
Laslo Holifeld [EMAIL PROTECTED] writes:

   I have a problem running my custom kernel on 5.4
 fbsd.
 It compiles and loads properly but during hardware
 setup I get following errors:
 
 ata0-master: FAILURE - ATA_IDENTIFY timed out
 ata1-master: FAILURE - ATAPI_IDENTIFY timed out
 
 Hire is my configuration:
 
 (any idea?)

Nothing obvious.

What happens if you compile and install a GENERIC kernel from the same sources?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fast diff command for large files?

2005-11-04 Thread Kirk Strauser
I need to routinely find the diffs between two multigigabyte text files 
(exporting a set of FoxPro tables to a PostgreSQL database without doing a 
complete dump/reload each time, in case you were wondering).  GNU diff from 
the base system and from ports chokes.  The textproc/2bsd-diff works OK, 
but is glacially slow.

I'm basically looking for something that generates easily-parseable text.  
Since this is a young project, I don't particularly care if the output 
format is different from diff's.  Any suggestions?
-- 
Kirk Strauser
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SARG problem :)

2005-11-04 Thread Ivailo Tanusheff
Hi,

I have trouble running SARG on a SQUID access.log file, which is 13G in 
size.
What I recieve is the following error message:

SARG: Records in file: 86474147, reading: 
-41157652975974797064584916361572570900393066701752599504538225338071947795739869953017318
SARG: Records in file: 86474147, reading: 
923086924268359060454178554394904689840006976812159586120837228535889929438306834779278617
SARG: Records in file: 86474147, reading: 
-20691479965912524542104769863178077610265710177811336860514550252104478038989784685117123
/usr/local/bin/sarg: (log) Cannot open temporary file: 
/data/tmp/sarg/TCP.MISS/200...unsort - No such file or directory


Any help will be wellcome :)

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


Re: Fast diff command for large files?

2005-11-04 Thread Chuck Swiger

Kirk Strauser wrote:
I need to routinely find the diffs between two multigigabyte text files 
(exporting a set of FoxPro tables to a PostgreSQL database without doing a 
complete dump/reload each time, in case you were wondering).  GNU diff from 
the base system and from ports chokes.  The textproc/2bsd-diff works OK, 
but is glacially slow.


Multigigabyte?  Find another approach to solving the problem, a text-base diff 
is going to require excessive resources and time.  A 64-bit platform with 2 GB 
of RAM  3GB of swap requires ~1000 seconds to diff ~400MB.


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


FreeBSD not giving back memory

2005-11-04 Thread edward

Hi all,
I use 5.4 Stable on an i386 machine with xorg 6.8.2 and kde 3.4.0. I 
have been doing a number of RAM intensive tasks such as converting video 
files and moving big files (7 or 8 Gb) back and forth over a LAN. I have 
also installed and configured Wine, although I haven't done much with it 
just yet. I have 26 Gb on my FreeBSD partition (excluding swap) that is 
used up at 78%.
I notice that when quitting all applications, the RAM used is not 
released and 476 Mb of RAM out of 512 Mb available are still indicated 
as being in use. Is FreeBSD not giving back memory when processes are over ?

Edward

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


Re: FreeBSD not giving back memory

2005-11-04 Thread Jerry McAllister
 
 Hi all,
 I use 5.4 Stable on an i386 machine with xorg 6.8.2 and kde 3.4.0. I 
 have been doing a number of RAM intensive tasks such as converting video 
 files and moving big files (7 or 8 Gb) back and forth over a LAN. I have 
 also installed and configured Wine, although I haven't done much with it 
 just yet. I have 26 Gb on my FreeBSD partition (excluding swap) that is 
 used up at 78%.
 I notice that when quitting all applications, the RAM used is not 
 released and 476 Mb of RAM out of 512 Mb available are still indicated 
 as being in use. Is FreeBSD not giving back memory when processes are over ?
 Edward

I think maybe you are misunderstanding how memory is apportioned
and reported.   I am not the best one to answer on this, but it
has been a topic in questions a number of times, so some searching
in the archives might be provide an answer.   I wouldn't be surprised
if there is even a FAQ on it.

jerry

 ___
 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: Cron Job will not run.

2005-11-04 Thread Brandon Hinesley
You're right... it's for /usr/local/bin/bash.  Obviously I had a lot more
problems than I was aware of.  Its working now; thanks, I appreciate
everyone's help.

 for (( i = $numbkups ; i = 2 ; i-- ))
 do
 let from=i-1
 mv -fv $dbkups/$from $dbkups/$i
 done

Hmmm, what shell is this supposed to run in?
It doesn't look like /bin/sh syntax to me.


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


new filesystem improvements in 6.0-RELEASE, require newfs?

2005-11-04 Thread Nathan Vidican
Most notably amongst the improvements/additions to 6.0-RELEASE, are those in the 
filesystem area. In performing a system upgrade, does one need to newfs/format a 
given partition with a new file system to make use of these optimizations, or is 
 the bonus simply in the kernel/filesystem support and sticking with the 
current UFS2 partition (5.3-RELEASE/amd64) will step-up to it?


--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate  Tool Ltd.
http://www.wmptl.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gmirror on 1 or 2 IDE cables

2005-11-04 Thread Peter Clutton
On 11/4/05, Steve Bertrand [EMAIL PROTECTED] wrote:

  Using gmirror to mirror two identical drives, how much of a
  performance hit is it to have
 
  1.  Both drives on one IDE cable?
  Compared to:
  2.  One drive primary on one cable and one secondary on the
  other cable?
  Compared to:
  3.  Both drives primary but on separate IDE cables?

 My understanding that only a single drive on each IDE channel can be
 accessed at any one time.

 Thus, if you put one drive on one channel, and the other drive on the
 second channel, they can be accessed simultaneously. The location on the
 cable(s) does not matter,

That is correct about the two channels, one should be on each. However
it does make a difference as to primary or secondary, if you have
other drives attached (such as cdrom). Try putting the cdrom as
primary, then secondary, and have a watch to discover the difference.
This might not be noticed with a normal secondary hard drive, as you
may not write to it much. However in a mirror the second is always
written to, and you will notice the difference if you are also using
the cdrom
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cron Job will not run.

2005-11-04 Thread Giorgos Keramidas
On 2005-11-04 08:47, Brandon Hinesley [EMAIL PROTECTED] wrote:
   for (( i = $numbkups ; i = 2 ; i-- ))
   do
   let from=i-1
   mv -fv $dbkups/$from $dbkups/$i
   done
 
  Hmmm, what shell is this supposed to run in?
  It doesn't look like /bin/sh syntax to me.

 You're right... it's for /usr/local/bin/bash.  Obviously I had
 a lot more problems than I was aware of.  Its working now;
 thanks, I appreciate everyone's help.

Glad to have been of help.  Thanks for following up saying that
it works now, since people reading the thread in the archives
will know what the answer is :)

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


Re: new filesystem improvements in 6.0-RELEASE, require newfs?

2005-11-04 Thread Joao Barros
On 11/4/05, Nathan Vidican [EMAIL PROTECTED] wrote:
 Most notably amongst the improvements/additions to 6.0-RELEASE, are those in 
 the
 filesystem area. In performing a system upgrade, does one need to 
 newfs/format a
 given partition with a new file system to make use of these optimizations, or 
 is
   the bonus simply in the kernel/filesystem support and sticking with the
 current UFS2 partition (5.3-RELEASE/amd64) will step-up to it?


As you nicely put it: the bonus is simply in the kernel :)


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


Re: new filesystem improvements in 6.0-RELEASE, require newfs?

2005-11-04 Thread Giorgos Keramidas
On 2005-11-04 11:50, Nathan Vidican [EMAIL PROTECTED] wrote:
 Most notably amongst the improvements/additions to 6.0-RELEASE,
 are those in the filesystem area. In performing a system
 upgrade, does one need to newfs/format a given partition with a
 new file system to make use of these optimizations, or is the
 bonus simply in the kernel/filesystem support and sticking with
 the current UFS2 partition (5.3-RELEASE/amd64) will step-up to it?

The VFS optimizations and improvements in the SMP  locking don't
really depend on having a particular file system type, AFAIK, so
you shouldn't need to newfs for the performance gains they
implement.

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


How to get best results from FreeBSD-questions

2005-11-04 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2005-11-04 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Have you found a problem with the book, or maybe something confusing?  Please
let me know: I'm constantly updating it.

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


Re: FreeBSD not giving back memory

2005-11-04 Thread Chad Leigh -- Shire.Net LLC


On Nov 4, 2005, at 9:32 AM, edward wrote:


Hi all,
I use 5.4 Stable on an i386 machine with xorg 6.8.2 and kde 3.4.0.  
I have been doing a number of RAM intensive tasks such as  
converting video files and moving big files (7 or 8 Gb) back and  
forth over a LAN. I have also installed and configured Wine,  
although I haven't done much with it just yet. I have 26 Gb on my  
FreeBSD partition (excluding swap) that is used up at 78%.
I notice that when quitting all applications, the RAM used is not  
released and 476 Mb of RAM out of 512 Mb available are still  
indicated as being in use. Is FreeBSD not giving back memory when  
processes are over ?


How are you determining this?

Chad



Edward

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


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[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: FreeBSD not giving back memory

2005-11-04 Thread edward

I use a Superkaramba applet.
Edward

Chad Leigh -- Shire.Net LLC wrote:


On Nov 4, 2005, at 9:32 AM, edward wrote:


Hi all,
I use 5.4 Stable on an i386 machine with xorg 6.8.2 and kde 3.4.0.  I 
have been doing a number of RAM intensive tasks such as  converting 
video files and moving big files (7 or 8 Gb) back and  forth over a 
LAN. I have also installed and configured Wine,  although I haven't 
done much with it just yet. I have 26 Gb on my  FreeBSD partition 
(excluding swap) that is used up at 78%.
I notice that when quitting all applications, the RAM used is not  
released and 476 Mb of RAM out of 512 Mb available are still  
indicated as being in use. Is FreeBSD not giving back memory when  
processes are over ?



How are you determining this?

Chad



Edward

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



---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]






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


ftp user setup question

2005-11-04 Thread Chip Wiegand
I just enable ftp on my web server, I have added the user to the ftpchroot 
file. When I set up the user the users home directory has the default dot 
files - is there a way to set those to hidden so when the user logs in he 
doesn't see them? I would prefer to keep all dot file hidden so there is 
no chance they can get messed with, or worse, deleted by the user.
Thanks,


Chip Wiegand
Computer Services

Simrad North America
19210-33rd Ave W
Lynnwood, WA 98036
Phone: 425-778-8821
Fax: 425-771-7211
[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: Fast diff command for large files?

2005-11-04 Thread Kirk Strauser
On Friday 04 November 2005 10:22, Chuck Swiger wrote:

 Multigigabyte?  Find another approach to solving the problem, a text-base
 diff is going to require excessive resources and time.  A 64-bit platform
 with 2 GB of RAM  3GB of swap requires ~1000 seconds to diff ~400MB.

There really aren't many options.  For the patient, here's what's happening:

Our legacy application runs on FoxPro.  Our web application runs on a 
PostgreSQL database that's a mirror of the FoxPro tables.

We do the mirroring by running a program that dumps the FoxPro tables out as 
tab-delimited files.  Thus far, we'd been using PostgreSQL's copy from 
command to read those files into the database.  In reality, though, a very, 
very small percentage of rows in those tables actually change.  So, I wrote 
a program that takes the output of diff and converts it into a series of 
delete and insert commands; benchmarking shows that this is roughly 300 
times faster in our use.

And that's why I need a fast diff.  Even if it takes as long as the database 
bulk loads, we can run it on another server and use 20 seconds of CPU for 
PostgreSQL instead of 45 minutes.  The practical upshot is that the 
database will never get sluggish, even if the other diff server is loaded 
to the gills.
-- 
Kirk Strauser


pgp8crJHkPVTm.pgp
Description: PGP signature


Re: New Logo

2005-11-04 Thread cape canaveral
On 11/3/05, Jerry Dunham [EMAIL PROTECTED] wrote:
 On 2 Nov 2005 at 19:31, Jerry McAllister wrote:

  Although it may be reasonable to create a FreeBSD logo to supplant
  the Beastie mascot, unfortunately this thing that has seemingly won
  a contest is not a logo.   It is really just another mascot, this
  time with a kind of Pokemon kind of look to it.

 It might make for a nice antenna ball.  You could put a smiley face on
 it, but then Jack in the Box might sue for infringement.  For those in
 parts of the world not fortunate to have a Jack in the Box on every other
 street corner, see:

http://www.jacks-gear.com/

 [On third thought, I think I'd like my bikeshed in flame red.]


 --
 Jerry Dunham
 [EMAIL PROTECTED]


This is an awesome idea!  But then some of us like the new logo..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Non-system disk or disk error

2005-11-04 Thread Portie Owner
I am sure there is an easy solution to this but here
is my problem, and it is driving me nuts.  

The error message on boot is Non-system disk or disk
error.  I only get this message if I do a warm reboot
with no power off.  If I halt the system and power off
and restart it boots right up.  

Computer is a Compaq AP500 (P-II 450mhz, 700MB Ram,
Adaptec SCSI card).  The system has two SCSI drives,
C: which is at ID 1 and D: which is at ID 2.  The
OS is FreeBDS 5.4, standard installation using the
FreeBSD-only boot manager (I also tried the alternate
FreeBSD boot choice).  No other OSs reside on the
machine and I have tried to start with a clean DOS
Fdisked bachine before installing FreeBSD.  The PC
does not have the Compaq bios partition installed but
that does not seem to matter.  I have not been able to
upgrade the ROM BIOS on this machine, but the Compaq
Diagnostics and Setup programs seem to work and report
the right information about the disks.  I even tried
disabling floppy and CD media boot but that dodn't
help either.  

Thanks, Portie





__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


a simple question...

2005-11-04 Thread Javier Matos
Hello, I´m a student of computer science and this year I must to do an 
application using system calls.
We are using linux system calls like pid_t fork(void) and other services of 
the standard POSIX. I want to know if it´s possible to use that system calls in 
FreeBSD because I prefer to improve my use of freebsd. I will write my 
application in C and I have freebsd 5.4 with linux compability activated.

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


Re: a simple question...

2005-11-04 Thread Charles Swiger

On Nov 4, 2005, at 1:12 PM, Javier Matos wrote:
Hello, I´m a student of computer science and this year I must to do  
an application using system calls.
We are using linux system calls like pid_t fork(void) and other  
services of the standard POSIX. I want to know if it´s possible to  
use that system calls in FreeBSD because I prefer to improve my use  
of freebsd. I will write my application in C and I have freebsd 5.4  
with linux compability activated.


FreeBSD has a fork() system call of it's own, yes, along with all of  
the other system and library calls from POSIX and ANSI-C standards.   
If you write portable C, you can recompile your program under FreeBSD  
without using Linux emulation.


--
-Chuck

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


Re: FreeBSD not giving back memory

2005-11-04 Thread Eric Schuele

edward wrote:

I use a Superkaramba applet.
Edward


I realise you are not using top(1), but
Superkaramba is most likely reporting things in a similar fasion as 
top... so an excerpt from the FreeBSD FAQ may be in order:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM

HTH.




Chad Leigh -- Shire.Net LLC wrote:



On Nov 4, 2005, at 9:32 AM, edward wrote:


Hi all,
I use 5.4 Stable on an i386 machine with xorg 6.8.2 and kde 3.4.0.  I 
have been doing a number of RAM intensive tasks such as  converting 
video files and moving big files (7 or 8 Gb) back and  forth over a 
LAN. I have also installed and configured Wine,  although I haven't 
done much with it just yet. I have 26 Gb on my  FreeBSD partition 
(excluding swap) that is used up at 78%.
I notice that when quitting all applications, the RAM used is not  
released and 476 Mb of RAM out of 512 Mb available are still  
indicated as being in use. Is FreeBSD not giving back memory when  
processes are over ?




How are you determining this?

Chad



Edward

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




---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]






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





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


Getting Listed

2005-11-04 Thread Ryan Cloke


How can I get listed as a FreeBSD Publisher?  My Information is:

TheLinuxStore.ca
Shanty Bay, ON  L0L2L0
Canada
Email: [EMAIL PROTECTED]||
WWW: http://www.thelinuxstore.ca/

--
Ryan Cloke
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
http://www.thelinuxstore.ca
MSN: [EMAIL PROTECTED]
ICQ: 251920249

Get Firefox! 
http://spreadfirefox.com/community/?q=affiliatesid=136833t=81 Get 
Thunderbird! 
http://spreadfirefox.com/community/?q=affiliatesid=136833t=179

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


ipf/ipnat problem

2005-11-04 Thread Efren Bravo
HI,

Problem with ipf/ipnat.

(PC1: 192.168.80.15)
   \\
 (fbsd vr0 out if: 192.168.80.4) 
 ||   
 (fbsd sis0 in if: 7.96.10.13)
   // 
(Internal LAN: 7.96.10.x)
 //
(PC2: 7.96.10.200 - Telnet running)
(PC3: 7.96.10.201 - Wev Srv running) 

IPF Rules:
--
The same of handbook 25.5.13 Inclusive Rule Set
Example but adjusted to PC2, PC3 Services.

#Allow in Telnet from public LAN to fBSD Box
pass in quick on vr0 proto tcp from any to any
port = 22 flags S keep state

#Allow in SSH from public LAN to PC2
pass in quick on vr0 proto tcp from any to any
port = 23 flags S keep state

#Allow in HTTP from public LAN to PC3 #
pass in quick on vr0 proto tcp from any to any
port = 80 flags S keep state

IPNAT Rules (vr = out if):
--
map vr0 7.96.10.0/24 - 192.168.80.4/32
rdr vr0 192.168.80.4/32 port 23 - 7.96.10.200
port 23
rdr vr0 192.168.80.4/32 port 80 - 7.96.10.201
port 80


From Internal LAN I've access to any services on
public LAN.
From public LAN I've access to fBSD' ssh but
haven't access to internal telnet, web server.

Nevertheless I get those statistics:
ipfstat -t:
---
Source IP  Destination IP  ST  PR  #pkts
#bytes   ttl
192.168.80.15,3513 192.168.80.4,22 4/4 tcp  107  
12141 119:59:59
192.168.80.15,3512 7.96.10.200,23  2/0 tcp6  
  288  2:12
192.168.80.15,3510 7.96.10.201,80  2/0 tcp6  
  288  2:00

ipnat -l:
-
List of active sessions:
RDR 7.96.10.200 23 - - 192.168.80.4 23   
[192.168.80.15 3512]
RDR 7.96.10.201 80 - - 192.168.80.4 80   
[192.168.80.15 3510]

What clould be happening?

Thanks...


Efren Bravo.





__ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.x-6.0 Unable To Boot

2005-11-04 Thread Nicholas Lozinsky
On a Compaq Presario M2000, using a Sempron 1.6Ghz CPU with 512 RAM,
I am unable to install any copy of FreeBSD from 5.0 up to 6.0 Release.
Somehow, the 4.9, 4.8 and below, are able to install. The init gets
stuck at:

sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port many not be enabled
Timecounter TSC frequency 1600064074 Hz quality 800
Timecounters tick every 1.000 msec

freezes here.

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


Re: FreeBSD 5.x-6.0 Unable To Boot

2005-11-04 Thread Ariff Abdullah
On Fri, 4 Nov 2005 13:24:18 -0600
Nicholas Lozinsky [EMAIL PROTECTED] wrote:
 On a Compaq Presario M2000, using a Sempron 1.6Ghz CPU with 512 RAM,
 I am unable to install any copy of FreeBSD from 5.0 up to 6.0
 Release. Somehow, the 4.9, 4.8 and below, are able to install. The
 init gets stuck at:
 
 sc0: System console at flags 0x100 on isa0
 sc0: VGA 16 virtual consoles, flags=0x300
 sio0: configured irq 4 not in bitmap of probed irqs 0
 sio0: port may not be enabled
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 8250 or not responding
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port many not be enabled
 Timecounter TSC frequency 1600064074 Hz quality 800
 Timecounters tick every 1.000 msec
 
 freezes here.
 
 Any suggestions? Thank you.

Interrupt the kernel loading process, then:

set hint.sio.0.disabled=1
set hint.sio.1.disabled=1

.. continue booting


--
Ariff Abdullah
MyBSD

http://www.MyBSD.org.my (IPv6/IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.x-6.0 Unable To Boot

2005-11-04 Thread Nathan Vidican
Not sure if the issue is related, but on the Compaq R3000-series machines, you 
have to disable the keyboard probing at boot because the machine locks up. Just 
add a line similar to this into boot.hints:


hint.atkbd.0.flags=0x9



--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate  Tool Ltd.
http://www.wmptl.com/


Nicholas Lozinsky wrote:

On a Compaq Presario M2000, using a Sempron 1.6Ghz CPU with 512 RAM,
I am unable to install any copy of FreeBSD from 5.0 up to 6.0 Release.
Somehow, the 4.9, 4.8 and below, are able to install. The init gets
stuck at:

sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port many not be enabled
Timecounter TSC frequency 1600064074 Hz quality 800
Timecounters tick every 1.000 msec

freezes here.

Any suggestions? Thank you.
___
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: Fast diff command for large files?

2005-11-04 Thread Charles Swiger

On Nov 4, 2005, at 12:29 PM, Kirk Strauser wrote:
Multigigabyte?  Find another approach to solving the problem, a  
text-base
diff is going to require excessive resources and time.  A 64-bit  
platform

with 2 GB of RAM  3GB of swap requires ~1000 seconds to diff ~400MB.


There really aren't many options.  For the patient, here's what's  
happening:

[ ... ]
And that's why I need a fast diff.  Even if it takes as long as the  
database
bulk loads, we can run it on another server and use 20 seconds of  
CPU for

PostgreSQL instead of 45 minutes.  The practical upshot is that the
database will never get sluggish, even if the other diff server  
is loaded

to the gills.


OK, but even if only one line out of 1000 changes, you still can't  
make either diff or Colin Percival's bsdiff run on gigabyte sized  
files and have it fit into MAXDSIZE on 32-bit address space.  From  
the latter's website:


bsdiff is quite memory-hungry. It requires max(17*n,9*n+m)+O(1)  
bytes of memory, where n is the size of the old file and m is the  
size of the new file.  bspatch requires n+m+O(1) bytes.  bsdiff runs  
in O((n+m) log n) time; on a 200MHz Pentium Pro, building a binary  
patch for a 4MB file takes about 90 seconds. bspatch runs in O(n+m)  
time; on the same machine, applying that patch takes about two seconds.


Some time ago, I wrote a quick test harness for diff here:

   http://www.pkix.net/~chuck/difftest.py

On a 5.4 machine with kern.dfldsiz=1G set in /boot/loader.conf, you  
can only manage to run diff on files up to about 120 MB in size:


31-pi% ./difftest.py -v
INFO: beginning diff trial run with ratio = 100
filea_size=10485760 (aka 10.000 MB)
time=1.370 filea_size=10MB diff_size=818KB
filea_size=15728640 (aka 15.000 MB)
time=2.305 filea_size=15MB diff_size=1229KB
filea_size=23592960 (aka 22.500 MB)
time=5.443 filea_size=22MB diff_size=1844KB
filea_size=35389440 (aka 33.750 MB)
time=7.195 filea_size=33MB diff_size=2768KB
filea_size=53084160 (aka 50.625 MB)
time=16.771 filea_size=50MB diff_size=4163KB
filea_size=79626240 (aka 75.938 MB)
time=43.525 filea_size=75MB diff_size=6257KB
filea_size=119439360 (aka 113.906 MB)
time=78.346 filea_size=113MB diff_size=9MB
filea_size=179159040 (aka 170.859 MB)
diff: memory exhausted
NOTICE: diff exitted with errno 2
time=36.896 filea_size=170MB diff_size=0KB
272.58s real  154.73s user  13.23s system  61%

On a 64-bit SPARC box mentioned above, you can get sizes up to ~400 MB:

[ ... ]
filea_size=119439360 (aka 113.906 MB)
time=140.650 filea_size=115MB diff_size=9MB
filea_size=179159040 (aka 170.859 MB)
time=424.586 filea_size=172MB diff_size=15MB
filea_size=268738560 (aka 256.289 MB)
time=546.334 filea_size=258MB diff_size=22MB
filea_size=403107840 (aka 384.434 MB)
time=957.059 filea_size=388MB diff_size=33MB
filea_size=604661760 (aka 576.650 MB)
diff: memory exhausted
NOTICE: diff exitted with errno 2
time=105.728 filea_size=582MB diff_size=0KB
5610.90s real  3268.63s user  1761.90s system  89%

Roughly, you need about an order of magnitude more RAM or virtual  
memory available then the size of the files you are trying to diff,  
even if the files are very similar.


--
-Chuck

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


Re: Fast diff command for large files?

2005-11-04 Thread Kirk Strauser
On Friday 04 November 2005 13:39, Charles Swiger wrote:

 OK, but even if only one line out of 1000 changes, you still can't
 make either diff or Colin Percival's bsdiff run on gigabyte sized
 files and have it fit into MAXDSIZE on 32-bit address space.

For the record, textproc/2bsd-diff works fine - it's just slow.

thinking out loud
I wonder if rsync could be modified to output its patches rather than 
silently applying them to a target file.  It seems to be pretty good at 
comparing large files quickly...
/thinking
-- 
Kirk Strauser


pgpdXELVcLCLb.pgp
Description: PGP signature


Re: Fast diff command for large files?

2005-11-04 Thread Andrew P.
On 11/4/05, Kirk Strauser [EMAIL PROTECTED] wrote:
 On Friday 04 November 2005 10:22, Chuck Swiger wrote:

  Multigigabyte?  Find another approach to solving the problem, a text-base
  diff is going to require excessive resources and time.  A 64-bit platform
  with 2 GB of RAM  3GB of swap requires ~1000 seconds to diff ~400MB.

 There really aren't many options.  For the patient, here's what's happening:

 Our legacy application runs on FoxPro.  Our web application runs on a
 PostgreSQL database that's a mirror of the FoxPro tables.

 We do the mirroring by running a program that dumps the FoxPro tables out as
 tab-delimited files.  Thus far, we'd been using PostgreSQL's copy from
 command to read those files into the database.  In reality, though, a very,
 very small percentage of rows in those tables actually change.  So, I wrote
 a program that takes the output of diff and converts it into a series of
 delete and insert commands; benchmarking shows that this is roughly 300
 times faster in our use.

 And that's why I need a fast diff.  Even if it takes as long as the database
 bulk loads, we can run it on another server and use 20 seconds of CPU for
 PostgreSQL instead of 45 minutes.  The practical upshot is that the
 database will never get sluggish, even if the other diff server is loaded
 to the gills.
 --
 Kirk Strauser




Does the overall order of lines change every time
you dump the tables? If not, is there any inexpensive
way to sort them (not alphabetically, but just that
the order stays the same)? If it does/can, then there's
a trivial solution (a few lines in perl, or a hundred
lines in C) that'll make the speed roughly similar
to that of I/O.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: new filesystem improvements in 6.0-RELEASE, require newfs?

2005-11-04 Thread Kris Kennaway
On Fri, Nov 04, 2005 at 11:50:34AM -0500, Nathan Vidican wrote:
 Most notably amongst the improvements/additions to 6.0-RELEASE, are those 
 in the filesystem area. In performing a system upgrade, does one need to 
 newfs/format a given partition with a new file system to make use of these 
 optimizations, or is the bonus simply in the kernel/filesystem support and 
  sticking with the current UFS2 partition (5.3-RELEASE/amd64) will step-up 
 to it?

The latter.

Kris


pgp8956fjJXih.pgp
Description: PGP signature


snapshots on large filesystems

2005-11-04 Thread user

Hello,

Considering a PC server running FreeBSD with 4 400 GB hard drives attached
to a hardware raid controller doing raid-5.

So this will present itself to the OS as a 1.2TB filesystem.

Any comments on taking one or multiple snapshots of a filesystem of this
size ?

Given current disk capacities, I would not exactly consider this 1.2TB
filesystem a large one ... any comments on say ... a 6-8 TB filesystem
and making one or more snapshots of it ?

Assume they are marginally busy - perhaps a 5-10% data turnover per day...

Thanks.

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


Re: snapshots on large filesystems

2005-11-04 Thread Nathan Vidican
Not enough info to be entirely informative in my reply, but I'd look to rsync or 
something similar... copy data/snapshot to another machine. We're running a 
similar setup here using 250GB S-ATA RAID Edition drives and 3Ware Escalade 
9000-series controllers, a second machine simply rsync's the data from the first 
nightly... was cheaper to have whole second raid setup and dedicated gigabit 
ethernet from one machine to the other than was to invest in tape backup 
devices/media. In addition we do a bi-monthly snapshot on an external USB drive 
(via tar direct to device... not reccomend cause' it's slow, looking for a 
faster way myself to do that).


With the cost of 200+GB drives, and applicable decent performing raid cards... 
it's just cheaper in most cases to mirror the data on another machine. - but 
that's just my two cents ;)



--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate  Tool Ltd.
http://www.wmptl.com/

user wrote:

Hello,

Considering a PC server running FreeBSD with 4 400 GB hard drives attached
to a hardware raid controller doing raid-5.

So this will present itself to the OS as a 1.2TB filesystem.

Any comments on taking one or multiple snapshots of a filesystem of this
size ?

Given current disk capacities, I would not exactly consider this 1.2TB
filesystem a large one ... any comments on say ... a 6-8 TB filesystem
and making one or more snapshots of it ?

Assume they are marginally busy - perhaps a 5-10% data turnover per day...

Thanks.

___
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: gmirror on 1 or 2 IDE cables

2005-11-04 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] Behalf Of Steve Bertrand
Sent: Thursday, November 03, 2005 7:28 AM
To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: RE: gmirror on 1 or 2 IDE cables



 Using gmirror to mirror two identical drives, how much of a 
 performance hit is it to have
 
 1.  Both drives on one IDE cable?
 Compared to:
 2.  One drive primary on one cable and one secondary on the 
 other cable?
 Compared to:
 3.  Both drives primary but on separate IDE cables?

My understanding that only a single drive on each IDE channel can be
accessed at any one time.


Which may or may not matter depending on what he's doing.  Are we
talking mainly reads or writes here?

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


FreeNX setup failing

2005-11-04 Thread Soo-Hyun Choi
Hi,

I've successfully installed FreeNX stated from
http://www.deweyonline.com/nx/freebsd.html

After installation, I tried to setup FreeNX server as the below but failed.

[EMAIL PROTECTED] ~]$ sudo nxsetup --install
Setting up /usr/X11R6/NX/etc/nxserver/ ...done
Setting up /var/lib/nxserver/ ...done
Setting up /var/log/nxserver.log ...done
Setting up user nx ...pw: option requires an argument -- g
pw: unknown switch
[EMAIL PROTECTED] ~]$


Does anyone know what's happening in this case?

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


Re: Mounting an iPod

2005-11-04 Thread edward
Assistance welcome, James. I finally gave up trying to mount the iPod as 
an HFS+ device and reformated it in FAT32. Now I can mount it and access 
its content (I use mount -t msdos /dev/da0s2 /mnt/ipod).
However, I can unmount it using umount /mnt/ipod, but I'm not quite sure 
how to get it to understand its not connected anymore. I wouldn't mind 
taking a look at the scripts you mentionned early on.
The camcontrol utility can cause a loss of data and/or system crashes 
if used improperly.  Even expert users are encouraged to exercise 
caution when using this command.  Novice users should stay away from 
this utility says the man page. With such an invitation, I can't wait 
to get my hands into this one :).

Thanks,
Edward

James Seward wrote:

On 10/29/05, edward [EMAIL PROTECTED] wrote:


The iPod uses an HFS+ file system. It's been loaded from a Mac.
I would like to mount it to /mnt/ipod



A quick Google suggests you can try
http://people.freebsd.org/~yar/hfs/ to add HFS support to FreeBSD,
otherwise you're going to have to reformat your iPod for Windows and
then mount it as FAT.

I then added this line:
/dev/da0s2  /ipod   msdos   rw,noauto   0   0

to my fstab, and wrote myself a little ipod script I can use to mount
and umount/eject it.

To mount it it just mounts /ipod, and to eject it, i umounts /ipod and
then calls camcontrol eject on the right device ID to eject it (so the
iPod stops thinking it's connected).

I can offer further assistance with the 2nd half but not the 1st half of this :)

/JMS




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


jdk14 without X libraries?

2005-11-04 Thread Steve Brown
I'm building /usr/ports/jdk14 on my 5.4-RELEASE i386, and it's using a 
lot of X.org stuff to do the build.  I'm already using the -DMINIMAL 
flag, but I'd like a way to turn off all the graphical stuff.  Does 
anyone here know how to do this?

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


Re: Getting Listed

2005-11-04 Thread Blake Darche
On your site you seem to categorize FreeBSD under Linux.  FreeBSD is not Linux!

On 11/4/05, Ryan Cloke [EMAIL PROTECTED] wrote:

 How can I get listed as a FreeBSD Publisher?  My Information is:

 TheLinuxStore.ca
 Shanty Bay, ON  L0L2L0
 Canada
 Email: [EMAIL PROTECTED]||
 WWW: http://www.thelinuxstore.ca/

 --
 Ryan Cloke
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 http://www.thelinuxstore.ca
 MSN: [EMAIL PROTECTED]
 ICQ: 251920249

 Get Firefox!
 http://spreadfirefox.com/community/?q=affiliatesid=136833t=81 Get
 Thunderbird!
 http://spreadfirefox.com/community/?q=affiliatesid=136833t=179
 ___
 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: Mounting an iPod

2005-11-04 Thread Garrett Cooper

edward wrote:

Assistance welcome, James. I finally gave up trying to mount the iPod 
as an HFS+ device and reformated it in FAT32. Now I can mount it and 
access its content (I use mount -t msdos /dev/da0s2 /mnt/ipod).
However, I can unmount it using umount /mnt/ipod, but I'm not quite 
sure how to get it to understand its not connected anymore. I wouldn't 
mind taking a look at the scripts you mentionned early on.
The camcontrol utility can cause a loss of data and/or system crashes 
if used improperly.  Even expert users are encouraged to exercise 
caution when using this command.  Novice users should stay away from 
this utility says the man page. With such an invitation, I can't wait 
to get my hands into this one :).

Thanks,
Edward

James Seward wrote:


On 10/29/05, edward [EMAIL PROTECTED] wrote:


The iPod uses an HFS+ file system. It's been loaded from a Mac.
I would like to mount it to /mnt/ipod




A quick Google suggests you can try
http://people.freebsd.org/~yar/hfs/ to add HFS support to FreeBSD,
otherwise you're going to have to reformat your iPod for Windows and
then mount it as FAT.

I then added this line:
/dev/da0s2  /ipod   msdos   rw,noauto   
0   0


to my fstab, and wrote myself a little ipod script I can use to mount
and umount/eject it.

To mount it it just mounts /ipod, and to eject it, i umounts /ipod and
then calls camcontrol eject on the right device ID to eject it (so the
iPod stops thinking it's connected).

I can offer further assistance with the 2nd half but not the 1st half 
of this :)


/JMS



Edward,
   You can use camcontrol to reset the device, which will make it think 
that it has been removed, ie the little checkmark will show up on the 
screen and the hard disk will spin down. See man camcontrol for details.

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


Re: FreeNX setup failing

2005-11-04 Thread Soo-Hyun Choi
OK.

Is anyone using FreeNX in this FreeBSD community? Are you only using
VNC? What kind of this sort of application are you using?

Cheers,


On 11/3/05, Soo-Hyun Choi [EMAIL PROTECTED] wrote:
 Hi,

 I've successfully installed FreeNX stated from
 http://www.deweyonline.com/nx/freebsd.html

 After installation, I tried to setup FreeNX server as the below but failed.

 [EMAIL PROTECTED] ~]$ sudo nxsetup --install
 Setting up /usr/X11R6/NX/etc/nxserver/ ...done
 Setting up /var/lib/nxserver/ ...done
 Setting up /var/log/nxserver.log ...done
 Setting up user nx ...pw: option requires an argument -- g
 pw: unknown switch
 [EMAIL PROTECTED] ~]$


 Does anyone know what's happening in this case?

 Thanks,

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


Re: jdk14 without X libraries?

2005-11-04 Thread Alex Ford
On Fri, 2005-11-04 at 14:16 -0800, Steve Brown wrote:
 I'm building /usr/ports/jdk14 on my 5.4-RELEASE i386, and it's using a 
 lot of X.org stuff to do the build.  I'm already using the -DMINIMAL 
 flag, but I'd like a way to turn off all the graphical stuff.  Does 
 anyone here know how to do this?
 
 Thanks,
 Steve Brown

You can add WITHOUT_X11=yes to your /etc/make.conf and that will build
our ports without any X11 support (if they have that particular
configure option available to them).


-Alex

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


Re: Carp and Apache

2005-11-04 Thread Danny Howard
Dave,

Yes.

The trick with CARP is that it is an IP-level heartbeat, so if you are
running Apache, you want to carp up after you start apache, and carp
down before you stop Apache.

From some test boxes, web0:
ifconfig_fxp1=inet 192.168.1.210 netmask 255.255.255.0
defaultrouter=192.168.1.1
cloned_interfaces=carp0 carp1

Then, web0 application config file:
export CARP_PASS=mekmitasdigoat
# MASTER
export CARP_carp0_IP=192.168.1.206
export CARP_carp0_VHID=1
# SLAVE
export CARP_carp1_IP=192.168.1.207
export CARP_carp1_VHID=2
export CARP_carp1_SKEW=100

Next, the Application control script:
# CARP
carp_ifs=`ifconfig -l | tr ' ' '\n' | grep carp`

# Set up CARP
for carp_if in $carp_ifs; do
eval   carp_ip=\$CARP_${carp_if}_IP
eval carp_vhid=\$CARP_${carp_if}_VHID
eval carp_skew=\$CARP_${carp_if}_SKEW

if [ -n $carp_vhid ]; then
carp_vhid=vhid $carp_vhid
fi
if [ -n $carp_skew ]; then
carp_skew=advskew $carp_skew
fi

if [ -n ${carp_ip} -a -n ${carp_vhid} ]; then
ifconfig $carp_if pass $CARP_PASS $carp_vhid $carp_skew 
$carp_ip
ifconfig $carp_if down
else
echo WARNING: $carp_if but missing CARP_${carp_if}_IP or 
CARP_${carp_if}_VHID!
fi
done

[... later ...]
if [ $status -eq 0 ]; then
  echo Apache successfully ${cmd}ed
  echo Ready to CARP UP!
  if [ -n ${carp_ifs} ]; then
for carp_if in $carp_ifs; do
eval   carp_ip=\$CARP_${carp_if}_IP
eval carp_vhid=\$CARP_${carp_if}_VHID
if [ -n ${carp_ip} -a -n ${carp_vhid} ]; then
ifconfig $carp_if up
fi
done
sysctl net.inet.carp.preempt=1
  fi
else
  echo Apache failed to $cmd
  exit 2
fi


Okay, so that's really quite a mess, but basically:
* Set cloned_interfaces in rc.conf to create carpn at boot.
* One IP alias and VHID per CARP IP.
* Set up the backup server with higher advskew.
* For availability, teach you apachectl script to ifconfig the carp
  interfaces, ifconfig down, start apache, ifconfig up, and ifconfig
  down before stopping / restarting apache.

Cheers,
-danny

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


Re: New Logo

2005-11-04 Thread Peter Clutton
On 11/4/05, Alex Zbyslaw [EMAIL PROTECTED] wrote:
 Peter Clutton wrote:

 Ted wrote:
 
 Your opinion, they probably wouldn't agree.  If you decide Beastie isn't
 important enough to bother defending, that's your choice.  Of course I
 will note that you had no problem getting the attention for your books
 by using Beastie images on their covers.
 
 
 [...]
 
 And if you're referring using the beastie on his book The Complete
 FreeBSD, I hardly think it was responsible for it's success. Might
 have something to do with being one of the best books on FreeBSD
 sysadmin out there at the moment. Can't comment on his other books,
 haven't read them.
 
 
 Indeed, I expect the book was successful because it got good
 word-of-mouth reviews, though I also expect that anyone still buying
 things from a bookshop would have instantly recognised it as a FreeBSD
 book thanks precisely to Beastie on the cover.  If Beastie is on the
 spine as well, then it makes it easy to pick out from your bookshelf.

While I have no disagreement with what you've said, and while i
personally like the beastie, and the new design, I have to push the
point that no, it wasn't the beastie that let me know it was about
FreeBSD, it was, well, the very large letters that say FreeBSD on the
cover and spine! I would have had to have been walking around with a
large magnifying glass to spot the beasties from afar on that book,
they are tiny.

Anyway, it isn't really the point, (it was about personal attacks not
being necessary),  and your opinion of this way of doing things not
discouraging argument has merit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bug ?: SCHED_4BSD VS SCHED_ULE

2005-11-04 Thread Subhro

Ian Lord sat at his 'puter and typed on 11/4/2005 9:28:

Hi,

I am running amd64 version on a Dell 2850 Dual Xeon processor with emt64

as soon as I turn on SCHED_ULE instead of SCHED_4BSD in rc.conf, the 
system starts to behave strangely.


During boot, named and sshd can't start normally, system is unstable, etc

What exactly is the problem? What kind of instability is noticed?

Thanks
S.

--
---+--
  |   Subhro Sankha Kar
   \   /  |  GSM: +919831064613  --  Fax: +919831832913
\./   |  MSN:[EMAIL PROTECTED]  --  Yahoo: subhro82
   (0Y0)  |  ICQ: 203567534 --  AIM: bsdboy1982
ooO--(_)--Ooo--+--

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


gmirror clearing configuration

2005-11-04 Thread Dave

Hello,
   I'm trying to set up raid1 on fbsd 5.4-RELEASE no patches yet installed 
just a vanilla release box. I've messed up somewhere, the primary drive is 
smaller than the secondary drive and i'm using Ralf's second procedure. My 
problem is i can't clear the metadata from either the first or second drive 
so i can start again, i load gmirror then issue a gmirror clear and it says 
it can't clear the metadata. Any help appreciated.

Thanks.
Dave.

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


Re: building HTML::Mason to use mod_perl2

2005-11-04 Thread Michael P. Soulier
On 11/4/05, Grigory O. Ptashko [EMAIL PROTECTED] wrote:
 Hello.

 And what is the problem?

The problem is that it keeps insisting on installing mod_perl, and I'm
running apache2 with mod_perl2 so that always fails.

 I have a working HTML::Mason + Apache 2 + mod_perl 2.
 I installed all them from sources but I don't think that installing
 them from ports will give something different. But first may be you
 should cvsup your ports tree and use portinstall to get the last
 versions of all.

Already done, didn't help.

Maybe I'll just get them from source then.

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


Re: gmirror clearing configuration

2005-11-04 Thread Danny Howard
On Fri, Nov 04, 2005 at 06:30:45PM -0500, Dave wrote:
 Hello,
I'm trying to set up raid1 on fbsd 5.4-RELEASE no patches yet installed 
 just a vanilla release box. I've messed up somewhere, the primary drive is 
 smaller than the secondary drive and i'm using Ralf's second procedure. My 
 problem is i can't clear the metadata from either the first or second drive 
 so i can start again, i load gmirror then issue a gmirror clear and it says 
 it can't clear the metadata. Any help appreciated.

Dave,

I have not run in to your problem, but someone did post a comment to my gmirror
blog entry at
http://dannyman.toldme.com/2005/01/24/freebsd-howto-gmirror-system/#comment-9276
... here is the text:

ok gmirror can do the work here is how,

if you have tried and failed using various methods of gmirror, you will
likely have data tagged at the end sectors of ad4 and ad6 or whatever
the first the disks are in your array.

before trying dannys method above, you need to clear these sectors. To
do this succesfully you must be logged in as root, you cant clear the
sectors on a live system so you must install a minimal instance of
freebsd [if you havent already] on as least two disks on your server,
then use the following command

### while booted from ad4
### while logged in as root

gmirror clear ad6

### while booted from ad6
### while logged in as root

gmirror clear ad4

### then you will be able to proceed with each and every step in Dannys
crib, to be safe do a clean install on ad4, [this is in the crib]

### urfx 

HTH,
-danny

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


4.11 release-p13. Just to be sure.

2005-11-04 Thread Grigory O. Ptashko
Hello, list.

I've just now cvsup'd my 4.11-RELEASE source tree with the tag
RELENG_4_11.
From 4.11 RELEASE it became 4.11 RELEASE-p13.

Just to be sure - do I have to apply any other security patches that
are announced in freebsd security advisories?
I'm not considering third-party patches, only the official from the
freebsd team.

Thanks.

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


Re: 4.11 release-p13. Just to be sure.

2005-11-04 Thread Andrew P.
On 11/5/05, Grigory O. Ptashko [EMAIL PROTECTED] wrote:
 Hello, list.

 I've just now cvsup'd my 4.11-RELEASE source tree with the tag
 RELENG_4_11.
 From 4.11 RELEASE it became 4.11 RELEASE-p13.

 Just to be sure - do I have to apply any other security patches that
 are announced in freebsd security advisories?
 I'm not considering third-party patches, only the official from the
 freebsd team.

 Thanks.

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


The latest SA (linked from the FreeBSD home
page, http://www.freebsd.org/)
ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:21.openssl.asc
lists 4.11-p13 in Corrected. So, you can be sure.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: getting an old NIC to work

2005-11-04 Thread David Fleck

On Fri, 4 Nov 2005, Steve Bertrand wrote:


the relevant dmesg output is:
pcn0: AMD PCNet/PCI 10/100BaseTX port 0xbcc0-0xbcdf mem
0xfedfcc00-0xfedfcc1f irq 11 at device 19.0 on pci0
pcn0: Ethernet address: 00:66:b0:4a:bc:1c
miibus0: MII bus on pcn0
lxtphy0: LXT970 10/100 media interface on miibus0
lxtphy0:100baseFX, 100baseFX-FDX, 10baseT, 10baseT-FDX,
100baseTX, 100baseTX-FDX, auto

ifconfig:
pcn0: flags=8843UP,BRODADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.1.10 netmask 0xff00 broadcast 192.168.1.255
inet6 fe80::260:b0ff:fea4:bc1c%pcn0 prefixlen 64 scopeid 0x1
ether 00:66:b0:4a:bc:1c
media: Ethernet autoselect (10baseT/UTP)
status: active

the machine can ping itself at 192.168.1.10.  It can't ping
the defaultrouter (192.168.1.1) set in rc.conf, or anything
else on the local network.


Everything looks fine up to this point, so the problem you describe (not
being able to ping anything aside from itself). So, first reply back
with the defaultrouter line in rc.conf so we can ensure it's accurate.


defaultrouter=192.168.1.1



Second (relevant to the question below, paste us the output from:

# netstat -rn

Internet:
Destination Gateway Flags   RefsUse Netif   Expire
default 192.168.1.1 UGSc0   0   pcn0
127.0.0.1   127.0.0.1   UH  1   6   lo0
192.168.1   link#1  UC  2   0   pcn0
192.168.1.1 link#1  UHLW1   3   pcn0
192.168.1.1000:66:b0:4a:bc:1c UHLW  3   8   lo0

(typed by hand, but doublechecked for errors.)


One more thing...is this a clean install? Have you built yourself a new
kernel adding any extra options? (ie IPFW)..and are you absolutely sure
that the upstream gateway is indeed 192.168.1.1 (ie: can you ping it
from a different workstation?


Nope, generic kernel, not rebuilt at all.  Yes, 192.168.1.1 does work from 
other machines on the local network.  For example, here's the netstat from 
the machine I'm writing on this minute:


working_machine$ netstat -rn
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default192.168.1.1UGSc20ed0
127.0.0.1  127.0.0.1  UH  122924lo0
192.168.1  link#1 UC  40ed0
192.168.1.100:09:5b:50:37:76  UHLW3 9263ed0   1199
192.168.1.200:40:05:55:aa:68  UHLW5  102lo0
192.168.1.300:0c:41:0c:95:d0  UHLW012790ed0   1134
192.168.1.400:c0:26:c0:ec:89  UHLW121435ed0847

this one's working fine.


--
David Fleck
[EMAIL PROTECTED]

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


Error code 1 on make installworld 6.0-Beta5

2005-11-04 Thread Martin Tsanov
Hi all,
 
I had 6.0-Beta5 installed on a Dell Dimension 4100.
Yesterday I decided to upgrade to the current source.
I cvsup-ed the source tree.
make buildworld
make buildkernel
make installkernel all run without errors
Then I shut down to single user mode
mergemaster -p
make installworld
Installation of the new world is running untill /usr.sbin/chown
Bellow I'm retyping the error messages:
 
=== usr.sbin/chown (install)
install -s -o root -g wheel -m 555   chown /usr/sbin
install -o root -g wheel -m 444 chgrp.1.gz   /usr/share/man/man1
install -o root -g wheel -m 444 chgrp.8.gz   /usr/share/man/man8
/usr/bin/chgrp - /usr/sbin/chown
ln: /usr/bin/chgrp: Cross-device link
*** Error code 1
 
Stop in /usr/src/usr.sbin/chown.
*** Error code 1
 
Stop in /usr/src/usr.sbin.
*** Error code 1
 
Stop in /usr/src.
*** Error code 1
 
I deleted /usr/obj, cvsup-ed again and repeated the whole procedure,
but I'm getting exactly the same result for the third time.
Help anyone??
 
Please forward any messages to me as I am not subscribed to the list
Thanks





-
 Yahoo! FareChase - Search multiple travel sites in one click.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New Logo

2005-11-04 Thread Peter Clutton
On 11/4/05, Greg Barniskis [EMAIL PROTECTED] wrote:

 Seems to me like those who are up in arms over this:
 (a) had every chance to participate in the process
 (b) did not participate in the process except to heartily denounce
 the very existence of the process and its goal
 (c) even now outright refuse to go and be part of the advocacy@
 community where this discussion is germane to that list charter
 (d) need a real big mop for all the spilled milk and tears

Yeh, and if their parent really is the best designer and artist who
_ever_ lived in the _entire_ history of the universe, and are much
better than anybody elses parents, and thus is the smartest kid on the
block, why didn't they design something?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


3 quizz about the freebsd DD arch

2005-11-04 Thread kylin
hello every one :) good day!
i have list the 3 puzzle coming to me in my recent coding reading of freebsd
0
///
pci bridge dynamic resize
/
it seems that the device arch of freebsd is similar to what is revealed in
window OS. i have read the pcie hotplug tps of windows longhorn ,it is said
that with some hardware mechanisms the pci bridge driver can do global pci
resource window reconfiguration.so good to the hotplugin pci device for it
avoid prelocating resource for the device .
i wonder ,if the mem /io/irq reconfiguration possible under freebsd .:)
 1
//
 is bus_data_generation
/
what idoes bus_data_generation for, is it the generation count for the
device manager tree?
void
bus_data_generation_update(void)
{
bus_data_generation++;
}
 2
//
pci_write_config vs pci_write_config_method
//
under the source code /dev/pci .there are functions name pci_write_config (
pcivar.h) and pci_write_config_method(pci.c)
they both call the parent method ,though the content is different ,but does
that a liitle overlap whit each other?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error code 1 on make installworld 6.0-Beta5

2005-11-04 Thread Kris Kennaway
On Fri, Nov 04, 2005 at 06:10:01PM -0800, Martin Tsanov wrote:
 Hi all,
  
 I had 6.0-Beta5 installed on a Dell Dimension 4100.
 Yesterday I decided to upgrade to the current source.
 I cvsup-ed the source tree.
 make buildworld
 make buildkernel
 make installkernel all run without errors
 Then I shut down to single user mode
 mergemaster -p
 make installworld
 Installation of the new world is running untill /usr.sbin/chown
 Bellow I'm retyping the error messages:
  
 === usr.sbin/chown (install)
 install -s -o root -g wheel -m 555   chown /usr/sbin
 install -o root -g wheel -m 444 chgrp.1.gz   /usr/share/man/man1
 install -o root -g wheel -m 444 chgrp.8.gz   /usr/share/man/man8
 /usr/bin/chgrp - /usr/sbin/chown
 ln: /usr/bin/chgrp: Cross-device link
 *** Error code 1
  
 Stop in /usr/src/usr.sbin/chown.
 *** Error code 1
  
 Stop in /usr/src/usr.sbin.
 *** Error code 1
  
 Stop in /usr/src.
 *** Error code 1
  
 I deleted /usr/obj, cvsup-ed again and repeated the whole procedure,
 but I'm getting exactly the same result for the third time.
 Help anyone??

Well, are your /usr/bin and /usr/sbin on different filesystems?
That's not supported.

Kris


pgpSYCeWed82Y.pgp
Description: PGP signature


Re: jdk14 without X libraries?

2005-11-04 Thread Michael P. Soulier
On 11/4/05, Alex Ford [EMAIL PROTECTED] wrote:
 You can add WITHOUT_X11=yes to your /etc/make.conf and that will build
 our ports without any X11 support (if they have that particular
 configure option available to them).

Thanks, I'm currently doing this too.

Is there a master list of supported options in make.conf? I looked in
the sample make.conf and the make.conf manpage, and I don't see this
option.

Mike

--
Michael P. Soulier [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: Error code 1 on make installworld 6.0-Beta5

2005-11-04 Thread Martin Tsanov
Yes, that's my case and I didn't know that's not supported...
Well, I think I will reinstall now :)
 
Thanks for the tip

Sorry, I am resending to the list

Kris Kennaway [EMAIL PROTECTED] wrote:

On Fri, Nov 04, 2005 at 06:10:01PM -0800, Martin Tsanov wrote:
 Hi all,
 
 I had 6.0-Beta5 installed on a Dell Dimension 4100.
 Yesterday I decided to upgrade to the current source.
 I cvsup-ed the source tree.
 make buildworld
 make buildkernel
 make installkernel all run without errors
 Then I shut down to single user mode
 mergemaster -p
 make installworld
 Installation of the new world is running untill /usr.sbin/chown
 Bellow I'm retyping the error messages:
 
 === usr.sbin/chown (install)
 install -s -o root -g wheel -m 555 chown /usr/sbin
 install -o root -g wheel -m 444 chgrp.1.gz /usr/share/man/man1
 install -o root -g wheel -m 444 chgrp.8.gz /usr/share/man/man8
 /usr/bin/chgrp - /usr/sbin/chown
 ln: /usr/bin/chgrp: Cross-device link
 *** Error code 1
 
 Stop in /usr/src/usr.sbin/chown.
 *** Error code 1
 
 Stop in /usr/src/usr.sbin.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 I deleted /usr/obj, cvsup-ed again and repeated the whole procedure,
 but I'm getting exactly the same result for the third time.
 Help anyone??

Well, are your /usr/bin and /usr/sbin on different filesystems?
That's not supported.

Kris



-
 Yahoo! FareChase - Search multiple travel sites in one click.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems on start of my system

2005-11-04 Thread alicornio
Hi all 

I have a problem on start of my system, appear this mesage: 

Staring file system checks: 
/dev/ad0s1a: 1304 files, 18242 used, 300053 free (1149 frags, 37363 blocks, 
0.4% fragmentation) 
/dev/ad0s1g: DEFER FOR BACKGROUND CHECKING 
/dev/ad0s1f: DEFER FOR BACKGROUND CHECKING 
/dev/ad0s1d: DEFER FOR BACKGROUND CHECKING 
/dev/ad0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS 
/dev/ad0s1e: clean, 57112 free (40 frags, 7134 bloks, 0,1% fragmentation) 
WARNING: /home was not properly dismounted 
ad0: FAILURE - READ-DMA status=51READ,DSC,ERROR ERROR=40UNCORRECTABLE 
LBA=2398527 
mount: /dev/ad0s1: input/output error 
WARNING: /usr was not properly dismounted 
WARNING: /var was not properly dismounted 
mounting /etc/fstab filesystems failed, start up aborted 
ad0: FAILURE - READ-DMA status=51READ,DSC,ERROR ERROR=40UNCORRECTABLE 
LBA=2191743 
boot interruped 
enter full pathname of shell or return for /bin/sh: 

I type something and the system reboot after this mesages: 

panic: vrele: negative refe cnt 
cannot dump: no dump device defined 

Someone can help me whith this problem? what´s happenig? how i can solve 
this? 

Sorry for my bad english.. :) 

grateful 

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

Re: creating gnome desktop shortcuts for floppy, DVD rom and compact flash card reader

2005-11-04 Thread Peter Clutton
On 11/4/05, Robert Marella [EMAIL PROTECTED] wrote:

  Music cd's can not be mounted.

However in gnome, if you use the gnome audio tools, like totem?? you
do not need to mount, it will automatically start playing. :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/usr/local/bin/pg_config: not found Error msg Running Portsdb -Uu

2005-11-04 Thread Bob Perry
Hi folks,

Just cvsup'd my system (5.4-RELEASE FreeBSD 5.4-RELEASE #0:) and rec'd
the following error msg:

==[EMAIL PROTECTED]:/var/db portsdb -Uu
Updating the ports index ... Generating INDEX.tmp - please
wait../usr/local/bin/pg_config: not found
Makefile, line 47: warning: /usr/local/bin/pg_config --includedir
returned non-zero status
/usr/local/bin/pg_config: not found
Makefile, line 48: warning: /usr/local/bin/pg_config --libdir
returned non-zero status
Warning: Duplicate INDEX entry: freeciv-gtk2-2.0.6
 Done.
done

Duplicate entries appear often but I'm not familiar with the Makefile
warnings.  Would appreciate any assistance in determining first steps
for resolving them.  Already researched Google -FreeBSD and the mailing
list archive for the most recent 25 questions.

Thnx,
Bob Perry



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


suspend works, but resume doesn't on Dell desktop

2005-11-04 Thread Mohan Singh
I have a Dell Dimension 4700, dual booting XP and FreeBSD 5.4. Windows
can hibernate and stand-by fine. I'm trying to do the same (or at
least standby) from FreeBSD.

As I understand it Windows standby == FreeBSD suspend (zzz).

As root, when I run suspend/zzz, it seems to go into standby mode,
just like it does in Windows. But when I resume (by hitting the power
button) it just powers on normally, as if the suspend never happened.

Of course, FreeBSD is not happy about this because the filesystems
were not dismounted properly and starts fsck'ing.

How can I get resume to work properly?

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