Date: Tue, 16 Aug 2011 10:10:38 -0700 From: David Somayajulu <david.somayajulu@qlogic.com> To: Andriy Gapon <avg@FreeBSD.org>, John Baldwin <jhb@FreeBSD.org> Cc: "freebsd-current@freebsd.org" <freebsd-current@FreeBSD.org> Subject: RE: Loading drivers via kldload Message-ID: <75E1A2A7D185F841A975979B0906BBA67BCC8773D4@AVEXMB1.qlogic.org> In-Reply-To: <4E4A9A23.7060807@FreeBSD.org> References: <75E1A2A7D185F841A975979B0906BBA67BCC877062@AVEXMB1.qlogic.org> <75E1A2A7D185F841A975979B0906BBA67BCC877180@AVEXMB1.qlogic.org> <4E4919DA.5000706@FreeBSD.org> <201108161145.02733.jhb@freebsd.org> <4E4A9A23.7060807@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Please see below. -david S. -----Original Message----- From: Andriy Gapon [mailto:avg@FreeBSD.org] Sent: Tuesday, August 16, 2011 9:26 AM To: John Baldwin Cc: David Somayajulu; freebsd-current@freebsd.org Subject: Re: Loading drivers via kldload The following are pure speculations, I'd rather let David speak, but just i= n case; on 16/08/2011 18:45 John Baldwin said the following: > Well, that would seem odd, still. It only returns BUS_PROBE_GENERIC (not= 0), so > David's driver's probe routine should still be called to get a chance to = attach to > the device. Maybe it doesn't do that exactly because device and vendor ID are zeroes as= David described earlier. [David S.] The vendor and device IDs are NOT zeros. They are valid numbers.= The SubSystem Vendor and Device IDs are zeros. > Also, the ATA driver only allocates its BAR once, so it shouldn't > trigger the panic in question in that case (the panic is only triggered w= hen you > try to double-allocate a BAR). This makes only if the BAR has sane values. Not sure what happens if the B= AR has some junk that duplicates other PCI device, or something like that. -- Andriy Gapon This message and any attached documents contain information from QLogic Cor= poration or its wholly-owned subsidiaries that may be confidential. If you = are not the intended recipient, you may not read, copy, distribute, or use = this information. If you have received this transmission in error, please n= otify the sender immediately by reply e-mail and then delete this message.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?75E1A2A7D185F841A975979B0906BBA67BCC8773D4>