Subject: Re: kern/35545: NetBSD-current will not boot with AHCI and Lite-On SATA CD
To: Pavel Cahyna <pavel@NetBSD.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 05/25/2007 20:58:42
On Fri, May 25, 2007 at 12:31:09PM +0200, Pavel Cahyna wrote:
> 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

Yes, that's the issue: there's no ATAPI SATA support yet.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--