From owner-freebsd-hackers Tue Apr 1 11:29:54 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA23098 for hackers-outgoing; Tue, 1 Apr 1997 11:29:54 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id LAA23076 for ; Tue, 1 Apr 1997 11:29:46 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id VAA04776; Tue, 1 Apr 1997 21:29:28 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id VAA16392; Tue, 1 Apr 1997 21:09:09 +0200 (MET DST) Message-ID: <19970401210909.DC36612@uriah.heep.sax.de> Date: Tue, 1 Apr 1997 21:09:09 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-hackers@FreeBSD.ORG Cc: pmchen@eecs.umich.edu (Peter M. Chen) Subject: Re: question on buffer cache and VMIO References: <199704011439.JAA26225@life.eecs.umich.edu> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199704011439.JAA26225@life.eecs.umich.edu>; from Peter M. Chen on Apr 1, 1997 09:39:42 -0500 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Peter M. Chen wrote: > Questions re: buffer cache and VMIO While i cannot answer these... > General kernel questions: > 1) I'd like the ability to read and write kernel global > variables (without going to ddb). I tried kvm, but that only works > for variables in i386/i386/symbols.raw. Are you sure about this? I've got my nose in dset(8) some time ago, and it really uses kvm for variables that are not listed in symbols.raw. > kgdb only works for > off-line core dumps. No. ``gdb -k /kernel /dev/mem'' debugs your currently running kernel. Add -w to the commandline, and you'll be allowed to write (unless you're running on a higher securelevel, but then you're at a loss anyway). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)