From owner-freebsd-stable Fri Aug 11 11:22:55 2000 Delivered-To: freebsd-stable@freebsd.org Received: from hrzmu007.rz.fhtw-berlin.de (hrzmu007.rz.fhtw-berlin.de [141.45.5.137]) by hub.freebsd.org (Postfix) with ESMTP id 4327D37B570 for ; Fri, 11 Aug 2000 11:22:41 -0700 (PDT) (envelope-from rack@hrzmu007.rz.fhtw-berlin.de) Received: (from rack@localhost) by hrzmu007.rz.fhtw-berlin.de (8.9.3/8.9.3) id UAA31720 for stable@freebsd.org; Fri, 11 Aug 2000 20:23:30 +0200 (CEST) (envelope-from rack) Date: Fri, 11 Aug 2000 20:23:30 +0200 From: Torsten Rack To: stable@freebsd.org Subject: top problem with 4.1-STABLE Message-ID: <20000811202330.A31640@fhtw-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i X-Operating-System: FreeBSD X-Uptime: 7:21PM up 14 days Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, i've just installed FreeBSD 4.1-RELEASE on an Intel-Pentium-II Server and am running into problems with top: When I start top, the process seems to hang before it can display anything! Even "truss top" showed the same behaviour. Attaching truss to a "hanging" top process works. Top seems to hang in some kind of endless loop: recvfrom(0x4,0x80d9060,0x900,0x0,0xbfbfef54,0xbfbfeed0) = 116 (0x74) gettimeofday(0xbfbfef8c,0x0) = 0 (0x0) getpid() = 209 (0xd1) getsockname(0x4,0xbfbfebd8,0xbfbfebb8) = 0 (0x0) gettimeofday(0xbfbfef8c,0x0) = 0 (0x0) getpid() = 209 (0xd1) getsockname(0x4,0xbfbfebd8,0xbfbfebb8) = 0 (0x0) sendto(0x4,0x80d9960,0x54,0x0,0x80d9008,0x10) = 84 (0x54) gettimeofday(0xbfbfeef4,0x0) = 0 (0x0) select(0x5,0xbfbfef64,0x0,0x0,0xbfbfeeec) = 1 (0x1) recvfrom(0x4,0x80d9060,0x900,0x0,0xbfbfef54,0xbfbfeed0) = 116 (0x74) gettimeofday(0xbfbfef8c,0x0) = 0 (0x0) getpid() = 209 (0xd1) getsockname(0x4,0xbfbfebd8,0xbfbfebb8) = 0 (0x0) gettimeofday(0xbfbfef8c,0x0) = 0 (0x0) getpid() = 209 (0xd1) getsockname(0x4,0xbfbfebd8,0xbfbfebb8) = 0 (0x0) sendto(0x4,0x80d9960,0x54,0x0,0x80d9008,0x10) = 84 (0x54) gettimeofday(0xbfbfeef4,0x0) = 0 (0x0) select(0x5,0xbfbfef64,0x0,0x0,0xbfbfeeec) = 1 (0x1) recvfrom(0x4,0x80d9060,0x900,0x0,0xbfbfef54,0xbfbfeed0) = 116 (0x74) gettimeofday(0xbfbfef8c,0x0) = 0 (0x0) getpid() = 209 (0xd1) getsockname(0x4,0xbfbfebd8,0xbfbfebb8) = 0 (0x0) gettimeofday(0xbfbfef8c,0x0) = 0 (0x0) getpid() = 209 (0xd1) getsockname(0x4,0xbfbfebd8,0xbfbfebb8) = 0 (0x0) sendto(0x4,0x80d9960,0x54,0x0,0x80d9008,0x10) = 84 (0x54) gettimeofday(0xbfbfeef4,0x0) = 0 (0x0) select(0x5,0xbfbfef64,0x0,0x0,0xbfbfeeec) = 1 (0x1) recvfrom(0x4,0x80d9060,0x900,0x0,0xbfbfef54,0xbfbfeed0) = 116 (0x74) gettimeofday(0xbfbfef8c,0x0) = 0 (0x0) getpid() = 209 (0xd1) getsockname(0x4,0xbfbfebd8,0xbfbfebb8) = 0 (0x0) gettimeofday(0xbfbfef8c,0x0) = 0 (0x0) getpid() = 209 (0xd1) getsockname(0x4,0xbfbfebd8,0xbfbfebb8) = 0 (0x0) sendto(0x4,0x80d9960,0x54,0x0,0x80d9008,0x10) = 84 (0x54) gettimeofday(0xbfbfeef4,0x0) = 0 (0x0) select(0x5,0xbfbfef64,0x0,0x0,0xbfbfeeec) = 1 (0x1) recvfrom(0x4,0x80d9060,0x900,0x0,0xbfbfef54,0xbfbfeed0) = 116 (0x74) gettimeofday(0xbfbfef8c,0x0) = 0 (0x0) getpid() = 209 (0xd1) getsockname(0x4,0xbfbfebd8,0xbfbfebb8) = 0 (0x0) gettimeofday(0xbfbfef8c,0x0) = 0 (0x0) ... and so on ... (pid 209 was the "top" process) I've also tried to upgrade to 4.1-STABLE (as of Aug. 9th), but there was no improvement for my problem. The permissions of /usr/bin/top, /dev/mem and /dev/kmem seem to be ok. Also, the ps or vmstat commands work fine on this machine. My dmesg output, if needed (STABLE as of Aug. 9th): Copyright (c) 1992-2000 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 4.1-STABLE #0: Fri Aug 11 17:43:24 CEST 2000 root@gecko:/usr/src/sys/compile/GECKO Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (334.09-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ff real memory = 67096576 (65524K bytes) avail memory = 61452288 (60012K bytes) Preloaded elf kernel "kernel" at 0xc037d000. Pentium Pro MTRR support enabled md0: Malloc disk apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: at device 4.1 on pci0 atapci0: Busmastering DMA not enabled uhci0: port 0xd400-0xd41f irq 10 at de vice 4.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub0: port 1 power on failed, IOERROR uhub0: port 2 power on failed, IOERROR chip1: port 0xe800-0xe80f at device 4.3 on pci0 ahc0: port 0xd000-0xd0ff mem 0xe1000000-0xe 1000fff irq 10 at device 6.0 on pci0 ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xb800-0xb87f mem 0xe0800000-0xe080 007f irq 11 at device 11.0 on pci0 xl0: Ethernet address: 00:10:5a:42:36:a5 miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at 12.0 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A, console sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to accept, logging disabled Waiting 10 seconds for SCSI devices to settle Mounting root from ufs:/dev/da0s1a da1 at ahc0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 20.000MB/s transfers (10.000MHz, offset 8, 16bit) da1: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C) cd0 at ahc0 bus 0 target 2 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 5.813MB/s transfers (5.813MHz, offset 15) da0: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C) Does anyone have any hints or suggestions??? Thanks in advance -- Torsten Rack (rack@fhtw-berlin.de) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message