From owner-freebsd-bugs Thu Apr 25 6: 0:48 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8239037B429 for ; Thu, 25 Apr 2002 06:00:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3PD05O58466; Thu, 25 Apr 2002 06:00:05 -0700 (PDT) (envelope-from gnats) Date: Thu, 25 Apr 2002 06:00:05 -0700 (PDT) Message-Id: <200204251300.g3PD05O58466@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Dan Naumov Subject: Re: i386/37451: top, vmstat and systat refuse to work. Reply-To: Dan Naumov Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR i386/37451; it has been noted by GNATS. From: Dan Naumov To: freebsd-gnats-submit@FreeBSD.org, bug-followup@FreeBSD.org Cc: roam@ringlet.net Subject: Re: i386/37451: top, vmstat and systat refuse to work. Date: Thu, 25 Apr 2002 05:53:52 -0700 (PDT) I looked closer at the boot process and noticed that right before boot2 presents me with an ability to load the kernel, I get a "No /boot/loader" error. When I type "boot" at the boot2 promt and it starts loading the kernel, there is also a "loader(8) metadata missing !" error. However when I cd to /boot, I see loader.conf, loader itself, and other related files. What could possibly be wrong and how can I make the system use loader to boot the kernel ? Originally, /boot/loader was not set to be executable (what would it matter that early in the booting process though), so I went and chmodded it to 755, didn't help. ls -la from /boot: ================================================================ drwxr-xr-x 3 root wheel 512 Apr 24 21:40 . drwxr-xr-x 20 root wheel 512 Apr 24 21:41 .. -r--r--r-- 1 root wheel 512 Apr 24 21:40 boot0 -r--r--r-- 1 root wheel 512 Apr 24 21:40 boot1 -r--r--r-- 1 root wheel 7680 Apr 24 21:40 boot2 -r-xr-xr-x 1 root wheel 1136 Apr 24 21:40 cdboot drwxr-xr-x 2 root wheel 512 Apr 21 20:49 defaults -rwxr-xr-x 1 root wheel 155648 Apr 24 21:40 loader -r--r--r-- 1 root wheel 9237 Jan 28 15:12 loader.4th -rw-r--r-- 1 root wheel 67 Apr 21 00:03 loader.conf -r--r--r-- 1 root wheel 12012 Jan 28 15:12 loader.help -r-xr-xr-x 1 root wheel 159744 Apr 21 20:49 loader.old -r--r--r-- 1 root wheel 338 Jan 28 15:12 loader.rc -r--r--r-- 1 root wheel 512 Apr 24 21:40 mbr -r-xr-xr-x 1 root wheel 157696 Apr 24 21:40 pxeboot -r--r--r-- 1 root wheel 25121 Jan 28 15:12 support.4th ================================================================ also, dmesg -a output: ================================================================ Copyright (c) 1992-2002 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.5-STABLE #0: Wed Apr 24 21:33:58 EEST 2002 jago@localhost.localdomain:/usr/obj/usr/src/sys/JAGO Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1400060896 Hz CPU: AMD Athlon(tm) processor (1400.06-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x644 Stepping = 4 Features=0x183f9ff AMD Features=0xc0440000<,AMIE,DSP,3DNow!> real memory = 536805376 (524224K bytes) avail memory = 518774784 (506616K bytes) Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 10 entries at 0xc00fddb0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 5.0 irq 10 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xc400-0xc40f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 irq 5 pci0: at 7.3 irq 5 pci0: (vendor=0x1106, dev=0x3057) at 7.4 rl0: port 0xe000-0xe0ff mem 0xdc001000-0xdc0010ff irq 11 at device 10.0 on pci0 rl0: Ethernet address: 00:e0:7d:9f:be:31 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: port 0xe400-0xe43f irq 11 at device 14.0 on pci0 orm0: