Re: FreeBSD 9.0-RELEASE Realtek 8168/81111 Driver

2012-09-26 Thread YongHyeon PYUN
On Wed, Sep 26, 2012 at 04:12:19PM +0300, Vladimir Vladimir wrote: > Hi all, > > I've got an issue with new mother board ASUS P8Z77-M PRO. > > My FreeBSD 9.0-RELEASE can't set up Network interface for integrated NIC > Realtek 8168/8. > > I have tried FreeBSD-8.2, and FreeBSD-9.0 > I' down

Re: enc(4) uninitialized in -current?

2012-09-26 Thread Garrett Cooper
On Wed, Sep 26, 2012 at 3:33 PM, Olivier Cochard-Labbé wrote: > On Thu, Sep 27, 2012 at 12:10 AM, Marcin Cieslak wrote: >> I have just updated by 9.0-something laptop to 10.0-CURRENT r240948 >> and it very quickly panics after enabling network with IPsec >> (I am using IPsec w/racoon for IPv4 ove

Re: enc(4) uninitialized in -current?

2012-09-26 Thread Olivier Cochard-Labbé
On Thu, Sep 27, 2012 at 12:10 AM, Marcin Cieslak wrote: > I have just updated by 9.0-something laptop to 10.0-CURRENT r240948 > and it very quickly panics after enabling network with IPsec > (I am using IPsec w/racoon for IPv4 over 802.11, also using > tunelled IPv6). I don't know if it's related

enc(4) uninitialized in -current?

2012-09-26 Thread Marcin Cieslak
I have just updated by 9.0-something laptop to 10.0-CURRENT r240948 and it very quickly panics after enabling network with IPsec (I am using IPsec w/racoon for IPv4 over 802.11, also using tunelled IPv6). It looks like in this part of sys/netipsec/ipsec_output.c: 447 #ifdef DEV_ENC 448

Re: ixgbe rx & tx locks

2012-09-26 Thread Ryan Stone
On Wed, Sep 26, 2012 at 3:38 PM, John Baldwin wrote: >> ix:rx -> udp -> udpinp -> in_multi_mtx -> ix:core -> ix:rx > > Hmm, I'm not sure where the 'in_multi_mtx -> ix:core' bit comes from. > I think that is the broken part of this. The SIOCADDMULTI and SIOCDELMULTI > ioctls are invoked without an

Re: ixgbe rx & tx locks

2012-09-26 Thread Jack Vogel
On Wed, Sep 26, 2012 at 1:14 PM, Vijay Singh wrote: > > Jack, I am wondering if this could be avoided if we can avoid to > > enqueue the task OR re-enable interrupts if the other one is already > > scheduled. Is this possible? > > It seems to me that ixgbe_handle_que() should only be doing > ixgb

Re: ixgbe rx & tx locks

2012-09-26 Thread Vijay Singh
> Jack, I am wondering if this could be avoided if we can avoid to > enqueue the task OR re-enable interrupts if the other one is already > scheduled. Is this possible? It seems to me that ixgbe_handle_que() should only be doing ixgbe_rxeof(). When ever mq_start() is unable to send, it enqueues th

Re: ixgbe rx & tx locks

2012-09-26 Thread John Baldwin
On Wednesday, September 26, 2012 3:08:22 pm Ryan Stone wrote: > On Wed, Sep 26, 2012 at 9:55 AM, John Baldwin wrote: > > You only have to drop the RX lock around if_input() if you use the same lock > > for both TX and RX (as if_transmit() / if_start() can be invoked while locks > > in the network

Re: DHCP server with a group of mac address

2012-09-26 Thread Владислав Продан
--- Исходное сообщение --- От кого: "d...@mybsd.org.my" Кому: freebsd-net@freebsd.org Дата: 26 сентября 2012, 21:22:31 Тема: DHCP server with a group of mac address > Hi, > > i'm installing isc-dhcp42-server and run in the network for like 1000 node. i > have like 1000 mac address

Re: ixgbe rx & tx locks

2012-09-26 Thread Ryan Stone
On Wed, Sep 26, 2012 at 9:55 AM, John Baldwin wrote: > You only have to drop the RX lock around if_input() if you use the same lock > for both TX and RX (as if_transmit() / if_start() can be invoked while locks > in the network stack are held). Last time I checked(FreeBSD 8.2), this is not true.

Re: DHCP server with a group of mac address

2012-09-26 Thread marcos alves
To do what you want you will have to make a script to collect the mac addresses and insert into your dhcp.conf . Also check the dhcpd.conf(5) called `SUBCLASSES`. as Paul suggested. Marcos Alves 2012/9/26 Ahmad Faisal > *You wrote:* > *From:* marcos alves > *To:* "d...@mybsd.org.my" > *Sent

Re: [patch] sysctls for TCP timers

2012-09-26 Thread Andre Oppermann
On 23.09.2012 17:35, Andrey Zonov wrote: On 9/20/12 11:35 AM, Eggert, Lars wrote: Hi, On Sep 20, 2012, at 9:25, Andrey Zonov wrote: Some of them may be read google's article about tuning TCP parameters [1]. I convert most of TCP timers to sysctls [2] and we are using this patch for few month

Re: DHCP server with a group of mac address

2012-09-26 Thread Paul A. Procacci
In dhcp.conf it describes ways to assign client's to classes. It further explains how to `deny` or `allow` those clients assigned to those classes. Read the subsection from dhcpd.conf(5) called `SUBCLASSES`. It provides an example which almost answers your question in its entirety. ~Paul On We

Re: DHCP server with a group of mac address

2012-09-26 Thread Michael Sierchio
Yes, as I indicated above - but users could manually assign IP addresses, which means you can't really deny them access without switchport level control. - M On Wed, Sep 26, 2012 at 2:58 AM, d...@mybsd.org.my wrote: > Hi, > > > i'm installing isc-dhcp42-server and run in the network for like 100

DHCP server with a group of mac address

2012-09-26 Thread d...@mybsd.org.my
Hi, i'm installing isc-dhcp42-server and run in the network for like 1000 node. i have like 1000 mac address (servers, PC's, printers, phones, etc) which i put in the text file. FYI, Any mac address (which is in the text file) who plug into the network will get the ip address based on the v

Re: ixgbe rx & tx locks

2012-09-26 Thread Jack Vogel
On Wed, Sep 26, 2012 at 6:55 AM, John Baldwin wrote: > On Tuesday, September 25, 2012 4:40:58 pm Jack Vogel wrote: > > Ah yes, at one time I was keeping the RX side lock when calling the > stack, > > but then as I recall that had problems, so the code now releases and > > reaquires > > as you can

Re: ixgbe rx & tx locks

2012-09-26 Thread Jack Vogel
On Wed, Sep 26, 2012 at 6:53 AM, John Baldwin wrote: > On Tuesday, September 25, 2012 4:19:01 pm Vijay Singh wrote: > > > Vijay, can you test this to see if it helps with your test case? > > > > > >> Jack > > > > John, apologies for the delay. I have some data to share now. > > > > With your patc

FreeBSD 9.0-RELEASE Realtek 8168/81111 Driver

2012-09-26 Thread Vladimir Vladimir
Hi all, I've got an issue with new mother board ASUS P8Z77-M PRO. My FreeBSD 9.0-RELEASE can't set up Network interface for integrated NIC Realtek 8168/8. I have tried FreeBSD-8.2, and FreeBSD-9.0 I' downloaded new distributions from freebsd.org and tried boot from them but result the s

Re: ixgbe rx & tx locks

2012-09-26 Thread John Baldwin
On Tuesday, September 25, 2012 4:40:58 pm Jack Vogel wrote: > Ah yes, at one time I was keeping the RX side lock when calling the stack, > but then as I recall that had problems, so the code now releases and > reaquires > as you can see. It results in some contention but I'm not sure that's > avoid

Re: ixgbe rx & tx locks

2012-09-26 Thread John Baldwin
On Tuesday, September 25, 2012 4:19:01 pm Vijay Singh wrote: > > Vijay, can you test this to see if it helps with your test case? > > > >> Jack > > John, apologies for the delay. I have some data to share now. > > With your patch, the transmit side lock contention is all gone. > However I still s

Re: DHCP server with a group of mac address

2012-09-26 Thread Rafael Henrique Faria
On Wed, Sep 26, 2012 at 7:03 AM, d...@mybsd.org.my wrote: > Hi, > > i'm installing isc-dhcp42-server and run in the network for like 1000 > node. i have like 1000 mac address (servers, PC's, printers, phones, etc) > which i put in the text file. > > FYI, > > Any mac address (which is in the text f

Re: kern/117271: [tap] OpenVPN TAP uses 99% CPU on releng_6 when if_tap is in /boot/loader.conf

2012-09-26 Thread emaste
Synopsis: [tap] OpenVPN TAP uses 99% CPU on releng_6 when if_tap is in /boot/loader.conf State-Changed-From-To: open->closed State-Changed-By: emaste State-Changed-When: Wed Sep 26 12:52:36 UTC 2012 State-Changed-Why: Submitter reports this works on stable/8. http://www.freebsd.org/cgi/query-pr

Re: M_TRAILINGSPACE()

2012-09-26 Thread Andre Oppermann
On 26.09.2012 02:55, Vijay Singh wrote: Folks, does the following patch make sense: server@[/u/vijay/bsd/CODE/cur/sys/sys]# svn diff mbuf.h Index: mbuf.h === --- mbuf.h (revision 240548) +++ mbuf.h (working copy) @@ -832,6

DHCP server with a group of mac address

2012-09-26 Thread d...@mybsd.org.my
Hi, i'm installing isc-dhcp42-server and run in the network for like 1000 node. i have like 1000 mac address (servers, PC's, printers, phones, etc) which i put in the text file. FYI, Any mac address (which is in the text file) who plug into the network will get the ip address based on the v

RE: kern/117271: [tap] OpenVPN TAP uses 99% CPU on releng_6 when if_tap is in /boot/loader.conf

2012-09-26 Thread Emile Coetzee
I have not tested stable/9 yet, but stable/8 seems to be fine. Given that FreeBSD 6 is no longer supported you can probably close this bug. -Original Message- From: ema...@freebsd.org [mailto:ema...@freebsd.org] Sent: 26 September 2012 02:39 AM To: Emile Coetzee; ema...@freebsd.org; free