Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Apr 2006 13:35:46 -0700
From:      Darren Pilgrim <darren.pilgrim@bitfreak.org>
To:        hongz@promisechina.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Can kldload trigger pci bus rescan?
Message-ID:  <444FD9A2.7070602@bitfreak.org>
In-Reply-To: <1146037663$82118$49670145@hongz@promisechina.com>
References:  <1146037663$82118$49670145@hongz@promisechina.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?444FD9A2.7070602>