NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-macppc/51938: Reproducible kernel panics caused by basic ffs file system operations (e.g. chown) on macppc



>Number:         51938
>Category:       port-macppc
>Synopsis:       Reproducible kernel panics caused by basic ffs file system operations (e.g. chown) on macppc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 02 22:40:00 +0000 2017
>Originator:     David H. Gutteridge
>Release:        current
>Organization:
>Environment:
NetBSD arcusv.nonus-porta.net 7.99.59 NetBSD 7.99.59 (ARCUSV_DEBUG) #1: Mon Jan 30 18:36:13 EST 2017  disciple%arcus-v3.nonus-porta.net@localhost:/home/disciple/netbsd-current/src/sys/arch/macppc/compile/obj/ARCUSV_DEBUG macppc
>Description:
Basic file operations of any protracted intensity are regularly
triggering kernel panics with -current on macppc, e.g. while running
a recursive chown on a pkgsrc tree, I hit this:

panic: /usr: bad dir ino 212202 at offset 0: null entry

Stopped in pid 786.1 (chown) at netbsd:vpanic+0x140:    addi   r4, r0, 0x0
0x01a0dab0: at panic+0x4c
0x01a0daf0: at ufs_lookup+0x53c
0x01a0dba0: at VOP_LOOKUP+0x44
0x01a0dbd0: at lookup_once+0x1d8
0x01a0dc30: at namei_tryemulroot+0x4b4
0x01a0dd00: at namei+0x34
0x01a0dd40: at fd_nameiat.isra.2+0x7c
0x01a0dd70: at do_sys_statat+0x90
0x01a0dde0: at sys___stat50+0x24
0x01a0dea0: at syscall+0x300
0x01a0df20: user SC trap #439 by 0xfdf4c5a4: srr1=0xd032
            r1=0xffffe7b0 cr=0x44822488 xer=0x20000000 ctr=0xfdf4c59c

This was on a file system previously marked clean by fsck_ffs a short
time before.
            
(I'm not able to analyze a crash dump because of PR port-macppc/11854.)

>How-To-Repeat:
This particular example was triggered by recursively running chown on
a pkgsrc tree. I've also triggered it by extracting tar archives, by
running pkgclean in a pkgsrc tree, etc.
>Fix:
Unknown.



Home | Main Index | Thread Index | Old Index