Re: running out of mbufs?

2005-08-08 Thread Andre Oppermann
Dave+Seddon wrote: > > Also thanks for the info on the VLAN searching. I think the adjustment you > suggested sounds good, but at bit out of my league. It seems there are > plent of things to tweak in the kernel still. Yes, there are some rough edges. I'm starting to work on them right now. :)

Current problem reports assigned to you

2005-08-08 Thread FreeBSD bugmaster
Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description --- o [2003/07/11] kern/54383 net [nfs] [patch] NFS root configurations w

Serial Console

2005-08-08 Thread Tran Nhu Quang
Hi all, Needing of a console for managing the system, I want to make a serial console on freebsd. Everything works well except boot message. I cannot see the whole boot message from serial console until the login prompt appears. Any experienced-man in freebsd can tell me why and how? Thanks in a

Re: Serial Console

2005-08-08 Thread Giovanni P. Tirloni
Tran Nhu Quang wrote: Hi all, Needing of a console for managing the system, I want to make a serial console on freebsd. Everything works well except boot message. I cannot see the whole boot message from serial console until the login prompt appears. Any experienced-man in freebsd can tell me

Re: running out of mbufs?

2005-08-08 Thread Jeremie Le Hen
Andre, > There is a patch doing that for FreeBSD 4.x. However while interesting > it is not the way to go. You don't want to have multiple parallel stacks > but just multiple routing tables and interface groups one per jail. This > gives you the same functionality as Cisco VRF but is far less i

Re: running out of mbufs?

2005-08-08 Thread Andre Oppermann
Jeremie Le Hen wrote: > > Andre, > > > There is a patch doing that for FreeBSD 4.x. However while interesting > > it is not the way to go. You don't want to have multiple parallel stacks > > but just multiple routing tables and interface groups one per jail. This > > gives you the same functio

Re: running out of mbufs?

2005-08-08 Thread Jeremie Le Hen
Hi Andre, > > By "interface groups", do you mean the same ones as OpenBSD ? > > I don't know. What is the definition of an OpenBSD interface group? >From ifconfig(8) manual page : %%% group group-name Assign the interface to a ``group''. Any interface can

Re: running out of mbufs?

2005-08-08 Thread Marko Zec
On Monday 08 August 2005 12:32, Andre Oppermann wrote: > Dave+Seddon wrote: > > BTW, I'd be interested to know people's thoughts on multiple IP > > stacks on FreeBSD. It would be really cool to be able to give a > > jail it's own IP stack bound to a VLAN interface. It could then be > > like a VRF

Re: running out of mbufs?

2005-08-08 Thread Milan Obuch
On Monday 08 August 2005 17:57, Marko Zec wrote: > On Monday 08 August 2005 12:32, Andre Oppermann wrote: > > Dave+Seddon wrote: > > > BTW, I'd be interested to know people's thoughts on multiple IP > > > stacks on FreeBSD. It would be really cool to be able to give a > > > jail it's own IP stack

Re: running out of mbufs?

2005-08-08 Thread Andre Oppermann
Marko Zec wrote: > > On Monday 08 August 2005 12:32, Andre Oppermann wrote: > > Dave+Seddon wrote: > > > BTW, I'd be interested to know people's thoughts on multiple IP > > > stacks on FreeBSD. It would be really cool to be able to give a > > > jail it's own IP stack bound to a VLAN interface. I

1000BaseSX 1000BaseLX confusion?

2005-08-08 Thread Steve Shorter
Howdy! I was wondering how come the listed media types supported by sk(4) and em(4) is only 1000BaseSX. Even for single mode 1000BaseLX NICs such as sk 9841 and Intel PWLA8490LX, ifconfig show the media type as 1000BaseSX. Though the NIC appears to operate in single mode connected to a LX

Multicast locking LOR

2005-08-08 Thread Ed Maste
I built a vanilla (i.e. without local patches) kernel with the recent multicast locking changes, and got the following LOR: Lock order reversal 1st 0xa26ffaec inp (udpinp) @ /d2/emaste/cvs_mcast/src/sys/netinet/udp_usrreq.c:762 2nd 0xa07ebf60 in_multi_mtx (in_multi_mtx) @ d2/emaste/cvs_mcast/s

Re: 1000BaseSX 1000BaseLX confusion?

2005-08-08 Thread Petri Helenius
Steve Shorter wrote: Howdy! I was wondering how come the listed media types supported by sk(4) and em(4) is only 1000BaseSX. Even for single mode 1000BaseLX NICs such as sk 9841 and Intel PWLA8490LX, ifconfig show the media type as 1000BaseSX. Though the NIC appears to operate in single

Re: 1000BaseSX 1000BaseLX confusion?

2005-08-08 Thread Richard A Steenbergen
On Mon, Aug 08, 2005 at 03:52:14PM -0400, Steve Shorter wrote: > Howdy! > > I was wondering how come the listed media types supported > by sk(4) and em(4) is only 1000BaseSX. Even for single mode > 1000BaseLX NICs such as sk 9841 and Intel PWLA8490LX, ifconfig > show the media type as 1000Ba

[PATCH] Minor cleanup of inline declaration for netgraph.h

2005-08-08 Thread Ed Maste
We build one of our netgraph modules with -W, which causes GCC to emit "warning: `inline' is not at beginning of declaration" for netgraph.h. It's pretty trivial, but the attached patch cleans this up so it's consistent across all of the functions in netgraph.h. -- Ed Maste, Sandvine Incorporated

Re: [PATCH] Minor cleanup of inline declaration for netgraph.h

2005-08-08 Thread Julian Elischer
Ed Maste wrote: We build one of our netgraph modules with -W, which causes GCC to emit "warning: `inline' is not at beginning of declaration" for netgraph.h. It's pretty trivial, but the attached patch cleans this up so it's consistent across all of the functions in netgraph.h. committed to -c

Re: Multicast locking LOR

2005-08-08 Thread Robert Watson
On Mon, 8 Aug 2005, Ed Maste wrote: I built a vanilla (i.e. without local patches) kernel with the recent multicast locking changes, and got the following LOR: Ed, Could you add a hard-coded entry to WITNESS to place the udpinp lock before the in_multi_mtx in the lock order, and let me know w

Re: running out of mbufs?

2005-08-08 Thread Andre Oppermann
Jeremie Le Hen wrote: > > Hi Andre, > > > > By "interface groups", do you mean the same ones as OpenBSD ? > > > > I don't know. What is the definition of an OpenBSD interface group? > > >From ifconfig(8) manual page : > %%% > group group-name > Assign the interface to a

Re: running out of mbufs?

2005-08-08 Thread Dave+Seddon
Greetings, It’s very cool to hear you guys are interested in separate routing. Having multiple stacks duplicates a lot of structures for each stack which don't have to be duplicated. With your approach you need a new jail for every new stack. In each jail you have to run a new instance of a r