Subject: Re: port-sparc/14212: boot device query when booting -current
To: None <gnats-bugs@gnats.netbsd.org, netbsd-bugs@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 10/10/2001 23:49:29
On Wed, Oct 10, 2001 at 11:07:26PM +0200, Manuel Bouyer wrote:
> OK, even reverting the change for root on raidframe doesn't solve it.
> It looks like device_register() isn't called any more.

More investigation show this:
device_register() is properly called.
The boot path on my ss20 is:
bootpath: /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@3,0

I found that when iommu0 is attached, device_register() properly matches
it with the first element of the bootpath.
however, bootpath_store() is never called to advance the pointer in bootpath[].
So when we attach sbus0, is't matched against iommu and not sbus.

I don't remember what recent change could have caused this; I hope someone will 
read this and will remember :)

--
Manuel Bouyer <bouyer@antioche.eu.org>
--