Re: Unable to set devclass (devname: (null)

From: pluknet <pluknet_at_gmail.com>
Date: Sun, 22 Mar 2009 13:14:52 +0300
2009/3/22 M. Warner Losh <imp_at_bsdimp.com>:
> In message: <a31046fc0903091504h24626240p3bb46401fedb37a_at_mail.gmail.com>
>            pluknet <pluknet_at_gmail.com> writes:
> : 2009/3/10 Alexander Motin <mav_at_freebsd.org>:
> : > pluknet wrote:
> : >>
> : >> Is it ok (and how much harmfull) to see this message?
> : >>
> : >> driver bug: Unable to set devclass (devname: (null))
> : >>
> : >> P.S.
> : >> This is introduced in subr_bus.c, v1.216
> : >> -                                       PDEBUG(("Unable to set device
> : >> class"));
> : >> +                                       printf("driver bug: Unable to set
> : >> devclass (devname: %s)\n",
> : >> +                                           (child ?
> : >> device_get_name(child) :
> : >> +                                               "no device"));
> : >>
> : >> where PDEBUG was moved from BUS_DEBUG to general output.
> : >
> : > Actually this check was introduced in rev. 1.214, just was not logged.
> : > Before this change system could crash soon after this message. Now it should
> : > not, but related device probably will not work properly. It is probably not
> : > good and should be fixed, but it can be just a low memory symptom. It was
> : > noticed for ata driver, but I hope it was fixed. Where have you get it?
> :
> : This is during the boot, see dmesg (attached).
>
> Looks like something to do with atakbd or psm.  What does your hints
> file look like?

Pretty standard (see attach).


-- 
wbr,
pluknet

Received on Sun Mar 22 2009 - 09:14:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:44 UTC