Subject: Re: 2.0 can't nail down devices??
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Simon Burge <simonb@wasabisystems.com>
List: tech-kern
Date: 02/10/2005 15:53:42
der Mouse wrote:

> So I built a kernel with
> 
> iommu0 at mainbus0
> sbus0 at iommu0
> esp0 at sbus0 slot 1 offset 0x8800000
> scsibus0 at esp0
> sd0 at scsibus0 target 0 lun 0
> 
> config netbsd root on sd0e type ?
> 
> Yet when I boot that kernel (and yes, uname -a confirms that I've
> booted the newly-built kernel), I still get the default device probe
> order - the fas, which is indeed "at sbus0 slot 1 offset 0x8800000"
> according to dmesg - is esp1, not esp0, and is scsibus1, not scsibus0.
> 
> I checked the kernel build directory, and ioconf.c certainly seems to
> have reasonable-looking stuff in it, though I didn't walk the whole
> thing by hand to make sure it was right.
> 
> What am I doing wrong?  How do I nail sd0 down to
> /iommu/sbus/SUNW,fas/sd@0,0?

Just a WAG, but do you have other "esp0"s declared in your kernel
config file?

Can you send your kernel config file and dmesg (either to me or the
list)?

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Support and Service:         http://www.wasabisystems.com/