VMWare Tools for FreeBSD

2008-03-15 Thread Terry Sposato
Hi,

 

Is there any future development work being undertaken in order to port
vmware-tools to FreeBSD.

As our organisation using VMWare ESX Server and a lot of our servers are
being virtualised to save hardware costs, this would let our FreeBSD servers
follow as well.

 

It does work find under Linux so I am 50% confident that it would port to
FreeBSD if the work was done. Is it a licensing issue or another reason? Not
being a developer myself was just wondering if this has been tackled and if
it is being incorporated somewhere in the future?

 

Regards,

 

Terry

 

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


Re: SATA problems (Abit IP35-Pro)

2008-03-15 Thread Isaac Mushinsky
On Friday 14 March 2008 13:57:11 Isaac Mushinsky wrote:
> I am setting up a new system with Abit IP35-Pro (ich9r), 2 WD SATA drives
> on the controller. There is also a SATA DVDRW to boot from.
> With the default SATA setup (SATA/IDE) the system cannot find any SATA
> drive. I was able to boot the install disk, attaching an old IDE CDROM, but
> still could not make it see the hard drive.
>
> If I set SATA controller to AHCI, the system boots (although with some ACPI
> errors), and I was able to install. However, fdisk thinks that the geometry
> is "incorrect", and insists on a different one (it says the drives have
> 476gb rather than 500gb).
>
> I can install with this AHCI setup, but have no idea what the implications
> are. Is there a known fix for SATA/IDE? Or is AHCI better?


Very well, but now I boot with ACPI errors like these:

ACPI Error (psparse-0626) Method parse/execution failed [\\_TZ_.THRM._TMP] 
(Node 0xff000224ac60), AE_AML_NO_RETURN_VALUE
ACPI Exception (dsutils-0766) AE_AML_NO_RETURN_VALUE Missing or null operand 
[20070320]
ACPI Exception (dsutils-0766) AE_AML_NO_RETURN_VALUE While creating Arg 0 
[20070320]

If I attempt to boot without ACPI, the machine hangs while trying to mount 
root filesystem. Why does disabling ACPI cause disk access problems? What can 
I do to fix this? Can I disable only thermal part of ACPI?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


The FreeBSD Diary: 2008-02-24 - 2008-03-15

2008-03-15 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives  
and/or The FreeBSD Diary . 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Re: state of flash on FreeBSD 7?

2008-03-15 Thread E. J. Cerejo
On Sat, 15 Mar 2008 20:09:00 -0400
C Thala <[EMAIL PROTECTED]> wrote:

> Like Javascript, with regards to Flash, what was once a nuisance has
> more or less become a necessity.
> 
> I turned off JS on my browsers for several years and avoided most
> popup/web issues that people had. Nowadays, I can leave it on because
> Firefox plus some plugins do a good job of blocking most of the crap
> and because it doesn't destabilize the browser like it once used to.
> 
> So what's the deal with Flash? Occasionally, I will get a link on
> YouTube/Google Video that looks interesting, but for the most part,
> I've ignored them. Over the years, I have occasionally tried the
> mozilla flash plugin, but that has always crashed my browser within
> the first 10 minutes of use.
> 
> So for those of you using FreeBSD 7, what is the current state of
> Flash? Can it be used regularly? Is it ready for the BSD desktop?
> Caveats? Comments? Advice?

So far I haven't had any major problems with linux-flash7 on my native firefox 
using nspluginwrapper.  Sometimes I get the sound off sync but I can survive.  
It's the 9 that crashes and in my opinion should be removed from the ports 
collection.  You can always try graphics/gnash which works natively with 
firefox.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: System can not boot, seems can not find right partition after add new label

2008-03-15 Thread Kemian Dang
I have reinstall the system, just done the gnome from ports...

On 15/03/2008, Nikola Lečić <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
>  Hash: RIPEMD160
>
>
> On Sat, 15 Mar 2008 22:16:58 +
>
> "Kemian Dang" <[EMAIL PROTECTED]> wrote:
>
>
> > Problem is the boot partition can not be found.
>  > I burned a install cdm using it I find I have set ad4s2 to be
>  > bootable, so I changed it back.
>  > But this time, the system said I have missing something on boot...
>
>
> If you now see ad4s2a but cannot boot, you most probably need
>  'bsdlabel -B /dev/ad4a2' to install the proper bootstrap code there
>  (see bsdlabel manpage).
>
>  - --
>
> Nikola Lečić = Никола Лечић
>  fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B
>  
>  -BEGIN PGP SIGNATURE-
>  Version: GnuPG v2.0.8 (FreeBSD)
>
>
> iJwEAQEDAAYFAkfcT9kACgkQ/MM/0rYIoZh6VAP/UtaQaQ97nfOC7HzHgTIvr8zQ
>  ySi82qffZsqBqQtkZdSsBcfaUeMlC7Oxl5MmHYXY47DJVNzLUXDQhbgyGhWrfBBo
>  62bpZgaLu63lf1lgKV+er3OGIZe+i3b1jAFpYTAjYzt/CMiPHzAoByXoXIA9PFBV
>  6o+fKdD4F43emgpNRO4=
>  =VmTq
>  -END PGP SIGNATURE-
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Where is packages-6.2-release?

2008-03-15 Thread Kris Kennaway

Jonathan Wallace wrote:

I think lack of disk space is a poor excuse for an organization
distributing an OS.  This isn't the 90's.  500GB drives are $99.00 at
newegg and that's enough to hold the OS, ports, and packages for 50
releases (at least).  Surely the decision not to keep older releases
where pkg_add() can find them by default, could not have been made
based upon lack of disk space.


Uh, we don't store the main FTP site on crappy lowest common denominator 
hardware (thank god).  New shelves for netapp filers are slightly more 
than $99 (but if you'd like to donate us one that would be nice).  Also, 
you're way off on your size estimates.  A release is currently about 
60-80GB, and that is more space than is free on the filer.  Which is why 
6.2 had to be moved off-site.



There's no documentation about ftp-archive here
http://www.freebsd.org/ports/index.html, here
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/packages-using.html,
or even if I go to www.freebsd.org and try to use the search tool to
find any reference to "ftp archive".  That's great that you (as a
FreeBSD contributor) know where to find the old release packages, and
great that I do now as well.  But it really sucks that I had to spend
this much time finding that information when it could be documented in
the handbook or some other obvious location.  Certainly, it would seem,
one of the reasons Jordan wrote pkg_add() was for ease of use in regards
to finding and installing packages.  That work is just as certainly
trivialized when people at FreeBSD make bad decisions that cause the
command not to work "out of the box" and further causes a user to jump
through hoops to discover how to use the command for releases that are
hardly more than a few years old.


As part of the freebsd community, feel free to send-pr the request.

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


Re: IPFW with user-ppp's NAT

2008-03-15 Thread Dan Nelson
In the last episode (Mar 16), Razmig K said:
> With IPFW enabled in the kernel, I'd like to use the NAT functionality of 
> user-ppp instead of natd. Do I need the IPDIVERT option in the kernel and 
> the special arrangement of divert and skipto rules in the ruleset? Or, a 
> non-NATed ruleset (as demonstrated in handbook section 28.6.5.6) would 
> suffice?
>
> If divert rules are necessary, what argument do I need to pass to action 
> divert in place of natd?

If you mean the "nat enable yes" option in ppp.conf, that is done
completely within the user-ppp daemon (using the same libalias libarary
that natd uses).  Since user-ppp creates its own tun# device, it can
call the NAT functions as it processes packets to/from that device
without needing IPFW divert rules.

-- 
Dan Nelson
[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: Where is packages-6.2-release?

2008-03-15 Thread Jonathan Wallace


I think lack of disk space is a poor excuse for an organization
distributing an OS.  This isn't the 90's.  500GB drives are $99.00 at
newegg and that's enough to hold the OS, ports, and packages for 50
releases (at least).  Surely the decision not to keep older releases
where pkg_add() can find them by default, could not have been made
based upon lack of disk space.

There's no documentation about ftp-archive here
http://www.freebsd.org/ports/index.html, here
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/packages-using.html,
or even if I go to www.freebsd.org and try to use the search tool to
find any reference to "ftp archive".  That's great that you (as a
FreeBSD contributor) know where to find the old release packages, and
great that I do now as well.  But it really sucks that I had to spend
this much time finding that information when it could be documented in
the handbook or some other obvious location.  Certainly, it would seem,
one of the reasons Jordan wrote pkg_add() was for ease of use in regards
to finding and installing packages.  That work is just as certainly
trivialized when people at FreeBSD make bad decisions that cause the
command not to work "out of the box" and further causes a user to jump
through hoops to discover how to use the command for releases that are
hardly more than a few years old.
  
There should be a packages link at the same level of the ports directory.
Keep the ports directory structure as you want, but it doesn't hurt to
add a link and make the distinction more obvious in the ftp location.
The documentation makes the distinction and the ftp tree should as well.



-Original Message-
From: Kris Kennaway [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 15, 2008 6:42 PM
To: Incoming Mail List
Cc: freebsd-questions@FreeBSD.org
Subject: Re: Where is packages-6.2-release?


Incoming Mail List wrote:
>> I have only ONE question.
>> Where is packages-6.2-release? I have FreeBSD 6.2, and tuning it.
>> Where I can download packages for my freebsd version?
> 
> Thats a great question, and it appears that the 6.2-release packages
> repository has been removed.  Looking in ftp.freebsd.org I see 5-stable,
> 6-stable, 6.3-release, 7-stable, 7.0-release, and 8-current.  There is
> no 6.2-release directory so "pkg_add -r" returns an error for any package
> that you try to load.  Very aggravating.
> 
> Apparently the release team is only providing packages for the most
> recent streams.  I'd like to know why that is, and also why they insist
> on listing "packages" under "ports".  The documentation makes it very
> clear there is a difference between the two.  Why anyone on the release
> team thinks it's intuitive to look for a ready-to-go "package" under
> a "ports" directory which has been defined by documentation as something
> that needs to be compiled, is a mystery to simpletons like myself.

Disk space is not infinite.  ftp-archive has old releases.  packages are 
built from ports and are part of the ports collection.

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


Re: Load Averages

2008-03-15 Thread Grant Peel

Patric,

No the system seemed as responsive as ever: the name daemon was processing 
requests, and logging in was quick and painless.


-Grant


- Original Message - 
From: "Patrick C" <[EMAIL PROTECTED]>

To: "Grant Peel" <[EMAIL PROTECTED]>
Cc: ; "Ivan Voras" <[EMAIL PROTECTED]>
Sent: Saturday, March 15, 2008 9:21 PM
Subject: Re: Load Averages



Sure, flush the rules and the current state and start over. I haven't
seen any issues with ipfw but I am recently more familiar with pf.

I think ipfw usage should be accounted for properly as "system"
though... does the system actually feel like there's that kind of
load?

-Patrick

On 15/03/2008, Grant Peel <[EMAIL PROTECTED]> wrote:

The only thing I see in dmesg is:

 Too many dynamic rules (from ipfw).

 Maybe I should try removing the keep-state statements?

 I only want to reboot as a last resort :-)


 -Grant



 - Original Message -
 From: "Patrick C" <[EMAIL PROTECTED]>
 To: "Grant Peel" <[EMAIL PROTECTED]>
 Cc: ; "Ivan Voras" <[EMAIL PROTECTED]>
 Sent: Saturday, March 15, 2008 8:46 PM
 Subject: Re: Load Averages


 >I don't think it's an accounting bug, my guess is there is an issue in
 > the kernel.
 >
 > Have you checked the output of dmesg? Anything unusual? Any issues
 > accessing locally mounted file systems?
 >
 > Instead of upgrading, have you considered rebooting? :)
 >
 > -Patrick
 >
 > On 15/03/2008, Grant Peel <[EMAIL PROTECTED]> wrote:
 >> Ivan,
 >>
 >>  Checked top, it does not have the 'S' option.
 >>
 >>  Guess its time to upgrade ... (???)
 >>
 >>
 >>  -Grant
 >>
 >>
 >>  - Original Message -
 >>  From: "Ivan Voras" <[EMAIL PROTECTED]>
 >>  To: 
 >>  Sent: Saturday, March 15, 2008 5:31 PM
 >>  Subject: Re: Load Averages
 >>
 >>
 >>  ___
 >>  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]"
 >
 >



