DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th July 2012
Daffy Daffy is offline
Fdisk Soldier
 
Join Date: Jun 2010
Posts: 73
Default pkg_add times out (?)

Hi. I'm experiencing a strange problem for some time.

After an upgrade and after sysmerge for bringing my laptop to most recent -current, when I try to 'pkg_add -u' after a while I get a strange time out. The process hangs.

I couldn't find anything in the mailing lists, so I'm posting here.

dmesg:

Code:
OpenBSD 5.2 (GENERIC) #275: Tue Jul 24 09:36:18 MDT 2012
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.50GHz ("GenuineIntel" 686-class) 1.50 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,NXE,EST,TM2
real mem  = 1063710720 (1014MB)
avail mem = 1035472896 (987MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/19/06, BIOS32 rev. 0 @ 0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (59 entries)
bios0: vendor IBM version "75ET60WW (2.06 )" date 12/19/2006
bios0: IBM 1867WEF
apm0 at bios0: Power Management spec V1.2
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdec0/240 (13 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc0000/0xf600! 0xcf800/0x1600 0xd1000/0x1000 0xdc000/0x4000! 0xe0000/0x10000
cpu0 at mainbus0: (uniprocessor)
cpu0: Enhanced SpeedStep 1497 MHz: speeds: 1500, 1400, 1300, 1200, 1100, 1000, 900, 800, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
mem address conflict 0x3f700000/0x80000
io address conflict 0x5800/0x8
io address conflict 0x5808/0x4
io address conflict 0x5810/0x8
io address conflict 0x580c/0x4
pchb0 at pci0 dev 0 function 0 "Intel 82915GM Host" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82915GM Video" rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xc0000000, size 0x10000000
inteldrm0 at vga1: no ifp : irq 11
drm0 at inteldrm0
"Intel 82915GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
ppb0 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03: irq 11
pci1 at ppb0 bus 2
bge0 at pci1 dev 0 function 0 "Broadcom BCM5751M" rev 0x11, BCM5750 B1 (0x4101): irq 11, address 00:16:d3:22:13:5a
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: irq 11
uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x03: irq 11
uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x03: irq 11
uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: irq 11
ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x03: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd3
pci2 at ppb1 bus 4
cbb0 at pci2 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0x8d: irq 11
sdhc0 at pci2 dev 0 function 1 "Ricoh 5C822 SD/MMC" rev 0x13: irq 11
sdmmc0 at sdhc0
ath0 at pci2 dev 2 function 0 "Atheros AR5212 (IBM MiniPCI)" rev 0x01: irq 11
ath0: AR5213A 5.9 phy 4.3 rf5112a 3.6, WOR2W, address 00:16:cf:00:ed:c9
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 5 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
auich0 at pci0 dev 30 function 2 "Intel 82801FB AC97" rev 0x03: irq 11, ICH6 AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
"Intel 82801FB Modem" rev 0x03 at pci0 dev 30 function 3 not configured
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FBM LPC" rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 2 "Intel 82801FBM SATA" rev 0x03: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <HTC426040G9AT00>
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x03: irq 11
iic0 at ichiic0
spdmem0 at iic0 addr 0x51: 512MB DDR2 SDRAM non-parity PC2-4200CL5 SO-DIMM
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root on wd0a (44cbc9ce5d88b0a3.a) swap on wd0b dump on wd0b
from netstat, I get this:
Code:
> netstat 
Active Internet connections
Proto   Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp          0      0  192.168.2.9.27008      147.52.159.12.ftp      ESTABLISHED
tcp          0      0  192.168.2.9.11207      147.52.159.12.51820    FIN_WAIT_2
tcp          0      0  192.168.2.9.41926      147.52.159.12.54763    FIN_WAIT_2
tcp          0      0  192.168.2.9.27740      147.52.159.12.58781    FIN_WAIT_2
tcp          0      0  192.168.2.9.30638      147.52.159.12.53920    FIN_WAIT_2
tcp          0      0  192.168.2.9.17918      147.52.159.12.51652    FIN_WAIT_2
tcp          0      0  192.168.2.9.22867      147.52.159.12.53921    FIN_WAIT_2
tcp          0      0  192.168.2.9.45112      147.52.159.12.59715    FIN_WAIT_2
tcp          0      0  192.168.2.9.31213      147.52.159.12.56305    FIN_WAIT_2
tcp          0      0  192.168.2.9.19593      147.52.159.12.51013    FIN_WAIT_2
tcp          0      0  192.168.2.9.26907      147.52.159.12.57765    FIN_WAIT_2
tcp          0      0  192.168.2.9.23360      147.52.159.12.54911    FIN_WAIT_2
tcp          0      0  192.168.2.9.24735      147.52.159.12.58079    FIN_WAIT_2
tcp          0      0  192.168.2.9.36629      147.52.159.12.53321    FIN_WAIT_2
Active Internet connections
Proto   Recv-Q Send-Q  Local Address          Foreign Address        (state)
udp          0      0  192.168.2.9.35234      194.177.210.54.ntp    
Active UNIX domain sockets
Address    Type   Recv-Q Send-Q      Inode       Conn       Refs    Nextref Addr
0xd6a8844c stream      0      0        0x0 0xd1f3e440        0x0        0x0 /tmp/.X11-unix/X0
0xd6a8811c stream      0      0        0x0 0xd1f3e040        0x0        0x0 /tmp/.X11-unix/X0
0xd6a8800c stream      0      0        0x0 0xd1f16c40        0x0        0x0 /tmp/.X11-unix/X0
0xd6bc7dd8 stream      0      0 0xd6b23348        0x0        0x0        0x0 /tmp/.X11-unix/X0
0xd6bc7aa8 stream      0      0        0x0 0xd1f16cc0        0x0        0x0
0xd6bc7998 stream      0      0        0x0 0xd1f16c80        0x0        0x0
0xd6a88bbc dgram       0      0        0x0 0xd1ebc580        0x0 0xd1ef9040
0xd6a8866c stream      0      0 0xd69fb92c        0x0        0x0        0x0 /tmp/tmux-1000/default
0xd6a8877c stream      0      0        0x0 0xd1f33300        0x0        0x0
0xd6a8888c stream      0      0        0x0 0xd1f33b40        0x0        0x0
0xd6a8822c stream      0      0        0x0 0xd1f505c0        0x0        0x0
0xd6a8833c stream      0      0        0x0 0xd1f3e000        0x0        0x0
0xd6bc7ee8 stream      0      0        0x0 0xd1f33780        0x0        0x0
0xd6bc7888 stream      0      0 0xd6bbb97c        0x0        0x0        0x0 tabs/.sock
0xd6bc7778 dgram       0      0        0x0 0xd1ebc580        0x0 0xd1eff640
0xd6bc7668 dgram       0      0        0x0 0xd1ebc580        0x0 0xd1effd80
0xd6bc7558 stream      0      0 0xd6bbb364        0x0        0x0        0x0 /var/run/apmdev
0xd6bc7448 dgram       0      0        0x0 0xd1ebc580        0x0 0xd1efff80
0xd6bc7228 stream      0      0 0xd6bd58dc        0x0        0x0        0x0 /tmp/aucat/aucat0
0xd6c9e554 dgram       0      0        0x0 0xd1ebc580        0x0 0xd1ebcb40
0xd6c9e004 stream      0      0        0x0 0xd1ebc6c0        0x0        0x0
0xd6d08ee0 stream      0      0        0x0 0xd1ebc740        0x0        0x0
0xd6d08dd0 stream      0      0        0x0 0xd1ebc9c0        0x0        0x0
0xd6d08cc0 stream      0      0        0x0 0xd1ebc900        0x0        0x0
0xd6d08bb0 dgram       0      0        0x0 0xd1ebc580        0x0 0xd1ebcc00
0xd6d08aa0 dgram       0      0        0x0 0xd1ebc580        0x0        0x0
0xd6d08990 stream      0      0        0x0 0xd1ebcd00        0x0        0x0
0xd6d08880 stream      0      0        0x0 0xd1ebcbc0        0x0        0x0
0xd6d08770 stream      0      0        0x0 0xd1ebc440        0x0        0x0
0xd6d08660 stream      0      0        0x0 0xd1ebc400        0x0        0x0
0xd6d08550 dgram       0      0 0xd6cb39e4        0x0        0x0        0x0 /var/empty/dev/log
0xd6d08440 dgram       0      0 0xd6cb3948        0x0        0x0        0x0 /var/www/dev/log
0xd6d08330 dgram       0      0 0xd6cb38ac        0x0 0xd1f3e740        0x0 /dev/log
when I experience this kind of error, I ^C the pkg_add and resume again. After 1-2 tries, it completes.

I could not find anything relevant on the mailing lists. :/

This happens on laptop and desktop. Maybe somehow the router terminates the ftp session?

[edit]: forgot to mention:
- this happens also if I choose another ftp server
- pf.conf on laptop empty, on desktop just bruteforce table/rules

Last edited by Daffy; 27th July 2012 at 09:46 PM.
Reply With Quote
Reply

Tags
pkg_add, time out

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NY Times - History of Computer Viruses shep News 0 27th January 2011 09:17 PM
Last message repeated x times delboy FreeBSD General 6 25th June 2009 10:08 AM
repeat same command n times gosha Programming 8 12th March 2009 11:25 PM
Thanked X times in X posts johnlvs2run Feedback and Suggestions 6 18th May 2008 01:21 PM
Daemonforums very slow, times out a lot Weaseal Feedback and Suggestions 15 16th May 2008 12:44 AM


All times are GMT. The time now is 06:44 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick