Re: FreeBSD Kernel Internals Documentation

2012-01-02 Thread Chad Perrin
On Sun, Jan 01, 2012 at 11:55:26PM -0700, Chad Perrin wrote:
 On Sun, Jan 01, 2012 at 09:14:20AM -0500, Jerry wrote:
  On Sun, 01 Jan 2012 22:56:45 +1000 Da Rock articulated:
  
   If you want to verify, then by all means parouse this list and others 
   (even in the linux community) over the past _five_ (thats 5) years.
  
  I am not sure what parouse means. There are a Shane, Dawn and Nicole
  Parouse. Are you referring to them? Perhaps you meant peruse.
 
 I think you had no doubt at all that Da Rock meant peruse here, and
 you should check whether the walls of your house are made of durable
 material before you start throwing stones.  Check, for instance, you
 habitual inability to properly use apostrophes to indicate the possessive

. . . and, of course, I have a typo right there in the sentence following
my admonition against throwing stones while living in a glass house.
It's a common problem.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: buildworld error 8.2-STABLE amd64

2012-01-02 Thread Janos Dohanics
On Mon, 02 Jan 2012 07:18:53 +0100
Marco Steinbach c...@executive-computing.de wrote:

 Janos Dohanics wrote on 31.12.2011 19:56:
  Buildworld stopped with this error (with updated source):
  
  [...]
  cc -O3  -DNEED_SOLARIS_BOOLEAN
 [...]
  
  I have posted the build log at
  http://wwwp.3dresearch.com/ALMAVIVA2011123101_buildworld
  
  Would you please advise?
 
 Quoting /usr/share/examples/etc/make.conf:
 
 # CFLAGS controls the compiler settings used when compiling C code.
 # Note that optimization settings other than -O and -O2 are not
 # recommended or supported for compiling the world or the kernel -
 # please revert any nonstandard optimization settings to -O or -O2
 # -fno-strict-aliasing before submitting bug reports without patches
 # to the developers.
 
 The error you're seeing is a result from using O3 for building the 
 source in question -- At least my 8.2-STABLE ran into the same
 problem, once I used O3, instead of the default '-O2 -pipe'.
 
 MfG CoCo

Thank you, there was indeed the line CFLAGS=-O3 in make.conf, after I
have commented it out, I could build world.

I'm wondering how was my make.conf changed though; I'm sure I did not
add CFLAGS=-O3 - is it possible that one of the ports have added this?

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


SOLVED - Re: KERNEL - knowing what programs use/need modules

2012-01-02 Thread Damien Fleuriot


On 1/1/12 9:10 AM, Matt Mullins wrote:
 On Tue, Dec 27, 2011 at 8:34 AM, Damien Fleuriot m...@my.gd wrote:
 Now, I'm wondering why in the world a server would need umass, ums and cam ?

 My understanding is that ums is the USB mouse, which we're never going
 to need.

 Umass would be USB mass storage, which again we're never going to need.
 
 You appear to be correct with these two.  My gut tells me these types
 of things would be loaded when the corresponding devices are plugged
 into the system, but if that's wrong, surely someone here will speak
 up.
 
 Regarding CAM I have absolutely no idea why the module is loaded either.
 
 That's the SCSI/ATA subsystem; if this is the only of your firewalls
 to have this module, perhaps it has different disk adapter hardware
 than the others or another sysadmin decided to load it manually?
 

They use mfi, like a few others which do not have CAM loaded.


The best part is, after rebooting these firewalls on their new
8.2-RELEASE-p5 kernel, they haven't loaded neither of UMS, UMASS, or
CAM, although I've clearly built them:

MODULES_OVERRIDE=cam geom/geom_label if_lagg linprocfs linsysfs linux
mfi/mfi_linux usb/umass usb/ums


I doubt another admin would have loaded them manually, they don't touch
the freebsd stuff very often ;)



Ah well, I guess I'll just leave it at that.

For anyone reading this thread, Matt's suggestion of using lsof to find
what files/binaries could be using the devices seems to be the best one.


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


nss_ldap and the linuxulator

2012-01-02 Thread Da Rock
I've just run into this snag again which I've resolved back in 7.x/8.1: 
the linuxulator cannot handle nss lookups from ldap. I ran a search for 
nss_ldap fedora 10 and simply extracted from the rpm the 
libnss_ldap*.so* in the usr/lib into the corresponding directory under 
/compat/linux.


One then only has to copy or setup the ldap.conf in /compat/linux/etc/ 
and change /compat/linux/etc/nsswitch.conf so the it will check files 
and ldap as in the base.


It works a charm when you have issues like the missus with acroread and 
others not working inexplicably. Run acroread from the command line will 
give you the clue: getpwuid_r(): failed due to unknown user id. This 
solution does fix this categorically.


I hope this helps others, but I do have one question: why isn't this 
included in the ports already?


I still haven't yet figured out cups and printer selection yet, but I 
have made some progress... :)


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


Re: buildworld error 8.2-STABLE amd64

2012-01-02 Thread Marco Steinbach

Janos Dohanics wrote on 02.01.2012 11:04:

On Mon, 02 Jan 2012 07:18:53 +0100
Marco Steinbach c...@executive-computing.de wrote:


Janos Dohanics wrote on 31.12.2011 19:56:

Buildworld stopped with this error (with updated source):

[...]
cc -O3  -DNEED_SOLARIS_BOOLEAN

[...]

I have posted the build log at
http://wwwp.3dresearch.com/ALMAVIVA2011123101_buildworld

Would you please advise?

Quoting /usr/share/examples/etc/make.conf:

# CFLAGS controls the compiler settings used when compiling C code.
# Note that optimization settings other than -O and -O2 are not
# recommended or supported for compiling the world or the kernel -
# please revert any nonstandard optimization settings to -O or -O2
# -fno-strict-aliasing before submitting bug reports without patches
# to the developers.

The error you're seeing is a result from using O3 for building the 
source in question -- At least my 8.2-STABLE ran into the same

problem, once I used O3, instead of the default '-O2 -pipe'.

MfG CoCo


Thank you, there was indeed the line CFLAGS=-O3 in make.conf, after I
have commented it out, I could build world.

I'm wondering how was my make.conf changed though; I'm sure I did not
add CFLAGS=-O3 - is it possible that one of the ports have added this?


Although, as far as I can tell, not explicitly forbidden in the porter's 
handbook, I think that to be highly unlikely in the case of CFLAGS.


The least I'd expect would be some kind notice, if so intrusive a change 
is done deliberately.



If I'd suspect a port fiddling with /etc/make.conf, I'd probably go 
looking for entries carrying a timestamp close to /etc/make.confs in 
/var/db/pkg.  Of course, this largely depends on what happened in 
between the time of actual modification and me noticing, but I think 
that's the first thing I'd do.


MfG CoCo

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


Re: DNS

