Re: Debug question

2007-04-05 Thread Dag-Erling Smørgrav
Mipam [EMAIL PROTECTED] writes:
 On Wed, 4 Apr 2007, Rink Springer wrote:
  Try 'kgdb kernel -c vmcore.0'; more information can be found in the
  handbook, most notabilty:
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-gdb.html
 Thanks, when i do what you suggested i get: kgdb: bad namelist.
 Is the corefile unusuable?

No, the correct command line is

# kgdb /boot/kernel/kernel vmcore.0

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


Re: Debug question

2007-04-04 Thread Rink Springer
Hi,

On Wed, Apr 04, 2007 at 11:56:00AM +0200, Mipam wrote:
 My swap is large enough to cover the whole memory and more so it should be 
 okay. However, gdb kernel vmcore.0 tells me that vmcore.0 is not a core 
 dump :-(

Try 'kgdb kernel -c vmcore.0'; more information can be found in the
handbook, most notabilty:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-gdb.html

Regards,

-- 
Rink P.W. Springer- http://rink.nu
It is such a quiet thing, to fall. But yet a far more terrible thing,
 to admit it.- Darth Traya
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Debug question

2007-04-04 Thread Mipam
Thanks, when i do what you suggested i get: kgdb: bad namelist.
Is the corefile unusuable?
Regards,

Mipam.

On Wed, 4 Apr 2007, Rink Springer wrote:

 Hi,
 
 On Wed, Apr 04, 2007 at 11:56:00AM +0200, Mipam wrote:
  My swap is large enough to cover the whole memory and more so it should be 
  okay. However, gdb kernel vmcore.0 tells me that vmcore.0 is not a core 
  dump :-(
 
 Try 'kgdb kernel -c vmcore.0'; more information can be found in the
 handbook, most notabilty:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-gdb.html
 
 Regards,
 
 -- 
 Rink P.W. Springer- http://rink.nu
 It is such a quiet thing, to fall. But yet a far more terrible thing,
  to admit it.- Darth Traya
 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]