Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > comp.unix.bsd.openbsd.misc

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2008, 04:16 AM
DJ_Farid
 
Posts: n/a
Default Network connection dying...why?

Hi,
I have an OpenBSD 3.2 box. It's an AMD K5 150Mhz, 21Mb RAM with a
D-Link DFE-530TX NIC. I run a FTP on it.
It can run smothly for months, until there is a lot of traffic on it.
The network just dies when that happens. The machine seems tu run
normal, but no traffic can go in or out. I can't even access with SSH.
But when I log in locally on the machine and reboot the thing, it
works again until the next time the networktraffic-load gets very
high.
Does anyone know what causes this? I don't even know how to
troubleshoot this problem. Where do I begin? Does anyone know how to
fix this?

Any suggestions are welcome.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-16-2008, 04:16 AM
erik
 
Posts: n/a
Default Re: Network connection dying...why?

DJ_Farid wrote:

> Hi,
> I have an OpenBSD 3.2 box. It's an AMD K5 150Mhz, 21Mb RAM with a
> D-Link DFE-530TX NIC. I run a FTP on it.
> It can run smothly for months, until there is a lot of traffic on it.
> The network just dies when that happens. The machine seems tu run
> normal, but no traffic can go in or out. I can't even access with SSH.
> But when I log in locally on the machine and reboot the thing, it
> works again until the next time the networktraffic-load gets very
> high.
> Does anyone know what causes this? I don't even know how to
> troubleshoot this problem. Where do I begin? Does anyone know how to
> fix this?
>
> Any suggestions are welcome.


Is the system overclocked? Does the processor fan work properly? I've
seen similar faults on a system where the processor fan did not work
anymore.

EJ
--
Remove the obvious part (including the dot) for my email address

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-16-2008, 04:17 AM
DJ_Farid
 
Posts: n/a
Default Re: Network connection dying...why?

erik <erik@geenspam.vanwesten.net> wrote in message news:<3eff3654$0$49112$e4fe514c@news.xs4all.nl>...
> DJ_Farid wrote:
>
> > Hi,
> > I have an OpenBSD 3.2 box. It's an AMD K5 150Mhz, 21Mb RAM with a
> > D-Link DFE-530TX NIC. I run a FTP on it.
> > It can run smothly for months, until there is a lot of traffic on it.
> > The network just dies when that happens. The machine seems tu run
> > normal, but no traffic can go in or out. I can't even access with SSH.
> > But when I log in locally on the machine and reboot the thing, it
> > works again until the next time the networktraffic-load gets very
> > high.
> > Does anyone know what causes this? I don't even know how to
> > troubleshoot this problem. Where do I begin? Does anyone know how to
> > fix this?
> >
> > Any suggestions are welcome.

>
> Is the system overclocked? Does the processor fan work properly? I've
> seen similar faults on a system where the processor fan did not work
> anymore.
>
> EJ


The system is not overclocked. The fan works properly.
Could it be a heat related problem? The machine is not hot, but it
could be colder though...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-16-2008, 04:18 AM
erik
 
Posts: n/a
Default Re: Network connection dying...why?

DJ_Farid wrote:

> erik <erik@geenspam.vanwesten.net> wrote in message
> news:<3eff3654$0$49112$e4fe514c@news.xs4all.nl>...
>> DJ_Farid wrote:
>>
>> > Hi,
>> > I have an OpenBSD 3.2 box. It's an AMD K5 150Mhz, 21Mb RAM with a
>> > D-Link DFE-530TX NIC. I run a FTP on it.
>> > It can run smothly for months, until there is a lot of traffic on
>> > it. The network just dies when that happens. The machine seems tu
>> > run normal, but no traffic can go in or out. I can't even access
>> > with SSH. But when I log in locally on the machine and reboot the
>> > thing, it works again until the next time the networktraffic-load
>> > gets very high.
>> > Does anyone know what causes this? I don't even know how to
>> > troubleshoot this problem. Where do I begin? Does anyone know how
>> > to fix this?
>> >
>> > Any suggestions are welcome.

>>
>> Is the system overclocked? Does the processor fan work properly? I've
>> seen similar faults on a system where the processor fan did not work
>> anymore.
>>
>> EJ

>
> The system is not overclocked. The fan works properly.
> Could it be a heat related problem? The machine is not hot, but it
> could be colder though...


Could be. Start measuring temperatures. Check the ram, maybe you have a
faulty ram somewhere.

EJ
--
Remove the obvious part (including the dot) for my email address

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-16-2008, 04:18 AM
Richard Haakma
 
Posts: n/a
Default Re: Network connection dying...why?

On Sat, 05 Jul 2003 23:49:12 +1200, erik wrote:

