Subject: Re: core dump fails with ENXIO [Re: kcore on sun3x (Re: CVS commit:
To: None <>
From: Izumi Tsutsui <>
List: port-sun3
Date: 06/01/2001 22:43:04
In <> 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