Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cannot run savecore



On Fri, 1 Feb 2008 21:31:01 +0000
Andrew Doran <ad%netbsd.org@localhost> wrote:

> On Fri, Feb 01, 2008 at 04:29:50PM +0000, Steven M. Bellovin wrote:
> 
> > On amd64, recent kernels, I get:
> > 
> >     # savecore -z /var/crash
> >     savecore: /netbsd: kvm_openfiles: /dev/wd0b: Device busy
> > 
> > I even tried booting an install CD, mounting wd0a, and
> > running /mnt/rescure/savecore, but it complained that it couldn't
> > find device 33/950318.  (Aside: shouldn't savecore have an option
> > to point to the dump device that was used?)
> > 
> > I'm running now without swap, in the hope that I can somehow save
> > that file -- I have 3GB, so I should be able to last for a while...
> 
> Multiple concurrent opens of a block device are now prevented. If you
> update your libkvm and savecore, you'll get a savecore that reads
> from the raw device (making this error go away).
> 
I'll try a newer userland.  However, what would have had wd0b open?
And if it's wd0 that's at issue, does that mean that multiple block
devices on the same physical drive are prohibited?


                --Steve Bellovin, http://www.cs.columbia.edu/~smb



Home | Main Index | Thread Index | Old Index