> DJ_Farid wrote:
>
>> erik <erik@geenspam.vanwesten.net> wrote in message
>> news:<3eff3654$0$49112$e4fe514c@news.xs4all.nl>...
>>> DJ_Farid wrote:
>>>
>>> > Hi,
>>> > I have an OpenBSD 3.2 box. It's an AMD K5 150Mhz, 21Mb RAM with a
>>> > D-Link DFE-530TX NIC. I run a FTP on it. It can run smothly for
>>> > months, until there is a lot of traffic on it. The network just dies
>>> > when that happens. The machine seems tu run normal, but no traffic
>>> > can go in or out. I can't even access with SSH. But when I log in
>>> > locally on the machine and reboot the thing, it works again until
>>> > the next time the networktraffic-load gets very high. Does anyone
>>> > know what causes this? I don't even know how to troubleshoot this
>>> > problem. Where do I begin? Does anyone know how to fix this?
>>> >
>>> > Any suggestions are welcome.


OpenBSD allocates a fixed number of network buffers and
it is my experience that once that number is exceeded the
whole network stack stops working. FreeBSD is basically
the same. Look for errors in /var/log/messages. It would
be better behaviour if the kernel would drop packets while
there are no spare buffers and later recover when some
become available. You can help by increasing the number
of network buffers either by setting the option and recompiling
the kernel or by using the config utility. See the FAQ
chapter 11.

RH.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-16-2008, 04:19 AM
DJ_Farid
 
Posts: n/a
Default Re: Network connection dying...why?

Richard Haakma <richard@ricks2.kc.net.nz> wrote in message news:<pan.2003.07.07.20.11.57.286609.1772@ricks2.k c.net.nz>...
> On Sat, 05 Jul 2003 23:49:12 +1200, erik wrote:
>
> > DJ_Farid wrote:
> >
> >> erik <erik@geenspam.vanwesten.net> wrote in message
> >> news:<3eff3654$0$49112$e4fe514c@news.xs4all.nl>...
> >>> DJ_Farid wrote:
> >>>
> >>> > Hi,
> >>> > I have an OpenBSD 3.2 box. It's an AMD K5 150Mhz, 21Mb RAM with a
> >>> > D-Link DFE-530TX NIC. I run a FTP on it. It can run smothly for
> >>> > months, until there is a lot of traffic on it. The network just dies
> >>> > when that happens. The machine seems tu run normal, but no traffic
> >>> > can go in or out. I can't even access with SSH. But when I log in
> >>> > locally on the machine and reboot the thing, it works again until
> >>> > the next time the networktraffic-load gets very high. Does anyone
> >>> > know what causes this? I don't even know how to troubleshoot this
> >>> > problem. Where do I begin? Does anyone know how to fix this?
> >>> >
> >>> > Any suggestions are welcome.

>
> OpenBSD allocates a fixed number of network buffers and
> it is my experience that once that number is exceeded the
> whole network stack stops working. FreeBSD is basically
> the same. Look for errors in /var/log/messages. It would
> be better behaviour if the kernel would drop packets while
> there are no spare buffers and later recover when some
> become available. You can help by increasing the number
> of network buffers either by setting the option and recompiling
> the kernel or by using the config utility. See the FAQ
> chapter 11.
>
> RH.


I checked /var/log/messages... I know the exact point in time when it
happened the last time. So it was not a big deal to trace it in the
file.
There is nothing there. It only says something about something that
happened 6 hours before. Then the next thing is that I rebooted the
server (after the problem). So it should be inbetween these two
happenings.

If OpenBSD runs out of network-buffers, is it recorded somewhere?
Should I just increase the buffers and hope for it not to happen
anymore?

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-16-2008, 04:19 AM
Ferran Oriol
 
Posts: n/a
Default Re: Network connection dying...why?

I have the same problem, and my compaq pentium 200 mmx is very cold and is
the standard pc. If i don't work with this in 10 or 15 minutes, the ping to
the ip adress is imposible, i touch the keyboard and restart automaticaly
the network.

Some ideas. Tx.

Ferran


"DJ_Farid" <dj_farid@hotmail.com> escribió en el mensaje
news:88343fd0.0307031046.2d1fa38a@posting.google.c om...
> erik <erik@geenspam.vanwesten.net> wrote in message

news:<3eff3654$0$49112$e4fe514c@news.xs4all.nl>...
> > DJ_Farid wrote:
> >
> > > Hi,
> > > I have an OpenBSD 3.2 box. It's an AMD K5 150Mhz, 21Mb RAM with a
> > > D-Link DFE-530TX NIC. I run a FTP on it.
> > > It can run smothly for months, until there is a lot of traffic on it.
> > > The network just dies when that happens. The machine seems tu run
> > > normal, but no traffic can go in or out. I can't even access with SSH.
> > > But when I log in locally on the machine and reboot the thing, it
> > > works again until the next time the networktraffic-load gets very
> > > high.
> > > Does anyone know what causes this? I don't even know how to
> > > troubleshoot this problem. Where do I begin? Does anyone know how to
> > > fix this?
> > >
> > > Any suggestions are welcome.

