Subject: kern/21978: OFB_ENABLE_CACHE breaks "init" in 1.6.1
To: None <gnats-bugs@gnats.netbsd.org>
From: None <cagney@mac.com>
List: netbsd-bugs
Date: 06/24/2003 15:36:57
>Number:         21978
>Category:       kern
>Synopsis:       OFB_ENABLE_CACHE breaks "init" in 1.6.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 24 15:38:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Cagney
>Release:        1.6 userland head of netbsd-1-6 kernel
>Organization:
>Environment:
NetBSD localhost 1.6.1_STABLE NetBSD 1.6.1_STABLE (NETLUX) #8: Mon Jun 23 19:52:13 EDT 2003     root@localhost:/home/NetBSD/netbsd-1-6/src/sys/arch/macppc/compile/NETLUX macppc

Knowing its a 500mh G4 Ti V1 is more useful.

>Description:
Building a slightly custom head of netbsd-1-6 branch kernel breaks init vis:

....
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
init: not found
panic: no init 

Manuel Bouyer writes:
> Ough. error 14 is EFAULT. Did something change in the MD moemry management ?

Juha Nygard writes:
> I got same error when using options OFB_ENABLE_CACHE on netbsd 1.6.1.

Removing OFB_ENABLE_CACHE stops the problem.  OFB_ENABLE_CACHE was working ok on 1.6.

>How-To-Repeat:
Add OFB_ENABLE_CAHCE to 1.6.1 kernel.

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: