Date: Fri, 11 Aug 2000 20:23:30 +0200 From: Torsten Rack <rack@fhtw-berlin.de> To: stable@freebsd.org Subject: top problem with 4.1-STABLE Message-ID: <20000811202330.A31640@fhtw-berlin.de>
next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA T,PSE36,MMX,FXSR> 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: <APM BIOS> on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Intel 82443LX (440 LX) host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib1: <Intel 82443LX (440 LX) PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 ATA33 controller> at device 4.1 on pci0 atapci0: Busmastering DMA not enabled uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd400-0xd41f irq 10 at de vice 4.2 on pci0 usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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: <Intel 82371AB Power management controller> port 0xe800-0xe80f at device 4.3 on pci0 ahc0: <Adaptec aic7880 Ultra SCSI adapter> 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: <MII bus> on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: <ATI Mach64-GU graphics accelerator> at 12.0 fdc0: <NEC 72065B or clone> 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: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> 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: <Parallel port> 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: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> 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: <IBM DCAS-34330W S65A> 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: <PIONEER CD-ROM DR-766 1.00> 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: <IBM DCAS-32160 S65A> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000811202330.A31640>