Date: Fri, 26 Apr 2002 13:09:02 +0200 (CEST) From: Ivo Hazmuk <ivo@vutbr.cz> To: FreeBSD-gnats-submit@FreeBSD.org Subject: conf/37483: Memory dump after panic on machines with small disk Message-ID: <200204261109.g3QB92YJ019216@fox.cis.vutbr.cz>
next in thread | raw e-mail | index | archive | help
>Number: 37483 >Category: conf >Synopsis: Memory dump after panic on machines with small disk >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 26 04:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Ivo Hazmuk >Release: FreeBSD 4.5-RELEASE i386 >Organization: Brno Universtity of Technology, Center of Information Services >Environment: System: FreeBSD fox.cis.vutbr.cz 4.5-RELEASE FreeBSD 4.5-RELEASE #4: Mon Mar 18 18:27:32 CET 2002 root@fox.cis.vutbr.cz:/usr/src/sys/compile/FOX i386 >Description: In rc.conf files is defined where the system save memory dump after panicing. But on machines with small disk is dangerous dump memory into disk. It can destroy file system where the dump is done. Administrator can control device via dumpon program. Parameter "off" switch off dumping. In rc scripts are defined two ways NO and setting some device. Option which said crash dump is disabled is missing. >How-To-Repeat: Install FreeBSD on small disk (200MB) and provoke kernel panic. If variable $dumpdev is "NO" kernel dumps memory to any filesystem. On small disk it can destroy this filesystem. >Fix: Add following lines to /etc/rc: 389,391d388 < [Oo][Ff][Ff]) < /sbin/dumpon -v off < ;; If you want disable dumping set variable "dumpdev" to "OFF" in /etc/rc.conf or /etc/rc.conf.local: dumpdev="OFF" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204261109.g3QB92YJ019216>