Date: Wed, 11 Feb 2009 08:29:20 -0500 From: John Baldwin <jhb@freebsd.org> To: Alexander Motin <mav@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r188464 - head/sys/kern Message-ID: <200902110829.20859.jhb@freebsd.org> In-Reply-To: <200902102322.n1ANMTgW007393@svn.freebsd.org> References: <200902102322.n1ANMTgW007393@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 10 February 2009 6:22:29 pm Alexander Motin wrote: > Author: mav > Date: Tue Feb 10 23:22:29 2009 > New Revision: 188464 > URL: http://svn.freebsd.org/changeset/base/188464 > > Log: > Check for device_set_devclass() errors and skip driver probe/attach if any. > Attach call without devclass set crashes the system. > > On resume AHCI driver sometimes tries to create duplicate adX device. > It is surely his own problem, but IMHO it is not a reason to crash here. > Other reasons are also possible. Can you describe the problem a bit more fully? Is the ata driver adding a device with a fixed unit number but a wildcard class? (That is, it is doing something like 'device_add_child(dev, NULL, 4)'?) -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902110829.20859.jhb>