Date: Sun, 22 Mar 2009 13:14:52 +0300 From: pluknet <pluknet@gmail.com> To: "M. Warner Losh" <imp@bsdimp.com> Cc: mav@freebsd.org, freebsd-current@freebsd.org Subject: Re: Unable to set devclass (devname: (null) Message-ID: <a31046fc0903220314h520688fqf94f9d89863d434b@mail.gmail.com> In-Reply-To: <20090321.211654.1102538138.imp@bsdimp.com> References: <gp418i$kc8$1@FreeBSD.cs.nctu.edu.tw> <49B58CF6.7070104@FreeBSD.org> <a31046fc0903091504h24626240p3bb46401fedb37a@mail.gmail.com> <20090321.211654.1102538138.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--0016e6dd96a0b12a610465b26bed Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 2009/3/22 M. Warner Losh <imp@bsdimp.com>: > In message: <a31046fc0903091504h24626240p3bb46401fedb37a@mail.gmail.com> > pluknet <pluknet@gmail.com> writes: > : 2009/3/10 Alexander Motin <mav@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 --0016e6dd96a0b12a610465b26bed Content-Type: application/octet-stream; name="device.hints" Content-Disposition: attachment; filename="device.hints" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fslkpcw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dD0iMHgzMDAiCmhpbnQubGUuMC5hdD0iaXNhIgpoaW50LmxlLjAuZGlzYWJsZWQ9IjEiCmhpbnQu bGUuMC5wb3J0PSIweDI4MCIKaGludC5sZS4wLmlycT0iMTAiCmhpbnQubGUuMC5kcnE9IjAiCmhp bnQuYXRydGMuMC5hdD0iaXNhIgpoaW50LmF0cnRjLjAucG9ydD0iMHg3MCIKaGludC5hdHJ0Yy4w LmlycT0iOCIK --0016e6dd96a0b12a610465b26bed--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a31046fc0903220314h520688fqf94f9d89863d434b>