Re: FOLLOWUP: Small problem with TCP socket opening

Ricky Beam (root@defiant.interpath.net)
Tue, 26 Aug 1997 14:55:25 -0400 (EDT)


Ok, it's 173 lines... This is the syslog following a reboot. One process
opens a socket just fine. The other locked up.

Aug 26 14:36:22 dominion syslogd 1.3-0: restart (remote reception).

klogd 1.3-0, log source = /proc/kmsg started.
Loaded 4693 symbols from /boot/System.map.
Symbols match kernel version.
Memory: sized by int13 0e801h
Unknown interrupt
Intel MultiProcessor Specification v1.4
Virtual Wire compatibility mode.
OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000
Processor #0 Pentium(tm) APIC version 17
Processor #1 Pentium(tm) APIC version 17
I/O APIC #2 Version 17 at 0xFEC00000.
Processors: 2
Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0xc00faee0
pcibios_init : BIOS32 Service Directory entry at 0xfb380
pcibios_init : PCI BIOS revision 2.10 entry at 0xfb3b0
Probing PCI hardware.
Calibrating delay loop.. ok - 199.07 BogoMIPS
Memory: 128048k/131072k available (740k kernel code, 400k reserved, 1860k data, 24k init)
Swansea University Computer Society NET3.039 for Linux 2.1
NET3: Unix domain sockets 0.16 for Linux NET3.038.
Swansea University Computer Society TCP/IP for NET3.037
IP Protocols: IGMP, ICMP, UDP, TCP
VFS: Diskquotas version dquot_5.6.0 initialized

Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 2.1.51-SMP (root@dominion) (gcc version 2.7.2.1) #38 Tue Aug 26 03:08:40 EDT 1997
POSIX conformance testing by UNIFIX
calibrating APIC timer ...
..... CPU clock speed is 199.4163 MHz.
..... APIC bus clock speed is 66.4718 MHz.
Booting processor 1 eip 2000: Calibrating delay loop.. ok - 199.07 BogoMIPS
Total of 2 processors activated (398.13 BogoMIPS).
Starting kswapd v 1.23
APM BIOS version 1.2 Flags 0x07 (Driver version 1.2)
Entry f000:80ce cseg16 f000 dseg fdfc cseg len e6ff, dseg len 0
Connection version 1.1
AC on line, battery status unknown, battery life unknown
battery flag 0x80, battery life unknown
Real Time Clock Driver v1.07
md driver 0.35 MAX_MD_DEV=4, MAX_REAL=8
aic7xxx: <Adaptec AHA-294X Ultra SCSI host adapter> at PCI 20
aic7xxx: Loading serial EEPROM...done
aic7xxx: Cables present (Int-50 YES, Int-68 YES, Ext-68 NO)
aic7xxx: eprom is present, brdctl_int=0x2c, brdctl_ext=0xec, brdctl_orig=0x2c
aic7xxx: Termination (Low ON, High ON)
aic7xxx: BIOS enabled, IO Port 0x6000, IO Mem 0xe4202000, IRQ 11, Revision B
aic7xxx: Extended translation enabled.
aic7xxx: Wide Channel, SCSI ID 7, 16/255 SCBs, QFull 16, QMask 0x1f
aic7xxx: Resetting channel A
aic7xxx: Downloading sequencer code... 421 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 4.1/3.2
scsi : 1 host.
scsi0: Scanning channel A for devices.
scsi0: Target 0, channel A, using 16 bit transfers.
scsi0: Target 0, channel A, now synchronous at 10.0MHz, offset 8.
Vendor: Quantum Model: XP34300W Rev: L915
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
scsi0: Target 1, channel A, refusing WIDE negotiation; using 8 bit transfers.
scsi0: Target 1, channel A, now synchronous at 10.0MHz, offset 15.
Vendor: CONNER Model: CFP1080S Rev: 4649
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
scsi0: Target 3, channel A, refusing WIDE negotiation; using 8 bit transfers.
scsi0: Target 3, channel A, now synchronous at 10.0MHz, offset 15.
Vendor: iomega Model: jaz 1GB Rev: J^77
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi removable disk sdc at scsi0, channel 0, id 3, lun 0
scsi0: Target 5, channel A, refusing synchronous negotiation; using asynchronous transfers.
Vendor: IOMEGA Model: ZIP 100 Rev: E.03
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi removable disk sdd at scsi0, channel 0, id 5, lun 0
scsi0: Target 6, channel A, now synchronous at 10.0MHz, offset 15.
Vendor: PLEXTOR Model: CD-ROM PX-8XCS Rev: 1.03
Type: CD-ROM ANSI SCSI revision: 02
(scsi0:0:0) Enabled tagged queuing, queue depth 12.
(scsi0:1:0) Enabled tagged queuing, queue depth 12.
(scsi0:3:0) Enabled tagged queuing, queue depth 12.
scsi : detected 4 SCSI disks total.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 8399520 [4101 MB] [4.1 GB]
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 2110812 [1030 MB] [1.0 GB]
sdc : READ CAPACITY failed.
sdc : status = 1, message = 00, host = 0, driver = 28
sdc : extended sense code = 2
sdc : block size assumed to be 512 bytes, disk size 1GB.
sdd : READ CAPACITY failed.
sdd : status = 1, message = 00, host = 0, driver = 28
sdd : extended sense code = 2
sdd : block size assumed to be 512 bytes, disk size 1GB.
Ethernet Bridge 003 for NET3.037 (Linux 2.1)
Partition check:
sda: sda1 sda2 sda3 sda4
sdb: sdb1
sdc:scsidisk I/O error: dev 08:20, sector 0
unable to read partition table
sdd:scsidisk I/O error: dev 08:30, sector 0
unable to read partition table
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 24k freed
Adding Swap: 127260k swap-space (priority -1)
eepro100.c:v0.31 3/29/97 Donald Becker linux-eepro100@cesdis.gsfc.nasa.gov
Found Intel i82557 PCI Speedo at I/O 0x6400, IRQ 9.
PCI latency timer (CFLT) is 0x20.
eepro100.c:v0.31 3/29/97 Donald Becker linux-eepro100@cesdis.gsfc.nasa.gov
eth0: Intel EtherExpress Pro 10/100 at 0x6400, 00:A0:C9:11:9E:C0, IRQ 9.
Board assembly 352509-003, Physical connectors present: RJ45
Primary interface chip DP83840 PHY #1.
DP83840 specific setup, setting register 23 to 8462.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0x49caa8d6).
Operating in half duplex mode.
Reciever lock-up workaround activated.
Found Intel i82557 PCI Speedo at I/O 0x6500, IRQ 9.
PCI latency timer (CFLT) is 0x20.
eth1: Intel EtherExpress Pro 10/100 at 0x6500, 00:A0:C9:11:A0:E1, IRQ 9.
Board assembly 352509-003, Physical connectors present: RJ45
Primary interface chip DP83840 PHY #1.
DP83840 specific setup, setting register 23 to 8462.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0x49caa8d6).
Operating in half duplex mode.
Reciever lock-up workaround activated.
eth0: speedo_open() irq 9.
eth0: Done speedo_open(), status 00000090.
eth0 UP fl=00001043 pa=01FC48C7/00FFFFFF brd=FFFC48C7 dst=00000000
eth0 changes netmask 00FFFFFF -> F0FFFFFF
eth0 changes brd FFFC48C7 -> 0FFC48C7
route forgot to specify route netmask.
lo UP fl=0000004b pa=0100007F/000000FF brd=FFFFFF7F dst=00000000
lo changes netmask 000000FF -> 00FFFFFF
lo changes brd FFFFFF7F -> FF00007F
Serial driver version 4.24 with SHARE_IRQ enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A

