Subject: Re: kern/35545: NetBSD-current will not boot with AHCI and Lite-On SATA CD
To: Hisashi T Fujinaka <htodd@twofifty.com>
From: Pavel Cahyna <pavel@NetBSD.org>
List: netbsd-bugs
Date: 05/25/2007 12:31:09
On Mon, May 21, 2007 at 06:02:59PM -0700, Hisashi T Fujinaka wrote:
> I worked around this by putting the CDROM on the Jmicron port. Now with
> the new Jmicron code, I have this error there, too.

I guess this is because of this line in ahci_attach():

 148 	sc->sc_atac.atac_atapibus_attach = NULL; /* XXX */

Then we jump through a NULL founction pointer in atabusconfig():

http://nxr.netbsd.org/source/xref/sys/dev/ata/ata.c#213