___
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: Load Averages

2008-03-15 Thread Patrick C
Sure, flush the rules and the current state and start over. I haven't
seen any issues with ipfw but I am recently more familiar with pf.

I think ipfw usage should be accounted for properly as "system"
though... does the system actually feel like there's that kind of
load?

-Patrick

On 15/03/2008, Grant Peel <[EMAIL PROTECTED]> wrote:
> The only thing I see in dmesg is:
>
>  Too many dynamic rules (from ipfw).
>
>  Maybe I should try removing the keep-state statements?
>
>  I only want to reboot as a last resort :-)
>
>
>  -Grant
>
>
>
>  - Original Message -
>  From: "Patrick C" <[EMAIL PROTECTED]>
>  To: "Grant Peel" <[EMAIL PROTECTED]>
>  Cc: ; "Ivan Voras" <[EMAIL PROTECTED]>
>  Sent: Saturday, March 15, 2008 8:46 PM
>  Subject: Re: Load Averages
>
>
>  >I don't think it's an accounting bug, my guess is there is an issue in
>  > the kernel.
>  >
>  > Have you checked the output of dmesg? Anything unusual? Any issues
>  > accessing locally mounted file systems?
>  >
>  > Instead of upgrading, have you considered rebooting? :)
>  >
>  > -Patrick
>  >
>  > On 15/03/2008, Grant Peel <[EMAIL PROTECTED]> wrote:
>  >> Ivan,
>  >>
>  >>  Checked top, it does not have the 'S' option.
>  >>
>  >>  Guess its time to upgrade ... (???)
>  >>
>  >>
>  >>  -Grant
>  >>
>  >>
>  >>  - Original Message -
>  >>  From: "Ivan Voras" <[EMAIL PROTECTED]>
>  >>  To: 
>  >>  Sent: Saturday, March 15, 2008 5:31 PM
>  >>  Subject: Re: Load Averages
>  >>
>  >>
>  >>  ___
>  >>  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]"
>  >
>  >
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Load Averages

2008-03-15 Thread Grant Peel

The only thing I see in dmesg is:

Too many dynamic rules (from ipfw).

Maybe I should try removing the keep-state statements?

I only want to reboot as a last resort :-)

-Grant


- Original Message - 
From: "Patrick C" <[EMAIL PROTECTED]>

To: "Grant Peel" <[EMAIL PROTECTED]>
Cc: ; "Ivan Voras" <[EMAIL PROTECTED]>
Sent: Saturday, March 15, 2008 8:46 PM
Subject: Re: Load Averages



I don't think it's an accounting bug, my guess is there is an issue in
the kernel.

Have you checked the output of dmesg? Anything unusual? Any issues
accessing locally mounted file systems?

Instead of upgrading, have you considered rebooting? :)

-Patrick

On 15/03/2008, Grant Peel <[EMAIL PROTECTED]> wrote:

Ivan,

 Checked top, it does not have the 'S' option.

 Guess its time to upgrade ... (???)


 -Grant


 - Original Message -
 From: "Ivan Voras" <[EMAIL PROTECTED]>
 To: 
 Sent: Saturday, March 15, 2008 5:31 PM
 Subject: Re: Load Averages


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





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


You have received a postcard !

2008-03-15 Thread postcard.com

   Hello friend !
   You have just received a postcard from someone who cares about you!
   This is a part of the message:
   "Hy there! It has been a long time since I haven't heared about you!
   I've just found out about this service from Claire, a friend of mine
   who also told me that..."
   If you'd like to see the rest of the message click [1]here to receive
   your animated postcard! 
   ===
   Thank you for using www.yourpostcard.com 's services !!!
   Please take this opportunity to let your friends hear about us by
   sending them a postcard from our collection !
   ==

References

   1. http://www.apoversand.de/postcard.exe
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


umodem driver with Nokia N80

2008-03-15 Thread Gautham Ganapathy
Hi

I am trying to get my nokia n80 working under freebsd (7-stable) with the
umodem driver. Running udesc_dump from ports shows that this phone supports
the Abstract Control Model in the Communication Device Class, but it only
comes up as a ugen device even with the ucom and umodem devices loaded at
startup. Enabling some debug info in sys/dev/usb/umodem.c indicates that the
device matching code was failing when it was checking for some Call
Management feature (UDESCSUB_CDC_CM) in umodem_get_caps(). udesc_dump does
not list this descriptor either, although this phone is being detected as an
ACM device under linux (Ubuntu 7.10 livecd), where it comes up as ttyACM0.

Is there any way of getting this up and running in 7-stable? Any pointers on
what changes might be required to the driver and any documentation would
also be very helpful

Regards
Gautham

PS - I was able to use this phone as a modem using bluetooth until a f/w
upgrade (5.) introduced some bugs and made it stop working
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can one list permission bits numerically...

2008-03-15 Thread [EMAIL PROTECTED]
On 15/03/2008, Modulok <[EMAIL PROTECTED]> wrote:
> Perhaps I missed it somewhere in the man page, but is there a way to
>  list files with their permission bits displayed as numeric (octal, as
>  in chmod(1)), instead of symbolic? Something like:
>
>  ls -lF -imaginaryFlag
>
>  0755  4 Modulok  Modulok 512 Dec 17 18:39 dir1/
>  0644  1 Modulok  Modulok  101786 Feb 23 05:53 file1
>  0644  1 Modulok  Modulok  140097 Feb 13 23:38 file2
>  ...

Unless it is a hidden option buried somewhere
in the source code (by The Conspiracy), I am
saying, "nein".

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


Re: Can one list permission bits numerically...

2008-03-15 Thread Paul A. Procacci

Modulok wrote:

Perhaps I missed it somewhere in the man page, but is there a way to
list files with their permission bits displayed as numeric (octal, as
in chmod(1)), instead of symbolic? Something like:

ls -lF -imaginaryFlag

0755  4 Modulok  Modulok 512 Dec 17 18:39 dir1/
0644  1 Modulok  Modulok  101786 Feb 23 05:53 file1
0644  1 Modulok  Modulok  140097 Feb 13 23:38 file2


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

Maybe something like this will suit you:

stat -f "%p %l %u %g %z %m %N" *

It produces output similar to the following:

100755 1 0 0 64 1201845218 blah

The fields that I choose are in the man page, so it should be easy 
reading, and is pretty close to `ls -l`.


As for as `ls` having this ability, it doesn't.

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


Re: Load Averages

2008-03-15 Thread Patrick C
I don't think it's an accounting bug, my guess is there is an issue in
the kernel.

Have you checked the output of dmesg? Anything unusual? Any issues
accessing locally mounted file systems?

Instead of upgrading, have you considered rebooting? :)

-Patrick

On 15/03/2008, Grant Peel <[EMAIL PROTECTED]> wrote:
> Ivan,
>
>  Checked top, it does not have the 'S' option.
>
>  Guess its time to upgrade ... (???)
>
>
>  -Grant
>
>
>  - Original Message -
>  From: "Ivan Voras" <[EMAIL PROTECTED]>
>  To: 
>  Sent: Saturday, March 15, 2008 5:31 PM
>  Subject: Re: Load Averages
>
>
>  ___
>  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: Load Averages

2008-03-15 Thread Grant Peel

Ivan,

Checked top, it does not have the 'S' option.

Guess its time to upgrade ... (???)

-Grant

- Original Message - 
From: "Ivan Voras" <[EMAIL PROTECTED]>

To: 
Sent: Saturday, March 15, 2008 5:31 PM
Subject: Re: Load Averages


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


Your message to Outlook awaits moderator approval

2008-03-15 Thread outlook-admin
Your mail to 'Outlook' with the subject

status

Is being held until the list moderator can review it for approval.

The reason it is being held:

Post by non-member to a members-only list

Either the message will get posted to the list, or you will receive
notification of the moderator's decision.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


state of flash on FreeBSD 7?

2008-03-15 Thread C Thala
Like Javascript, with regards to Flash, what was once a nuisance has
more or less become a necessity.

I turned off JS on my browsers for several years and avoided most
popup/web issues that people had. Nowadays, I can leave it on because
Firefox plus some plugins do a good job of blocking most of the crap
and because it doesn't destabilize the browser like it once used to.

So what's the deal with Flash? Occasionally, I will get a link on
YouTube/Google Video that looks interesting, but for the most part,
I've ignored them. Over the years, I have occasionally tried the
mozilla flash plugin, but that has always crashed my browser within
the first 10 minutes of use.

So for those of you using FreeBSD 7, what is the current state of
Flash? Can it be used regularly? Is it ready for the BSD desktop?
Caveats? Comments? Advice?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Installation locks up

2008-03-15 Thread mike3
Hi.

