From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 26 20:35:50 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB30C16A400 for ; Wed, 26 Apr 2006 20:35:50 +0000 (UTC) (envelope-from darren.pilgrim@bitfreak.org) Received: from mail.bitfreak.org (mail.bitfreak.org [65.75.198.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88AE443D48 for ; Wed, 26 Apr 2006 20:35:50 +0000 (GMT) (envelope-from darren.pilgrim@bitfreak.org) Received: from [127.0.0.1] (mail.bitfreak.org [65.75.198.146]) by mail.bitfreak.org (Postfix) with ESMTP id 837C419F2C; Wed, 26 Apr 2006 13:35:49 -0700 (PDT) Message-ID: <444FD9A2.7070602@bitfreak.org> Date: Wed, 26 Apr 2006 13:35:46 -0700 From: Darren Pilgrim User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: hongz@promisechina.com References: <1146037663$82118$49670145@hongz@promisechina.com> In-Reply-To: <1146037663$82118$49670145@hongz@promisechina.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Can kldload trigger pci bus rescan? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 20:35:50 -0000 hongz@promisechina.com wrote: > I tried to use kldload to load our HBA driver. But the driver's pci probe > function can not find the HBA card! By this do you mean that when you have the card in the system, FreeBSD booted and you kldload the driver, you don't see kernel messages showing the appropriate attach messages? Is anything printed? > Does it mean that kldload can not > trigger pci bus rescan? If so, what should I do for triggering pci bus > rescan after loading our pci driver? As Daniel and Warner already stated, the PCI rescan is automatic. This is more likely an identification or driver mismatch problem. Please provide the following: - The exact make and model of the HBA card. - The exact version of FreeBSD you're using. - Which driver you're trying to use. This information will allow us to nail down possible reasons why the attach is not occuring.