Subject: Re: core dump fails with ENXIO [Re: kcore on sun3x (Re: CVS commit:
To: None <bouyer@antioche.lip6.fr>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-sun3
Date: 06/01/2001 22:43:04
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?
If it works, how about "target kcore netbsd.0.core" on gdb?

Anyway, I'll try again after make build all binaries.
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp