use udp instead of tcp.
On Tue, Mar 29, 2011 at 12:58:09PM +0200, Walter Haidinger wrote:
> Hi!
>
> OpenBSD-current locks upon writes to a NFS share with the options
> -o tcp,-w=32768
>
> That is, the following locks up:
> # mount -o tcp,-w=32768 server:/foo /mnt
> # cp /bsd /mnt
>
> No lockup with default mount_nfs options, i.e. udp, or
> when reading. However, writes immediately lock up the
> machine, but not completely as it still responds to icmp
> echo requests, though.
> Shell (console) or any other userspace is dead, AFAICT.
>
> OpenBSD-current is the NFS client, the NFS server runs Linux
> (openSUSE 11.3 with vanilla 2.6.38.1).
>
> Please note that stable OpenBSD-4.8 has no problems writing
> to this NFS server with -o tcp,-w=32768.
>
> Reproducible with OpenBSD-current, tested both in a Linux KVM
> virtual machine and on bare metal (it's dmesg appended below).
>
> If you need any other information, just let me know.
>
> Walter
>
> PS: Please add a CC: to my address too when replying. Thanks.
>
> OpenBSD 4.9-current (GENERIC) #1: Tue Mar 29 08:33:57 CEST 2011
> root@current.private:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: AMD Athlon(tm) XP 2500+ ("AuthenticAMD" 686-class, 512KB L2 cache) 1.84
> GHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
> real mem = 2146988032 (2047MB)
> avail mem = 2101719040 (2004MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 10/01/04, BIOS32 rev. 0 @ 0xfb2c0,
> SMBIOS rev. 2.3 @ 0xf0100 (38 entries)
> bios0: vendor Award Software International, Inc. version "F5" date 10/01/2004
> bios0: Gigabyte Technology Co., Ltd. 7VT600-P-RZ
> apm0 at bios0: Power Management spec V1.2 (slowidle)
> apm0: AC on, battery charge unknown
> acpi at bios0 function 0x0 not configured
> pcibios0 at bios0: rev 2.1 @ 0xf0000/0xd9f4
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfd900/240 (13 entries)
> pcibios0: PCI Exclusive IRQs: 5 10 11
> pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev 0x00)
> pcibios0: PCI bus #1 is the last bus
> bios0: ROM list: 0xc0000/0x8800 0xcc000/0x8000! 0xd4000/0x2000
> cpu0 at mainbus0: (uniprocessor)
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "VIA VT8377 PCI" rev 0x80
> viaagp0 at pchb0: v3
> agp0 at viaagp0: aperture at 0xd0000000, size 0x10000000
> ppb0 at pci0 dev 1 function 0 "VIA VT8377 AGP" rev 0x00
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "Matrox MGA G400/G450 AGP" rev 0x85
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> skc0 at pci0 dev 13 function 0 "Marvell Yukon (Belkin F5D5005)" rev 0x12,
> Yukon (0x1): irq 5
> sk0 at skc0 port A: address 00:30:bd:b2:6f:96
> eephy0 at sk0 phy 0: 88E1011 Gigabit PHY, rev. 3
> pciide0 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA
> pciide0: using irq 10 for native-PCI interrupt
> pciide1 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133,
> channel 0 configured to compatibility, channel 1 configured to compatibility
> atapiscsi0 at pciide1 channel 0 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <LITE-ON, COMBO SOHC-5232K, NK0A> ATAPI 5/cdrom
> removable
> cd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 3
> wd0 at pciide1 channel 1 drive 0: <SAMSUNG SP2514N>
> wd0: 16-sector PIO, LBA48, 238474MB, 488395055 sectors
> wd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 6
> uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: irq 11
> uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: irq 11
> uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: irq 5
> uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0x81: irq 5
> ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x86: irq 10
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1
> viapm0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00
> iic0 at viapm0
> spdmem0 at iic0 addr 0x50: 1GB DDR SDRAM non-parity PC3200CL3.0
> spdmem1 at iic0 addr 0x51: 1GB DDR SDRAM non-parity PC3200CL3.0
> auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x60: irq 10
> ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0)
> audio0 at auvia0
> vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x78: irq 11, address
> 00:0f:ea:bf:9b:0e
> ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 10: OUI
> 0x004063, model 0x0032
> usb1 at uhci0: USB revision 1.0
> uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1
> usb2 at uhci1: USB revision 1.0
> uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci2: USB revision 1.0
> uhub3 at usb3 "VIA UHCI root hub" rev 1.00/1.00 addr 1
> usb4 at uhci3: USB revision 1.0
> uhub4 at usb4 "VIA UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at mainbus0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> 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
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> it0 at isa0 port 0x2e/2: IT8705F rev 3, EC port 0x290
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> biomask ff65 netmask ff65 ttymask ffff
> mtrr: Pentium Pro MTRR support
> axe0 at uhub0 port 2 configuration 1 interface 0 "D-Link DUB-E100 rev B1" rev
> 2.00/0.01 addr 2
> axe0: AX88772, address 00:80:c8:3b:2b:dc
> rlphy0 at axe0 phy 3: IP101 10/100 PHY, rev. 4
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> root on wd0a swap on wd0b dump on wd0b