amd64/111337: The system freezes when large file is transferred over the network

Victor victor at
Fri Apr 6 23:30:05 UTC 2007

>Number:         111337
>Category:       amd64
>Synopsis:       The system freezes when large file is transferred over the network
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 06 23:30:04 GMT 2007
>Originator:     Victor
>Release:        6.2-STABLE
FreeBSD freebsd 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Apr  6 17:44:06 EDT 2007     victor at freebsd:/usr/obj/usr/src/sys/VICTOR_APR07  amd64

VICTOR_APR07 is just a copy of GENERIC config file


When copying ~>10MB files over the network, the system freezes occasionally; for files >100MB freezes almost always; no warning messages; 
observed with scp, samba, and postgres connection requiring transfer of >2M records; systems on the other side were WinXP, Win2003, and Linux;

Hardware used is Asus M2V motherboard with amd64 dual core processor; Attansic 1GB network card working in ndis mode and 3Com 3c905B-TX network cards.
This behavior occurs for both interfaces; also with Attansic disabled and other 3Com interface used instead;
The motherboard is new, Adaptec RAID controller was moved from an older system working with freebsd 6; did not have any problems before;

appreciate your help;
below are some more listings:

freebsd# pciconf -l
hostb0 at pci0:0:0:        class=0x060000 card=0x03511106 chip=0x03511106 rev=0x00 hdr=0x00
hostb1 at pci0:0:1:        class=0x060000 card=0x00000000 chip=0x13511106 rev=0x00 hdr=0x00
hostb2 at pci0:0:2:        class=0x060000 card=0x00000000 chip=0x23511106 rev=0x00 hdr=0x00
hostb3 at pci0:0:3:        class=0x060000 card=0x00000000 chip=0x33511106 rev=0x00 hdr=0x00
hostb4 at pci0:0:4:        class=0x060000 card=0x00000000 chip=0x43511106 rev=0x00 hdr=0x00
ioapic0 at pci0:0:5:       class=0x080020 card=0x00000000 chip=0x53511106 rev=0x00 hdr=0x00
hostb5 at pci0:0:6:        class=0x060000 card=0x00000008 chip=0x62381106 rev=0x00 hdr=0x00
hostb6 at pci0:0:7:        class=0x060000 card=0x00000000 chip=0x73511106 rev=0x00 hdr=0x00
pcib1 at pci0:1:0: class=0x060400 card=0x00000000 chip=0xb9991106 rev=0x00 hdr=0x01
pcib2 at pci0:2:0: class=0x060400 card=0x00000000 chip=0xa2381106 rev=0x00 hdr=0x01
pcib3 at pci0:3:0: class=0x060400 card=0x00000000 chip=0xc2381106 rev=0x00 hdr=0x01
pcib4 at pci0:3:1: class=0x060400 card=0x00000000 chip=0xd2381106 rev=0x00 hdr=0x01
pcib5 at pci0:3:2: class=0x060400 card=0x00000000 chip=0xe2381106 rev=0x00 hdr=0x01
pcib6 at pci0:3:3: class=0x060400 card=0x00000000 chip=0xf2381106 rev=0x00 hdr=0x01
atapci0 at pci0:15:0:      class=0x01018a card=0x05711106 chip=0x05711106 rev=0x07 hdr=0x00
isab0 at pci0:17:0:        class=0x060100 card=0x33371106 chip=0x33371106 rev=0x00 hdr=0x00
hostb7 at pci0:17:7:       class=0x060000 card=0x337e1106 chip=0x287e1106 rev=0x00 hdr=0x00
pcib7 at pci0:19:0:        class=0x060400 card=0x7738c02f chip=0x337b1106 rev=0x00 hdr=0x01
pcib8 at pci0:19:1:        class=0x060401 card=0xb3af9d7a chip=0x337a1106 rev=0x00 hdr=0x01
hostb8 at pci0:24:0:       class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 hdr=0x00
hostb9 at pci0:24:1:       class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 hdr=0x00
hostb10 at pci0:24:2:      class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 hdr=0x00
hostb11 at pci0:24:3:      class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00
none0 at pci2:0:0: class=0x030000 card=0x037117ee chip=0x5b601002 rev=0x00 hdr=0x00
none1 at pci2:0:1: class=0x038000 card=0x037017ee chip=0x5b701002 rev=0x00 hdr=0x00
ndis0 at pci5:0:0: class=0x020000 card=0x82261043 chip=0x10481969 rev=0xb0 hdr=0x00
aac0 at pci8:7:0:  class=0x010400 card=0x02869005 chip=0x02859005 rev=0x01 hdr=0x00
xl0 at pci8:9:0:   class=0x020000 card=0x905510b7 chip=0x905510b7 rev=0x30 hdr=0x00

freebsd# dmesg
Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #0: Fri Apr  6 17:44:06 EDT 2007
    victor at freebsd:/usr/obj/usr/src/sys/VICTOR_APR07
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (1999.79-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x40fb2  Stepping = 2
  AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
  Cores per package: 2
real memory  = 1073414144 (1023 MB)
avail memory = 1023401984 (975 MB)
kbd1 at kbdmux0
no match for NdisMSetMiniportSecondary
no match for NdisMPromoteMiniport
no match for RtlUpcaseUnicodeString
ath_hal: (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <A M I OEMRSDT> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 11 at device 2.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pci2: <display, VGA> at device 0.0 (no driver attached)
pci2: <display> at device 0.1 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> irq 11 at device 3.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> irq 11 at device 3.1 on pci0
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> irq 11 at device 3.2 on pci0
pci5: <ACPI PCI bus> on pcib5
ndis0: <Attansic L1 Gigabit Ethernet 10/100/1000Base-T Adapter> mem 0xfbec0000-0xfbefffff irq 11 at device 0.0 on pci5
ndis0: NDIS API version: 5.1
ndis0: Ethernet address: 00:17:31:4f:7e:64
pcib6: <ACPI PCI-PCI bridge> irq 11 at device 3.3 on pci0
pci6: <ACPI PCI bus> on pcib6
atapci0: <GENERIC ATA controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 15.0 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
pcib7: <ACPI PCI-PCI bridge> at device 19.0 on pci0
pci7: <ACPI PCI bus> on pcib7
pcib8: <ACPI PCI-PCI bridge> at device 19.1 on pci0
pci8: <ACPI PCI bus> on pcib8
aac0: <Adaptec SCSI RAID 2120S> mem 0xf4000000-0xf7ffffff irq 10 at device 7.0 on pci8
aac0: Enabling 64-bit address support
aac0: [FAST]
aac0: Adaptec Raid Controller 2.0.0-1
aacp0: <SCSI Passthrough Bus> on aac0
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xec00-0xec7f mem 0xfbfefc00-0xfbfefc7f irq 5 at device 9.0 on pci8
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:01:02:c8:53:19
acpi_button0: <Sleep Button> on acpi0
acpi_button1: <Power Button> on acpi0
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
orm0: <ISA Option ROMs> at iomem 0xc0000-0xccfff,0xcd000-0xcdfff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1999790753 Hz quality 800
Timecounters tick every 1.000 msec
acd0: CDROM <CREATIVE CD5233E/C1.00> at ata0-master PIO4
aacd0: <RAID 1 (Mirror)> on aac0
aacd0: 34998MB (71677440 sectors)
Trying to mount root from ufs:/dev/aacd0s1a
WARNING: / was not properly dismounted
netsmb_dev: loaded

Copy a >100MB file from mounted smb share to local filesystem;
Copy a >100MB file from local filesystem using scp to remote ssh server;


More information about the freebsd-amd64 mailing list