Re: is dumpon/savecore broken?

1999-07-21 Thread Matthew D. Fuller
On Thu, Jul 22, 1999 at 02:19:37AM +0200, a little birdie told me that Andrzej Bialecki remarked On Tue, 20 Jul 1999, Matthew Dillon wrote: You can do it manually from /etc/rc. If it doesn't even get that far, you used to be able to specify it in the kernel config but I do not

Re: is dumpon/savecore broken?

1999-07-20 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], "Steven G. Kar gl" writes: During the boot process I see dumpon: crash dumps to /dev/da0s1b (4, 131073) checking for core dump...savecore: can't find device 13/131073 It seems that the the major device number is reset from 4 to 13. troutmask:kargl[225]

Re: is dumpon/savecore broken?

1999-07-20 Thread Steven G. Kargl
According to Poul-Henning Kamp: In message [EMAIL PROTECTED], "Steven G. Kar gl" writes: During the boot process I see dumpon: crash dumps to /dev/da0s1b (4, 131073) checking for core dump...savecore: can't find device 13/131073 It seems that the the major device number is reset

Re: is dumpon/savecore broken?

1999-07-20 Thread Matthew Dillon
:dumpon: crash dumps to /dev/da0s1b (4, 131073) :checking for core dump...savecore: can't find device 13/131073 : : It seems that the the major device number is reset from 4 to 13. : : Yes, all dev_t's which make it out of the kernel have cmajor : numbers now. : : Try this change to

Re: is dumpon/savecore broken?

1999-07-20 Thread Steven G. Kargl
According to Matthew Dillon: :dumpon: crash dumps to /dev/da0s1b (4, 131073) :checking for core dump...savecore: can't find device 13/131073 : : It seems that the the major device number is reset from 4 to 13. : : Yes, all dev_t's which make it out of the kernel have cmajor :

Re: is dumpon/savecore broken?

1999-07-20 Thread Nick Hibma
And how do you create dumps from a kernel that hasn't finished booting (not gotten to the stage of reading rc.conf)? 'dumps on' in kernel config does not seem to do the job. Nick A checklist for people who want kernel cores: * make sure that dumpdev is set to point to your swap

Re: is dumpon/savecore broken?

1999-07-20 Thread Matthew Dillon
:And how do you create dumps from a kernel that hasn't finished booting :(not gotten to the stage of reading rc.conf)? 'dumps on' in kernel :config does not seem to do the job. : :Nick You can do it manually from /etc/rc. If it doesn't even get that far, you used to be able to specify

Re: is dumpon/savecore broken?

1999-07-20 Thread David Scheidt
On Tue, 20 Jul 1999, Matthew Dillon wrote: * make sure your swap partition is large enough to hold the crash dump. If you have 256MB of ram, your swap partition must be at least 256MB in size. Is there any reason that savecore(8) can't write compressed crashdumps? (Other

Re: is dumpon/savecore broken?

1999-07-20 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Dav id Scheidt writes: On Tue, 20 Jul 1999, Matthew Dillon wrote: * make sure your swap partition is large enough to hold the crash dump. If you have 256MB of ram, your swap partition must be at least 256MB in size. Is there any reason that

Re: is dumpon/savecore broken?

1999-07-20 Thread Matthew Dillon
:On Tue, 20 Jul 1999, Matthew Dillon wrote: : : : * make sure your swap partition is large enough to hold the crash : dump. If you have 256MB of ram, your swap partition must be : at least 256MB in size. : :Is there any reason that savecore(8) can't write compressed crashdumps?

Re: is dumpon/savecore broken?

1999-07-20 Thread David Scheidt
On Tue, 20 Jul 1999, Matthew Dillon wrote: A crash dump would have to uncopmressed to gdb it. If you have sufficient space to hold a crash dump, just point /var/crash at that space. If you compress it right off the bat then someone is going to have to uncompress it to

Re: is dumpon/savecore broken?

1999-07-20 Thread Brian F. Feldman
On Tue, 20 Jul 1999, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], "Steven G. Kar gl" writes: During the boot process I see dumpon: crash dumps to /dev/da0s1b (4, 131073) checking for core dump...savecore: can't find device 13/131073 It seems that the the major device

Re: is dumpon/savecore broken?

1999-07-20 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], "Bria n F. Feldman" writes: /ddname = find_dev/s/BLK/CHR/ No, that's wrong. You cannot do buffered-type IO on a cdev. I committed a workaround, and now it works. There's no easy way around this, except possibly making kern.dumpdev a string (makes quite a bit

Re: is dumpon/savecore broken?

1999-07-20 Thread Brian F. Feldman
On Tue, 20 Jul 1999, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], "Bria n F. Feldman" writes: /ddname = find_dev/s/BLK/CHR/ No, that's wrong. You cannot do buffered-type IO on a cdev. I committed a workaround, and now it works. There's no easy way around this, except