5.4 kernel crashdump not consistently working
hi, i have run into this strange problem of kernel crashdump not working consistently under FreeBSd 5.4. we have bunch of development machines with identical physical configurations, and every one of them is setup to save the vmcore after a panic. The difference as far as i could tell is the FreeBSD 5.4 version, which different people installed using different methods, CD, network, CVS... I followed the instructions found on the official FreeBSD site as far as i could tell. including in the kernel config file the following options options DDB options KDB options GDB options KDB_UNATTENDED include in the /etc/rc.conf file dumpdev=/dev/ad0s1b # 2GB swap partition with 1GB of physical memory dumpdir=/usr/crash # and making sure the dir exists crashdump works on some of these machines, but not on others, and on those that don't work, i just see Dumping 1014MB and the system just sits there. I added a printf line into the dumpsys function, and it seems that it just loops without ever writing anything to disk. for those that are curious about the details, the variables i, mb are always just zero, count goes up everytime i press a key, and va stays at the same memory address, and left never decreases. Comments would be greatly appreciated. Thanks! Cheng -- FAST powered network performance @626 395 8820 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.4 kernel crashdump not consistently working
On Fri, Dec 01, 2006 at 11:48:06AM -0800, Cheng Jin wrote: hi, i have run into this strange problem of kernel crashdump not working consistently under FreeBSd 5.4. we have bunch of development machines with identical physical configurations, and every one of them is setup to save the vmcore after a panic. The difference as far as i could tell is the FreeBSD 5.4 version, which different people installed using different methods, CD, network, CVS... I followed the instructions found on the official FreeBSD site as far as i could tell. including in the kernel config file the following options options DDB options KDB options GDB options KDB_UNATTENDED include in the /etc/rc.conf file dumpdev=/dev/ad0s1b # 2GB swap partition with 1GB of physical memory dumpdir=/usr/crash # and making sure the dir exists crashdump works on some of these machines, but not on others, and on those that don't work, i just see Dumping 1014MB and the system just sits there. I added a printf line into the dumpsys function, and it seems that it just loops without ever writing anything to disk. for those that are curious about the details, the variables i, mb are always just zero, count goes up everytime i press a key, and va stays at the same memory address, and left never decreases. Comments would be greatly appreciated. Some disk drivers seem to have problems dumping (each driver has its own dump routine so there is scope for bugs especially on less commonly used devices). Try a later version of FreeBSD, e.g. 6.1 or 6.2. Kris pgpQ4tosYDBxz.pgp Description: PGP signature