Dmitry Pryanishnikov
2006-Sep-21 01:44 UTC
Minidumps in -STABLE and "smaller than physical memory"
Hello! I've noticed (with the 2-day old RELENG_6) that I still can't configure my 256Mb swap partition as a dump device for i386 machine with 1Gb RAM despite having minidumps enabled: root@test2# sysctl debug.minidump debug.minidump: 1 root@test2# dumpon -v /dev/ad0s3b /dev/ad0s3b is smaller than physical memory Am I correctly understand that minidumps should lift the restriction sizeof(dumpdev) >= sizeof(RAM) ? Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE
Gavin Atkinson
2006-Sep-21 03:15 UTC
Minidumps in -STABLE and "smaller than physical memory"
On Thu, 2006-09-21 at 11:44 +0300, Dmitry Pryanishnikov wrote:> Hello! > > I've noticed (with the 2-day old RELENG_6) that I still can't configure my > 256Mb swap partition as a dump device for i386 machine with 1Gb RAM despite > having minidumps enabled: > > root@test2# sysctl debug.minidump > debug.minidump: 1 > root@test2# dumpon -v /dev/ad0s3b > /dev/ad0s3b is smaller than physical memory > > Am I correctly understand that minidumps should lift the restriction > > sizeof(dumpdev) >= sizeof(RAM)Yes. http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/dumpon/dumpon.c.diff?r1=1.22&r2=1.23 needs to be MFC'd. Gavin