Ephemeral port selection (patch)

2008-02-25 Thread Fernando Gont
Folks, This patch simply eliminates duplicated code in the in_pcb_bind() function. Index: in_pcb.c === RCS file: /home/ncvs/src/sys/netinet/in_pcb.c,v retrieving revision 1.198 diff -u -r1.198 in_pcb.c --- in_pcb.c22 Dec 2007 10

vlan issues with 7.0-RC3

2008-02-25 Thread Christopher Cowart
Hello, I have a mac mini running 7.0-RC3, which I'm trying to turn it into a router. I have a Linksys SRW2008 "fully managed" (via an IE only web interface, ick) switch. Switch: Port 1 - Trunk vlans 10,60,98 - FreeBSD Box Port 7 - Access vlan 98 - Existing LAN (192.168.1.0/24) OpenWRT (192.

Capturing dmesg upon system crash on 6.3

2008-02-25 Thread Yehonatan Yossef
Hello, I'm a freebsd newbee, trying to port an ethernet driver from Linux to FreeBSD 6.3. I'm facing a system reboot upon loading of the driver, and I could use a tool for capturing dmesg upon system crash (such as netconsole on Linux). Can anyone link me to an appropriate tool? Sorry for sendi

Current problem reports assigned to freebsd-net@FreeBSD.org

2008-02-25 Thread FreeBSD bugmaster
Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description a kern/38554 netchanging interface ipaddress doesn't seem to work s kern/39937 netipstealth

Re: Capturing dmesg upon system crash on 6.3

