Subject: Re: exec /sbin/init: error 14
To: Andrew Cagney <cagney@mac.com>
From: None <juha.nygard1@netikka.fi>
List: port-macppc
Date: 06/24/2003 20:13:57
On Tue, 24 Jun 2003, Andrew Cagney wrote:

> > On Mon, Jun 23, 2003 at 03:02:25PM -0400, Andrew Cagney wrote:
> > 
> >> Hello,
> >> 
> >> When trying to boot a head of 1.6 branch kernel on a 1.6 userland, I'm 
> >> seeing the panic:
> >> 
> >> wdc0 at obio0 offset 0x1f000 irq 19: DMA transfer
> >> wd0 at wdc0 channel 0 drive 0: <IC25N040ATCS04-0>
> >> wd0: drive supports 16-sector PIO transfers, LBA addressing
> >> wd0: 38154 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 78140160 sectors
> >> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
> >> wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
> >> ....
> >> ums0 at uhidev0: 3 buttons and Z dir.
> >> wsmouse1 at ums0 mux 0
> >> boot device: cpu0
> >> root on wd0a dumps on wd0b
> >> exec /sbin/init: error 14
> > 
> > 
> > Ough. error 14 is EFAULT. Did something change in the MD moemry management ?
> 
> What ever it was, it's weird.  My kernel had this option in it:
>   options       OFB_ENABLE_CACHE        # Speed up console #
> Worked with a vanila 1.6 but not head of netbsd-1-6 :-?  Disabling that 
> option lets my kernel boot.
> 
> Andrew
> 
Browse the mailing list archive, there exist a patch for ofb.c that lets 
your kernel boot with OFB_ENABLE_CACHE.

Juha