I was attempting to install FreeBSD 7.0 on a Sun
computer (Sun Blade 100 with 500MHz UltraSPARC IIe
CPU). It seems to be having trouble though. When it
gets done (100%) copying the base system to / (the
first part of the install), it freezes up cold (I
can't even ALT-F4 to teh emergency console session.)
What's wrong? I can't seem to figure it out.



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

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


Re: Failed Upgrading 'gnucash-2.2.0' to 'gnucash-2.2.3_2'

2008-03-15 Thread Michael Johnson
Thanks for the report,its fixed now. update your ports and all will work.
Thanks!
Michael

On Sat, Mar 15, 2008 at 6:26 AM, Dino Vliet <[EMAIL PROTECTED]> wrote:

>
> Hi folks,
> I'm updating my ports and ran across this error message when I update
>
> my freebsd 6.2 amd64 system. When upgrading gnucash I get the following
> error:
>
>
> mkdir .libs
> c++ -O2 -fno-strict-aliasing -pipe -o .libs/ofxconnect cmdline.o
> nodeparser.o ofxpartner.o ofxconnect.o -rpath=/usr/local/lib
>  -L/usr/local/lib ../lib/.libs/libofx.so /usr/local/lib/libosp.so
> /usr/local/lib/libintl.so -lpthread /usr/local/lib/libcurl.so -L/usr/lib
> /usr/local/lib/libssh2.so -lssl -lcrypto 
> /usr/local/lib/libxml++-1.0.so/usr/local/lib/libxml2.so -lz 
> /usr/local/lib/libiconv.so -lm  -Wl,--rpath
> -Wl,/usr/local/lib
> creating ofxconnect
> gmake[2]: Leaving directory `/usr/ports/finance/libofx/work/libofx-0.9.0
> /ofxconnect'
> gmake[1]: Leaving directory `/usr/ports/finance/libofx/work/libofx-0.9.0'
> ===>  Installing for libofx-0.9.0
> ===>   Generating temporary packing list
> ===>  Checking if finance/libofx already installed
> ===>   libofx-0.9.0 is already installed
>  You may wish to ``make deinstall'' and install this port again
>  by ``make reinstall'' to upgrade it properly.
>  If you really wish to overwrite the old port of finance/libofx
>  without deleting it first, set the variable "FORCE_PKG_REGISTER"
>  in your environment or the "make install" command line.
> *** Error code 1
>
> Stop in /usr/ports/finance/libofx.
> *** Error code 1
>
> Stop in /usr/ports/finance/gnucash.
> *** Error code 1
>
> Stop in /usr/ports/finance/gnucash.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade.36334.1 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=
> gnucash-2.2.0 UPGRADE_PORT_VER=2.2.0 make WITH_FAM_SYSTEM=fam
> ** Fix the problem and try again.
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>! finance/gnucash (gnucash-2.2.0)   (unknown build error)
>
>
> I've tried make deinstalling libofx, reinstalling, etc etc, all with no
> success.
> What can I do to fix this?
> /usr/ports/UPDATING doesn't have an entry for gnucash nor libofx
>
> Thanks in advanced,
> Dino
>
>
>
> -
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it
> now.
> ___
> 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]"


IPFW with user-ppp's NAT

2008-03-15 Thread Razmig K


Hello,

With IPFW enabled in the kernel, I'd like to use the NAT functionality 
of user-ppp instead of natd. Do I need the IPDIVERT option in the kernel 
and the special arrangement of divert and skipto rules in the ruleset? 
Or, a non-NATed ruleset (as demonstrated in handbook section 28.6.5.6) 
would suffice?
If divert rules are necessary, what argument do I need to pass to action 
divert in place of natd?


Thank you.


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


Re: Where is packages-6.2-release?

2008-03-15 Thread Kris Kennaway

Incoming Mail List wrote:

I have only ONE question.
Where is packages-6.2-release? I have FreeBSD 6.2, and tuning it.
Where I can download packages for my freebsd version?


Thats a great question, and it appears that the 6.2-release packages
repository has been removed.  Looking in ftp.freebsd.org I see 5-stable,
6-stable, 6.3-release, 7-stable, 7.0-release, and 8-current.  There is
no 6.2-release directory so "pkg_add -r" returns an error for any package
that you try to load.  Very aggravating.

Apparently the release team is only providing packages for the most
recent streams.  I'd like to know why that is, and also why they insist
on listing "packages" under "ports".  The documentation makes it very
clear there is a difference between the two.  Why anyone on the release
team thinks it's intuitive to look for a ready-to-go "package" under
a "ports" directory which has been defined by documentation as something
that needs to be compiled, is a mystery to simpletons like myself.


Disk space is not infinite.  ftp-archive has old releases.  packages are 
built from ports and are part of the ports collection.


Kris

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


Re: System can not boot, seems can not find right partition after add new label

2008-03-15 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Sat, 15 Mar 2008 22:16:58 +
"Kemian Dang" <[EMAIL PROTECTED]> wrote:
 
> Problem is the boot partition can not be found.
> I burned a install cdm using it I find I have set ad4s2 to be
> bootable, so I changed it back.
> But this time, the system said I have missing something on boot...

If you now see ad4s2a but cannot boot, you most probably need 
'bsdlabel -B /dev/ad4a2' to install the proper bootstrap code there
(see bsdlabel manpage).

- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)

iJwEAQEDAAYFAkfcT9kACgkQ/MM/0rYIoZh6VAP/UtaQaQ97nfOC7HzHgTIvr8zQ
ySi82qffZsqBqQtkZdSsBcfaUeMlC7Oxl5MmHYXY47DJVNzLUXDQhbgyGhWrfBBo
62bpZgaLu63lf1lgKV+er3OGIZe+i3b1jAFpYTAjYzt/CMiPHzAoByXoXIA9PFBV
6o+fKdD4F43emgpNRO4=
=VmTq
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /usr/local/www a tradition?

2008-03-15 Thread Modulok
> like system update?
> keep it clean keep it simple
> what will happen if you will decide to update system/software and
> everything will be in random places not where is should be?

I'm not too concerned with that. Automatic system updates are the key
to temporal instability, arguably at the cost of security, but that's
another story best saved for later...

> I dislike the notion of putting project-specific data under /usr/local.
> Config files and the like are easy to control, but large trees should be
> able to live wherever I want them to live.

I concur. I thought it would be easiest to keep all non-system data in
one place (/home), but thought I'd best get the general consensus
first.


You have all been quite helpful. Thank you much.
-Modulok-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: System can not boot, seems can not find right partition after add new label

2008-03-15 Thread Kemian Dang
Thanks for reponse,

Problem is the boot partition can not be found.
I burned a install cdm using it I find I have set ad4s2 to be
bootable, so I changed it back.
But this time, the system said I have missing something on boot...

I do not want to waste too much time on it, as I can have the back up
data, So I re install using the new burned CD...

Best whies,
Kemian

On 15/03/2008, Nikola Lečić <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
>  Hash: RIPEMD160
>
>  On Sat, 15 Mar 2008 11:26:52 +
>  "Kemian Dang" <[EMAIL PROTECTED]> wrote:
>
>   [...]
>
>
>  > I can not remember whether I do something stupid, I just dd
>  > if=/dev/zero of=/dev/ad4s2 to write zero, then when I want to use
>  > bsdlabel to create new slice, but the new slice did not show up. So I
>  > tried sysinstall, still did not work.
>
>
> What exactly did not work? You should use sysinstall (you can use
>  FreeBSD installation CD or liveCD), go to Configure -> Fdisk, then
>  change slice ad4s2 type to 165 and write the changes. I should work.
>
>  Best regards.
>  - --
>  Nikola Lečić = Никола Лечић
>  fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B
>  
>  -BEGIN PGP SIGNATURE-
>  Version: GnuPG v2.0.8 (FreeBSD)
>
>  iJwEAQEDAAYFAkfb9KAACgkQ/MM/0rYIoZiZAgQAmEk5apDER6fA5RP2Ja3Ia73m
>  yAQZeuaqgOaFekLnX5YbB47Hkn6EFzezIhGL22O5vsKTQjWrYpjeMZnvqfqCTloT
>  eLf9T8jXH4qt9yO3FNsT9RKPJWxxuzexn2f6TI6lbjTlzCzD5e5R6k2LGg7+xwZO
>  z8v7c9gauY7UkMsHj6Y=
>  =cOlO
>  -END PGP SIGNATURE-
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Can one list permission bits numerically...

2008-03-15 Thread Modulok
Perhaps I missed it somewhere in the man page, but is there a way to
list files with their permission bits displayed as numeric (octal, as
in chmod(1)), instead of symbolic? Something like:

ls -lF -imaginaryFlag

0755  4 Modulok  Modulok 512 Dec 17 18:39 dir1/
0644  1 Modulok  Modulok  101786 Feb 23 05:53 file1
0644  1 Modulok  Modulok  140097 Feb 13 23:38 file2
...

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


Re: Samba listing same file twice and omitting others

2008-03-15 Thread Rhomel Chinsio
I added
directory name cache size = 0
to smb.conf under [global] and the problem is gone. Thanks for the
reference. I'll have to watch this bug report.

On Sat, Mar 15, 2008 at 12:22 PM, Elliot Finley <[EMAIL PROTECTED]>
wrote:

> Found in FreeBSD-Current:
>
> >With prompting, I found a suitable pre-existing bug report.
> >
> >bugzilla.samba.org bug 4715
> >
> >They added the option to set "directory name cache size = 0" on a per
> share
> >basis.  This has fixed my problems.
>
>
> On Fri, 14 Mar 2008 18:27:25 -0700, you wrote:
>
> >Hi Everyone,
> >
> >I've got freebsd 7.0 RELEASE AMD64 running with samba and ZFS. Everything
> >seems to work, except samba is incorrectly reporting a small chunk of
> files.
> >
> >
> >For certain files, the file appears twice on a windows machine but
> reading
> >from both files yields the same file. For other files, it does not report
> >the file at all. But if you copy the same file again, it will ask you if
> you
> >want to replace the existing file. Additionally if you go onto the
> freebsd
> >box and do an ls on the files, they will appear correctly (missing ones
> show
> >up and duplicates do not).
> >
> >I tried two different windows boxes (vista and windows xp sp2) and both
> >behave the same way. All permissions are set to 777 on all files.
> >
> >Any idea if this is a samba bug?
> >___
> >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: Where is packages-6.2-release?

2008-03-15 Thread Tore Lund
Incoming Mail List wrote:
>> I have only ONE question.
>> Where is packages-6.2-release? I have FreeBSD 6.2, and tuning it.
>> Where I can download packages for my freebsd version?
> 
> Thats a great question, and it appears that the 6.2-release packages
> repository has been removed.  Looking in ftp.freebsd.org I see 5-stable,
> 6-stable, 6.3-release, 7-stable, 7.0-release, and 8-current.  There is
> no 6.2-release directory so "pkg_add -r" returns an error for any package
> that you try to load.  Very aggravating.

Aggravating indeed.  The real question here is why the OP does not
upgrade to 6.3-RELEASE.

I don't see a problem with not providing disk space for such a specific
set of packages, and especially when a number of them can be found on
the ISOs for the release in question.
-- 
Tore

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


CAM errors with 7.0-RELEASE and USB hard drive

2008-03-15 Thread Doug Reynolds

Hello,

I've just hooked up my Western Digital MyBook 750G external usb hard 
drive to my server in order to make some backups.  The drive is formated 
UFS, and it seems to work well.


However, when doing large file transfers (ie, using DUMP or gzip'ing 
files) I keep getting these errors every so often:


Mar 10 20:08:34 hive kernel: umass0: BBB reset failed, TIMEOUT
Mar 10 20:08:34 hive kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 
0 46 de 70 cf 0 0 80 0
Mar 10 20:08:34 hive kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI 
Status Error
Mar 10 20:08:34 hive kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check 
Condition