2008-02-25 Thread Eygene Ryabinkin
Yehonatan, good day. Mon, Feb 25, 2008 at 11:28:12AM +0200, Yehonatan Yossef wrote: > I'm a freebsd newbee, trying to port an ethernet driver from Linux to > FreeBSD 6.3. > I'm facing a system reboot upon loading of the driver, and I could use a > tool for capturing dmesg upon system crash (such a

RE: Capturing dmesg upon system crash on 6.3

2008-02-25 Thread Yehonatan Yossef
I'm looking into the syslogd capabilities at the moment, it might be enough. I've tried following the serial console setup you've pointed, but when I added the 'console="comconsole"' to loader.conf the OS hanged during boot time, had to re-install the system. I'm currently porting Mellanox etherne

Re: FBSD 1GBit router?

2008-02-25 Thread Daniel Dias Gonçalves
Bc. Radek Krejca escreveu: Hi, ZB> - upgrade at least to 6.3. upgrading to 7.0 might also be better, depending ZB> on hardware choices ZB> - ensure your ethernet cards are on fast enough busses. 'em' (Intel Ether ZB> Express 1000) flavor ports are my personal favorite ZB> - enable polling (thi

Re: Capturing dmesg upon system crash on 6.3

2008-02-25 Thread Eygene Ryabinkin
Mon, Feb 25, 2008 at 03:41:03PM +0200, Yehonatan Yossef wrote: > I'm looking into the syslogd capabilities at the moment, it might be > enough. Syslog can die too early to spot everything. But your mileage may vary. > I've tried following the serial console setup you've pointed, but when I > add

Re: FBSD 1GBit router?

2008-02-25 Thread Ingo Flaschberger
Hi, ZB> - upgrade at least to 6.3. upgrading to 7.0 might also be better, depending ZB> on hardware choices ZB> - ensure your ethernet cards are on fast enough busses. 'em' (Intel Ether ZB> Express 1000) flavor ports are my personal favorite ZB> - enable polling (this will make a _huge_ dif

Re: kern/121063: [ath]: High wireless traffic on ATH causes high tx failed 'cuz FIFO underrun

2008-02-25 Thread sam
Synopsis: [ath]: High wireless traffic on ATH causes high tx failed 'cuz FIFO underrun Responsible-Changed-From-To: freebsd-net->sam Responsible-Changed-By: sam Responsible-Changed-When: Mon Feb 25 17:18:49 UTC 2008 Responsible-Changed-Why: assign to the correct person http://www.freebsd.org/cg

Re: kern/121061: [ath] [panic] panic while ejecting ath(4)-adapter during shutdown

2008-02-25 Thread sam
Synopsis: [ath] [panic] panic while ejecting ath(4)-adapter during shutdown Responsible-Changed-From-To: freebsd-net->sam Responsible-Changed-By: sam Responsible-Changed-When: Mon Feb 25 17:19:23 UTC 2008 Responsible-Changed-Why: assign to the correct person http://www.freebsd.org/cgi/query-pr.c

Re: Capturing dmesg upon system crash on 6.3

2008-02-25 Thread Dieter
> I'm looking into the syslogd capabilities at the moment, it might be > enough. > I've tried following the serial console setup you've pointed, but when I > added the 'console=3D"comconsole"' to loader.conf the OS hanged during > boot time, had to re-install the system. I assume the info you need

Re: kern/116077: [ip] [patch] 6.2-STABLE panic during use of multi-cast networking client

2008-02-25 Thread John Baldwin
The following reply was made to PR kern/116077; it has been noted by GNATS. From: John Baldwin <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: kern/116077: [ip] [patch] 6.2-STABLE panic during use of multi-cast networking client Date: Mon, 25 Feb 20

Re: kern/120266: [panic] gnugk causes kernel panic when closing UDP sockets

2008-02-25 Thread John Baldwin
The following reply was made to PR kern/120266; it has been noted by GNATS. From: John Baldwin <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: kern/120266: [panic] gnugk causes kernel panic when closing UDP sockets Date: Mon, 25 Feb 2008 14:14:00 -0

Re: kern/116172: [tun] [panic] Network / ipv6 recursive mutex panic

2008-02-25 Thread Bruce Cran
The following reply was made to PR kern/116172; it has been noted by GNATS. From: Bruce Cran <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED] Cc: Subject: Re: kern/116172: [tun] [panic] Network / ipv6 recursive mutex panic Date: Mon, 25 Feb 2008 20:54:01 + Hi, Some changes w

Re: kern/116172: [tun] [panic] Network / ipv6 recursive mutex panic

2008-02-25 Thread remko
Synopsis: [tun] [panic] Network / ipv6 recursive mutex panic State-Changed-From-To: open->feedback State-Changed-By: remko State-Changed-When: Mon Feb 25 21:07:53 UTC 2008 State-Changed-Why: Bruce asked for feedback http://www.freebsd.org/cgi/query-pr.cgi?pr=116172 __

Re: FBSD 1GBit router?

2008-02-25 Thread Kevin Oberman
> Date: Mon, 25 Feb 2008 15:05:18 +0100 (CET) > From: Ingo Flaschberger <[EMAIL PROTECTED]> > Sender: [EMAIL PROTECTED] > > Hi, > > >> ZB> - upgrade at least to 6.3. upgrading to 7.0 might also be better, > >> depending > >> ZB> on hardware choices > >> ZB> - ensure your ethernet cards are on f

Re: FBSD 1GBit router?

2008-02-25 Thread Ingo Flaschberger
Dear Kevin, I upgrade to 7.0RC3 but still the same. 418Mbit is the roof. older fbsd's are faster than newer. How are the nic's connected to the cpu? lspci -v V7 is not (in my experience) slower than V4, v5, or v6. v6 is at least slower than v4. http://www.tancsa.com/blast.html (look at t

Re: FBSD 1GBit router?

2008-02-25 Thread Andrew Snow
I can confirm that FreeBSD 7.0-RC1 can route packets at 1gbps. I used a late-model Supermicro Xeon server which has two gigabit NICs on a PCI-express "4x" lane. With the new em driver improvements in 7 it uses very little CPU time, I would recommend using Pro/1000 on 7.0 with a decent server mo

Re: question about change in inet_ntoa.c

2008-02-25 Thread Giorgos Keramidas
On 2008-02-23 02:37, ithilgore <[EMAIL PROTECTED]> wrote: >ithilgore wrote: >> I was looking at the differences between some old FreeBSD code >> and the one of 7.0-RC1 and was wondering about a change >> in inet_ntoa.c >> >> /* 7.0-RC1 **/ >> >>sprintf(buf, "%d.%d.%d.%d", >>

Re: vlan issues with 7.0-RC3

2008-02-25 Thread Pyun YongHyeon
On Mon, Feb 25, 2008 at 01:17:12AM -0800, Christopher Cowart wrote: > Hello, > > I have a mac mini running 7.0-RC3, which I'm trying to turn it into a > router. I have a Linksys SRW2008 "fully managed" (via an IE only web > interface, ick) switch. > > Switch: > Port 1 - Trunk vlans 10,