Subject: kern/36209: uvm_fault with emul/linux/sbin/ldconfig
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <jungle@soforge.com>
List: netbsd-bugs
Date: 04/25/2007 05:15:00
>Number:         36209
>Category:       kern
>Synopsis:       uvm_fault with emul/linux/sbin/ldconfig
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 25 05:15:00 +0000 2007
>Originator:     Ji YongGang
>Release:        NetBSD 4.99.18
>Organization:

>Environment:
System: NetBSD netbsd 4.99.18 NetBSD 4.99.18 (GENERIC) #0: Wed Apr 25 11:26:13 HKT 2007 jungle@netbsd:/usr/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
	After updating NetBSD to version 4.99.18 and swith pkgsrc to
        2007Q1 branch, I reinstall the suse100_base package. When I
        type make install in /usr/pkgsrc/emulators/suse100_base,
        NetBSD got:
        
        ...
        /usr/pkg/emul/linux/sbin/ldconfig -r /usr/pkg/emul/linux
        
        uvm_fault(0xcbc97a84, 0, 1) -> 0xe
        kernel: supervisor trap page fault, code=0
        Stopped in pid 3548.1 (ldconfig) at    netbsd: vput+0xf:
        movl 0x14(%edx), %eax  

        db> bt
        vput( ... ) at netbsd: vput+0xf
        lookup( ... ) at netbsd: lookup+0x73c
        namei( ... ) at netbsd: namei+0x10b
        change_dir( ... ) at netbsd: change_dir+0x1b
        sys_chdir( ... ) at netbsd: sys_chdir+0x45
        linux_syscall_plain( ... ) at netbsd: linux_syscall_plain+0xba

>How-To-Repeat:
	cd /usr/pkgsrc/emulators/suse100_base; make install
>Fix: