kvm not available

2005-06-11 Thread Bashar

any idea what this notice 'kvm not available' means ?

i get it on multiple ocasions such as netstat , but it moves on and lsof 
but it gives this error and stops:
lsof: kvm_open(execfile=/boot/kernel/kernel, corefile=/dev/mem): No such 
file or directory





___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kvm not available

2005-06-11 Thread Max Laier
On Saturday 11 June 2005 10:42, Bashar wrote:
 any idea what this notice 'kvm not available' means ?

 i get it on multiple ocasions such as netstat , but it moves on and lsof
 but it gives this error and stops:
 lsof: kvm_open(execfile=/boot/kernel/kernel, corefile=/dev/mem): No such
 file or directory

src/UPDATING:
| 20040801:
| The /dev/mem, /dev/io /dev/(null/zero) devices are now modules,
| so you may wish to add them to your kernel config file. See
| GENERIC for examples.

As a (temporary) fix you can also #kldload mem or load it via loader.conf.

-- 
/\  Best regards,  | [EMAIL PROTECTED]
\ /  Max Laier  | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | [EMAIL PROTECTED]
/ \  ASCII Ribbon Campaign  | Against HTML Mail and News


pgp3c4AZHJDbQ.pgp
Description: PGP signature


kvm not available

2005-06-09 Thread n0g0013
upon doing a 'netstat -r' i'm getting the message

netstat: kvm not available
Routing tables
rt_tables: symbol not in namelist

i assume i have removed a critical kernel option -- any ideas?

current kernel config attached.


tia,
-- 
t
 t
 w
#
# ZIPPY -- Kernel Configuration
#   . . . based on
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.8 2004/10/24 17:42:08 scottl 
Exp $

machine i386
cpu I686_CPU
ident   ZIPPY

options SCHED_4BSD  # BSD scheduler
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options IPSEC   # IPSEC secure networking
options IPSEC_ESP   #   + encryption
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options COMPAT_43   # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options KTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions

device  apic# I/O APIC

# Bus support.  Do not remove isa, even if you have no isa slots
device  isa
device  pci

# Floppy drives
device  fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
options ATA_STATIC_ID   # Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc  # AT keyboard controller

device  agp # support several AGP chipsets

# Floating point support - do not disable.
device  npx

# Add suspend/resume support for the i8254.
device  pmtimer

# Serial (COM) ports
#device uart# UART based serial ports
device  sio # 16[45]50 based serial ports

# Parallel port
device  ppc
device  ppbus   # Parallel port bus (required)

# USB support
device  uhci# UHCI PCI-USB interface
device  usb # USB Bus (required)
device  ugen# Generic

# NIC support
device  ether   # Ethernet support
device  miibus  # MII bus support for PCI NICs
device  wlan# 802.11 support

# Pseudo devices.
device  loop# Network loopback
device  md  # Memory disks
device  pty # Pseudo-ttys (telnet etc)
device  bpf # Packet filter interface
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: kvm not available

2005-06-09 Thread Brooks Davis
On Tue, Jun 07, 2005 at 10:40:27PM +0100, n0g0013 wrote:
 upon doing a 'netstat -r' i'm getting the message
 
   netstat: kvm not available
   Routing tables
   rt_tables: symbol not in namelist
 
 i assume i have removed a critical kernel option -- any ideas?

You removed device mem.  You'll probably also want device io.

-- Brooks

-- 
Any statement of the form X is the one, true Y is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4


pgp4s48ObjDEf.pgp
Description: PGP signature