Subject: Re: apparent bug in iostats
To: None <>
From: Christos Zoulas <>
List: tech-kern
Date: 08/23/2006 17:07:47
In article <>, Bucky Katz  <> wrote:
>I've been configuring kernels for a new development board in the
>evbarm tree, and in the process, have come across what appears to be
>a bug in iostat code.
>The as-configured system works fine, until I try to take it to
>multiuser. At that point, it panics in kernel strncpy because
>iostati_getnames has passed it a null pointer as the source argument.
>The attached patch cures the symptom, but I think it's a band aid
>rather than a solution.
>I looked around the iostat related code a bit, and it looks as if a
>system that has no possible disk drives will see this behavior, but
>I'm not sure what the right final fix is.

I am about to commit a change which might fix your problem as a side effect.