2012-01-02 Thread Walter Alejandro Iglesias
On Sun, Jan 01, 2012 at 04:26:38PM -0800, Waitman Gobble wrote:
 You have to have your nameserver listed with internic (for .com and .net -
 ie, your nameserver has to show up in the NAMESERVER whois (note: different
 than DOMAIN whois) on http://www.internic.net/whois.html) and also for each

This is exactly the point I missed.  At that opportunity I
searched in all places except in the right one.

 
 Waitman

I am very grateful.


Walter




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


Re: FreeBSD Kernel Internals Documentation

2012-01-02 Thread Jerry
On Sun, 1 Jan 2012 23:55:26 -0700
Chad Perrin articulated:

 On Sun, Jan 01, 2012 at 09:14:20AM -0500, Jerry wrote:
  On Sun, 01 Jan 2012 22:56:45 +1000 Da Rock articulated:
  
   If you want to verify, then by all means parouse this list and
   others (even in the linux community) over the past _five_ (thats
   5) years.
  
  I am not sure what parouse means. There are a Shane, Dawn and
  Nicole Parouse. Are you referring to them? Perhaps you meant
  peruse.
 
 I think you had no doubt at all that Da Rock meant peruse here,
 and you should check whether the walls of your house are made of
 durable material before you start throwing stones.  Check, for
 instance, you habitual inability to properly use apostrophes to
 indicate the possessive form of a word, or your error in using the
 plural form phenomena where the singular phenomenon is
 appropriate.  These observations of your relative illiteracy come
 from a single paragraph, by the way, but until I saw your play dumb
 to call someone dumb approach to discussion, I felt it appropriate
 to point out your own failings along the same lines -- not because
 these specific failings invalidate anything else you say, but because
 you're kind of a mean-spirited little hypocrite.

I specifically asked Da Rock in regards to parouse since I am not
familiar with what country he is from or what he considers his native
language. It is very possible that the word he used is native to his
region and therefore I wanted to inquire further.

Furthermore, before you make a complete ass of yourself, please check
out this URL: http://www.merriam-webster.com/dictionary/phenomena

 In short, trying to paint people who disagree with you in the colors
 of stupidity for a single spelling error when your errors are fairly
 numerous is not a winning strategy.

Win what, I was not aware it was a game. Maybe that is the problem; you
are too busy playing games rather than actually completing bona fide
projects.

  I tend not to include Ubuntu since they have made huge strides in
  making hardware work correctly under their environment. Seems
  strange that they can achieve what FreeBSD considers either
  unobtainable or unnecessary (sour grapes).
  
  {OK, let the blame game begin --  after all, it is ALWAYS someone
  elses fault}
 
 That must be why you blame everything you perceive as a problem in
 regards to open source software on sour grapes.
 
   I'm sorry but I'm really pissed off tonight and you're attitude is
   really rubbing me the wrong way. If you want to be best mates with
   Gates and his horde then by all means... but this is a genuine
   discussion in an attempt to resolve _these_ issues, and clarify
   points as to why things are a certain way. If you don't agree,
   then be silent and ignore what you perceive to be crap, or at the
   very least _try_ not to be so aggressive and offensive. A lot of
   us on this list do this as common courtesy.
  
  Ah, there we are. That good old socialist/fascist call to arms,
  You're either with us, or against us.
 
 I think the statement was more like Someone who calls it 'open sore'
 is clearly a mean-spirited jackass who likes making trouble, rather
 than Down with the bourgeoisie!  I just figured I'd help clarify.

Now you have really peaked my interest. On any given day, on a Windows
based forum, the terms: FreePiss, open-sore, Lsuck etcetera are
freely thrown around. On Linux based forums, terms like: Winblows,
Microsucks, etcetera are freely used. Would you please be so kind as
to explain to me why it is morally correct to use one set of terms but
not the other? It is either right or it is wrong. You cannot be
slightly pregnant. I personally find such terms morally repugnant;
however, since they are commonly used on this forum it appears that they
are socially acceptable. Would you not concur or are you going to try
and bullshit your way out of this one?

  You so clearly define what is the basic problem with FreeBSD in
  general. The sour grapes attitude is so clearly self evident. You
  would rather spend your time defending something that doesn't work
  as fully functional as it could be if the developers stopped patting
  themselves on the back for accomplishing what other OSs had already
  done 3 or more years earlier and rather attempted to bring the OS on
  par with those competing OSs.
 
 What do you define with your hanging around sniping at people and
 sabotaging discussions attitude?  In the years I have been on this
 list, it seems like you have demonstrated a rabid hatred of all
 things related to FreeBSD and most things related to open source
 software in general, which makes me wonder why you hang around this
 mailing list.

I have a morbid hatred of those who suffer from decidophobia. However,
after restudying the matter, I think it more likely that the real
problem is an irrational fear of success. If only Microsoft was able to
accomplish things like easily getting a printer fully functional under
its 

Re: Re: FreeBSD Kernel Internals Documentation

2012-01-02 Thread sykadul
Ladies and gentleman, I will be unplugged from my email until the 17th of 
January.

In the mean time here's a video of a bunny opening your mail 
http://www.youtube.com/watch?v=LMyaRmTwdKs

Your mail will not be forwarded and I will contact you when I come back, 
alternatively you can contact one of the other administrators or email 
i...@astalavista.com

Merry christmas and a happy new year!

Best regards,
Sykadul


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


mailing list and personal assaults

2012-01-02 Thread Johan Hendriks
I as a normal sys admin like to read the mailing lists, because it 
learned me a lot, and it still does.


But lately it looks like more and more people get personal!
The word ass, has passed this year even more  then i used my own.

Maybe it is the time we live in, but please !
If you are not agree with someone's statement or thoughts, ignore it or 
write your thoughts and be done with it.


regards
Johan

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


acpi problem on dell latitude d830

2012-01-02 Thread Thorsten Schaefer (Yang Lean)

Hello,

I'm still investigating the problem with my dell latitude d830 
notebook.


ACPI states S3 and S4 don't work...

Here comes dmesg:

xueyu@monopohl:~% dmesg
Copyright (c) 1992-2011 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 8.2-STABLE #2: Wed Dec 14 03:15:04 CET 2011
root@:/usr/obj/usr/src/sys/MONOPOHL i386
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU T7250  @ 2.00GHz (1994.44-MHz 
686-class CPU)
  Origin = GenuineIntel  Id = 0x6fd  Family = 6  Model = f  Stepping 
= 13
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  
Features2=0xe3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM

  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant
real memory  = 2147483648 (2048 MB)
avail memory = 2081214464 (1984 MB)
ACPI APIC Table: DELL   M08
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: DELL M08 on motherboard
acpi0: [ITHREAD]
Timecounter HPET frequency 14318180 Hz quality 900
acpi0: reservation of 0, 9f000 (3) failed
acpi0: reservation of 10, 7f55b800 (3) failed
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
vgapci0: VGA-compatible display port 0xefe8-0xefef mem 
0xfea0-0xfeaf,0xe000-0xefff irq 16 at device 2.0 on pci0

agp0: Intel GM965 SVGA controller on vgapci0
agp0: aperture size is 256M, detected 7676k stolen memory
vgapci1: VGA-compatible display mem 0xfeb0-0xfebf at device 
2.1 on pci0
uhci0: Intel 82801H (ICH8) USB controller USB-D port 0x6f20-0x6f3f 
irq 20 at device 26.0 on pci0

uhci0: [ITHREAD]
usbus0: Intel 82801H (ICH8) USB controller USB-D on uhci0
uhci1: Intel 82801H (ICH8) USB controller USB-E port 0x6f00-0x6f1f 
irq 21 at device 26.1 on pci0

uhci1: [ITHREAD]
usbus1: Intel 82801H (ICH8) USB controller USB-E on uhci1
ehci0: Intel 82801H (ICH8) USB 2.0 controller USB2-B mem 
0xfed1c400-0xfed1c7ff irq 22 at device 26.7 on pci0

ehci0: [ITHREAD]
usbus2: EHCI version 1.0
usbus2: Intel 82801H (ICH8) USB 2.0 controller USB2-B on ehci0
hdac0: Intel 82801H High Definition Audio Controller mem 
0xfe9fc000-0xfe9f irq 21 at device 27.0 on pci0

hdac0: HDA Driver Revision: 20100226_0142
hdac0: [ITHREAD]
pcib1: ACPI PCI-PCI bridge at device 28.0 on pci0
pci11: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 28.1 on pci0
pci12: ACPI PCI bus on pcib2
wpi0: Intel(R) PRO/Wireless 3945ABG mem 0xfe8ff000-0xfe8f irq 17 
at device 0.0 on pci12

wpi0: [ITHREAD]
pcib3: ACPI PCI-PCI bridge at device 28.3 on pci0
pci13: ACPI PCI bus on pcib3
pcib4: ACPI PCI-PCI bridge at device 28.5 on pci0
pci9: ACPI PCI bus on pcib4
bge0: Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 
0x00a002 mem 0xfe5f-0xfe5f irq 17 at device 0.0 on pci9

bge0: CHIP ID 0xa002; ASIC REV 0x0a; CHIP REV 0xa0; PCI-E
miibus0: MII bus on bge0
brgphy0: BCM5755 10/100/1000baseTX PHY PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow

bge0: [FILTER]
uhci2: Intel 82801H (ICH8) USB controller USB-A port 0x6f80-0x6f9f 
irq 20 at device 29.0 on pci0

uhci2: [ITHREAD]
usbus3: Intel 82801H (ICH8) USB controller USB-A on uhci2
uhci3: Intel 82801H (ICH8) USB controller USB-B port 0x6f60-0x6f7f 
irq 21 at device 29.1 on pci0

uhci3: [ITHREAD]
usbus4: Intel 82801H (ICH8) USB controller USB-B on uhci3
uhci4: Intel 82801H (ICH8) USB controller USB-C port 0x6f40-0x6f5f 
irq 22 at device 29.2 on pci0

uhci4: [ITHREAD]
usbus5: Intel 82801H (ICH8) USB controller USB-C on uhci4
ehci1: Intel 82801H (ICH8) USB 2.0 controller USB2-A mem 
0xfed1c000-0xfed1c3ff irq 20 at device 29.7 on pci0

ehci1: [ITHREAD]
usbus6: EHCI version 1.0
usbus6: Intel 82801H (ICH8) USB 2.0 controller USB2-A on ehci1
pcib5: ACPI PCI-PCI bridge at device 30.0 on pci0
pci3: ACPI PCI bus on pcib5
cbb0: PCI-CardBus Bridge at device 1.0 on pci3
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
cbb0: [FILTER]
fwohci0: 1394 Open Host Controller Interface mem 
0xfe4ff000-0xfe4f,0xfe4fe800-0xfe4fefff irq 19 at device 1.4 on pci3

fwohci0: [ITHREAD]
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 35:4f:c0:00:0b:25:ec:70
fwohci0: Phy 1394a available S400, 1 ports.
fwohci0: Link S400, max_rec 2048 bytes.

Re: FreeBSD Kernel Internals Documentation

2012-01-02 Thread Da Rock

On 01/02/12 23:31, Jerry wrote:

On Sun, 1 Jan 2012 23:55:26 -0700
Chad Perrin articulated:


On Sun, Jan 01, 2012 at 09:14:20AM -0500, Jerry wrote:

On Sun, 01 Jan 2012 22:56:45 +1000 Da Rock articulated:

If you want to verify, then by all means parouse this list and
others (even in the linux community) over the past _five_ (thats
5) years.

I am not sure what parouse means. There are a Shane, Dawn and
Nicole Parouse. Are you referring to them? Perhaps you meant
peruse.

I think you had no doubt at all that Da Rock meant peruse here,
and you should check whether the walls of your house are made of
durable material before you start throwing stones.  Check, for
instance, you habitual inability to properly use apostrophes to
indicate the possessive form of a word, or your error in using the
plural form phenomena where the singular phenomenon is
appropriate.  These observations of your relative illiteracy come
from a single paragraph, by the way, but until I saw your play dumb
to call someone dumb approach to discussion, I felt it appropriate
to point out your own failings along the same lines -- not because
these specific failings invalidate anything else you say, but because
you're kind of a mean-spirited little hypocrite.

I specifically asked Da Rock in regards to parouse since I am not
familiar with what country he is from or what he considers his native
language. It is very possible that the word he used is native to his
region and therefore I wanted to inquire further.

Furthermore, before you make a complete ass of yourself, please check
out this URL:http://www.merriam-webster.com/dictionary/phenomena


In short, trying to paint people who disagree with you in the colors
of stupidity for a single spelling error when your errors are fairly
numerous is not a winning strategy.

Win what, I was not aware it was a game. Maybe that is the problem; you
are too busy playing games rather than actually completing bona fide
projects.


I tend not to include Ubuntu since they have made huge strides in
making hardware work correctly under their environment. Seems
strange that they can achieve what FreeBSD considers either
unobtainable or unnecessary (sour grapes).

{OK, let the blame game begin --  after all, it is ALWAYS someone
elses fault}

That must be why you blame everything you perceive as a problem in
regards to open source software on sour grapes.


I'm sorry but I'm really pissed off tonight and you're attitude is
really rubbing me the wrong way. If you want to be best mates with
Gates and his horde then by all means... but this is a genuine
discussion in an attempt to resolve _these_ issues, and clarify
points as to why things are a certain way. If you don't agree,
then be silent and ignore what you perceive to be crap, or at the
very least _try_ not to be so aggressive and offensive. A lot of
us on this list do this as common courtesy.

Ah, there we are. That good old socialist/fascist call to arms,
You're either with us, or against us.

I think the statement was more like Someone who calls it 'open sore'
is clearly a mean-spirited jackass who likes making trouble, rather
than Down with the bourgeoisie!  I just figured I'd help clarify.

Now you have really peaked my interest. On any given day, on a Windows
based forum, the terms: FreePiss, open-sore, Lsuck etcetera are
freely thrown around. On Linux based forums, terms like: Winblows,
Microsucks, etcetera are freely used. Would you please be so kind as
to explain to me why it is morally correct to use one set of terms but
not the other? It is either right or it is wrong. You cannot be
slightly pregnant. I personally find such terms morally repugnant;
however, since they are commonly used on this forum it appears that they
are socially acceptable. Would you not concur or are you going to try
and bullshit your way out of this one?


You so clearly define what is the basic problem with FreeBSD in
general. The sour grapes attitude is so clearly self evident. You
would rather spend your time defending something that doesn't work
as fully functional as it could be if the developers stopped patting
themselves on the back for accomplishing what other OSs had already
done 3 or more years earlier and rather attempted to bring the OS on
par with those competing OSs.

What do you define with your hanging around sniping at people and
sabotaging discussions attitude?  In the years I have been on this
list, it seems like you have demonstrated a rabid hatred of all
things related to FreeBSD and most things related to open source
software in general, which makes me wonder why you hang around this
mailing list.

I have a morbid hatred of those who suffer from decidophobia. However,
after restudying the matter, I think it more likely that the real
problem is an irrational fear of success. If only Microsoft was able to
accomplish things like easily getting a printer fully functional under
its environment, making sound or video or wireless cards work without
in all too 

Re: FreeBSD Kernel Internals Documentation

2012-01-02 Thread Joe Gain
Jerry,

What you're saying is that, 'you guys think that FreeBSD is a great desktop
workstation, but it's not and anyone who says it is, is wrong. Anyone who
says FreeBSD's not a great workstation because it doesn't have some
particular feature is right and any discussion which questions the value of
that feature for any given workstation is an excuse!'

Now you may have come to this position because of similar experiences in
mailing threads about Windows or Ubuntu, but that doesn't change the fact
that this is a dogmatic position that can't add anything to this discussion.

Maybe these types of thread discussions are stupid anyway-- either your
choice of system satisfies your needs or it doesn't and you change. Or you
just spend your time wishing for something which doesn't exist.

You've made clear that you don't like FreeBSD and you want to use the best
(which obviously for you isn't FreeBSD)-- is there anything more to your
position? Because that seems to be about it, as far as I can tell. Now I
know, repetition is the best rhetorical tactic, but I hear what you're
saying and I respect your decision.

Personally, I think there's value in diversity itself.

PS. There's another saying about wolves, which goes, He, who eats with the
wolves, howls with the wolves.

On Mon, Jan 2, 2012 at 2:31 PM, Jerry je...@seibercom.net wrote:

 On Sun, 1 Jan 2012 23:55:26 -0700
 Chad Perrin articulated:

  On Sun, Jan 01, 2012 at 09:14:20AM -0500, Jerry wrote:
   On Sun, 01 Jan 2012 22:56:45 +1000 Da Rock articulated:
   
If you want to verify, then by all means parouse this list and
others (even in the linux community) over the past _five_ (thats
5) years.
  
   I am not sure what parouse means. There are a Shane, Dawn and
   Nicole Parouse. Are you referring to them? Perhaps you meant
   peruse.
 
  I think you had no doubt at all that Da Rock meant peruse here,
  and you should check whether the walls of your house are made of
  durable material before you start throwing stones.  Check, for
  instance, you habitual inability to properly use apostrophes to
  indicate the possessive form of a word, or your error in using the
  plural form phenomena where the singular phenomenon is
  appropriate.  These observations of your relative illiteracy come
  from a single paragraph, by the way, but until I saw your play dumb
  to call someone dumb approach to discussion, I felt it appropriate
  to point out your own failings along the same lines -- not because
  these specific failings invalidate anything else you say, but because
  you're kind of a mean-spirited little hypocrite.

 I specifically asked Da Rock in regards to parouse since I am not
 familiar with what country he is from or what he considers his native
 language. It is very possible that the word he used is native to his
 region and therefore I wanted to inquire further.

 Furthermore, before you make a complete ass of yourself, please check
 out this URL: http://www.merriam-webster.com/dictionary/phenomena

  In short, trying to paint people who disagree with you in the colors
  of stupidity for a single spelling error when your errors are fairly
  numerous is not a winning strategy.

 Win what, I was not aware it was a game. Maybe that is the problem; you
 are too busy playing games rather than actually completing bona fide
 projects.

   I tend not to include Ubuntu since they have made huge strides in
   making hardware work correctly under their environment. Seems
   strange that they can achieve what FreeBSD considers either
   unobtainable or unnecessary (sour grapes).
  
   {OK, let the blame game begin --  after all, it is ALWAYS someone
   elses fault}
 
  That must be why you blame everything you perceive as a problem in
  regards to open source software on sour grapes.
 
I'm sorry but I'm really pissed off tonight and you're attitude is
really rubbing me the wrong way. If you want to be best mates with
Gates and his horde then by all means... but this is a genuine
discussion in an attempt to resolve _these_ issues, and clarify
points as to why things are a certain way. If you don't agree,
then be silent and ignore what you perceive to be crap, or at the
very least _try_ not to be so aggressive and offensive. A lot of
us on this list do this as common courtesy.
  
   Ah, there we are. That good old socialist/fascist call to arms,
   You're either with us, or against us.
 
  I think the statement was more like Someone who calls it 'open sore'
  is clearly a mean-spirited jackass who likes making trouble, rather
  than Down with the bourgeoisie!  I just figured I'd help clarify.

 Now you have really peaked my interest. On any given day, on a Windows
 based forum, the terms: FreePiss, open-sore, Lsuck etcetera are
 freely thrown around. On Linux based forums, terms like: Winblows,
 Microsucks, etcetera are freely used. Would you please be so kind as
 to explain to me why it is morally correct to use one set of 

freebsd 8.2 lockups on Dell T610 w/ Perc 6/i

2012-01-02 Thread Brian Gold
I have been running 8.2 Release patched with ZFS v28 support (via 
http://mfsbsd.vx.sk) since early September. In that time, we have
gotten multiple errors every day regarding mfi timeouts (mfi0: COMMAND 
0xff80007ba5b8 TIMEOUT AFTER 32 SECONDS) and we have
experienced a full system lockup every 2-4 weeks. When the system locks up it 
will still respond to pings, but is totally
unresponsive via ssh or directly from the console. After hard booting the 
system, everything comes back up without any issues. I
have come across other users who have experienced similar issues
(http://lists.freebsd.org/pipermail/freebsd-questions/2011-February/227650.html).
 In their cases, they were able to resolve the
issue by disabling C-States, Turbo Mode, and setting the bios to Maximum 
Performance. We have made these changes and ensured that
all of our device's firmware are up to date. We are still experiencing the 
issue however. Fortunately, iDrac continues to work
during the lockup, so we have been able to power-cycle the server remotely, but 
it is still a big pain. If anyone has any
suggestions, I would be very appreciative.

Brian Gold
System Administrator
Bard College at Simon's Rock

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


Re: DNS

2012-01-02 Thread Walter Alejandro Iglesias
On Sun, Jan 01, 2012 at 04:26:38PM -0800, Waitman Gobble wrote:
 Yes, you can run BIND on the same FreeBSD machine as your web server.
 You have to have your nameserver listed with internic (for .com and .net -
 ie, your nameserver has to show up in the NAMESERVER whois (note: different
 than DOMAIN whois) on http://www.internic.net/whois.html) and also for each
 TLD you want to provide service for (ie, .org, .mobi, etc etc) .
 If you are using opensrs it's pretty simple to list your nameserver with
 local and foreign tlds, but with other Registrars - you'd have to check
 into the details. It's generally easier to use a local domain for the
 nameservers (ie, ns1.example.mobi for .mobi domains.) but it is also
 possible to use foreign nameservers (ie, ns1.example.com to resolve
 www.example.mobi - is considered foreign)
 
 Waitman

Bothering you again Waitman,

Now after refreshing my memory (it happened one year ago) I
could remember that I did register the nameservers.  I found the
option in my registar to add to some domain i.e. mydomain.com
the entries ns1.mydomain.com, etc.  I think that the problem I
had was related with the IPs.  The VPS provider gave me just
two, and AFAIK each name server needs its own dedicated IP.  Now
I can remember that I asked to their support team and they
answered me that the nameservers could perfectly share the IP
with the domains.  Could be that the reason I don't get the
thing working?

Walter



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


Re: DNS

2012-01-02 Thread Waitman Gobble
Now after refreshing my memory (it happened one year ago) I

 could remember that I did register the nameservers.  I found the
 option in my registar to add to some domain i.e. mydomain.com
 the entries ns1.mydomain.com, etc.  I think that the problem I
 had was related with the IPs.  The VPS provider gave me just
 two, and AFAIK each name server needs its own dedicated IP.  Now
 I can remember that I asked to their support team and they
 answered me that the nameservers could perfectly share the IP
 with the domains.  Could be that the reason I don't get the
 thing working?

Walter


Hello,

You /can/ have a nameserver with same IP as www. And you /can/ multihome
your NIC with multiple IP on same machine,

ie,
www.example.com 192.168.0.131 and 192.168.0.132 (if you want, optional
extra address for www)
ns1.example.com 192.168.0.131
ns2.example.com 192.168.0.132

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


Re: FreeBSD Kernel Internals Documentation

2012-01-02 Thread Chad Perrin
On Mon, Jan 02, 2012 at 08:31:14AM -0500, Jerry wrote:
 On Sun, 1 Jan 2012 23:55:26 -0700 Chad Perrin articulated:
  On Sun, Jan 01, 2012 at 09:14:20AM -0500, Jerry wrote:
   On Sun, 01 Jan 2012 22:56:45 +1000 Da Rock articulated:
   
If you want to verify, then by all means parouse this list and
others (even in the linux community) over the past _five_ (thats
5) years.
   
   I am not sure what parouse means. There are a Shane, Dawn and
   Nicole Parouse. Are you referring to them? Perhaps you meant
   peruse.
  
  I think you had no doubt at all that Da Rock meant peruse here,
  and you should check whether the walls of your house are made of
  durable material before you start throwing stones.  Check, for
  instance, you habitual inability to properly use apostrophes to
  indicate the possessive form of a word, or your error in using the
  plural form phenomena where the singular phenomenon is
  appropriate.  These observations of your relative illiteracy come
  from a single paragraph, by the way, but until I saw your play dumb
  to call someone dumb approach to discussion, I felt it appropriate
  to point out your own failings along the same lines -- not because
  these specific failings invalidate anything else you say, but because
  you're kind of a mean-spirited little hypocrite.
 
 I specifically asked Da Rock in regards to parouse since I am not
 familiar with what country he is from or what he considers his native
 language. It is very possible that the word he used is native to his
 region and therefore I wanted to inquire further.

I don't believe you.  That's about the most cockamamie oh innocent me
defense I've seen in a long time, especially given your history of
trolling on this mailing list.


 
 Furthermore, before you make a complete ass of yourself, please check
 out this URL: http://www.merriam-webster.com/dictionary/phenomena

http://education.yahoo.com/reference/dictionary/entry/phenomena

. . . or, from your own choice of dictionary:

http://www.merriam-webster.com/dictionary/phenomenon

Did you see the word nonstandard on the page whose URI you provided?
I'm not making an ass of myself.  I'm pointing out where you have done so
by using nonstandard or incorrect formulations (such as lack of
apostrophes as indicia of possessiveness, thus once again using plural
forms to mean something other than plurality) while jumping all over
someone else's case for a misspelling.


 
  In short, trying to paint people who disagree with you in the colors
  of stupidity for a single spelling error when your errors are fairly
  numerous is not a winning strategy.
 
 Win what, I was not aware it was a game. Maybe that is the problem; you
 are too busy playing games rather than actually completing bona fide
 projects.

I'm pretty sure even you are capable of understanding what I said, and
are not literally confused about whether I'm referring to some kind of
game.  It's also kinda interesting you're talking about me wasting time
on this game you've invented that I must be playing rather than
completing projects when you've just recently admitted you are wasting
copious quantities of time trolling Polytropon, to the extent that you
are mining years of mailing list archives in some kind of crusade to
assassinate his character.  I have zero interest in wasting anywhere near
that much time on you, the way you are wasting so much time on him, and
while I'm at it that looks a bit like someone obsessed with winning
some kind of imagined contest.


   
   Ah, there we are. That good old socialist/fascist call to arms,
   You're either with us, or against us.
  
  I think the statement was more like Someone who calls it 'open sore'
  is clearly a mean-spirited jackass who likes making trouble, rather
  than Down with the bourgeoisie!  I just figured I'd help clarify.
 
 Now you have really peaked my interest. On any given day, on a Windows
 based forum, the terms: FreePiss, open-sore, Lsuck etcetera are
 freely thrown around. On Linux based forums, terms like: Winblows,
 Microsucks, etcetera are freely used. Would you please be so kind as
 to explain to me why it is morally correct to use one set of terms but
 not the other? It is either right or it is wrong. You cannot be
 slightly pregnant. I personally find such terms morally repugnant;
 however, since they are commonly used on this forum it appears that they
 are socially acceptable. Would you not concur or are you going to try
 and bullshit your way out of this one?

1. I didn't say it was morally correct to use one set of derogatory
forms and morally incorrect to use the other.  You are attributing
arguments to me I never made.

2. I don't even use terms like winblows and Microsucks.  I don't even
say M$.  I refer to Microsoft Windows OSes as Microsoft Windows OSes,
or sometimes MS Windows OSes, or something along those lines.  Trying
to make me out to be a bad person for things other people have done is no
way to do your arguments 

freebsd server limits question

2012-01-02 Thread Muhammet S. AYDIN
Hello everyone.

My first post here and I'd like to thank everyone who's involved within the
FreeBSD project. We are using FreeBSD on our web servers and we are very
happy with it.

We have an online messaging application that is using mongodb. Our members
send messages to the voice show's (turkish version) contestants. Our two
mongodb instances ended up in two centos6 servers. We have failed. So hard.
There were announcements and calls made live on tv. We had +30K/sec
visitors to the app.

When I looked at the mongodb errors, I had thousands of these:
http://pastie.org/private/nd681sndos0bednzjea0g. You may be wondering why
I'm telling you about centos. Well, we are making the switch from centos to
freebsd FreeBSD. I would like to know what are our limits? How we can set
it up so our FreeBSD servers can handle min 20K connections (mongodb's
connection limit)?

Our two servers have 24 core CPUs and 32 GBs of RAM. We are also very open
to suggestions. Please help me out here so we don't fail deadly, again.

ps. this question was asked in the forums as well however as someone
suggested in the forums, i am posting it here too.

-- 
Muhammet S. AYDIN
http://compector.com
http://mengu.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: buildworld error 8.2-STABLE amd64

2012-01-02 Thread Janos Dohanics
On Mon, 02 Jan 2012 13:15:59 +0100
Marco Steinbach c...@executive-computing.de wrote:

 Janos Dohanics wrote on 02.01.2012 11:04:
  On Mon, 02 Jan 2012 07:18:53 +0100
  Marco Steinbach c...@executive-computing.de wrote:
  
  Janos Dohanics wrote on 31.12.2011 19:56:
  Buildworld stopped with this error (with updated source):
 
  [...]
  cc -O3  -DNEED_SOLARIS_BOOLEAN
  [...]
  I have posted the build log at
  http://wwwp.3dresearch.com/ALMAVIVA2011123101_buildworld
 
  Would you please advise?
  Quoting /usr/share/examples/etc/make.conf:
 
  # CFLAGS controls the compiler settings used when compiling C code.
  # Note that optimization settings other than -O and -O2 are not
  # recommended or supported for compiling the world or the kernel -
  # please revert any nonstandard optimization settings to -O or
  # -O2 -fno-strict-aliasing before submitting bug reports without
  # patches to the developers.
 
  The error you're seeing is a result from using O3 for building the 
  source in question -- At least my 8.2-STABLE ran into the same
  problem, once I used O3, instead of the default '-O2 -pipe'.
 
  MfG CoCo
  
  Thank you, there was indeed the line CFLAGS=-O3 in make.conf,
  after I have commented it out, I could build world.
  
  I'm wondering how was my make.conf changed though; I'm sure I did
  not add CFLAGS=-O3 - is it possible that one of the ports have
  added this?
 
 Although, as far as I can tell, not explicitly forbidden in the
 porter's handbook, I think that to be highly unlikely in the case of
 CFLAGS.
 
 The least I'd expect would be some kind notice, if so intrusive a
 change is done deliberately.
 
 
 If I'd suspect a port fiddling with /etc/make.conf, I'd probably go 
 looking for entries carrying a timestamp close to /etc/make.confs in 
 /var/db/pkg.  Of course, this largely depends on what happened in 
 between the time of actual modification and me noticing, but I think 
 that's the first thing I'd do.
 
 MfG CoCo

Thanks again, unfortunately, I have edited /etc/make.conf and did not
make note of the time stamp...

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


redports question

2012-01-02 Thread Sergio de Almeida Lenzi
Hello

I have a login account in redports.org.

Now I wan to get (via svn) the virtualbox port (all of them)...

What is the procedure???  

In the wiki it show how I can work with my account in redports only...

Thanks for any help...


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


Re: DNS

2012-01-02 Thread Walter Alejandro Iglesias
On Mon, Jan 02, 2012 at 11:06:39AM -0800, Waitman Gobble wrote:
 Hello,
 
 You /can/ have a nameserver with same IP as www. And you /can/ multihome
 your NIC with multiple IP on same machine,
 
 ie,
 www.example.com 192.168.0.131 and 192.168.0.132 (if you want, optional
 extra address for www)
 ns1.example.com 192.168.0.131
 ns2.example.com 192.168.0.132
 
 Waitman

I thought I've isolated the problem.  God is playing with me
like in The Truman Show :-).  Well, the next time I get a
dedicated server I will try again.

Many thanks Waitman

Walter



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


RE: freebsd server limits question

2012-01-02 Thread Devin Teske


 -Original Message-
 From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
 questi...@freebsd.org] On Behalf Of Muhammet S. AYDIN
 Sent: Monday, January 02, 2012 11:13 AM
 To: freebsd-questions@freebsd.org
 Subject: freebsd server limits question
 
 Hello everyone.
 
 My first post here and I'd like to thank everyone who's involved within the
 FreeBSD project. We are using FreeBSD on our web servers and we are very
 happy with it.
 
 We have an online messaging application that is using mongodb. Our members
 send messages to the voice show's (turkish version) contestants. Our two
 mongodb instances ended up in two centos6 servers. We have failed. So hard.
 There were announcements and calls made live on tv. We had +30K/sec visitors
 to the app.
 
 When I looked at the mongodb errors, I had thousands of these:
 http://pastie.org/private/nd681sndos0bednzjea0g. You may be wondering why
 I'm telling you about centos. Well, we are making the switch from centos to
 freebsd FreeBSD. I would like to know what are our limits? How we can set it
up
 so our FreeBSD servers can handle min 20K connections (mongodb's connection
 limit)?
 
 Our two servers have 24 core CPUs and 32 GBs of RAM. We are also very open to
 suggestions. Please help me out here so we don't fail deadly, again.

We have similar hardware (24x core CPUs but 48GB of RAM instead of 32).

NOTE: The machine has 2x igb(4) interfaces and we're negotiating at 1000baseTX
Gigabit full-duplex link-speed.

We had similar problems, but have had zero problems in the past 2 months with
high-load (read below).

ASIDE: We're using FreeBSD 8.1-RELEASE-p6

We found that the following tweaks had to be made in /etc/sysctl.conf :

### Network Tuning ###
# Increase TCP maximum segment lifetime
net.inet.tcp.msl=15000
# Increase TCP time before keepalive probes again
net.inet.tcp.keepidle=30
# Increase maximum number of mbuf clusters allowed (174808 = 32768)
kern.ipc.nmbclusters=32768
# Increase by 8-times the maximum socket buffer size (262144 = 2097152)
kern.ipc.maxsockbuf=2097152
# Increase by 64-times the max pending socket conn. queue size (128 = 8192)
kern.ipc.somaxconn=8192
# Increase by ~8-times the maximum number of [open] files (8232 = 65536)
kern.maxfiles=65536
# Increase by ~4-times the max files allowed open per process (7408 = 32768)
kern.maxfilesperproc=32768
# Disable delay of ACK to try and piggyback it onto a data packet (1 = 0)
net.inet.tcp.delayed_ack=0
# Increase by ~2-times the maximum outgoing TCP datagram size (32768 = 65535)
net.inet.tcp.sendspace=65535
# Increase maximum space for incoming UDP datagrams (41600 = 65535)
net.inet.udp.recvspace=65535
# Increase by ~6-times the maximum outgoing UDP datagram size (9216 = 57344)
net.inet.udp.maxdgram=57344
# Increase by ~8-times the default stream receive space (8192 = 65535)
net.local.stream.recvspace=65535
# Increase by ~8-times the default stream send space (8192 = 65535)
net.local.stream.sendspace=65535

Meanwhile, yet more tweaks go into /boot/loader.conf :

### Process/Memory Tuning ###
# Increase by 4-times the maximum data size (536870912 = 2147483648)
kern.maxdsiz=2147483648
# Increase by 4-times the maximum stack size (67108864 = 268435456)
kern.maxssiz=268435456
### Network Tuning ###
# Increase maximum outgoing Netgraph datagram size (20480 = 45000)
net.graph.maxdgram=45000
# Increase maximum space for incoming Netgraph datagrams (20480 = 45000)
net.graph.recvspace=45000
# Increase by 128-times max num of data queue items to allocate (512 = 65536)
net.graph.maxdata=65536


With the above tweaks in-place for both sysctl.conf(5) and loader.conf(5), all
our problems are gone.

Your mileage may vary, but I suspect that the above collection of tweaks will
work well for you. They should be safe for both 32-bit (both regular and PAE)
and 64 (all tested). However, if you are the cautious type, I would recommend
adding one optimizer at a time, rebooting after each tweak.
-- 
Devin

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd server limits question

2012-01-02 Thread Sergio de Almeida Lenzi
hello...

I supose you are using 64bits version of FreeBSD and at least 8.2
version...

What happens is that you have exhausted the thread limit of your
appplication
your systeam is unable to create more threads for that appplication
a command: sysctl -a | grep thread
will show how they are setted up in your system.

mine has:
-
kern.threads.max_threads_hits: 0
kern.threads.max_threads_per_proc: 1500
vm.stats.vm.v_kthreadpages: 0
vm.stats.vm.v_kthreads: 24
vfs.nfsrv.minthreads: 4
vfs.nfsrv.maxthreads: 4
vfs.nfsrv.threads: 4
net.isr.numthreads: 1
net.isr.bindthreads: 0
net.isr.maxthreads: 1
--
note that the number of threads per proc is 1500 here (a notebook)

to increase the number of threads, edit the file /etc/sysctl.conf
put a line: 
kern.threads.max_threads_per_proc=9000
and than the command: /etc/rc.d/sysctl restart

Hope this will help

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


Re: Help Recovering FBSD 8 ZFS System

2012-01-02 Thread Daniel Staal
--As of December 31, 2011 1:40:59 PM -0800, Drew Tomlinson is alleged to 
have said:



Thus it appears I am missing ad16 that I used to have.  My data zpool was
the bulk of my system with over 600 gig of files and things I'd like to
have back.  I thought that by creating a raidz1 I could avoid having to
back up the huge drive and avoid this grief.  However it appears I have
lost 2 disks at the same time.  :(

Any thoughts before I just give up on recovering my data pool?


Ouch.  All I can really say is 'Redundancy is not backup', but that's a bit 
trite...


The one thing you haven't mentioned trying that might be worth the attempt 
is trying the recovery from a 9.0 disk.  There has been work done on the 
ZFS system, and it's possible that something might work.   But that's 
mostly just to be thorough...


As for what it was telling you: It was just saying it couldn't open the 
drives.  ;)  Which does bring up one other option: If you've got a 
different drive controller, you might try plugging the drives into it.  (In 
the hopes that it's the *controller* and not the drive that's gone bad. 
Unlikely, bit it *does* happen.)


(Depending on the value of the data pool, a good data recovery service 
might be able to do something as well.  But they'd have to be a very good 
service, and know what they were working with.)



And regarding my root pool, my system can't mount root and start.  What
do I need to do to boot from my degraded root pool.  Here's the current
status:

# zpool status
   pool: root
  state: DEGRADED
status: One or more devices could not be opened.  Sufficient replicas
exist for
 the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
see: http://www.sun.com/msg/ZFS-8000-2Q
  scrub: none requested
config:

 NAMESTATE READ
WRITE CKSUM
 rootDEGRADED 0
0 0
   mirrorDEGRADED 0
0 0
 gptid/5b623854-6c46-11de-ae82-001b21361de7  ONLINE   0
0 0
 12032653780322685599UNAVAIL  0
0 0  was /dev/ad6p3

Do I just need to do a 'zpool detach root /dev/ad6p3' to remove it from
the pool and get it to boot?  And then once I replace the disk a 'zpool
attach root new partition' to fix?

Thanks for your time.


Personally, I'd do a 'zpool replace /dev/ad6p3 /dev/$NEWDRIVE', but the 
above should work as well.  What's odd though is that you can't boot from 
it as is: Degraded should be considered functional, and it should let you 
boot.  You mentioned updating the zpool to v15.  Did you update the boot 
block at the same time?  (Just checking the basics.)  It'd need to be able 
to read the updated zpool.


Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Re: Help Recovering FBSD 8 ZFS System

2012-01-02 Thread sykadul
Ladies and gentleman, I will be unplugged from my email until the 17th of 
January.

In the mean time here's a video of a bunny opening your mail 
http://www.youtube.com/watch?v=LMyaRmTwdKs

Your mail will not be forwarded and I will contact you when I come back, 
alternatively you can contact one of the other administrators or email 
i...@astalavista.com

Merry christmas and a happy new year!

Best regards,
Sykadul


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


Re: freebsd server limits question

2012-01-02 Thread Eduardo Morras

At 20:12 02/01/2012, Muhammet S. AYDIN wrote:

Hello everyone.

My first post here and I'd like to thank everyone who's involved within the
FreeBSD project. We are using FreeBSD on our web servers and we are very
happy with it.

We have an online messaging application that is using mongodb. Our members
send messages to the voice show's (turkish version) contestants. Our two
mongodb instances ended up in two centos6 servers. We have failed. So hard.
There were announcements and calls made live on tv. We had +30K/sec
visitors to the app.

When I looked at the mongodb errors, I had thousands of these:
http://pastie.org/private/nd681sndos0bednzjea0g. You may be wondering why
I'm telling you about centos. Well, we are making the switch from centos to
freebsd FreeBSD. I would like to know what are our limits? How we can set
it up so our FreeBSD servers can handle min 20K connections (mongodb's
connection limit)?

Our two servers have 24 core CPUs and 32 GBs of RAM. We are also very open
to suggestions. Please help me out here so we don't fail deadly, again.

ps. this question was asked in the forums as well however as someone
suggested in the forums, i am posting it here too.


Is your app limited by cpu or by i/o? What do vmstat/iostat says 
about your hd usage? Perhaps mongodb fails to read/write fast enough 
and making process thread pool bigger only will make problem worse, 
there will be more threads trying to read/write.


Have you already tuned mongodb?

Post more info please, several lines (not the first one) of iostat 
and vmstat may be a start. Your hd configuration, raid, etc... too.


L 



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


BIOS configuration for a Gigabyte GA-X58A-UD3R and i7 Intel processor

2012-01-02 Thread Patrick Mahan
All,

I am putting together a DIY system using a Gigabyte motherboard
and the Intel i7.  I plan on running FreeBSD 9.0 as the based OS.
I have a Seagate 1 TB Barracuda for the hard drive connected to
one of the sata controllers.

I've got a couple of questions regarding the SATA setup.

The motherboard has an Intel ICH10R South Bridge controlling
6 SATA2 (3.0 Gbs/s) devices, Gigabyte controlling 2 GSATA2 devices
(3.0 Gb/s) and a Marvell 9128 SATA3 (6.0 Gb/s) devices.

I currently have the HDD connected to the ICH10R.  My first question
is simply confirmation of what my googling seems to have turned up -
that this controller is supported by FreeBSD.

2nd question, the BIOS setup lists this controller mode as IDE
and the other possible values are -

  IDE = Disables RAID for this SATA controller, configures the
  controller in IDE mode

  RAID = Enables RAID for this SATA controller

  AHCI = Configures the SATA controller to Advanced Host Controller
   Interface mode to support enabled advanced Serial ATA
   commands such as Native Command Queuing and Hot plug.

Which mode is the best for FreeBSD?  The BIOS default is IDE.  I am
currently only using 1 HDD so I am not currently interested in RAID.
Is AHCI supported?

NOTE: these modes are listed for all three SATA controllers.

Thanks,

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


Mouse motion event holds up the input

2012-01-02 Thread Yuri

This started from some system update.

There are some strange dependencies on mouse motion event. For example, 
when google is open in chromium and I click on some search choice, it 
only goes there after I move the mouse, click itself is not enough.


Same when I press Ctrl-Alt-F1, it only goes to the black terminal when 
I move the mouse.
Another symptom that I think is related is that doubleclick on the word 
in konsole in kde4, and in all browsers, isn't selecting the word as it 
should.


I have rebuilt kde4 with all dependencies and it didn't help.

What might be the problem?

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


Re: FreeBSD Kernel Internals Documentation

2012-01-02 Thread Nikola Pavlović
On Sat, Dec 31, 2011 at 03:32:17PM -0500, David Jackson wrote:
 An OS should strive to be a better platform for many people, including
 techies and non-techies.
 
 A good software design philosophy is that good software  works out of the
 box without configuration using reasonable defaults, but, that that the
 software should be flexible, very configurable, the user should be able to
 configure everything how they need it, but they should not be required to.
 This allows the user to configure as much or as little as they want.
 
 Everything should be able to be accomplished with both GUI and CLI, and API.
 
 The entire system should be well understood, well documented and
 transparent . Its like a car, its better to have a car that has a spacious
 engine compartment and is very well documented in service manuals so that a
 car mechanic can easily fix it. While not every user may want  to get under
 the hood, a spacious, well documented and easy to fix space under the hood
 makes the mechanics job easier of fixing the car. The car being made more
 reliable and easier to use as well means that the common driver has fewer
 breakdowns. Windows is a terrible OS because its like a car with the entire
 engine area sealed in a compartment that can only be opened with the car
 manufacturer with a key, so mechanics cannot even repair it.
 
 There is no dount that UNIX is a better design system, due to the fact it
 is open and the underlying systems are well understood, well defined and
 well known, including due to the Unix philosophy of modularisation of
 components.
 
 
 I am in full agreement with Unix design philosophies and unix conventions.
 I definitely oppose any effort to re-invent Unix or break with unix
 conventionsand philosophies. It has been said that people who try to
 reinvent Unix will do so poorly. I agree. I am very much in favour of
 respecting Unix traditions, backwards compatability and conventions. For
 instance, supporting the X11 Window System i think is something that we
 should always commit to, it is important for compatability and for the
 flexibility it provides.
 

Have you ever considered running for office?  You would make an amazing
politician!  Here's what's wrong with the world and how to fix it, but
don't get me wrong, if you support the thing I'm trying to fix let me
assure you that I don't think anything is wrong with it and that you too can
safely vote for me.

 I think tis okay to build additions to the system, but in addition, to the
 existing components, not to overthrow existing parts of the system.
 
 Backwards compatability is very important which is why it is important to
 respect conventions such as POSIX.
 
  I think that we can create a GUI front end built on top of the Unix system
 that helps manage and configure the underlying Unix system for non-techie
 users. This is layered design that gives us both the techie friendliness
 and controllability of Unix and a GUI front end over that for non-techies.
 No one should be required to use a GUI front end and should be able to
 directly edit configuration files if they want and use the rich CLI that
 FreeBSD has. This is a philosophy i like of allowing  users to exercise as
 much or as little fine control over the system as they want.

OK, nice phylosophy.  Obvious question: why aren't you on Ubuntu forums
asking what button to press to get your USB capture device to work on 11.10?

On a slightly more serious note, you seem to be unaware of PC-BSD.  Also,
KDE.

I understand you think you thought things through and there can't
possibly be anyone sane disagreeing with your vague ideas about
usability, but allow me to yell in horror: I don't want layers of bullshit 
piling
inside of the operating system I use!  Please no!  A well documented
config file will do just fine.  Thanks.  And I'm pretty sure an
overwhelming majority of FreeBSD users and developers feel the same way,
that's why I'm using it in the first place.

And that's just the way it is now.  Try replicating the wealth of
information you get in various config files in FreeBSD in a GUI.  Just
how hard it is to open a simple text file in an editor and just fracking
do what it tells you to in comments?!  And it's not just the base
system, any decent third party program has this wonderfull feature.  How
hard can it be?!  Seriously.  Sure, sometimes things can get confusing
but that's the nature of any complex system, you can't make it go away
with a GUI.

What you're trying to solve is not an engineering but a mental health
problem--an irrational fear of comupters specifically and of reading
(and thinking even) in general.  No user interface can solve this
because it's not a user interface problem.  It's like going to a mathemathics
department at a university and demanding a GUI for math because most
folks get a panic attack when they see funny lookin' symbols.

And what the hell does all this have to do with kernel documentation and
your driver problem?  How is a 

Re: FreeBSD Kernel Internals Documentation

2012-01-02 Thread Nikola Pavlović
On Sat, Dec 31, 2011 at 02:59:20PM -0500, David Jackson wrote:
 
 
  FreeBSD is very well documented!
  I guess a lot of people can't cope with how structured and professional it
  is. They are used to chaos, fear, uncertainty and doubt and feel
  comfortable that way.
 
 
 My experience is that FreeBSD kernel documentation is  spotty and not
 really sufficient to understand the kernel. Without good documentation,
 code can take so much time to decipher it might be quicker to just throw it
 out and start from scratch. Maintainable code requires documentation.
 

What you wrote here is so full of generalizations and banal truisms
mixed with weasel words that it doesn't really mean anything.

 
  2. FreeBsd is a main-stream O/S-- just look at the number of different
  architectures/applications which are supported by FreeBSD.
 
  Main stream and top player for web and internet servers
 
 
 FreeBSD is far from being mainstream or practical for most users. I tried

So what?  Using a helicopter to get from A to B is far from being
mainstream and practical for most users of transportaion.  That doesn't
mean we should start putting wheels on them in hope more people who need
cars will start using helicopters.

 to use a USB video capture device. For you, what may be useless may be
 indespensible for others.  

I don't think anyone is claiming FreeBSD shouldn't support as much
reasonable hardware as possible.

 We should improve FreeBSD to make it work for
 better for more people, experts and non-techies alike. I am really appalled
 at an attitude that some have against making it better, adding features and
 functionality that will make for a smoother experience, its as if they dont
 care about anyone else and want the OS to be useful to no one else. We need
 to make it better for everyone.

Why?  But more importantly, define better and everyone.  Also, who
is this we?  I'm sorry but usually when someone starts lamenting that
we should x, especially in volunteer and FOSS projects, he/she usually
means anyone but me, I just want my stuff to work.

So you want your USB capture device to work, maybe you skimmed through
some documentation with the idea of writing a driver, but you can't make
sense of anything.  What are you doing on freebsd-questions posting
meaningless fresh-out-of-college ideas about software development?

You should be on freebsd-hackers asking specific question.

Linus has a good, timeless answer for the kind of phylosophy essays
you're writing here: Talk is cheap, show me the code.  Yes, it may
seem harsh and user-unfriendly, but that's just the way it is.

 
  4. Drivers aren't really a limitation. Look at the history of computing,
  that modern O/S support such diverse platforms is an amazing development.
  As far as I'm concerned, FreeBSD supports main stream components, there
  are
  no classes of components that I'm aware of which aren't supported by
  FreeBSD. If you need to use a particular device, for which there is no
  driver, historically it's not unusual to find that on any particular
  platform a particular device is not supported.
 
  It supports most things except the things you wouldn't want anyway
 
 
 Drivers are a huge limitation, the lack of them, Here I beleive you are
 just plain wrong. The fact is, people do not want to have to think about
 whether or not their hardware will work with an OS or fight the OS for days
 to make it work. Trhe truth is on Windows things really do just work. Ive
 set up Windows, I know this. Windows has other things however which make it
 undesirable to use. What I want to use is combine the things Windows has
 right with an open source, free OS. The way things are now does not make
 since, you can use Windows, and the hardwarw works, but its a closed
 platform. You can use FreeBSD, which has bad hardware support, but is an
 open platform. I want to see an open platforn that has great hardware
 support, even if we have to use binary drivers.
 

Let's ignore the oxymoronic open platform-binary drivers idea for a
moment.  Where did you get the idea that FreeBSD community in general
discards binary drivers?  How about bitching to the manufacturer of your
USB capture device?  What, you mean drivers don't magically grow on
trees ready to be plucked?!

 
  5. Nobody is making anyone use FreeBSD. It's free. If you don't enjoy it,
  don't use it. Maybe remove yourself from the mailing list-- or don't, if
  you just want to stay informed.
 
  If you don't like it, please leave, there are a lot of alternatives
 
 
 What you are saying here is that your idea is instead of FreeBSD being
 responsive to the needs of all users, you basically want to own the project
 and dont care about anyone else.
 

No, he is saying you should act rationally and either use the tool that
gets your job done, or if you don't like the tool start doing something
productive to get the tool you would like to have.  What you're doing
instead is writing meaningless fantasies about 

Re: BIOS configuration for a Gigabyte GA-X58A-UD3R and i7 Intel processor

2012-01-02 Thread Patrick Mahan


On 1/2/12 12:31 PM, Patrick Mahan wrote:
 All,
 
 I am putting together a DIY system using a Gigabyte motherboard
 and the Intel i7.  I plan on running FreeBSD 9.0 as the based OS.
 I have a Seagate 1 TB Barracuda for the hard drive connected to
 one of the sata controllers.
 
 I've got a couple of questions regarding the SATA setup.
 
 The motherboard has an Intel ICH10R South Bridge controlling
 6 SATA2 (3.0 Gbs/s) devices, Gigabyte controlling 2 GSATA2 devices
 (3.0 Gb/s) and a Marvell 9128 SATA3 (6.0 Gb/s) devices.
 
 I currently have the HDD connected to the ICH10R.  My first question
 is simply confirmation of what my googling seems to have turned up -
 that this controller is supported by FreeBSD.
 
 2nd question, the BIOS setup lists this controller mode as IDE
 and the other possible values are -
 
   IDE = Disables RAID for this SATA controller, configures the
   controller in IDE mode
 
   RAID = Enables RAID for this SATA controller
 
   AHCI = Configures the SATA controller to Advanced Host Controller
Interface mode to support enabled advanced Serial ATA
commands such as Native Command Queuing and Hot plug.
 
 Which mode is the best for FreeBSD?  The BIOS default is IDE.  I am
 currently only using 1 HDD so I am not currently interested in RAID.
 Is AHCI supported?
 
 NOTE: these modes are listed for all three SATA controllers.
 

All,

Slight addendum, I have found a link to Warren Block's instructions on
enabling AHCI support and others have pointed out that they are using
AHCI on GB motherboards.

Again, thanks,

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


Re: Help Recovering FBSD 8 ZFS System

2012-01-02 Thread Drew Tomlinson

On 1/2/2012 12:36 PM, Daniel Staal wrote:
--As of December 31, 2011 1:40:59 PM -0800, Drew Tomlinson is alleged 
to have said:


Thus it appears I am missing ad16 that I used to have.  My data zpool 
was

the bulk of my system with over 600 gig of files and things I'd like to
have back.  I thought that by creating a raidz1 I could avoid having to
back up the huge drive and avoid this grief.  However it appears I have
lost 2 disks at the same time.  :(

Any thoughts before I just give up on recovering my data pool?


Ouch.  All I can really say is 'Redundancy is not backup', but that's 
a bit trite...


Yes, I know redundancy doesn't protect against operator error and thus 
isn't a true backup.  However this is a personal system whose main 
function was to store DVDs, MP3s, photos, and the like.  I can recreate 
most of the content and have backups of the photos up until about a year 
ago (bad me).


The one thing you haven't mentioned trying that might be worth the 
attempt is trying the recovery from a 9.0 disk.  There has been work 
done on the ZFS system, and it's possible that something might work.   
But that's mostly just to be thorough...


I may try this.  However I suspect before anything can work, I have to 
get the missing disk(s) detected by the OS.  One (ad6) is detected but 
full of errors.  There is another that's not even seen.


As for what it was telling you: It was just saying it couldn't open 
the drives.  ;)  Which does bring up one other option: If you've got a 
different drive controller, you might try plugging the drives into 
it.  (In the hopes that it's the *controller* and not the drive that's 
gone bad. Unlikely, bit it *does* happen.)


Thanks.  I'll keep that in mind.  However in this case, the controller 
is a SATA that's integrated into the motherboard.  Since two of 4 are 
working, that would mean the controller is OK, right?  I guess I could 
swap SATA cables for a test.


(Depending on the value of the data pool, a good data recovery service 
might be able to do something as well.  But they'd have to be a very 
good service, and know what they were working with.)



And regarding my root pool, my system can't mount root and start.  What
do I need to do to boot from my degraded root pool.  Here's the current
status:

# zpool status
   pool: root
  state: DEGRADED
status: One or more devices could not be opened.  Sufficient replicas
exist for
 the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
see: http://www.sun.com/msg/ZFS-8000-2Q
  scrub: none requested
config:

 NAMESTATE READ
WRITE CKSUM
 rootDEGRADED 0
0 0
   mirrorDEGRADED 0
0 0
 gptid/5b623854-6c46-11de-ae82-001b21361de7  ONLINE   0
0 0
 12032653780322685599UNAVAIL  0
0 0  was /dev/ad6p3

Do I just need to do a 'zpool detach root /dev/ad6p3' to remove it from
the pool and get it to boot?  And then once I replace the disk a 'zpool
attach root new partition' to fix?

Thanks for your time.


Personally, I'd do a 'zpool replace /dev/ad6p3 /dev/$NEWDRIVE', but 
the above should work as well.  What's odd though is that you can't 
boot from it as is: Degraded should be considered functional, and it 
should let you boot.  You mentioned updating the zpool to v15.  Did 
you update the boot block at the same time?  (Just checking the 
basics.)  It'd need to be able to read the updated zpool.


I assume I upgraded the boot block since I've had no trouble booting 
before the drive failures and the upgrade was a long time ago.


Thanks for your help.

Drew

--
Like card tricks?

Visit The Alchemist's Warehouse to
learn card magic secrets for free!

http://alchemistswarehouse.com


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


Re: freebsd server limits question

2012-01-02 Thread Robert Boyer
To deal with this kind of traffic you will most likely need to set up a mongo 
db cluster of more than a few instances… much better. There should be A LOT of 
info on how to scale mongo to the level you are looking for but most likely you 
will find that on ruby forums NOT on *NIX boards….

The OS boards/focus will help you with fine tuning but all the fine tuning in 
the world will not solve an app architecture issue…

I have setup MASSIVE mongo/ruby installs for testing that can do this sort of 
volume with ease… the stack looks something like this….

Nginix 
Unicorn
Sinatra
MongoMapper
MongoDB

with only one Nginix instance can feed an almost arbitrary number of 
Unicorn/Sinatra/MongoMapper instances that can in turn feed a properly 
configured MongoDB cluster with pre-allocated key distribution so that the 
incoming inserts are spread evenly against the cluster instances…

Even if you do not use ruby that community will have scads of info on scaling 
MongoDB.

One more comment related to L's advice - true you DO NOT want more transactions 
queued up if your back-end resources cannot handle the TPS - this will just 
make the issue harder to isolate and potentially make the recovery more 
difficult. Better to reject the connection at the front-end than take it and 
blow up the app/system.

The beauty of the Nginix/Unicorn solution (Unicorn is ruby specific) is that 
there is no queue that is feed to the workers when there are no workers - the 
request is rejected. The unicorn worker model can be reproduced for any other 
implementation environment (PHP/Perl/C/etc) outside of ruby in about 30 
minutes. It's simple and Nginix is very well suited to low overhead reverse 
proxy to this kind of setup.

Wishing you the best - if i can be of more help let me know…

RB

On Jan 2, 2012, at 3:38 PM, Eduardo Morras wrote:

 At 20:12 02/01/2012, Muhammet S. AYDIN wrote:
 Hello everyone.
 
 My first post here and I'd like to thank everyone who's involved within the
 FreeBSD project. We are using FreeBSD on our web servers and we are very
 happy with it.
 
 We have an online messaging application that is using mongodb. Our members
 send messages to the voice show's (turkish version) contestants. Our two
 mongodb instances ended up in two centos6 servers. We have failed. So hard.
 There were announcements and calls made live on tv. We had +30K/sec
 visitors to the app.
 
 When I looked at the mongodb errors, I had thousands of these:
 http://pastie.org/private/nd681sndos0bednzjea0g. You may be wondering why
 I'm telling you about centos. Well, we are making the switch from centos to
 freebsd FreeBSD. I would like to know what are our limits? How we can set
 it up so our FreeBSD servers can handle min 20K connections (mongodb's
 connection limit)?
 
 Our two servers have 24 core CPUs and 32 GBs of RAM. We are also very open
 to suggestions. Please help me out here so we don't fail deadly, again.
 
 ps. this question was asked in the forums as well however as someone
 suggested in the forums, i am posting it here too.
 
 Is your app limited by cpu or by i/o? What do vmstat/iostat says about your 
 hd usage? Perhaps mongodb fails to read/write fast enough and making process 
 thread pool bigger only will make problem worse, there will be more threads 
 trying to read/write.
 
 Have you already tuned mongodb?
 
 Post more info please, several lines (not the first one) of iostat and vmstat 
 may be a start. Your hd configuration, raid, etc... too.
 
 L 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: Thinkpad w500 microphone with Conexant CX20561 (Hermosa)

2012-01-02 Thread Bill Tillman


 



From: Eric Schuele e.schu...@computer.org
To: Lyubomir Grigorov lyubo...@grigorovl.eu 
Cc: freebsd-questions@freebsd.org 
Sent: Sunday, January 1, 2012 5:34 PM
Subject: Re: Thinkpad w500 microphone with Conexant CX20561 (Hermosa)


On 01/01/2012 15:23, Lyubomir Grigorov wrote:
 I assume you are using Skype with linuxator? In this case, are the sound 
 devices in Skype set to OSS? From the PC-BSD forum, the following got sound 
 working for me, since OSS wasn't showing as an option:

hmm.  well. thats a good quesiton (with linuxulator?) now that you
mention it.
The port is marked BROKEN.  and if you unmark it as such you can't get
the distfiles.  So I pulled them off a machine I had it one from some
time (years?) back and built it.  It built fine.  Runs fine.  Digging
into var/db/pkg/skype* ... +CONTENTS says linux this and that  so
I'd dare to say yes then.

There does not seem to be a config option in Skype that I can find to
set it to use OSS.  Just says '/dev/dsp' and /dev/dsp0'.

 
 # pkg_add -r linux-f10-alsa-plugins-oss
 # cp /compat/linux/etc/alsa/pcm/pcm-oss.conf-dist 
  /compat/linux/etc/alsa/pcm/
 

I'm not seeing the above in the ports tree.  :/

 Lyubomir Grigorov (bgalakazam)


Hard to believe that ThinkPads are still in existence. The overpriced computers 
that so many folks just had to have back in the mid to late 1990's. I recall 
one lawyer I worked for paid over $7,000 USD for his ThinkPad and that 15 years 
ago when the dollar was still ahead of the Euro. Everybody wanted one because 
of those three magic lettters, IBM. And I always thought that was funny 
because IBM made very little if any of the parts that went into a ThinkPad 
laptop.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd server limits question

2012-01-02 Thread mikel king

On Jan 2, 2012, at 4:21 PM, Robert Boyer wrote:

 To deal with this kind of traffic you will most likely need to set up a mongo 
 db cluster of more than a few instances… much better. There should be A LOT 
 of info on how to scale mongo to the level you are looking for but most 
 likely you will find that on ruby forums NOT on *NIX boards….

Suggest hitting up 10gen as well they usually have some knowledgeable 
individuals available to talk mongo...

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


Re: FreeBSD Kernel Internals Documentation

2012-01-02 Thread Mario Lobo
On Monday 02 January 2012 18:42:44 Nikola Pavlović wrote:
 On Sat, Dec 31, 2011 at 03:32:17PM -0500, David Jackson wrote:

[troll snipper]

  . perhaps could be a porting of the IOKit
  driver system from Darwin, perhaps even allowing Darwin drivers to be
  used on FreeBSD. All of this can go into a kernel module so that if all
  one uses is native FreeBSD drivers made for FreeBSDs normal driver API,
  they won't need to load this subsystem.
 
 You see, you could have just proposed this in the first place instead of
 provoking a flame fest, ranting about, mostly imagined, lack of
 documentation, GUI configuration tools and giving condescending lectures
 on programmer productivity.  Oh well...

Right on, Nikola !

But David's paragraph I left in is a real dream for me. It is basicaly 
what's keeping me from using FBSD as my audio workstation.

I have an Echo Gina3D card there is simply no FBSD driver for it. But there 
are Mac drivers from Echo!.

I even too a shot at downloading the framework/API from Echo (windows :( )
but it is just way above me.

A colegue from Japan had written a driver for an old Echo Gina 20 bit which I 
managed to compile and load (believe it or not) but it was for FBSD 5. I tried 
to compile it on my FBSD 8 STABLE but it issues too much errors that (again) 
is beyond my capacity.

But I'm a stubborn one, so I'll try to keep learning from my mistakes. Maybe 
one day a new driver for FBSD will be born.

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winblows FREE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mailing list and personal assaults

2012-01-02 Thread Bill Tillman

 
 



From: Johan Hendriks joh.hendr...@gmail.com
To: FreeBSD freebsd-questions@freebsd.org 
Sent: Monday, January 2, 2012 8:58 AM
Subject: mailing list and personal assaults


I as a normal sys admin like to read the mailing lists, because it learned me a 
lot, and it still does.

But lately it looks like more and more people get personal!
The word ass, has passed this year even more  then i used my own.

Maybe it is the time we live in, but please !
If you are not agree with someone's statement or thoughts, ignore it or write 
your thoughts and be done with it.

regards
Johan

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


I agree. A mailing list like this should not fall to the lowest common 
denominator. And I would like to add that while this community seems to be an 
exception, far too often someone wastes bandwidth and bytes by telling the 
person with a question to RTFM. I just finished a rather complicated project 
which took me days to resolve and several times when I asked questions there 
was always some wise crack at hand who would make the commen that if you just 
RTFM everything would be fine. In this case the manuals were lacking and most 
of the data was obselete or irrelavent to the project I was conductingkind 
of like FreeBSD documentation.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd server limits question

2012-01-02 Thread Robert Boyer
Sorry one more thought and a clarification….


I have found that it is best to run mongos with each app server instance most 
of the mongo interface libraries aren't intelligent about the way that they 
distribute requests to available mongos processes. mongos processes are also 
relatively lightweight and need no coordination or synchronization with each 
other - simplifies things a lot and makes any potential bugs/complexity with 
app server/mongo db connection logic just go away.

It's pretty important when configuring shards to take on the write volume that 
you do your best to pre-allocate chunks and avoid chunk migrations during your 
traffic floods - not hard to do at all. There are also about a million 
different ways to deal with atomicity (if that is a word) and a very mongo 
specific way of ensuring writes actually made it to disk somewhere = from 
your brief description of the app in question it does not sound that it is too 
critical to ensure every single solitary piece of data persists no matter 
what as I am assuming most of it is irrelevant and becomes completely 
irrelevant after the show- or some time there after. Most of the programing and 
config examples make an opposite assumption in that they assume that each 
transaction MUST be completely durable - if you forgo that you can get 
screaming TPS out of a mongo shard.

Also if you do not find what you are looking for via a ruby support group - the 
JS and node JS community also may be of assistance but they tend to have a very 
narrow view of the world…. ;-)

RB
On Jan 2, 2012, at 4:21 PM, Robert Boyer wrote:

 To deal with this kind of traffic you will most likely need to set up a mongo 
 db cluster of more than a few instances… much better. There should be A LOT 
 of info on how to scale mongo to the level you are looking for but most 
 likely you will find that on ruby forums NOT on *NIX boards….
 
 The OS boards/focus will help you with fine tuning but all the fine tuning in 
 the world will not solve an app architecture issue…
 
 I have setup MASSIVE mongo/ruby installs for testing that can do this sort of 
 volume with ease… the stack looks something like this….
 
 Nginix 
 Unicorn
 Sinatra
 MongoMapper
 MongoDB
 
 with only one Nginix instance can feed an almost arbitrary number of 
 Unicorn/Sinatra/MongoMapper instances that can in turn feed a properly 
 configured MongoDB cluster with pre-allocated key distribution so that the 
 incoming inserts are spread evenly against the cluster instances…
 
 Even if you do not use ruby that community will have scads of info on scaling 
 MongoDB.
 
 One more comment related to L's advice - true you DO NOT want more 
 transactions queued up if your back-end resources cannot handle the TPS - 
 this will just make the issue harder to isolate and potentially make the 
 recovery more difficult. Better to reject the connection at the front-end 
 than take it and blow up the app/system.
 
 The beauty of the Nginix/Unicorn solution (Unicorn is ruby specific) is that 
 there is no queue that is feed to the workers when there are no workers - the 
 request is rejected. The unicorn worker model can be reproduced for any other 
 implementation environment (PHP/Perl/C/etc) outside of ruby in about 30 
 minutes. It's simple and Nginix is very well suited to low overhead reverse 
 proxy to this kind of setup.
 
 Wishing you the best - if i can be of more help let me know…
 
 RB
 
 On Jan 2, 2012, at 3:38 PM, Eduardo Morras wrote:
 
 At 20:12 02/01/2012, Muhammet S. AYDIN wrote:
 Hello everyone.
 
 My first post here and I'd like to thank everyone who's involved within the
 FreeBSD project. We are using FreeBSD on our web servers and we are very
 happy with it.
 
 We have an online messaging application that is using mongodb. Our members
 send messages to the voice show's (turkish version) contestants. Our two
 mongodb instances ended up in two centos6 servers. We have failed. So hard.
 There were announcements and calls made live on tv. We had +30K/sec
 visitors to the app.
 
 When I looked at the mongodb errors, I had thousands of these:
 http://pastie.org/private/nd681sndos0bednzjea0g. You may be wondering why
 I'm telling you about centos. Well, we are making the switch from centos to
 freebsd FreeBSD. I would like to know what are our limits? How we can set
 it up so our FreeBSD servers can handle min 20K connections (mongodb's
 connection limit)?
 
 Our two servers have 24 core CPUs and 32 GBs of RAM. We are also very open
 to suggestions. Please help me out here so we don't fail deadly, again.
 
 ps. this question was asked in the forums as well however as someone
 suggested in the forums, i am posting it here too.
 
 Is your app limited by cpu or by i/o? What do vmstat/iostat says about your 
 hd usage? Perhaps mongodb fails to read/write fast enough and making process 
 thread pool bigger only will make problem worse, there will be more threads 
 trying to read/write.
 
 Have you already tuned 

Re: Help Recovering FBSD 8 ZFS System

2012-01-02 Thread Daniel Staal
--As of January 2, 2012 2:14:55 PM -0800, Drew Tomlinson is alleged to have 
said:



Thanks.  I'll keep that in mind.  However in this case, the controller is
a SATA that's integrated into the motherboard.  Since two of 4 are
working, that would mean the controller is OK, right?  I guess I could
swap SATA cables for a test.


--As for the rest, it is mine.

Actually, typically one controller only runs two drives, IIRC.  So you 
could have one bad controller out of two.  If swapping cables helps, you 
may want to try getting a SATA card or something similar.  (If swapping 
cables means you can see the other two drives, a SATA card should mean 
you'll get all your data back.)


Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Re: Help Recovering FBSD 8 ZFS System

2012-01-02 Thread sykadul
Ladies and gentleman, I will be unplugged from my email until the 17th of 
January.

In the mean time here's a video of a bunny opening your mail 
http://www.youtube.com/watch?v=LMyaRmTwdKs

Your mail will not be forwarded and I will contact you when I come back, 
alternatively you can contact one of the other administrators or email 
i...@astalavista.com

Merry christmas and a happy new year!

Best regards,
Sykadul


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


nss_ldap and the linuxulator

2012-01-02 Thread perryh
Forwarding to emulation@, which is where the linuxulator gurus hang
out (AFAIK).  Please keep Da Rock in the Cc:



Date: Mon, 02 Jan 2012 21:59:57 +1000
From: Da Rock freebsd-questi...@herveybayaustralia.com.au
To: freebsd-questions@freebsd.org
Subject: nss_ldap and the linuxulator

I've just run into this snag again which I've resolved back in 7.x/8.1: 
the linuxulator cannot handle nss lookups from ldap. I ran a search for 
nss_ldap fedora 10 and simply extracted from the rpm the 
libnss_ldap*.so* in the usr/lib into the corresponding directory under 
/compat/linux.

One then only has to copy or setup the ldap.conf in /compat/linux/etc/ 
and change /compat/linux/etc/nsswitch.conf so the it will check files 
and ldap as in the base.

It works a charm when you have issues like the missus with acroread and 
others not working inexplicably. Run acroread from the command line will 
give you the clue: getpwuid_r(): failed due to unknown user id. This 
solution does fix this categorically.

I hope this helps others, but I do have one question: why isn't this 
included in the ports already?

I still haven't yet figured out cups and printer selection yet, but I 
have made some progress... :)

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


Re: Waay OT Now... FreeBSD Kernel Internals Documentation

2012-01-02 Thread Da Rock

On 01/03/12 08:10, Mario Lobo wrote:

On Monday 02 January 2012 18:42:44 Nikola Pavlović wrote:

On Sat, Dec 31, 2011 at 03:32:17PM -0500, David Jackson wrote:

[troll snipper]


. perhaps could be a porting of the IOKit
driver system from Darwin, perhaps even allowing Darwin drivers to be
used on FreeBSD. All of this can go into a kernel module so that if all
one uses is native FreeBSD drivers made for FreeBSDs normal driver API,
they won't need to load this subsystem.

You see, you could have just proposed this in the first place instead of
provoking a flame fest, ranting about, mostly imagined, lack of
documentation, GUI configuration tools and giving condescending lectures
on programmer productivity.  Oh well...

Right on, Nikola !

But David's paragraph I left in is a real dream for me. It is basicaly
what's keeping me from using FBSD as my audio workstation.

I have an Echo Gina3D card there is simply no FBSD driver for it. But there
are Mac drivers from Echo!.

I even too a shot at downloading the framework/API from Echo (windows :( )
but it is just way above me.

A colegue from Japan had written a driver for an old Echo Gina 20 bit which I
managed to compile and load (believe it or not) but it was for FBSD 5. I tried
to compile it on my FBSD 8 STABLE but it issues too much errors that (again)
is beyond my capacity.

But I'm a stubborn one, so I'll try to keep learning from my mistakes. Maybe
one day a new driver for FBSD will be born.
Completely off thread now... but I've had success using FBSD as an audio 
workstation for a recording job.


Used Audacity, Rosegarden, hydrogen and Jack with a Yamaha usb 
soundboard. Midi was an issue though, and I used a linux workstation 
with Jack using net backend. That was over a year ago, and now I believe 
there is a jack midi interface for FBSD.


Works well, but your hardware sounds like it does differ greatly, sorry.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mailing list and personal assaults

2012-01-02 Thread Da Rock

On 01/03/12 08:19, Bill Tillman wrote:

I agree. A mailing list like this should not fall to the lowest common denominator. And I 
would like to add that while this community seems to be an exception, far too often 
someone wastes bandwidth and bytes by telling the person with a question to RTFM. I just 
finished a rather complicated project which took me days to resolve and several times 
when I asked questions there was always some wise crack at hand who would make the commen 
that if you just RTFM everything would be fine. In this case the manuals were 
lacking and most of the data was obselete or irrelavent to the project I was 
conductingkind of like FreeBSD documentation.
That is unfortunately the case more often then not. There are use cases 
out there, but a lot of times the description of actually config 
variables is obscure.


I'm hoping to try and fix that, but its on a todo list. I'll post 
something when I have it up and running.

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


Re: Mouse motion event holds up the input

2012-01-02 Thread Warren Block

On Mon, 2 Jan 2012, Yuri wrote:


This started from some system update.

There are some strange dependencies on mouse motion event. For example, when 
google is open in chromium and I click on some search choice, it only goes 
there after I move the mouse, click itself is not enough.


Same when I press Ctrl-Alt-F1, it only goes to the black terminal when I 
move the mouse.
Another symptom that I think is related is that doubleclick on the word in 
konsole in kde4, and in all browsers, isn't selecting the word as it should.


I have rebuilt kde4 with all dependencies and it didn't help.

What might be the problem?


That's (often) a classic problem with setting AllowEmptyInput Off.
  http://www.wonkity.com/~wblock/docs/html/aei.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Waay OT Now... FreeBSD Kernel Internals Documentation

2012-01-02 Thread Mario Lobo
On Monday 02 January 2012 20:25:22 Da Rock wrote:
 On 01/03/12 08:10, Mario Lobo wrote:
  On Monday 02 January 2012 18:42:44 Nikola Pavlović wrote:
  On Sat, Dec 31, 2011 at 03:32:17PM -0500, David Jackson wrote:
  [troll snipper]
  
  . perhaps could be a porting of the IOKit
  driver system from Darwin, perhaps even allowing Darwin drivers to be
  used on FreeBSD. All of this can go into a kernel module so that if all
  one uses is native FreeBSD drivers made for FreeBSDs normal driver API,
  they won't need to load this subsystem.
  
  You see, you could have just proposed this in the first place instead of
  provoking a flame fest, ranting about, mostly imagined, lack of
  documentation, GUI configuration tools and giving condescending lectures
  on programmer productivity.  Oh well...
  
  Right on, Nikola !
  
  But David's paragraph I left in is a real dream for me. It is basicaly
  what's keeping me from using FBSD as my audio workstation.
  
  I have an Echo Gina3D card there is simply no FBSD driver for it. But
  there are Mac drivers from Echo!.
  
  I even too a shot at downloading the framework/API from Echo (windows :(
  ) but it is just way above me.
  
  A colegue from Japan had written a driver for an old Echo Gina 20 bit
  which I managed to compile and load (believe it or not) but it was for
  FBSD 5. I tried to compile it on my FBSD 8 STABLE but it issues too much
  errors that (again) is beyond my capacity.
  
  But I'm a stubborn one, so I'll try to keep learning from my mistakes.
  Maybe one day a new driver for FBSD will be born.
 
 Completely off thread now... but I've had success using FBSD as an audio
 workstation for a recording job.
 

Humm ... Drivers off-topic in a Kernel Internal documentation discussion?
It may be a little off-topic from the OP, but waay OT? Please, allow me to 
disagree.


 Used Audacity, Rosegarden, hydrogen and Jack with a Yamaha usb
 soundboard. Midi was an issue though, and I used a linux workstation
 with Jack using net backend. That was over a year ago, and now I believe
 there is a jack midi interface for FBSD.
 
 Works well, but your hardware sounds like it does differ greatly, sorry.

Yeah! I've done that too (all on FBSD). But I need it to work with a bit 
higher end cards like the Gina3D for pro-work.

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winblows FREE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Realtek RTL8191SEvB Linux driver?

2012-01-02 Thread Jeffrey McFadden
I have a Toshiba Satellite U505-S2950 laptop with a Realtek RTL8191SEvB
wireless card built in.  FreeBSD doesn't recognize this card and can't use
it, but Ubuntu does.

Would it be possible to go glom a Linux driver off the web someplace and
install it in my FreeBSD and get the wireless to work?  I'm using a USB
Belkin in it now, but that's an unhandy thing sticking out like it does.

Thanks,

Jeff


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


Re: FreeBSD Kernel Internals Documentation

2012-01-02 Thread Walter Alejandro Iglesias
On Mon, Jan 02, 2012 at 12:33:20PM -0700, Chad Perrin wrote:
 Ubuntu, actually, has thrown out the baby with the bathwater.  In its
 zeal to make things just work in a particular manner, it seems
 hell-bent on ignoring all but one way to do things, even as it tries to
 dominate its entire market niche to the extent that it eclipses and
 marginalizes alternatives.


My two cents with other point of view:

OSs need popularity; it encourages hardware manufacturers to
write drivers and, even better, share the source.  That makes
the existence of Ubuntu necessary for linux and indirectly to
freebsd.

To blame Bill or Steve and appeal to the freedom of users is
demagogy since the real dictator are the users themselves.
Unfortunately, average final user profile is nearer to my mother
in law (she obviously uses MS Windows) than people with
professional specific needs like you and me.

Negate or hide obvious FreeBSD (or Linux) limitations is the
same error than making look Ubuntu easier than it really is or
worse, make it look like something that it definitely is not.
New users feel fooled or betrayed, that's why some of them
reacts complaining.  Anyway I don't feel confident enough to
assure if this is a good or bad marketing strategy.  I remember,
in a very bad network curse I did some years ago, a young
classmate that after seeing for the first time the KDE desktop
disappointed exclaimed: But, It is like Windows!

I think the better strategy at long term is to be honest.  Other
point to consider is that the statements done by who initiated
this thread are a goal; a goal does not need to be possible
to be useful; they are necessary like a projection, like an
idea.


Walter



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


Re: freebsd server limits question

2012-01-02 Thread Robert Boyer
Just realized that the MongoDB site now has some recipes up for what you really 
need to do to make sure you can handle a lot of incoming new documents 
concurrently….

Boy you had to figure this stuff out yourself just last year - I guess the 
mongo community has come a very long way….

Splitting Shard Chunks - MongoDB


enjoy….

RB

On Jan 2, 2012, at 5:38 PM, Robert Boyer wrote:

 Sorry one more thought and a clarification….
 
 
 I have found that it is best to run mongos with each app server instance most 
 of the mongo interface libraries aren't intelligent about the way that they 
 distribute requests to available mongos processes. mongos processes are also 
 relatively lightweight and need no coordination or synchronization with each 
 other - simplifies things a lot and makes any potential bugs/complexity with 
 app server/mongo db connection logic just go away.
 
 It's pretty important when configuring shards to take on the write volume 
 that you do your best to pre-allocate chunks and avoid chunk migrations 
 during your traffic floods - not hard to do at all. There are also about a 
 million different ways to deal with atomicity (if that is a word) and a very 
 mongo specific way of ensuring writes actually made it to disk somewhere = 
 from your brief description of the app in question it does not sound that it 
 is too critical to ensure every single solitary piece of data persists no 
 matter what as I am assuming most of it is irrelevant and becomes completely 
 irrelevant after the show- or some time there after. Most of the programing 
 and config examples make an opposite assumption in that they assume that each 
 transaction MUST be completely durable - if you forgo that you can get 
 screaming TPS out of a mongo shard.
 
 Also if you do not find what you are looking for via a ruby support group - 
 the JS and node JS community also may be of assistance but they tend to have 
 a very narrow view of the world…. ;-)
 
 RB
 On Jan 2, 2012, at 4:21 PM, Robert Boyer wrote:
 
 To deal with this kind of traffic you will most likely need to set up a 
 mongo db cluster of more than a few instances… much better. There should be 
 A LOT of info on how to scale mongo to the level you are looking for but 
 most likely you will find that on ruby forums NOT on *NIX boards….
 
 The OS boards/focus will help you with fine tuning but all the fine tuning 
 in the world will not solve an app architecture issue…
 
 I have setup MASSIVE mongo/ruby installs for testing that can do this sort 
 of volume with ease… the stack looks something like this….
 
 Nginix 
 Unicorn
 Sinatra
 MongoMapper
 MongoDB
 
 with only one Nginix instance can feed an almost arbitrary number of 
 Unicorn/Sinatra/MongoMapper instances that can in turn feed a properly 
 configured MongoDB cluster with pre-allocated key distribution so that the 
 incoming inserts are spread evenly against the cluster instances…
 
 Even if you do not use ruby that community will have scads of info on 
 scaling MongoDB.
 
 One more comment related to L's advice - true you DO NOT want more 
 transactions queued up if your back-end resources cannot handle the TPS - 
 this will just make the issue harder to isolate and potentially make the 
 recovery more difficult. Better to reject the connection at the front-end 
 than take it and blow up the app/system.
 
 The beauty of the Nginix/Unicorn solution (Unicorn is ruby specific) is that 
 there is no queue that is feed to the workers when there are no workers - 
 the request is rejected. The unicorn worker model can be reproduced for any 
 other implementation environment (PHP/Perl/C/etc) outside of ruby in about 
 30 minutes. It's simple and Nginix is very well suited to low overhead 
 reverse proxy to this kind of setup.
 
 Wishing you the best - if i can be of more help let me know…
 
 RB
 
 On Jan 2, 2012, at 3:38 PM, Eduardo Morras wrote:
 
 At 20:12 02/01/2012, Muhammet S. AYDIN wrote:
 Hello everyone.
 
 My first post here and I'd like to thank everyone who's involved within the
 FreeBSD project. We are using FreeBSD on our web servers and we are very
 happy with it.
 
 We have an online messaging application that is using mongodb. Our members
 send messages to the voice show's (turkish version) contestants. Our two
 mongodb instances ended up in two centos6 servers. We have failed. So hard.
 There were announcements and calls made live on tv. We had +30K/sec
 visitors to the app.
 
 When I looked at the mongodb errors, I had thousands of these:
 http://pastie.org/private/nd681sndos0bednzjea0g. You may be wondering why
 I'm telling you about centos. Well, we are making the switch from centos to
 freebsd FreeBSD. I would like to know what are our limits? How we can set
 it up so our FreeBSD servers can handle min 20K connections (mongodb's
 connection limit)?
 
 Our two servers have 24 core CPUs and 32 GBs of RAM. We are also very open
 to suggestions. Please help me out here so we don't fail deadly, 

pf not seeing inbound packets on netgraph interface

2012-01-02 Thread Ed Carrel
Hi freebsd-questions,

I am running into a roadblock getting PF to filter traffic on a Netgraph
interface representing an L2TP/IPSec connection. I have done some narrowing
down of the problem, but was hoping to get some advice on figuring out
where to go digging next, or things to try.

Also, please let me know if I should ask this on another list.

For context, here is what I have setup so far: I am running FreeBSD 8.2
with IPSec support compiled into the kernel. Here's the details from uname:

# uname -a
FreeBSD  8.2-RELEASE-p4 FreeBSD 8.2-RELEASE-p4 #2: Sun Nov 27 04:12:16
PST 2011   i386

I am following what seems like a typical setup of racoon(8) and setkey(8),
and am having mpd5 handle construction of the L2TP nodes in netgraph. I can
provide the details on the configuration of each of these, if desired. When
I startup racoon in the foreground and ask mpd to construct an L2TP link, I
can see both the IPSec tunnel and the L2TP link establish without a
problem. I am able to ping the remote end, and, if I set up a routing rule,
can contact and ssh to hosts at the other end of the tunnel.

Here's how netgraph sees the world when thing are established:

# ngctl list
There are 13 total nodes:
  Name: unnamed   Type: ksocket ID: 01b3   Num hooks: 1
  Name: unnamed   Type: l2tpID: 01b1   Num hooks: 3
  Name: unnamed   Type: socket  ID: 01b0   Num hooks: 1
  Name: ng0 Type: iface   ID: 01b6   Num hooks: 1
  Name: ngctl26124  Type: socket  ID: 01bd   Num hooks: 0
  Name: ngctl19375  Type: socket  ID: 00ba   Num hooks: 0
  Name: mpd25875-stats  Type: socket  ID: 01b8   Num hooks: 0
  Name: mpd25875-WPLink-lt Type: tee ID: 01af   Num hooks: 2
  Name: mpd25875-csoType: socket  ID: 01ad   Num hooks: 0
  Name: mpd25875-esoType: socket  ID: 01ae   Num hooks: 0
  Name: mpd25875-lsoType: socket  ID: 01ac   Num hooks: 1
  Name: mpd25875-WPBundle-1 Type: ppp ID: 01b7   Num hooks:
3
  Name: ng0-tee Type: tee ID: 01b9   Num hooks: 2
#

The problem I have is that PF only sees traffic on the outbound side of the
netgraph interface. But, the rest of the network stack appears to see data
going both ways:

# ifconfig ng0
ng0: flags=88d1UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST metric 0
mtu 1322
inet 10.10.7.40 -- 10.10.0.2 netmask 0x

# pfctl -vvs Interfaces -i ng0
ng0
Cleared: Sun Dec 25 21:14:44 2011
References:  [ States:  0  Rules: 9  ]
 In4/Pass:[ Packets: 0  Bytes: 0  ]
In4/Block:   [ Packets: 0  Bytes: 0  ]
 Out4/Pass:   [ Packets:    Bytes: 446225 ]
Out4/Block:  [ Packets: 622Bytes: 56336  ]
 In6/Pass:[ Packets: 0  Bytes: 0  ]
In6/Block:   [ Packets: 0  Bytes: 0  ]
 Out6/Pass:   [ Packets: 0  Bytes: 0  ]
Out6/Block:  [ Packets: 0  Bytes: 0  ]

# netstat -I ng0 -bn
NameMtu Network   Address  Ipkts Ierrs Idrop Ibytes
   Opkts Oerrs Obytes  Coll
ng01322 Link#8  56 0 0   5069
  98 0   6032 0
ng01322 10.10.7.40/32 10.10.7.40  56 - -   5069
  54 -   3472 -

I have stood up this interface several times, hence the differing numbers
between the PF and netstat. The cause for concern is the lack of packets
going through PF when inbound on ng0 -- no problem both seeing them and
applying rules going outbound. There isn't a peep about the inbound traffic
within pflog0, either.

I can see traffic going both ways in tcpdump, and nothing looks peculiar
about the packets.

# tcpdump -c 10 -i ng0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ng0, link-type NULL (BSD loopback), capture size 96 bytes
22:06:37.201732 IP 10.10.7.40.43113  10.10.4.3.ssh: Flags [S], seq
3442571726, win 65535, options [mss 1282,nop,wscale 3,sackOK,TS val
694436002 ecr 0], length 0
22:06:37.263336 IP 10.10.4.3.ssh  10.10.7.40.43113: Flags [S.], seq
1974232057, ack 3442571727, win 14480, options [mss 1282,sackOK,TS val
370681934 ecr 694436002,nop,wscale 7], length 0
22:06:37.263577 IP 10.10.7.40.43113  10.10.4.3.ssh: Flags [.], ack 1, win
8255, options [nop,nop,TS val 694436064 ecr 370681934], length 0
22:06:37.282835 IP 10.10.4.3.ssh  10.10.7.40.43113: Flags [P.], ack 1, win
114, options [nop,nop,TS val 370681940 ecr 694436064], length 21
22:06:37.283931 IP 10.10.7.40.43113  10.10.4.3.ssh: Flags [P.], ack 22,
win 8255, options [nop,nop,TS val 694436084 ecr 370681940], length 40
22:06:37.300729 IP 10.10.4.3.ssh  10.10.7.40.43113: Flags [.], ack 41, win
114, options 

Re: FreeBSD Kernel Internals Documentation

2012-01-02 Thread Da Rock

On 01/03/12 12:06, Walter Alejandro Iglesias wrote:

On Mon, Jan 02, 2012 at 12:33:20PM -0700, Chad Perrin wrote:

Ubuntu, actually, has thrown out the baby with the bathwater.  In its
zeal to make things just work in a particular manner, it seems
hell-bent on ignoring all but one way to do things, even as it tries to
dominate its entire market niche to the extent that it eclipses and
marginalizes alternatives.


My two cents with other point of view:

OSs need popularity; it encourages hardware manufacturers to
write drivers and, even better, share the source.  That makes
the existence of Ubuntu necessary for linux and indirectly to
freebsd.

To blame Bill or Steve and appeal to the freedom of users is
demagogy since the real dictator are the users themselves.
Unfortunately, average final user profile is nearer to my mother
in law (she obviously uses MS Windows) than people with
professional specific needs like you and me.

Negate or hide obvious FreeBSD (or Linux) limitations is the
same error than making look Ubuntu easier than it really is or
worse, make it look like something that it definitely is not.
New users feel fooled or betrayed, that's why some of them
reacts complaining.  Anyway I don't feel confident enough to
assure if this is a good or bad marketing strategy.  I remember,
in a very bad network curse I did some years ago, a young
classmate that after seeing for the first time the KDE desktop
disappointed exclaimed: But, It is like Windows!

I think the better strategy at long term is to be honest.  Other
point to consider is that the statements done by who initiated
this thread are a goal; a goal does not need to be possible
to be useful; they are necessary like a projection, like an
idea.

I agree entirely. My bias is toward the attitude and ethics of the 
corporations themselves- and their CEO's who run them.


I believe in honesty, and I hold a grudge against those in marketing 
management who simply have no concept of truth- with the exception of 
whoever wrote one of my marketing textbooks (which I may point out was 
only used once as the powers that be - the so called gurus - promptly 
withdrew in the next semester. It apparently didn't agree with popular 
management theory, and was replaced with a 50 year old textbook on the 
subject).


New users are nearly always dismayed at the apparent difficulty of 
things, and should be warned that they will need to do some work under 
the hood in order to get what they want. The honesty can start 
immediately, it doesn't necessarily have to be a goal.

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


Re: Realtek RTL8191SEvB Linux driver?

2012-01-02 Thread Da Rock

On 01/03/12 11:15, Jeffrey McFadden wrote:

I have a Toshiba Satellite U505-S2950 laptop with a Realtek RTL8191SEvB
wireless card built in.  FreeBSD doesn't recognize this card and can't use
it, but Ubuntu does.

Would it be possible to go glom a Linux driver off the web someplace and
install it in my FreeBSD and get the wireless to work?  I'm using a USB
Belkin in it now, but that's an unhandy thing sticking out like it does.

Unfortunately the API's are completely different. Adrian Chadd does a 
lot of work on Wifi in FreeBSD, but I'm not sure if its on the todo list 
or not. Try a search on google...


Sorry I can't help more than that :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pf not seeing inbound packets on netgraph interface

2012-01-02 Thread Da Rock

On 01/03/12 16:17, Ed Carrel wrote:

Hi freebsd-questions,

I am running into a roadblock getting PF to filter traffic on a Netgraph
interface representing an L2TP/IPSec connection. I have done some narrowing
down of the problem, but was hoping to get some advice on figuring out
where to go digging next, or things to try.

Also, please let me know if I should ask this on another list.

For context, here is what I have setup so far: I am running FreeBSD 8.2
with IPSec support compiled into the kernel. Here's the details from uname:

# uname -a
FreeBSD  8.2-RELEASE-p4 FreeBSD 8.2-RELEASE-p4 #2: Sun Nov 27 04:12:16
PST 2011   i386

I am following what seems like a typical setup of racoon(8) and setkey(8),
and am having mpd5 handle construction of the L2TP nodes in netgraph. I can
provide the details on the configuration of each of these, if desired. When
I startup racoon in the foreground and ask mpd to construct an L2TP link, I
can see both the IPSec tunnel and the L2TP link establish without a
problem. I am able to ping the remote end, and, if I set up a routing rule,
can contact and ssh to hosts at the other end of the tunnel.

Here's how netgraph sees the world when thing are established:

# ngctl list
There are 13 total nodes:
   Name:unnamedType: ksocket ID: 01b3   Num hooks: 1
   Name:unnamedType: l2tpID: 01b1   Num hooks: 3
   Name:unnamedType: socket  ID: 01b0   Num hooks: 1
   Name: ng0 Type: iface   ID: 01b6   Num hooks: 1
   Name: ngctl26124  Type: socket  ID: 01bd   Num hooks: 0
   Name: ngctl19375  Type: socket  ID: 00ba   Num hooks: 0
   Name: mpd25875-stats  Type: socket  ID: 01b8   Num hooks: 0
   Name: mpd25875-WPLink-lt Type: tee ID: 01af   Num hooks: 2
   Name: mpd25875-csoType: socket  ID: 01ad   Num hooks: 0
   Name: mpd25875-esoType: socket  ID: 01ae   Num hooks: 0
   Name: mpd25875-lsoType: socket  ID: 01ac   Num hooks: 1
   Name: mpd25875-WPBundle-1 Type: ppp ID: 01b7   Num hooks:
3
   Name: ng0-tee Type: tee ID: 01b9   Num hooks: 2
#

The problem I have is that PF only sees traffic on the outbound side of the
netgraph interface. But, the rest of the network stack appears to see data
going both ways:

# ifconfig ng0
ng0: flags=88d1UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST  metric 0
mtu 1322
inet 10.10.7.40 --  10.10.0.2 netmask 0x

# pfctl -vvs Interfaces -i ng0
ng0
Cleared: Sun Dec 25 21:14:44 2011
References:  [ States:  0  Rules: 9  ]
  In4/Pass:[ Packets: 0  Bytes: 0  ]
In4/Block:   [ Packets: 0  Bytes: 0  ]
  Out4/Pass:   [ Packets:    Bytes: 446225 ]
Out4/Block:  [ Packets: 622Bytes: 56336  ]
  In6/Pass:[ Packets: 0  Bytes: 0  ]
In6/Block:   [ Packets: 0  Bytes: 0  ]
  Out6/Pass:   [ Packets: 0  Bytes: 0  ]
Out6/Block:  [ Packets: 0  Bytes: 0  ]

# netstat -I ng0 -bn
NameMtu Network   Address  Ipkts Ierrs Idrop Ibytes
Opkts Oerrs Obytes  Coll
ng01322Link#8   56 0 0   5069
   98 0   6032 0
ng01322 10.10.7.40/32 10.10.7.40  56 - -   5069
   54 -   3472 -

I have stood up this interface several times, hence the differing numbers
between the PF and netstat. The cause for concern is the lack of packets
going through PF when inbound on ng0 -- no problem both seeing them and
applying rules going outbound. There isn't a peep about the inbound traffic
within pflog0, either.

I can see traffic going both ways in tcpdump, and nothing looks peculiar
about the packets.

# tcpdump -c 10 -i ng0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ng0, link-type NULL (BSD loopback), capture size 96 bytes
22:06:37.201732 IP 10.10.7.40.43113  10.10.4.3.ssh: Flags [S], seq
3442571726, win 65535, options [mss 1282,nop,wscale 3,sackOK,TS val
694436002 ecr 0], length 0
22:06:37.263336 IP 10.10.4.3.ssh  10.10.7.40.43113: Flags [S.], seq
1974232057, ack 3442571727, win 14480, options [mss 1282,sackOK,TS val
370681934 ecr 694436002,nop,wscale 7], length 0
22:06:37.263577 IP 10.10.7.40.43113  10.10.4.3.ssh: Flags [.], ack 1, win
8255, options [nop,nop,TS val 694436064 ecr 370681934], length 0
22:06:37.282835 IP 10.10.4.3.ssh  10.10.7.40.43113: Flags [P.], ack 1, win
114, options [nop,nop,TS val 370681940 ecr 694436064], length 21
22:06:37.283931 IP 10.10.7.40.43113  10.10.4.3.ssh: Flags [P.], ack 22,
win 8255, options [nop,nop,TS val 694436084 ecr 370681940], length 40
22:06:37.300729 IP 

Re: Static IP on a Bridge

2012-01-02 Thread james

Hey everyone,

Sorry for the late response.  Got sidetracked during the New Year.   
Below is my response:


Quoting Benjamin Lee b...@b1c1l1.com:


On 12/29/2011 09:21 AM, ja...@colannino.org wrote:

Quoting Matthew Seaman m.sea...@infracaninophile.co.uk:


What's the error message you see when you fail to ping out?


ping: cannot resolve google.com: Host name lookup failure


It seems that you are currently receiving your resolver from DHCP as
well, you should statically configure that in /etc/resolv.conf:

nameserver 192.168.1.1


I already have nameservers in /etc/resolv.conf.  Everything was fine  
before I setup the bridge.



What does the routing table (netstat -r) look like before and after DHCP?


Before DHCP:

Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
localhost  link#11UH  00lo0

[...]

What happens if you run 'route add default 192.168.1.1' instead of DHCP?

What is the output of '/etc/rc.d/routing restart'?


[root@frodo ~]# route add default 192.168.1.1
route: writing to routing socket: Network is unreachable
add net default: gateway 192.168.1.1: Network is unreachable

[root@frodo ~]# /etc/rc.d/routing restart
route: writing to routing socket: No such process
delete net default: gateway 192.168.1.1: not in table
delete net :::0.0.0.0: gateway ::1
delete net ::0.0.0.0: gateway ::1
delete net fe80::: gateway ::1
delete net ff02::: gateway ::1
ifconfig: interface auto does not exist
route: writing to routing socket: Network is unreachable
add net default: gateway 192.168.1.1: Network is unreachable
add net :::0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
add net fe80::: gateway ::1
add net ff02::: gateway ::1

James

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