Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2002 14:42:35 +0400
From:      Alexander Isaev <A.Isaev@astelit.ru>
To:        Jens Rehsack <rehsack@liwing.de>
Cc:        questions@freebsd.org
Subject:   Re[2]: FreeBSD 4.5 and network problems
Message-ID:  <8819984941.20020417144235@astelit.ru>
In-Reply-To: <3CBD437E.3027869F@liwing.de>
References:  <215648810.20020415134857@astelit.ru> <3CBAA628.6304E066@liwing.de> <16518703142.20020415143951@astelit.ru> <3CBAB3E2.B47F583B@liwing.de> <13114797867.20020417131609@astelit.ru> <3CBD437E.3027869F@liwing.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Jens,

Wednesday, Wednesday, April 17, 2002, you wrote:



JR> Alexander Isaev wrote:
>> 
>> Hello Jens,
>> 
>> Monday, Monday, April 15, 2002, you wrote:
>> 
>> JR> Alexander Isaev wrote:
>> >>
>> >> Hello Jens,
>> >>
>> >> Monday, Monday, April 15, 2002, you wrote:
>> >>
>> >> JR> Alexander Isaev wrote:
>> >> >>
>> >> >> Hello freebsd-questions,
>> >> >>
>> >> >>   I have installed FreeBSD 4.5. Everything worked OK from the console.
>> >> >>   But when I tried  to connect to it remotely (using SSH) I had some network troubles.
>> >> >>   From time to time to time the connection hangs for a short time.
>> >> >>   First of all I've tried to install another network card (I've replaced
>> >> >>   D-Link 550 with D-Link 538TX). But the problem still exists. Later
>> >> >>   I've noticed that network timeouts happen also when sending or
>> >> >>   receiving large files over SMTP/POP3.
>> >> JR> Can you login? If not, what user account do you try at login?
>> >> JR> If you can login, is your machine heavy loaded? Or how many routers/firewalls
>> >> JR> are between your remote machine and your freebsd 4.5 box?
>> >> Yes I can login. Machine is idle for 99,9 %.
>> >>
>> >> last pid: 16641;  load averages:  0.00,  0.00,  0.00                                   up 4+23:16:04  14:36:10
>> >> 21 processes:  2 running, 19 sleeping
>> >> CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
>> >> Mem: 9880K Active, 77M Inact, 56M Wired, 56K Cache, 33M Buf, 89M Free
>> >> Swap: 465M Total, 465M Free
>> >>
>> >>   PID USERNAME      PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
>> >> 16641 isaev          28   0  1892K  1172K RUN      0:00  1.08%  0.20% top
>> >> 16631 root            2   0  2072K  1756K sbwait   0:00  0.06%  0.05% sendmail
>> >> 16639 candymow        2   0  1104K   812K sbwait   0:00  0.17%  0.05% cucipop
>> >>    91 root            2   0  4392K  4128K select   0:40  0.00%  0.00% drwebd
>> >>    93 drweb           2   0  4400K  1608K poll     0:07  0.00%  0.00% drweb-smf
>> >>    62 root            2   0   964K   668K select   0:02  0.00%  0.00% syslogd
>> >>    72 root           10   0  1004K   736K nanslp   0:02  0.00%  0.00% cron
>> >>    97 root            2   0  2104K  1600K select   0:01  0.00%  0.00% sshd
>> >>    70 root            2   0  1072K   820K select   0:00  0.00%  0.00% inetd
>> >> 16638 root           28   0  2168K  1836K RUN      0:00  0.00%  0.00% sshd
>> >> 16640 isaev          10   0  1032K   884K wait     0:00  0.00%  0.00% bash
>> >> 16612 root            2   0  1784K  1572K select   0:00  0.00%  0.00% sendmail
>> >>    99 root            3   0   948K   652K ttyin    0:00  0.00%  0.00% getty
>> >>   105 root            3   0   948K   656K ttyin    0:00  0.00%  0.00% getty
>> >>   102 root            3   0   948K   656K ttyin    0:00  0.00%  0.00% getty
>> >>   103 root            3   0   948K   656K ttyin    0:00  0.00%  0.00% getty
>> >>   106 root            3   0   948K   656K ttyin    0:00  0.00%  0.00% getty
>> >>   100 root            3   0   948K   656K ttyin    0:00  0.00%  0.00% getty
>> >>   104 root            3   0   948K   656K ttyin    0:00  0.00%  0.00% getty
>> >>   101 root            3   0   948K   656K ttyin    0:00  0.00%  0.00% getty
>> >>    23 root           18   0   208K    92K pause    0:00  0.00%  0.00% adjkerntz
>> >>
>> >>    There are 1 firewall and about 1 or 2 routers between me and this machine.
>> >>    But, this machine is installed in subnet with another FreeBSD
>> >>    machine (let's name it - Machine-B) . When I download large file
>> >>    (about 200 Mb at 200 k/s speed) from Machine-B the timeouts on
>> >>    first machine become much longer and happen much often. For another
>> >>    hand when Dling large file I can login to Machine-B by SSH and work
>> >>    without any problems. So the network problems depend on network
>> >>    traffic but I can notice problems ONLY on one machine. All other
>> >>    machines in network work perfect.
>> JR> I had a similar problem with a machine for 1 year. I do not know the exact
>> JR> reason, but the interrupt of the NIC never works. The card works perfect
>> JR> in other machines. Maybe the motherboard had a defect, but I do not know...
>> 
>> JR> By the way, other machine runs in such a problem: solution? Changing interrupt
>> JR> handling from level to edge (or from edge to level). Is in the `dmesg`-output
>> JR> the interrupt found correctly?
>> Maybe I'll try to change the IRQ. Right now network card uses 11 IRQ.
>> But, it's a normal IRQ for network card my Windows based PC uses the
>> same IRQ and everything is OK..
>> 
>> JR> Hope that helps
JR> I don't think, that it would. Only if there is a shared interrupt, where one of the
JR> drivers didn't support. Could you send me the content of the "dmesg" output, please?
Here us my DMESG:

Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.5-RELEASE #0: Tue Apr  2 16:23:24 MSD 2002
    root@mail.candy.ru:/usr/src/sys/compile/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (868.64-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 251641856 (245744K bytes)
config> en fdc0
config> po fdc0 0x3f0
config> ir fdc0 6
config> dr fdc0 2
config> f fdc0 0
config> q
avail memory = 240140288 (234512K bytes)
Preloaded elf kernel "kernel" at 0xc0496000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc049609c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 6 entries at 0xc00f1400
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
atapci0: <SiS 5591 ATA100 controller> port 0xd800-0xd80f at device 0.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
isab0: <SiS 85c503 PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pcib2: <PCI to PCI bridge (vendor=1039 device=0001)> at device 2.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <SiS model 6300 VGA-compatible display device> at 0.0 irq 11
rl0: <D-Link DFE-530TX+ 10/100BaseTX> port 0x9800-0x98ff mem 0xe9800000-0xe98000ff irq 11 at device 13.0 on pci0
rl0: Ethernet address: 00:50:ba:b2:6c:4f
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib1: <SiS 5591 host to AGP bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 29319MB <FUJITSU MPG3307AT> [59570/16/63] at ata0-master UDMA100
Mounting root from ufs:/dev/ad0s1a

JR> So long
JR> Jens

>> JR> Jens
>> >> >>   Can someone help me to solve this problem?
>> >> JR> Maybe
>> >> >> Best regards,
>> >> >>  Alexander Isaev                          mailto:A.Isaev@astelit.ru
>> >> >>
>> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> >> >> with "unsubscribe freebsd-questions" in the body of the message
>> >> JR> so long
>> >> JR> Jens
>> >>
>> >> Best regards,
>> >>  Alexander                            mailto:A.Isaev@astelit.ru
>> 
>> Best regards,
>>  Alexander                            mailto:A.Isaev@astelit.ru




Best regards,
 Alexander                            mailto:A.Isaev@astelit.ru


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8819984941.20020417144235>