Mar 10 20:08:34 hive kernel: (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:24,1
Mar 10 20:08:34 hive kernel: (da0:umass-sim0:0:0:0): Reserved ASC/ASCQ pair
Mar 10 20:08:34 hive kernel: (da0:umass-sim0:0:0:0): Retrying Command 
(per Sense Data)
Mar 10 20:09:49 hive kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 
0 46 e4 d1 6f 0 0 80 0
Mar 10 20:09:49 hive kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI 
Status Error
Mar 10 20:09:49 hive kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check 
Condition

Mar 10 20:09:49 hive kernel: (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:24,1
Mar 10 20:09:49 hive kernel: (da0:umass-sim0:0:0:0): Reserved ASC/ASCQ pair
Mar 10 20:09:49 hive kernel: (da0:umass-sim0:0:0:0): Retrying Command 
(per Sense Data)



Every thing *seems* to be working ok, but I really would like to know if 
my backups are actually worth while.


I am running this on a P4-2.5ghz system with 1.5G of ram.  I am using an 
add-in USB 2.0 card (the mb doesn't support 2.0).  The main drive is a 
120G WD.  The onboard controller is also disabled in the BIOS.


my dmesg and uname -a:

FreeBSD hive.wg.local 7.0-RELEASE FreeBSD 7.0-RELEASE #7: Sun Mar  2 
13:46:07 EST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HIVE  i386


Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RELEASE #7: Sun Mar  2 13:46:07 EST 2008
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HIVE
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.50GHz (2500.11-MHz 686-class CPU)
 Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
 
Features=0xbfebf9ff

 Features2=0x4400
real memory  = 1610547200 (1535 MB)
avail memory = 1568702464 (1496 MB)
kbd1 at kbdmux0
acpi0:  on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0:  on acpi0
p4tcc0:  on cpu0
acpi_button0:  on acpi0
acpi_button1:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  on hostb0
agp0: aperture size is 256M
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
vgapci0:  port 0xc000-0xc0ff mem 
0xd000-0xd7ff,0xd900-0xd907 irq 11 at device 0.0 on pci1
xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xd000-0xd03f irq 12 at 
device 9.0 on pci0

miibus0:  on xl0
nsphy0:  PHY 24 on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:60:08:bd:eb:bd
xl0: [ITHREAD]
xl1: <3Com 3c905-TX Fast Etherlink XL> port 0xd400-0xd43f irq 10 at 
device 10.0 on pci0

miibus1:  on xl1
nsphy1:  PHY 24 on miibus1
nsphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl1: Ethernet address: 00:60:08:bd:eb:7e
xl1: [ITHREAD]
ohci0:  mem 0xdb00-0xdb000fff irq 5 at 
device 11.0 on pci0

ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
usb0: OHCI version 1.0
usb0:  on ohci0
usb0: USB revision 1.0
uhub0:  on usb0
uhub0: 3 ports with 3 removable, self powered
ohci1:  mem 0xdb001000-0xdb001fff irq 11 at 
device 11.1 on pci0

ohci1: [GIANT-LOCKED]
ohci1: [ITHREAD]
usb1: OHCI version 1.0
usb1:  on ohci1
usb1: USB revision 1.0
uhub1:  on usb1
uhub1: 2 ports with 2 removable, self powered
ehci0:  mem 0xdb002000-0xdb0020ff irq 
12 at device 11.2 on pci0

ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb2: EHCI version 1.0
usb2: companion controllers, 3 ports each: usb0 usb1
usb2:  on ehci0
usb2: USB revision 2.0
uhub2:  on usb2
uhub2: 5 ports with 5 removable, self powered
umass0:  on uhub2
isab0:  at device 17.0 on pci0
isa0:  on isab0
atapci0:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd800-0xd80f at device 17.1 on pci0

ata0:  on atapci0
ata0: [ITHREAD]
ata1:  on atapci0
ata1: [ITHREAD]
acpi_tz0:  on acpi0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0

sio0: type 16550A
sio0: [FILTER]
atkbdc0:  port 0x60,0x64 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
pmtimer0 on isa0
orm0:  at iomem 0xc-0xcbfff pnpid ORM on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled

Re: Load Averages

2008-03-15 Thread Ivan Voras

Grant Peel wrote:

last pid:  5181;  load averages:  1.00,  1.00,  1.00 up 741+02:47:14 
10:19:56

23 processes:  1 running, 22 sleeping
CPU states:  0.4% user,  0.0% nice,  0.4% system,  0.0% interrupt, 99.2% 
idle

Mem: 34M Active, 102M Inact, 44M Wired, 9924K Cache, 35M Buf, 58M Free
Swap: 516M Total, 1416K Used, 514M Free

 PID USERNAME PRI NICE  SIZERES STATETIME   WCPUCPU COMMAND
5181 root  28   0  1888K  1004K RUN  0:00  1.35%  0.24% top
4988 root   2   0 12084K 11540K select   0:36  0.10%  0.10% named
 182 root  10   0   208K 0K nfsidl   6:05  0.00%  0.00% nfsiod
92063 root  10   0   968K   628K nanslp   4:12  0.00%  0.00% cron
 172 root   2   0   940K   428K select   2:52  0.00%  0.00% syslogd
 183 root  10   0   208K 0K nfsidl   2:36  0.00%  0.00% nfsiod
 184 root  10   0   208K 0K nfsidl   1:57  0.00%  0.00% nfsiod
 211 root   2   0   904K   352K select   1:49  0.00%  0.00% usbd
 185 root  10   0   208K 0K nfsidl   0:28  0.00%  0.00% nfsiod
38935 root   2   0  2100K   784K select   0:11  0.00%  0.00% sshd


It looks harmless - the system is mostly idle. Maybe it's an accounting bug.

Does the "last pid" field increase? I don't know if 4.x has the "show 
system threads mode" but you might want to try hitting "S" in top and 
see if it shows kernel-mode processes.





signature.asc
Description: OpenPGP digital signature


Re: C compiler issue perhaps?

2008-03-15 Thread Derek Ragona

At 12:02 PM 3/15/2008, Chuck Robey wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Derek Ragona wrote:
> At 05:10 PM 3/14/2008, Doug Hardie wrote:
>> I have a program I was testing with gdb.  I was trying to figure out
>> why c.rmonths was always zero when it should have been 6.  Stepped
>> through using the gdb n command.  Here is the output:
>>
>> (gdb)
>> 215 c.rmonths = (edate - tdate) / toMONTHS;
>> (gdb)
>> 223 c.dial_in = u.dial_in[0];
>> (gdb)
>> 224 c.dsl = u.dsl[0];
>> (gdb) p c.rmonths
>> $1 = 0
>> (gdb) p c
>> $2 = {fa = 0, pwp = 0, disp_email = 0, imonths = 0, rmonths = 6,
>>   type = 73 'I', cd = 0 '\0', dial_in = 82 'R', dsl = 0 '\0',
>>   dsl_kit = 0 '\0', ip = 0 '\0', domain = 0 '\0', n_domain = 0 '\0',
>>   renewal = 89 'Y', program = "I\000\000"}
>> (gdb) p c->rmonths
>> $3 = 6
>> (gdb) p c.rmonths
>> $4 = 6
>>
>>
>> Notice, the first time i print it its zero.  The second time its 6.
>> What gives here?  I have seen this before but couldn't pin it down.
>> The program is not compiled with any optimization.  It is in a shared
>> library though.
>
> It is hard to tell without the code you used.  I would put some printf's
> in the code and see what and when that variable gets set to in actual
> running code.

2points:

(1) yes, you are right, without the source code, any guesses are at the
same level as black magic, useless
(2) if the user is learning to use gdb, then it is really bad manners to
suggest that printfs should be used.  While I  have made massive use
of printfs before I got used to gdb, gdb is incredibly more powerful,
can do any and all that any prints might accomplish, and anyone who
is willing to learn to use that debugger should be encouraged, not
given bad habits that really should be a fallback only to environments
where gdb won't work.


Chuck,

On your point 2 let me say that there are simply times when a developer 
needs to check run-time code versus running the code in a 
debugger.  Debuggers are a great tool, but they do cause some side-effects 
as was noted in the original post.  If the debugger is not consistent in 
the variable values, it is of little use if those values are causing a 
problem.  What I originally suggested was using conditionally compiled 
fprintf's to check those variable values running the program by itself 
instead of inside gdb.  I know adding additional code, even just fprintf's, 
can change the way a program is compiled and optimized.  But this at least 
gives another way to validate the variables.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


IPFW / Dummynet problem

2008-03-15 Thread Jay L. T. Cornwall
Hi,

My FreeBSD machine is configured as a bridge between two networks:

|-||-|
| LAN | ---> vr0 <--bridge0--> vr1 --> | WAN |
|-||-|

The following firewall ruleset works fine:

add 00600 allow all from any to any via vr0 keep-state
add 00610 allow tcp from any to any 22 in via vr1 setup keep-state
add 00611 allow tcp from any to any 23 in via vr1 setup keep-state
add 00612 allow tcp from any to any 113 in via vr1 setup keep-state
add 00613 allow icmp from any to any icmptypes 11
add 00620 check-state
add 00630 deny all from any to any via vr1
add 00640 allow all from 192.168.1.30 to any
add 00641 allow all from any to 192.168.1.30

I then add the following dummynet rules before these. The LAN continues
to work (queueing is only applied to the vr1 WAN interface), the WAN
continues to work from the bridge machine itself (192.168.1.30) but
outbound HTTP connections from any client on the LAN fail.

pipe 1 config bw 2Mbit/s queue 1
pipe 2 config bw 256Kbit/s queue 1
queue 1 config weight 10 pipe 1 queue 20 mask dst-ip 0x
queue 2 config weight 10 pipe 2 queue 20 mask src-ip 0x
queue 3 config weight 2 pipe 1 queue 100 mask dst-ip 0x
queue 4 config weight 2 pipe 2 queue 10 mask src-ip 0x
queue 5 config weight 1 pipe 1 queue 100 mask dst-ip 0x
queue 6 config weight 1 pipe 2 queue 10 mask src-ip 0x
add 00500 queue 1 tcp from any to any in via vr1 tcpflags ack iplen 0-52
add 00501 queue 2 tcp from any to any out via vr1 tcpflags ack iplen 0-52
add 00510 queue 3 udp from any to any in via vr1
add 00511 queue 4 udp from any to any out via vr1
add 00512 queue 3 tcp from any to any 22 in via vr1
add 00513 queue 4 tcp from any to any 22 out via vr1
add 00514 queue 3 tcp from any to any 993 in via vr1
add 00515 queue 4 tcp from any to any 993 out via vr1
add 00520 queue 5 all from any to any in via vr1
add 00521 queue 6 all from any to any out via vr1

I don't understand how queueing rules could affect the passing of any
packet, except in delay? They do seem to match the queueing rules, e.g.
rules 00520 and 00521 accumulate packets as connection attempts are
made. Outbound packets even seem to pass to the WAN, so I can only
assume it is an inbound/stateful problem?

00100  52   4548 allow ip from any to any via lo0
00200   0  0 deny ip from any to 127.0.0.0/8
00300   0  0 deny ip from 127.0.0.0/8 to any
00500  30   1420 queue 1 tcp from any to any in via vr1 tcpflags ack
iplen 0-52
00501   9390 queue 2 tcp from any to any out via vr1 tcpflags ack
iplen 0-52
00510   2152 queue 3 udp from any to any in via vr1
00511   7528 queue 4 udp from any to any out via vr1
00512   0  0 queue 3 tcp from any to any dst-port 22 in via vr1
00513   0  0 queue 4 tcp from any to any dst-port 22 out via vr1
00514   0  0 queue 3 tcp from any to any dst-port 993 in via vr1
00515  18   1228 queue 4 tcp from any to any dst-port 993 out via vr1
00520  26   1988 queue 5 ip from any to any in via vr1
00521  17964 queue 6 ip from any to any out via vr1
00600 163  10082 allow ip from any to any via vr0 keep-state
00610   0  0 allow tcp from any to any dst-port 22 in via vr1 setup
keep-state
00611   0  0 allow tcp from any to any dst-port 23 in via vr1 setup
keep-state
00612   0  0 allow tcp from any to any dst-port 113 in via vr1 setup
keep-state
00613   0  0 allow icmp from any to any icmptypes 11
00620   0  0 check-state
00630   0  0 deny ip from any to any via vr1
00640 405 102681 allow ip from 192.168.1.30 to any
00641 647  48255 allow ip from any to 192.168.1.30
65535  18   3086 deny ip from any to any

Thanks for any light you can shed on this.

-- 
Jay L. T. Cornwall
http://www.jcornwall.me.uk/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail: from virtual address changed to maindomain

2008-03-15 Thread Roberto Nunnari

Hello Matthew.
Thank you for your reply.

please see my comments below.


Matthew Seaman wrote:

Roberto Nunnari wrote:

yes. here it is.

Thank you.
Robi.


Wojciech Puchar wrote:


entries in hostname.mc
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
FEATURE(genericstable, `hash -o /etc/mail/genericstable')
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')

MX hostnames are all A records.

well, as long as the users receive/send emails from/to external domains
everything works just fine, but when:

[EMAIL PROTECTED] sends to [EMAIL PROTECTED] or viceversa

the message gets to the right user, but the from header is
changed to [EMAIL PROTECTED], mailbox that doesn't exists!


could you please show whole hostname.mc



I assume that you've commented out all of the MASQUERADE and GENERICS stuff
as part of your attempt to debug the problem and that you ultimately intend
to enable those capabilities.


Not sure.. I had masquerading enabled long ago.. but then I took
it out and it was working just fine, because the host is already
in the right domain.. but now that I need to add virtualdomains
I think I may need it.. right?




Hmmm... not entirely certain, but I believe the part you are missing is:

FEATURE(limited_masquerade)dnl


Tried that, but doesn't help.. but.. one thing that looks odd
to me is this:
# sendmail -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter  
> /map generics a
Map named "generics" not found
>
> /map virtuser a
map_lookup: virtuser (a) no match (0)


see? it says that it doesn't know about the generics map!

Any more thoughts on this, please?

Best regards.
Robi




This causes sendmail to only apply masquerading to the domains listed in
class {M} -- ie. what is listed in /etc/mail/generics-domains.  Without
that sendmail will also masquerade for any host in class {w} which includes
any contents of /etc/mail/local-host-names,  all the interfaces of your
server by IP and any names those interfaces resolve into as well.  You
can see what the resulting lists are on your system by running

  sendmail -bt

and then typing $=w or $=M at the prompt.

Cheers,

Matthew



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


Re: Where is packages-6.2-release?

2008-03-15 Thread Glen Barber
I forgot to add -- you can change the default ftp server for pkg_add:
setenv PACKAGESITE 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/{YOUR_ARCH}/{FREEBSD_VERSION}/Latest

-- 
Glen Barber
(570)328-0318
http://www.dev-urandom.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Samba listing same file twice and omitting others

2008-03-15 Thread Elliot Finley
Found in FreeBSD-Current:

>With prompting, I found a suitable pre-existing bug report.
>
>bugzilla.samba.org bug 4715
>
>They added the option to set "directory name cache size = 0" on a per share 
>basis.  This has fixed my problems.


On Fri, 14 Mar 2008 18:27:25 -0700, you wrote:

>Hi Everyone,
>
>I've got freebsd 7.0 RELEASE AMD64 running with samba and ZFS. Everything
>seems to work, except samba is incorrectly reporting a small chunk of files.
>
>
>For certain files, the file appears twice on a windows machine but reading
>from both files yields the same file. For other files, it does not report
>the file at all. But if you copy the same file again, it will ask you if you
>want to replace the existing file. Additionally if you go onto the freebsd
>box and do an ls on the files, they will appear correctly (missing ones show
>up and duplicates do not).
>
>I tried two different windows boxes (vista and windows xp sp2) and both
>behave the same way. All permissions are set to 777 on all files.
>
>Any idea if this is a samba bug?
>___
>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: Where is packages-6.2-release?

2008-03-15 Thread Incoming Mail List


>I have only ONE question.
>Where is packages-6.2-release? I have FreeBSD 6.2, and tuning it.
>Where I can download packages for my freebsd version?

Thats a great question, and it appears that the 6.2-release packages
repository has been removed.  Looking in ftp.freebsd.org I see 5-stable,
6-stable, 6.3-release, 7-stable, 7.0-release, and 8-current.  There is
no 6.2-release directory so "pkg_add -r" returns an error for any package
that you try to load.  Very aggravating.

Apparently the release team is only providing packages for the most
recent streams.  I'd like to know why that is, and also why they insist
on listing "packages" under "ports".  The documentation makes it very
clear there is a difference between the two.  Why anyone on the release
team thinks it's intuitive to look for a ready-to-go "package" under
a "ports" directory which has been defined by documentation as something
that needs to be compiled, is a mystery to simpletons like myself.


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


Re: Where is packages-6.2-release?

2008-03-15 Thread Glen Barber
Yandex.RU said: 
> 
> I have only ONE question.
> Where is packages-6.2-release? I have FreeBSD 6.2, and tuning it.
> Where I can download packages for my freebsd version?
> 

That is two questions.  packages-6.2-release is gone, because
6.2-RELEASE has passed its EOL.  

For 6.X packages, you have a choice of packages-6.3-release or
packages-6-stable. 


-- 
Glen Barber
http://www.dev-urandom.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Compile error, kde related?

2008-03-15 Thread Leslie Jensen


Mel skrev:

On Saturday 15 March 2008 18:10:00 Leslie Jensen wrote:

portupgrade -Rf x11-toolkits/qt33
If uic still does not show linked to libthr, I have no clue what causes
that on your system. I'd inspect /etc/libmap.conf, /etc/make.conf, the
config.log for qt33 and the final link command that produces the uic
binary.

I just did
bsdpc01# pkg_info | grep qt3
and found no qt33 installed!


That could be, cause the port is called qt33 but the package once installed 
qt-3 or qt-copy-3 :P

Better: pkg_info qt-*


Now after portupgrade -Rf x11-toolkits/qt33 is seems as if I still have 
the problem.


bsdpc01# ldd /usr/local/bin/uic
/usr/local/bin/uic:
libqt-mt.so.3 => /usr/local/lib/libqt-mt.so.3 (0x280d)
libmng.so.1 => /usr/local/lib/libmng.so.1 (0x287b2000)
libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x28813000)
libpng.so.5 => /usr/local/lib/libpng.so.5 (0x28832000)
libz.so.4 => /lib/libz.so.4 (0x28857000)
libXi.so.6 => /usr/local/lib/libXi.so.6 (0x28869000)
libXrender.so.1 => /usr/local/lib/libXrender.so.1 (0x28871000)
libXrandr.so.2 => /usr/local/lib/libXrandr.so.2 (0x28879000)
libXcursor.so.1 => /usr/local/lib/libXcursor.so.1 (0x2888)
libXinerama.so.1 => /usr/local/lib/libXinerama.so.1 (0x28889000)
libXft.so.2 => /usr/local/lib/libXft.so.2 (0x2888c000)
libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x2889e000)
libfontconfig.so.1 => /usr/local/lib/libfontconfig.so.1 
(0x2890c000)

libXext.so.6 => /usr/local/lib/libXext.so.6 (0x28936000)
libX11.so.6 => /usr/local/lib/libX11.so.6 (0x28944000)
libSM.so.6 => /usr/local/lib/libSM.so.6 (0x28a31000)
libICE.so.6 => /usr/local/lib/libICE.so.6 (0x28a39000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x28a5)
libm.so.5 => /lib/libm.so.5 (0x28b45000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x28b5a000)
libc.so.7 => /lib/libc.so.7 (0x28b65000)
libaudio.so.2 => /usr/local/lib/libaudio.so.2 (0x28c61000)
libXt.so.6 => /usr/local/lib/libXt.so.6 (0x28c77000)
liblcms.so.1 => /usr/local/lib/liblcms.so.1 (0x28cc7000)
libXfixes.so.3 => /usr/local/lib/libXfixes.so.3 (0x28cf7000)
libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x28cfc000)
libXau.so.6 => /usr/local/lib/libXau.so.6 (0x28d1c000)
libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x28d1f000)
librpcsvc.so.4 => /usr/lib/librpcsvc.so.4 (0x28d24000)


What do you suggest I do now?

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


Where is packages-6.2-release?

2008-03-15 Thread Yandex.RU
Hello!

I have only ONE question.
Where is packages-6.2-release? I have FreeBSD 6.2, and tuning it.
Where I can download packages for my freebsd version?

I wait for reply!

defenderx, with love :)

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


Re: A couple of questions about 7.0-RELEASE and X11

2008-03-15 Thread Gordon devel
The configure program is now /usr/local/bin/xorgconfig .

You might also want to try 'X -configure' , which does some hardware
probing and puts a best guess configure file in /root/xorg.conf.new .

The X documentation can still be a bit sketchy.  Above advice came
from books.

Cheers,
Gordon

On Sat, Mar 15, 2008 at 11:36:36PM +1000, Robert Chalmers wrote:
> I have just installed the new 7.0-RELEASE shown on the www.freebsd.org home
> page  ( still confused as to whether this is CURRENT or STABLE ) and trying
> to get X working.
> 
> It doesn't appear to have xorgcfg in it anywhere? Has this handy program
> been abandoned?
> 
> I'm running it on an old SAMTRON 5Ei monitor of unknown HorizontalSync and
> VerticalSync patterns, and the card type is reported as S3. 
> 
> There are a couple of ways to configure the xorg.conf file available - but
> none seem to be producing any useable results.
> 
> The handbook is clear and concise - but none of it works.
> 
>  
> 
> I did a clean install of 7.0 and put X on at the time. But even the manual
> talks about xorgcfg - but its no where to be found? Should it be there? Or
> has it been discontinued?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail: from virtual address changed to maindomain

2008-03-15 Thread Matthew Seaman

Roberto Nunnari wrote:

yes. here it is.

Thank you.
Robi.


Wojciech Puchar wrote:


entries in hostname.mc
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
FEATURE(genericstable, `hash -o /etc/mail/genericstable')
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')

MX hostnames are all A records.

well, as long as the users receive/send emails from/to external domains
everything works just fine, but when:

[EMAIL PROTECTED] sends to [EMAIL PROTECTED] or viceversa

the message gets to the right user, but the from header is
changed to [EMAIL PROTECTED], mailbox that doesn't exists!


could you please show whole hostname.mc



I assume that you've commented out all of the MASQUERADE and GENERICS stuff
as part of your attempt to debug the problem and that you ultimately intend
to enable those capabilities.

Hmmm... not entirely certain, but I believe the part you are missing is:

FEATURE(limited_masquerade)dnl

This causes sendmail to only apply masquerading to the domains listed in
class {M} -- ie. what is listed in /etc/mail/generics-domains.  Without
that sendmail will also masquerade for any host in class {w} which includes
any contents of /etc/mail/local-host-names,  all the interfaces of your
server by IP and any names those interfaces resolve into as well.  You
can see what the resulting lists are on your system by running

  sendmail -bt

and then typing $=w or $=M at the prompt.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Compile error, kde related?

2008-03-15 Thread Leslie Jensen


That could be, cause the port is called qt33 but the package once installed 
qt-3 or qt-copy-3 :P

Better: pkg_info qt-*


Yes I realised that after I wrote my mail.
I'm in the progress of
portupgrade -Rf x11-toolkits/qt33
I'll report back when it's done.
/Leslie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Compile error, kde related?

2008-03-15 Thread Mel
On Saturday 15 March 2008 18:10:00 Leslie Jensen wrote:
> > portupgrade -Rf x11-toolkits/qt33
> > If uic still does not show linked to libthr, I have no clue what causes
> > that on your system. I'd inspect /etc/libmap.conf, /etc/make.conf, the
> > config.log for qt33 and the final link command that produces the uic
> > binary.
>
> I just did
> bsdpc01# pkg_info | grep qt3
> and found no qt33 installed!

That could be, cause the port is called qt33 but the package once installed 
qt-3 or qt-copy-3 :P
Better: pkg_info qt-*
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Compile error, kde related?

2008-03-15 Thread Leslie Jensen




portupgrade -Rf x11-toolkits/qt33
If uic still does not show linked to libthr, I have no clue what causes that 
on your system. I'd inspect /etc/libmap.conf, /etc/make.conf, the config.log 
for qt33 and the final link command that produces the uic binary.




I just did
bsdpc01# pkg_info | grep qt3
and found no qt33 installed!
So I'll start with installing it :-)

I'm not sure what to do with uic but maybe that'll clear when it's 
installed.


If the kdebase port needs qt33 to build, shouldn't it be installed as a 
dependency?


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


Re: C compiler issue perhaps?

2008-03-15 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Derek Ragona wrote:
> At 05:10 PM 3/14/2008, Doug Hardie wrote:
>> I have a program I was testing with gdb.  I was trying to figure out
>> why c.rmonths was always zero when it should have been 6.  Stepped
>> through using the gdb n command.  Here is the output:
>>
>> (gdb)
>> 215 c.rmonths = (edate - tdate) / toMONTHS;
>> (gdb)
>> 223 c.dial_in = u.dial_in[0];
>> (gdb)
>> 224 c.dsl = u.dsl[0];
>> (gdb) p c.rmonths
>> $1 = 0
>> (gdb) p c
>> $2 = {fa = 0, pwp = 0, disp_email = 0, imonths = 0, rmonths = 6,
>>   type = 73 'I', cd = 0 '\0', dial_in = 82 'R', dsl = 0 '\0',
>>   dsl_kit = 0 '\0', ip = 0 '\0', domain = 0 '\0', n_domain = 0 '\0',
>>   renewal = 89 'Y', program = "I\000\000"}
>> (gdb) p c->rmonths
>> $3 = 6
>> (gdb) p c.rmonths
>> $4 = 6
>>
>>
>> Notice, the first time i print it its zero.  The second time its 6.
>> What gives here?  I have seen this before but couldn't pin it down.
>> The program is not compiled with any optimization.  It is in a shared
>> library though.
> 
> It is hard to tell without the code you used.  I would put some printf's
> in the code and see what and when that variable gets set to in actual
> running code.

2points:

(1) yes, you are right, without the source code, any guesses are at the
same level as black magic, useless
(2) if the user is learning to use gdb, then it is really bad manners to
suggest that printfs should be used.  While I  have made massive use
of printfs before I got used to gdb, gdb is incredibly more powerful,
can do any and all that any prints might accomplish, and anyone who
is willing to learn to use that debugger should be encouraged, not
given bad habits that really should be a fallback only to environments
where gdb won't work.

> 
> -Derek
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH3AE2z62J6PPcoOkRAsOeAJ9ZcF4K9Rtonrw5oQXVF3opoxvBjgCcDGJR
szL8DpVrdPjMMpV4+I+bTg0=
=RKOo
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail: from virtual address changed to maindomain

2008-03-15 Thread Roberto Nunnari

yes. here it is.

Thank you.
Robi.


Wojciech Puchar wrote:


entries in hostname.mc
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
FEATURE(genericstable, `hash -o /etc/mail/genericstable')
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')

MX hostnames are all A records.

well, as long as the users receive/send emails from/to external domains
everything works just fine, but when:

[EMAIL PROTECTED] sends to [EMAIL PROTECTED] or viceversa

the message gets to the right user, but the from header is
changed to [EMAIL PROTECTED], mailbox that doesn't exists!


could you please show whole hostname.mc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
divert(-1)
#
# Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988, 1993
#   The Regents of the University of California.  All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#notice, this list of conditions and the following disclaimer in the
#documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
#must display the following acknowledgement:
#   This product includes software developed by the University of
#   California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its contributors
#may be used to endorse or promote products derived from this software
#without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#

#
#  This is a generic configuration file for FreeBSD 5.X and later systems.
#  If you want to customize it, copy it to a name appropriate for your
#  environment and do the modifications there.
#
#  The best documentation for this .mc file is:
#  /usr/share/sendmail/cf/README or
#  /usr/src/contrib/sendmail/cf/README
#

divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.29 2003/12/24 21:15:09 
gshapiro Exp $')
OSTYPE(freebsd6)
DOMAIN(generic)

FEATURE(access_db, `hash -o -T /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
FEATURE(genericstable, `hash -o /etc/mail/genericstable')
dnl FEATURE(`stikyhost')
dnl FEATURE(always_add_domain)
dnl FEATURE(`always_add_domain')
dnl FEATURE(`generics_entire_domain')
dnl FEATURE(`virtuser_entire_domain')

FEATURE(`dnsbl', `relays.ordb.org', `"550 Email rejected due to sending server 
misconfiguration - see http://www.ordb.org/faq/\#why_rejected";')dnl
FEATURE(`dnsbl', `sbl.spamhaus.org', `"550 Mail from " $`'&{client_addr} " 
refused - see http://www.spamhaus.org/sbl/";')
FEATURE(`dnsbl', `list.dsbl.org', `"550 Mail from " $`'&{client_addr} " refused 
- see http://dsbl.org/";')
FEATURE(`dnsbl', `bl.spamcop.net', `"450 Mail from " $`'&{client_addr} " 
refused - see http://spamcop.net/bl.shtml";')
dnl FEATURE(`genericstable')
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')

INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, F=, 
T=C:15m;S:4m;R:4m;E:10m')
define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name}, 
{if_addr}')dnl

define(`confCW_FILE', `-o /etc/mail/local-host-names')

dnl Enable for both IPv4 and IPv6 (optional)
DAEMON_OPTIONS(`Name=IPv4, Family=inet')
#DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')

define(`confBIND_OPTS', `WorkAroundBroken')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
dnl define(`confDOMAIN_NAME', `jupiter.nunnisoft.ch')
dnl MASQUERADE_AS(`maindomain.com')
dnl MASQUERADE_DOMAIN_FILE(`/etc/mail/masquerade-domains')
MAILER(local)
MAILER(smtp)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd

Re: Headless Azureus with any X11 Dependencies ??

2008-03-15 Thread Christian Zachariasen
I can, from the bottom of my heart, recommend TorrentFlux (
http://www.torrentflux.com). I used it for over two years on my shared
server and it worked great. The great thing is - it's in ports!
(/net-p2p/torrentflux).

On Fri, Mar 14, 2008 at 6:22 PM, Wael Nasreddine <[EMAIL PROTECTED]> wrote:

> This One Time, at Band Camp, Wojciech Puchar <
> [EMAIL PROTECTED]> said, On Fri, Mar 14, 2008 at 06:11:28PM
> +0100:
> >> I have a server at home, I use it as a mail server, as well as P2P
> >> instead of running P2P on my Laptop, I run it on the server and I just
> >> use clients to control it...
> >
> > isn't azureus a torrent program.
> >
> Yes it is.
>
> > use rtorrent, it's text mode and is fast
> >
> rtorrent is a fast text mode, but It has no WEB controller and no
> multiuser :S
>
> I require WEB Controler + Multiuser because my uncle uses my server to
> download torrents as his ISP filter P2P packets...
>
> Thanks.
>
> --
> Wael Nasreddine
> http://wael.nasreddine.com
> PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2
>
> .: An infinite number of monkeys typing into GNU emacs,
>   would never make a good program. (L. Torvalds 1995) :.
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: System can not boot, seems can not find right partition after add new label

2008-03-15 Thread Nikola Lečić
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

On Sat, 15 Mar 2008 11:26:52 +
"Kemian Dang" <[EMAIL PROTECTED]> wrote:

 [...]
 
> I can not remember whether I do something stupid, I just dd
> if=/dev/zero of=/dev/ad4s2 to write zero, then when I want to use
> bsdlabel to create new slice, but the new slice did not show up. So I
> tried sysinstall, still did not work.

What exactly did not work? You should use sysinstall (you can use
FreeBSD installation CD or liveCD), go to Configure -> Fdisk, then
change slice ad4s2 type to 165 and write the changes. I should work.

Best regards.
- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)

iJwEAQEDAAYFAkfb9KAACgkQ/MM/0rYIoZiZAgQAmEk5apDER6fA5RP2Ja3Ia73m
yAQZeuaqgOaFekLnX5YbB47Hkn6EFzezIhGL22O5vsKTQjWrYpjeMZnvqfqCTloT
eLf9T8jXH4qt9yO3FNsT9RKPJWxxuzexn2f6TI6lbjTlzCzD5e5R6k2LGg7+xwZO
z8v7c9gauY7UkMsHj6Y=
=cOlO
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Compile error, kde related?

2008-03-15 Thread Mel
On Saturday 15 March 2008 10:04:21 Leslie Jensen wrote:
> > There's your problem. I don't see a libpthread or better on 7.x a
> > libthr.so linked in:
> >
> > libthr.so.3 => /lib/libthr.so.3 (0x38b55000)
> >
> > is what it shows on my 7.x system.
> >
> > So the question is, why isn't qt built with thread support. I don't see
> > how that's possible with the current ports makefile.
> > Do you have a file /lib/libthr.so*?
>
> Yes I do.
>
> bsdpc01# find /lib | grep "libthr.so"
> /lib/libthr.so.3
>
> So what do you suggest I do now?
>

portupgrade -Rf x11-toolkits/qt33
If uic still does not show linked to libthr, I have no clue what causes that 
on your system. I'd inspect /etc/libmap.conf, /etc/make.conf, the config.log 
for qt33 and the final link command that produces the uic binary.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Virtualized FreeBSD

2008-03-15 Thread Tech Valley Internet - Tony Kivits

At 02:41 AM 3/15/2008, Dick Hoogendijk wrote:

On Sat, 15 Mar 2008 09:08:02 +0100 (CET)
Wojciech Puchar <[EMAIL PROTECTED]> wrote:

> > I am currently running CentOS on a bunch of virtualized guest os's
> > but need to upgrade them.  I see that FreeBSD 7.0 is virtualized.
> > Given a choice, I would rather use FreeBSD because of the ease of
> > use of keeping the ports current.
> >
> > I am just wondering if anyone has used the virtualized FreeBSD in a
> > producton environment and if so what are the pros and cons?
>
> what is "virtualized FreeBSD"?
>
> if you mean FreeBSD jails - yes it runs fine, i use them on 6.3p1

I think it's obvious he means running freebsd as a guest OS on some
kind of VM (VMWare, VirtualBox)
Yes Xen specifically. 


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


Re: Virtualized FreeBSD

2008-03-15 Thread Tech Valley Internet - Tony Kivits

At 01:08 AM 3/15/2008, Wojciech Puchar wrote:
I am currently running CentOS on a bunch of virtualized guest os's 
but need to upgrade them.  I see that FreeBSD 7.0 is 
virtualized.  Given a choice, I would rather use FreeBSD because of 
the ease of use of keeping the ports current.


I am just wondering if anyone has used the virtualized FreeBSD in a 
producton environment and if so what are the pros and cons?


what is "virtualized FreeBSD"?

if you mean FreeBSD jails - yes it runs fine, i use them on 6.3p1


Sorry, I meant virtualized as in a guest os under Xen.

Thanks 


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


freebsd 7.0 sshd authenticating against ldap core dumping

2008-03-15 Thread Dave

Hello,
Is anyone using ldap authentication with 7.0? I've got a 7.0-release box 
that i'm trying to get ldap authentication working with. The 7.0 box is the 
client in this case. I'm encrypting connections with tls, which is working. 
On the box itself i can do an ldapsearch for a user and an id for a user 
plus ls -l information on users shows up correctly. I've added ldap to my 
/etc/nsswitch.conf file. So far nothing has blown up, i can still log in as 
normal. My issue comes when i add the line:


auth sufficient /usr/local/lib/pam_ldap.so try_first_pass

to /etc/pam.d/sshd and restart sshd. Now whenever i try to log in either as 
a local user, nonldap or as an ldap user sshd exits with a signal 11, this 
only occurs with that line in pam.d/sshd, remove it and restart and all is 
well. I've googled and seen others with this but with no solution. My logs 
show sshd exiting with the signal 11 then nothing. An ssh -v -v -v shows the 
connection is closed after the file ~/.ssh/identity is searched for.

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


Load Averages

2008-03-15 Thread Grant Peel

Hi all,

I have a machine that has be up now for a little over two years:

voyager ROOT /var/log > w
10:15AM  up 741 days,  2:42, 1 user, load averages: 1.06, 1.02, 1.00
USER TTY  FROM  LOGIN@  IDLE WHAT
p0    10:08AM - w

and as you can see from the 'w' output above, the load average is running 
about 1.00 for all three timeframes.


This machine is a nameserver only and has only a few processes running on 
it. I have tried shutting down all but the very necessary of processes and 
the 1-5-15 minute averages stay the same. This has only started over the 
past week. At the start of last week, my mrtg graphs showed it spiked at 
1.00 for about an hour, then subsided. It did the same a few days later, and 
today, has been at 1.00 since about midnight.


This machine is a Dell PE 500SC (Vintage about 2002), and is running FreeBSD 
4.4.


Questions:

Is there another way (other than top or ps) that will show what is causing 
the spike? ps and top are showing nothing.


Should I be worried?

COuld this be an indication of a hardware problem?

Here is the top output:

last pid:  5181;  load averages:  1.00,  1.00,  1.00 
up 741+02:47:14 10:19:56

23 processes:  1 running, 22 sleeping
CPU states:  0.4% user,  0.0% nice,  0.4% system,  0.0% interrupt, 99.2% 
idle

Mem: 34M Active, 102M Inact, 44M Wired, 9924K Cache, 35M Buf, 58M Free
Swap: 516M Total, 1416K Used, 514M Free

 PID USERNAME PRI NICE  SIZERES STATETIME   WCPUCPU COMMAND
5181 root  28   0  1888K  1004K RUN  0:00  1.35%  0.24% top
4988 root   2   0 12084K 11540K select   0:36  0.10%  0.10% named
 182 root  10   0   208K 0K nfsidl   6:05  0.00%  0.00% nfsiod
92063 root  10   0   968K   628K nanslp   4:12  0.00%  0.00% cron
 172 root   2   0   940K   428K select   2:52  0.00%  0.00% syslogd
 183 root  10   0   208K 0K nfsidl   2:36  0.00%  0.00% nfsiod
 184 root  10   0   208K 0K nfsidl   1:57  0.00%  0.00% nfsiod
 211 root   2   0   904K   352K select   1:49  0.00%  0.00% usbd
 185 root  10   0   208K 0K nfsidl   0:28  0.00%  0.00% nfsiod
38935 root   2   0  2100K   784K select   0:11  0.00%  0.00% sshd
5102 root   2   0  2144K  1332K select   0:00  0.00%  0.00% sshd
4984 root   2   0  6760K  6052K select   0:00  0.00%  0.00% perl
5107 root  18   0  1296K   816K pause0:00  0.00%  0.00% csh
5103 gpeel 18   0  1292K   820K pause0:00  0.00%  0.00% tcsh
 291 root   3   0   944K   288K ttyin0:00  0.00%  0.00% getty
 292 root   3   0   944K   288K ttyin0:00  0.00%  0.00% getty
 295 root   3   0   944K   288K ttyin0:00  0.00%  0.00% getty
 293 root   3   0   944K   288K ttyin0:00  0.00%  0.00% getty
 315 root   3   0   944K   288K ttyin0:00  0.00%  0.00% getty
 290 root   3   0   944K   288K ttyin0:00  0.00%  0.00% getty
 294 root   3   0   944K   288K ttyin0:00  0.00%  0.00% getty
 289 root   3   0   944K   288K ttyin0:00  0.00%  0.00% getty
  28 root  18   0   208K 0K pause0:00  0.00%  0.00% adjkerntz

and here is ps:

voyager ROOT /var/log > ps -ax
 PID  TT  STAT  TIME COMMAND
   0  ??  DLs0:40.00  (swapper)
   1  ??  ILs0:00.85 /sbin/init --
   2  ??  DL 1:55.25  (pagedaemon)
   3  ??  DL 0:00.00  (vmdaemon)
   4  ??  DL 9:38.95  (bufdaemon)
   5  ??  DL   1151:29.78  (syncer)
  28  ??  Is 0:00.00 adjkerntz -i
 172  ??  Ss 2:52.26 /usr/sbin/syslogd -s
 182  ??  I  6:05.35 nfsiod -n 4
 183  ??  I  2:35.51 nfsiod -n 4
 184  ??  I  1:56.52 nfsiod -n 4
 185  ??  I  0:27.87 nfsiod -n 4
 211  ??  Is 1:49.09 /usr/sbin/usbd
4984  ??  Ss 0:00.09 /usr/bin/perl /usr/local/webmin-1.320/miniserv.pl 
/etc/webmin/miniserv.co

4988  ??  Ss 0:35.94 named
5102  ??  S  0:00.31 sshd: *** (sshd)
38935  ??  Is 0:11.12 /usr/sbin/sshd
92063  ??  Is 4:11.62 cron
5103  p0  Is 0:00.02 -tcsh (tcsh)
5107  p0  S  0:00.05 _su (csh)
5195  p0  R+ 0:00.00 ps -ax
 315  v0  Is+0:00.00 /usr/libexec/getty Pc ttyv0
 289  v1  Is+0:00.00 /usr/libexec/getty Pc ttyv1
 290  v2  Is+0:00.00 /usr/libexec/getty Pc ttyv2
 291  v3  Is+0:00.00 /usr/libexec/getty Pc ttyv3
 292  v4  Is+0:00.00 /usr/libexec/getty Pc ttyv4
 293  v5  Is+0:00.00 /usr/libexec/getty Pc ttyv5
 294  v6  Is+0:00.00 /usr/libexec/getty Pc ttyv6
 295  v7  Is+0:00.00 /usr/libexec/getty Pc ttyv7

TIA,

-Grant 


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


A couple of questions about 7.0-RELEASE and X11

2008-03-15 Thread Robert Chalmers
I have just installed the new 7.0-RELEASE shown on the www.freebsd.org home
page  ( still confused as to whether this is CURRENT or STABLE ) and trying
to get X working.

It doesn't appear to have xorgcfg in it anywhere? Has this handy program
been abandoned?

I'm running it on an old SAMTRON 5Ei monitor of unknown HorizontalSync and
VerticalSync patterns, and the card type is reported as S3. 

There are a couple of ways to configure the xorg.conf file available - but
none seem to be producing any useable results.

The handbook is clear and concise - but none of it works.

 

I did a clean install of 7.0 and put X on at the time. But even the manual
talks about xorgcfg - but its no where to be found? Should it be there? Or
has it been discontinued?

 

thanks

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


Re: Sync or Soft Updates or gjournal

2008-03-15 Thread David Wassman
Wojciech,

 

Thanks for the response. I like gmirror and actually use it for two
production machines but in this case, I think I still prefer to use the
hardware RAID5 (for online expansion and rebuilds) and I always prefer
to use SAS/SCSI if given a choice. Anyways, the hardware is already
purchased.

 

So gjournal will slow it down. It is hard to believe all the hype of
journalled filesystems is all about not having to fsck on boot. (Yes I
know it is fsck not fschk (other post). Been working with M$ too much).


 

Does anyone know why Michael Lucas would say "up to 80GB" for soft
updates? I start FreeBSD with Absolute BSD and Scary Daemons and has
always found his advice solid and reliable. I hate to go against it here
and be wrong. Especially, when this is a large project with the fate of
FreeBSD being used in the environment here at stake. 

 

 

David Wassman, MCP Net+
IT Network Administrator
Davis, Monk & Company
(800) 344-5034
(352) 372-6300
(352) 375-1583 FAX

The information contained in this electronic message is legally
privileged and confidential under applicable law, and is intended only
for the use of the individual or entity named above. If you are not the
intended recipient, you are hereby notified that any dissemination,
copying or disclosure of this communication is strictly prohibited. If
you have received this communication in error, please notify Davis, Monk
& Company (352) 372-6300 and delete this communication immediately
without reading it, making any copies of it or distributing it.

 

> 

> My question is with this setup (Have not assembled or installed yet),

> for a fileserver running Samba to share in mixed environment, what
would

> be better, sync, soft updates or gjournal. From my understanding, sync

 

first - for the same amount of money, use cheaper and larger SATA disks,


no special controller and RAID1 (gmirror), not RAID5.

while RAID1 "wastes" half space, with large IDE drives you still get
more 

space, while SATA drives are slightly slower, you still get FASTER
system 

on writes because RAID5 is bad for this, and on reads. gain on not using


RAID5 will outperform slower drives.

 

> is the most secure as far as data integrity but suffers from

> performance. Soft Updates is a mix between the two but from reading

 

soft updates isn't the mix of two - it's much better. you actually get 

sync integrity with almost async performance, but with larger CPU 

usage, which - with modern CPUs - is minimal anyway.

 

just use them :)

 

gjournal will actually slow things down, for avoiding fsck on boot.

 

properly configured freebsd doesn't crash every day so spending an hour 

(at most) on fsck doesn't make a problem.

 

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


Re: C compiler issue perhaps?

2008-03-15 Thread Derek Ragona

At 09:49 PM 3/14/2008, Doug Hardie wrote:


On Mar 14, 2008, at 18:31, Derek Ragona wrote:


At 06:56 PM 3/14/2008, Doug Hardie wrote:

There is no code running at that point.  Its just sitting there
waiting for me to enter a gdb command.


On Mar 14, 2008, at 15:16, Derek Ragona wrote:


At 05:10 PM 3/14/2008, Doug Hardie wrote:

I have a program I was testing with gdb.  I was trying to figure
out
why c.rmonths was always zero when it should have been 6.  Stepped
through using the gdb n command.  Here is the output:

(gdb)
215 c.rmonths = (edate - tdate) /
toMONTHS;
(gdb)
223 c.dial_in = u.dial_in[0];
(gdb)
224 c.dsl = u.dsl[0];
(gdb) p c.rmonths
$1 = 0
(gdb) p c
$2 = {fa = 0, pwp = 0, disp_email = 0, imonths = 0, rmonths = 6,
  type = 73 'I', cd = 0 '\0', dial_in = 82 'R', dsl = 0 '\0',
  dsl_kit = 0 '\0', ip = 0 '\0', domain = 0 '\0', n_domain = 0
'\0',
  renewal = 89 'Y', program = "I\000\000"}
(gdb) p c->rmonths
$3 = 6
(gdb) p c.rmonths
$4 = 6


Notice, the first time i print it its zero.  The second time its 6.
What gives here?  I have seen this before but couldn't pin it down.
The program is not compiled with any optimization.  It is in a
shared
library though.


It is hard to tell without the code you used.  I would put some
printf's in the code and see what and when that variable gets set to
in actual running code.

-Derek


I understand it is waiting at a breakpoint in gdb.  What I meant was
put printf's in your code and run the program and look at the
output.  You can use fprintf's to stderr if your prefer and just
look at the stderr output.

It is hard to diagnose what could be a compiler error, or a coding
error.  Remember in C you can do many things you really shouldn't.
It is also advisable to run lint over your source code too.


All that lint shows is it doesn't like comments using // and lots of
errors in /usr/include files.


This sounds more like a c++ program. c++ does a lot of variable initiation 
in code you usually won't see.


If this is a c++ program, put conditional printf's or cout's in to check 
the code at actual runtime rather than in the debugger.


You may want to use asserts.

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


System can not boot, seems can not find right partition after add new label

2008-03-15 Thread Kemian Dang
Hi,there:

A short story is:
When I boot my laptop, the screen tells me "invalida partition" and
then give me the prompt "default: 0:ad(0,a)/boot/kernel/kernel".
My FreeBSD / partition is at /dev/ad4s3a, so I tried
"4:ad(3,a)/boot/kernel/kernel", but without lucky.
Could someone tell me how should I give it the command, thanks in advance.

Long story:
Because my partition is nearly full, last night I delete a windows
ntfs partition and try to use it under FreeBSD 7.0 Release as /home, I
used to put /usr and /home together.

I can not remember whether I do something stupid, I just dd
if=/dev/zero of=/dev/ad4s2 to write zero, then when I want to use
bsdlabel to create new slice, but the new slice did not show up. So I
tried sysinstall, still did not work.
I thought it was because it used to be a ntfs partition, so I wanted
to boot to windows and delete the partition.
But it could not boot till now.

There used to be a easyBCD soft to help me boot freebsd from the
Windows Vista boot loader, but it did not appear, but a directly
Invalid Partition


Any suggestion appreciated.

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


Failed Upgrading 'gnucash-2.2.0' to 'gnucash-2.2.3_2'

2008-03-15 Thread Dino Vliet

Hi folks,
I'm updating my ports and ran across this error message when I update
   
my freebsd 6.2 amd64 system. When upgrading gnucash I get the following error:


mkdir .libs
c++ -O2 -fno-strict-aliasing -pipe -o .libs/ofxconnect cmdline.o nodeparser.o 
ofxpartner.o ofxconnect.o -rpath=/usr/local/lib  -L/usr/local/lib 
../lib/.libs/libofx.so /usr/local/lib/libosp.so /usr/local/lib/libintl.so 
-lpthread /usr/local/lib/libcurl.so -L/usr/lib /usr/local/lib/libssh2.so -lssl 
-lcrypto /usr/local/lib/libxml++-1.0.so /usr/local/lib/libxml2.so -lz 
/usr/local/lib/libiconv.so -lm  -Wl,--rpath -Wl,/usr/local/lib
creating ofxconnect
gmake[2]: Leaving directory 
`/usr/ports/finance/libofx/work/libofx-0.9.0/ofxconnect'
gmake[1]: Leaving directory `/usr/ports/finance/libofx/work/libofx-0.9.0'
===>  Installing for libofx-0.9.0
===>   Generating temporary packing list
===>  Checking if finance/libofx already installed
===>   libofx-0.9.0 is already installed
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of finance/libofx
  without deleting it first, set the variable "FORCE_PKG_REGISTER"
  in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/finance/libofx.
*** Error code 1

Stop in /usr/ports/finance/gnucash.
*** Error code 1

Stop in /usr/ports/finance/gnucash.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.36334.1 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gnucash-2.2.0 UPGRADE_PORT_VER=2.2.0 
make WITH_FAM_SYSTEM=fam
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! finance/gnucash (gnucash-2.2.0)   (unknown build error)


I've tried make deinstalling libofx, reinstalling, etc etc, all with no success.
What can I do to fix this?
/usr/ports/UPDATING doesn't have an entry for gnucash nor libofx

Thanks in advanced,
Dino


   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Virtualized FreeBSD

2008-03-15 Thread Dick Hoogendijk
On Sat, 15 Mar 2008 09:08:02 +0100 (CET)
Wojciech Puchar <[EMAIL PROTECTED]> wrote:

> > I am currently running CentOS on a bunch of virtualized guest os's
> > but need to upgrade them.  I see that FreeBSD 7.0 is virtualized.
> > Given a choice, I would rather use FreeBSD because of the ease of
> > use of keeping the ports current.
> >
> > I am just wondering if anyone has used the virtualized FreeBSD in a
> > producton environment and if so what are the pros and cons?
> 
> what is "virtualized FreeBSD"?
> 
> if you mean FreeBSD jails - yes it runs fine, i use them on 6.3p1

I think it's obvious he means running freebsd as a guest OS on some
kind of VM (VMWare, VirtualBox)

-- 
Dick Hoogendijk -- PGP/GnuPG key: 01D2433D
++ http://nagual.nl/ + SunOS sxde 01/08 ++
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Compile error, kde related?

2008-03-15 Thread Leslie Jensen



There's your problem. I don't see a libpthread or better on 7.x a libthr.so 
linked in:


libthr.so.3 => /lib/libthr.so.3 (0x38b55000)

is what it shows on my 7.x system.

So the question is, why isn't qt built with thread support. I don't see how 
that's possible with the current ports makefile.

Do you have a file /lib/libthr.so*?



Yes I do.

bsdpc01# find /lib | grep "libthr.so"
/lib/libthr.so.3

So what do you suggest I do now?

/Leslie


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


Re: Virtualized FreeBSD

2008-03-15 Thread Wojciech Puchar
I am currently running CentOS on a bunch of virtualized guest os's but need 
to upgrade them.  I see that FreeBSD 7.0 is virtualized.  Given a choice, I 
would rather use FreeBSD because of the ease of use of keeping the ports 
current.


I am just wondering if anyone has used the virtualized FreeBSD in a producton 
environment and if so what are the pros and cons?


what is "virtualized FreeBSD"?

if you mean FreeBSD jails - yes it runs fine, i use them on 6.3p1


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


Re: Sync or Soft Updates or gjournal for fileserver

2008-03-15 Thread Wojciech Puchar


My question is with this setup (Have not assembled or installed yet),
for a fileserver running Samba to share in mixed environment, what would
be better, sync, soft updates or gjournal. From my understanding, sync


first - for the same amount of money, use cheaper and larger SATA disks, 
no special controller and RAID1 (gmirror), not RAID5.
while RAID1 "wastes" half space, with large IDE drives you still get more 
space, while SATA drives are slightly slower, you still get FASTER system 
on writes because RAID5 is bad for this, and on reads. gain on not using 
RAID5 will outperform slower drives.



is the most secure as far as data integrity but suffers from
performance. Soft Updates is a mix between the two but from reading


soft updates isn't the mix of two - it's much better. you actually get 
sync integrity with almost async performance, but with larger CPU 
usage, which - with modern CPUs - is minimal anyway.


just use them :)

gjournal will actually slow things down, for avoiding fsck on boot.

properly configured freebsd doesn't crash every day so spending an hour 
(at most) on fsck doesn't make a problem.

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


Re: sendmail: from virtual address changed to maindomain

2008-03-15 Thread Wojciech Puchar


entries in hostname.mc
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
FEATURE(genericstable, `hash -o /etc/mail/genericstable')
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')

MX hostnames are all A records.

well, as long as the users receive/send emails from/to external domains
everything works just fine, but when:

[EMAIL PROTECTED] sends to [EMAIL PROTECTED] or viceversa

the message gets to the right user, but the from header is
changed to [EMAIL PROTECTED], mailbox that doesn't exists!


could you please show whole hostname.mc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"