Re: Problem on re0

2011-12-18 Thread Sami Halabi
Hi, >It seems you have really complex network configuration(ipfw(4), >lagg(4), dummynet(4), bridge(4) and ipsec(4) etc). Finding out >simplest network setup that shows the issue would be required here. hmm.. i actually don't use lagg nor bridge nor ipsec, i compile them for any future use that mig

Re: Problem on re0

2011-12-18 Thread YongHyeon PYUN
On Sat, Dec 17, 2011 at 06:49:48PM +0200, Sami Halabi wrote: > Hi, > > I've moved to a new server with bge card driver, similar configuration: > /etc/sysctl.conf > net.inet.flowtable.enable=0 > net.inet.ip.fastforwarding=1 > kern.ipc.somaxconn=8192 > kern.ipc.shmmax=2147483648 > kern.ipc.maxsocket

Re: Problem on re0

2011-12-17 Thread Sami Halabi
updated sysctl: dev.bge.1.stats.FramesDroppedDueToFilters: 0 dev.bge.1.stats.DmaWriteQueueFull: 2291364 dev.bge.1.stats.DmaWriteHighPriQueueFull: 0 dev.bge.1.stats.NoMoreRxBDs: 0 dev.bge.1.stats.InputDiscards: 0 dev.bge.1.stats.InputErrors: 0 dev.bge.1.stats.RecvThresholdHit: 124125195 dev.bge.1.st

Re: Problem on re0

2011-12-17 Thread Sami Halabi
Hi, here is # pciconf -lv | grep -A4 bge\[0-9]\@ bge0@pci0:2:0:0:class=0x02 card=0x03781014 chip=0x165a14e4 rev=0x00 hdr=0x00 vendor = 'Broadcom Corporation' device = 'Broadcom NetXtreme BCM5722 Gigabit (94309)' class = network subclass = ethernet -- bge1

Re: Problem on re0

2011-12-17 Thread Sami Halabi
Hi, I've moved to a new server with bge card driver, similar configuration: /etc/sysctl.conf net.inet.flowtable.enable=0 net.inet.ip.fastforwarding=1 kern.ipc.somaxconn=8192 kern.ipc.shmmax=2147483648 kern.ipc.maxsockets=204800 kern.ipc.maxsockbuf=2097152 hw.intr_storm_threshold=9000 kern.maxfiles

Re: Problem on re0

2011-12-08 Thread Arnaud Lacombe
Hi, On Thu, Dec 8, 2011 at 4:52 PM, YongHyeon PYUN wrote: > On Thu, Dec 08, 2011 at 11:56:51AM +0200, Sami Halabi wrote: >> hi, >> i can see what it does. >> how do i compile the driver and load it instead of the running driver >> without restarting? its a production server. > > There is no such

Re: Problem on re0

2011-12-08 Thread YongHyeon PYUN
On Thu, Dec 08, 2011 at 11:56:51AM +0200, Sami Halabi wrote: > hi, > i can see what it does. > how do i compile the driver and load it instead of the running driver > without restarting? its a production server. There is no such way. You have to rebuild/install kernel and reboot. > > Thanks, >

Re: Problem on re0

2011-12-08 Thread Sami Halabi
hi, i can see what it does. how do i compile the driver and load it instead of the running driver without restarting? its a production server. Thanks, Sami On Thu, Dec 8, 2011 at 1:58 AM, YongHyeon PYUN wrote: > On Wed, Dec 07, 2011 at 09:55:22AM +0200, Sami Halabi wrote: > > Hi, > > > > the pa

Re: Problem on re0

2011-12-07 Thread YongHyeon PYUN
On Wed, Dec 07, 2011 at 09:55:22AM +0200, Sami Halabi wrote: > Hi, > > the patch failed, As i see /usr/src/dev/re/if_re.c has the following at > line 1943: >if (rxstat & RL_RDESC_STAT_RXERRSUM && !(total_len > 8191 && > (rxstat & RL_RDESC_STAT_ERRS) == RL_RDESC

Re: Problem on re0

2011-12-06 Thread Sami Halabi
Hi, the patch failed, As i see /usr/src/dev/re/if_re.c has the following at line 1943: if (rxstat & RL_RDESC_STAT_RXERRSUM && !(total_len > 8191 && (rxstat & RL_RDESC_STAT_ERRS) == RL_RDESC_STAT_GIANT)) { ifp->if_ierrors++;

Re: Problem on re0

2011-12-06 Thread YongHyeon PYUN
On Mon, Dec 05, 2011 at 01:53:03PM +0200, Sami Halabi wrote: > Hi, > Dmesg: > > re0: port > 0x9000-0x90ff mem 0xf400-0xf4ff irq 16 at device 6.0 on pci1 > re0: Chip rev. 0x1000 > re0: MAC rev. 0x > miibus0: on re0 > rgephy0: PHY 1 on miibus0 > rgephy0: 10baseT, 10baseT-FDX,

Re: Problem on re0

2011-12-05 Thread Sami Halabi
Hi, Dmesg: re0: port 0x9000-0x90ff mem 0xf400-0xf4ff irq 16 at device 6.0 on pci1 re0: Chip rev. 0x1000 re0: MAC rev. 0x miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000b

Re: Problem on re0

2011-12-04 Thread YongHyeon PYUN
On Sun, Dec 04, 2011 at 07:33:01PM +0200, Sami Halabi wrote: > Hi, > I have a desktop on which being used as a MPD server. > the server isn't that loaded, and the cpu is highly idel 90-92% of the time. > > My problem is in the network card connected to the cables provider. > in a random manner ot

Re: Problem on re0

2011-12-04 Thread Sami Halabi
Hi, %pciconf -lv | grep -A4 re\[0-9]\@ re0@pci0:1:6:0: class=0x02 card=0x816910ec chip=0x816910ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'Single Gigabit LOM Ethernet Controller (RTL8110)' class = network subclass = ethernet re1@pci0:1:7:0: cl

Re: Problem on re0

2011-12-04 Thread Vladislav V. Prodan
04.12.2011 19:33, Sami Halabi wrote: > here is the plot of lspci: Please, show the output: #pciconf -lv | grep -A4 re\[0-9]\@ -- Vladislav V. Prodan System & Network Administrator http://support.od.ua +380 67 4584408, +380 99 4060508 VVP88-RIPE ___ fre

Problem on re0

2011-12-04 Thread Sami Halabi
Hi, I have a desktop on which being used as a MPD server. the server isn't that loaded, and the cpu is highly idel 90-92% of the time. My problem is in the network card connected to the cables provider. in a random manner ot stops working whith no notice, and all l2tp/pptp users disconnect, also t