From owner-freebsd-questions Fri Jul 28 00:38:43 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id AAA29805 for questions-outgoing; Fri, 28 Jul 1995 00:38:43 -0700 Received: from pancake.remcomp.fr (pancake.remcomp.fr [194.51.30.1]) by freefall.cdrom.com (8.6.11/8.6.6) with SMTP id AAA29634 for ; Fri, 28 Jul 1995 00:34:38 -0700 Received: (from didier@localhost) by zapata.omnix.fr.org (8.6.9/8.6.9) id JAA12084 for freebsd-questions@freebsd.org; Fri, 28 Jul 1995 09:32:19 +0200 From: Didier Derny Message-Id: <199507280732.JAA12084@zapata.omnix.fr.org> Subject: Help! Network Problem To: freebsd-questions@freebsd.org Date: Fri, 28 Jul 1995 09:32:18 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 11195 Sender: questions-owner@freebsd.org Precedence: bulk Hi Since I installed FreeBSD a week a go the network is extremely sluggish I can't get more than 8-10 Kb/s. result of dmesg ------------------------------------------------------------ FreeBSD 2.0-RELEASE #0: Wed Jul 19 15:25:43 MET DST 1995 root@zapata:/usr/src/sys/compile/ZAPATA CPU: i486DX (486-class CPU) real memory = 16384000 (4000 pages) avail memory = 14962688 (3653 pages) using 290 buffers containing 2379776 bytes of memory Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <8 virtual consoles> ed0 at 0x300-0x31f irq 5 maddr 0xca000 msize 8192 on isa ed0: address 00:00:c0:24:2e:40, type WD8003EP (8 bit) bpf: ed0 attached sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: [0: fd0: 1.44MB 3.5in] ahb0: reading board settings, int=11 ahb0 at 0x8000-0x8fff irq 11 on eisa ahb0 waiting for scsi devices to settle ahb0 targ 0 lun 0: type 0(direct) fixed SCSI2 ahb0 targ 0 lun 0: sd0: 1033MB (2117025 total sec), 1819 cyl, 15 head, 77 sec, bytes/sec 512 ahb0 targ 2 lun 0: type 1(sequential) removable SCSI2 ahb0 targ 2 lun 0: st0: density code 0x13, 512-byte blocks, write-enabled ahb0 targ 6 lun 0: type 5(readonly) removable SCSI2 ahb0 targ 6 lun 0: cd0: cd present.[44220 x 2048 byte records] ie0 at 0x360-0x367 irq 7 maddr 0xd0000 msize 16384 on isa ethernet address 02:07:01:08:b5:95 bpf: ie0 attached npx0 on motherboard changing root device to sd0a bpf: lo0 attached bpf: ppp0 attached WARNING: / was not properly dismounted st0: bad request, must be between 0 and 0 result of netstat -i ------------------------------------------------------------ Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll ed0 1500 00.00.c0.24.2e.40 57248 9 56685 12 212 ed0 1500 128.127 zapata.omnix.fr 57248 9 56685 12 212 ie0 1500 02.07.01.08.b5.95 7547 0 7653 0 0 ie0 1500 emnet idem00 7547 0 7653 0 0 lo0 65532 7629 0 7629 0 0 lo0 65532 your-net localhost 7629 0 7629 0 0 ppp0* 1500 34 0 55 0 0 result of netstat -s ------------------------------------------------------------ ip: 72515 total packets received 1 bad header checksum 0 with size smaller than minimum 0 with data size < data length 0 with header length < data size 0 with data length < header length 0 with bad options 0 with incorrect version number 0 fragments received 0 fragments dropped (dup or out of space) 0 fragments dropped after timeout 0 packets reassembled ok 72485 packets for this host 29 packets for unknown/unsupported protocol 0 packets forwarded 0 packets not forwardable 0 redirects sent 72197 packets sent from this host 0 packets sent with fabricated ip header 0 output packets dropped due to no bufs, etc. 90 output packets discarded due to no route 0 output datagrams fragmented 0 fragments created 0 datagrams that can't be fragmented icmp: 29 calls to icmp_error 0 errors not generated 'cuz old message was icmp Output histogram: echo reply: 32 destination unreachable: 29 0 messages with bad code fields 0 messages < minimum length 0 bad checksums 0 messages with bad length Input histogram: echo reply: 9 destination unreachable: 28 echo: 32 32 message responses generated igmp: 0 messages received 0 messages received with too few bytes 0 messages received with bad checksum 0 membership queries received 0 membership queries received with invalid field(s) 0 membership reports received 0 membership reports received with invalid field(s) 0 membership reports received for groups to which we belong 0 membership reports sent tcp: 69176 packets sent 51284 data packets (45288302 bytes) 8224 data packets (6797878 bytes) retransmitted 9580 ack-only packets (0 delayed) 0 URG only packets 11 window probe packets 0 window update packets 82 control packets 69439 packets received 41800 acks (for 45260631 bytes) 10071 duplicate acks 0 acks for unsent data 3298 packets (115969 bytes) received in-sequence 6231 completely duplicate packets (6462 bytes) 0 old duplicate packets 0 packets with some dup. data (0 bytes duped) 44 out-of-order packets (2648 bytes) 3 packets (0 bytes) of data after window 0 window probes 8142 window update packets 1 packet received after close 1 discarded for bad checksum 0 discarded for bad header offset fields 0 discarded because packet too short 28 connection requests 55 connection accepts 78 connections established (including accepts) 92 connections closed (including 13 drops) 0 embryonic connections dropped 41723 segments updated rtt (of 40616 attempts) 2442 retransmit timeouts 1 connection dropped by rexmit timeout 12 persist timeouts 20 keepalive timeouts 0 keepalive probes sent 0 connections dropped by keepalive 16933 correct ACK header predictions 2265 correct data packet header predictions 12635 PCB cache misses udp: 3006 datagrams received 0 with incomplete header 0 with bad data length field 0 with bad checksum 29 dropped due to no socket 0 broadcast/multicast datagrams dropped due to no socket 0 dropped due to full socket buffers 2977 delivered 2935 datagrams output result of dmesg ----------------------------------------------------------------------- FreeBSD 2.0-RELEASE #0: Wed Jul 5 14:06:55 MET DST 1995 root@panoramix:/usr/src/sys/compile/PANORAMIX CPU: i486DX (486-class CPU) real memory = 16384000 (4000 pages) avail memory = 14868480 (3630 pages) using 290 buffers containing 2379776 bytes of memory Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <8 virtual consoles> ed0 not found at 0x300 sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16450 sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16450 lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: [0: fd0: 1.44MB 3.5in] ahc0 not found ahb0 not found aha0: 1542C/CF detected, unlocking mailbox aha0: reading board settings, dma=5 int=11 100 nSEC ok, using 150 nSEC aha0 at 0x330-0x333 irq 11 drq 5 on isa aha0 waiting for scsi devices to settle aha0 targ 0 lun 0: type 0(direct) fixed SCSI2 aha0 targ 0 lun 0: sd0: 1033MB (2117025 total sec), 1819 cyl, 15 head, 77 sec, bytes/sec 512 ie0 at 0x360-0x367 irq 5 maddr 0xcc000 msize 16384 on isa ethernet address 02:07:01:06:ff:72 bpf: ie0 attached npx0 on motherboard changing root device to sd0a bpf: lo0 attached bpf: ppp0 attached bpf: sl0 attached result of netstart -i ----------------------------------------------------------------------- Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll lp0* 1500 0 0 0 0 0 ie0 1500 02.07.01.06.ff.72 19233 771 20610 0 2 ie0 1500 128.127 panoramix 19233 771 20610 0 2 lo0 65532 163 0 163 0 0 lo0 65532 your-net localhost 163 0 163 0 0 ppp0* 1500 0 0 0 0 0 sl0* 552 0 0 0 0 0 result of netstart -s ----------------------------------------------------------------------- ip: 19427 total packets received 0 bad header checksums 0 with size smaller than minimum 0 with data size < data length 0 with header length < data size 0 with data length < header length 0 with bad options 0 with incorrect version number 0 fragments received 0 fragments dropped (dup or out of space) 0 fragments dropped after timeout 0 packets reassembled ok 19399 packets for this host 28 packets for unknown/unsupported protocol 0 packets forwarded 0 packets not forwardable 0 redirects sent 20770 packets sent from this host 0 packets sent with fabricated ip header 0 output packets dropped due to no bufs, etc. 0 output packets discarded due to no route 0 output datagrams fragmented 0 fragments created 0 datagrams that can't be fragmented icmp: 28 calls to icmp_error 0 errors not generated 'cuz old message was icmp Output histogram: destination unreachable: 28 0 messages with bad code fields 0 messages < minimum length 0 bad checksums 0 messages with bad length Input histogram: destination unreachable: 28 0 message responses generated igmp: 0 messages received 0 messages received with too few bytes 0 messages received with bad checksum 0 membership queries received 0 membership queries received with invalid field(s) 0 membership reports received 0 membership reports received with invalid field(s) 0 membership reports received for groups to which we belong 0 membership reports sent tcp: 20617 packets sent 12227 data packets (3100957 bytes) 90 data packets (23040 bytes) retransmitted 7283 ack-only packets (0 delayed) 0 URG only packets 4 window probe packets 987 window update packets 26 control packets 19277 packets received 11932 acks (for 3101012 bytes) 13 duplicate acks 0 acks for unsent data 3681 packets (5130878 bytes) received in-sequence 782 completely duplicate packets (114524 bytes) 0 old duplicate packets 4 packets with some dup. data (5696 bytes duped) 2787 out-of-order packets (3992996 bytes) 0 packets (0 bytes) of data after window 0 window probes 70 window update packets 2 packets received after close 0 discarded for bad checksums 0 discarded for bad header offset fields 0 discarded because packet too short 7 connection requests 27 connection accepts 34 connections established (including accepts) 47 connections closed (including 1 drop) 0 embryonic connections dropped 11848 segments updated rtt (of 11935 attempts) 86 retransmit timeouts 0 connections dropped by rexmit timeout 4 persist timeouts 0 keepalive timeouts 0 keepalive probes sent 0 connections dropped by keepalive 11115 correct ACK header predictions 3294 correct data packet header predictions 170 PCB cache misses udp: 122 datagrams received 0 with incomplete header 0 with bad data length field 0 with bad checksum 28 dropped due to no socket 0 broadcast/multicast datagrams dropped due to no socket 0 dropped due to full socket buffers 94 delivered 122 datagrams output Thanks for your help +---------------------+ | Didier Derny | | didier@omnix.fr.org | +---------------------+