Subject: Re: core dump fails with ENXIO [Re: kcore on sun3x (Re: CVS commit: syssrc)]
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-sun3
Date: 06/01/2001 16:00:16
On Fri, Jun 01, 2001 at 10:43:04PM +0900, Izumi Tsutsui wrote:
> In <20010601104303.A6293@antioche.lip6.fr>
> bouyer@antioche.lip6.fr wrote:
> 
> >         /* Make sure it was initialized. */
> > -       if ((periph->periph_flags & PERIPH_MEDIA_LOADED) != 0)
> > +       if ((periph->periph_flags & PERIPH_MEDIA_LOADED) == 0)
> >                 return (ENXIO);
> 
> Oops. I wonder why I could not notice this...
> 
> > With this change core dump works on my 3/60
> 
> BTW, I did "make includes" and updated libkvm and savecore,
> but savecore cannot find core even after "reboot -d".
> Does savecore work properly on 3/60?

It did, but it's 3 or 4 weeks old. Kernel is up-to-date though

I'm running a make build again, I can try again when it's done (in 6 or 7
days :)

> If it works, how about "target kcore netbsd.0.core" on gdb?

this one didn't work. I'll try again after 'make build'.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--