[Aug 26 14:36:39]
[..1024..]
tcp_ipv4.c: tcp_v4_connect(): [000012D7] 199.72.252.1:1024 -> 128.101.162.50:2056 tp->rto: 300
tcp_timer.c: tcp_reset_xmit_timer: [000012D7] 199.72.252.1:1024 -> 128.101.162.50:2056 tm: 300
tcp_timer.c: tcp_retransmit_timer: [00001403] 199.72.252.1:1024 -> 128.101.162.50:2056 Syn Tm: 450
tcp_timer.c: tcp_reset_xmit_timer: [00001403] 199.72.252.1:1024 -> 128.101.162.50:2056 tm: 450
tcp_timer.c: tcp_retransmit_timer: [000015C5] 199.72.252.1:1024 -> 128.101.162.50:2056 Syn Tm: 675
tcp_timer.c: tcp_reset_xmit_timer: [000015C5] 199.72.252.1:1024 -> 128.101.162.50:2056 tm: 675
tcp_timer.c: tcp_retransmit_timer: [00001868] 199.72.252.1:1024 -> 128.101.162.50:2056 Syn Tm: 750
tcp_timer.c: tcp_reset_xmit_timer: [00001868] 199.72.252.1:1024 -> 128.101.162.50:2056 tm: 750
tcp_timer.c: tcp_retransmit_timer: [00001B56] 199.72.252.1:1024 -> 128.101.162.50:2056 Syn Tm: 750
tcp_timer.c: tcp_reset_xmit_timer: [00001B56] 199.72.252.1:1024 -> 128.101.162.50:2056 tm: 750
tcp_timer.c: tcp_clear_xmit_timer: [00001B61] 199.72.252.1:1024 -> 128.101.162.50:2056
tcp_input.c: tcp_rcv_state_process(): [00001B61] 199.72.252.1:1024 -> 128.101.162.50:2056 Syn: Ack-Syn [reset]
[..1026..]
tcp_ipv4.c: tcp_v4_connect(): [0000146B] 199.72.252.1:1026 -> 205.149.163.212:2056 tp->rto: 300
tcp_timer.c: tcp_reset_xmit_timer: [0000146B] 199.72.252.1:1026 -> 205.149.163.212:2056 tm: 300
tcp_timer.c: tcp_clear_xmit_timer: [00001491] 199.72.252.1:1026 -> 205.149.163.212:2056
tcp_input.c: tcp_rcv_state_process(): [00001492] 199.72.252.1:1026 -> 205.149.163.212:2056 Syn: Ack+Rst [discard]
(application: error; 3sec delay; retry connection)
[..1027..]
tcp_ipv4.c: tcp_v4_connect(): [000015C5] 199.72.252.1:1027 -> 208.135.215.12:2056 tp->rto: 300
tcp_timer.c: tcp_reset_xmit_timer: [000015C5] 199.72.252.1:1027 -> 208.135.215.12:2056 tm: 300
tcp_timer.c: tcp_clear_xmit_timer: [000015CF] 199.72.252.1:1027 -> 208.135.215.12:2056
tcp_input.c: tcp_rcv_state_process(): [000015CF] 199.72.252.1:1027 -> 208.135.215.12:2056 Syn: Ack+Syn [conn_est]

--Ricky