> >
> > Is the system overclocked? Does the processor fan work properly? I've
> > seen similar faults on a system where the processor fan did not work
> > anymore.
> >
> > EJ

>
> The system is not overclocked. The fan works properly.
> Could it be a heat related problem? The machine is not hot, but it
> could be colder though...



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-16-2008, 04:19 AM
Christian
 
Posts: n/a
Default Re: Network connection dying...why?

Ferran Oriol wrote:
> I have the same problem, and my compaq pentium 200 mmx is very cold


cold? old? hm, both should be ok :-)

> the standard pc. If i don't work with this in 10 or 15 minutes, the ping to
> the ip adress is imposible, i touch the keyboard and restart automaticaly
> the network.


some weird APM setup? can you disable it at all in the BIOS?
anything else but the NIC is working? does it then react on ifconfig
commands still?

Christian.

--
BOFH excuse #277:

Your Flux Capacitor has gone bad.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-16-2008, 04:19 AM
./ToZ
 
Posts: n/a
Default Re: Network connection dying...why?

On Thu, 10 Jul 2003 18:44:17 +0200, Ferran Oriol <varios@barnamail.com> spat:
> I have the same problem, and my compaq pentium 200 mmx is very cold and is
> the standard pc. If i don't work with this in 10 or 15 minutes, the ping to
> the ip adress is imposible, i touch the keyboard and restart automaticaly
> the network.
>
> Some ideas. Tx.
>
> Ferran


My Compaq does the same. You need to disable apm. Do the following:

config -e -o /bsd /bsd
> disable apm
> quit


Now reboot the box.
../ToZ

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-16-2008, 04:21 AM
Ferran Oriol
 
Posts: n/a
Default Re: Network connection dying...why?

Thanks for your answer.

I see the irq 11 is the same for 3com and VIA VT83C572 USB.

I change this and probe.

Tx.

Ferran Oriol


Show of dmesg | grep irq

xl0 at pci0 dev 4 function 0 "3Com 3c905C 100Base-TX" rev 0x30: irq 11
address 00:04:75:7f:4e:92
uhci0 at pci0 dev 7 function 2 "VIA VT83C572 USB" rev 0x02: irq 11
pckbc0: using irq 1 for kbd slot
pckbc0: using irq 12 for aux slot
lpt0 at isa0 port 0x378/4 irq 7
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2

Complete dmesg:

OpenBSD 3.3 (GENERIC) #44: Sat Mar 29 13:22:05 MST 2003
deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
RTC BIOS diagnostic error 2
cpu0: F00F bug workaround installed
cpu0: Intel Pentium/MMX ("GenuineIntel" 586-class) 200 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
real mem = 66695168 (65132K)
avail mem = 56250368 (54932K)
using 839 buffers containing 3436544 bytes (3356K) of memory
RTC BIOS diagnostic error 2
mainbus0 (root)
bios0 at mainbus0: AT/286+(ff) BIOS, date 11/18/97, BIOS32 rev. 0 @ 0xf1800
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf1800/0x2100
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xf1db0/112 (5 entries)
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xf7440/112 (5 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C586 PCI-ISA" rev 0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x800
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "VIA VT82C1595 Host-PCI" rev 0x06
xl0 at pci0 dev 4 function 0 "3Com 3c905C 100Base-TX" rev 0x30: irq 11
address 00:04:75:7f:4e:92
ukphy0 at xl0 phy 24: Generic IEEE 802.3u media interface
ukphy0: OUI 0x00601d, model 0x0035, rev. 0
pcib0 at pci0 dev 7 function 0 "VIA VT82C586 PCI-ISA" rev 0x41
pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x06: ATA33, channel
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <WDC AC22100H>
wd0: 16-sector PIO, LBA, 2014MB, 4092 cyl, 16 head, 63 sec, 4124736 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 disabled (no drives)
uhci0 at pci0 dev 7 function 2 "VIA VT83C572 USB" rev 0x02: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x0000 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"VIA VT82C586 Power Mgmt" rev 0x10 at pci0 dev 7 function 3 not configured
vga1 at pci0 dev 15 function 0 "S3 Trio64V2/DX" rev 0x16
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 4840 netmask 4840 ttymask 58c2
pctr: 586-class performance counters and user-level cycle counter enabled
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

<jallen@pobox.com> escribió en el mensaje
news:3f0e71df$0$31275$afc38c87@news.optusnet.com.a u...
> DJ_Farid <dj_farid@hotmail.com> wrote:
>
> > Does anyone know what causes this? I don't even know how to
> > troubleshoot this problem. Where do I begin? Does anyone know how to
> > fix this?
> >
> > Any suggestions are welcome.

>
> Look for IRQ sharing with the NIC ??
>
>
> Cheers,
> Jason
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:11 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589