NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/57493: UFS_DIRHASH panic during installation
>Number: 57493
>Category: kern
>Synopsis: UFS_DIRHASH panic during installation
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 30 11:30:01 +0000 2023
>Originator: Zoltan Fekete
>Release: -CURRENT
>Organization:
private
>Environment:
NetBSD XXXXX 10.99.4 NetBSD 10.99.4 (TPL380) #8: Fri Jun 30 07:41:32 CEST 2023 root@XXXXX:/usr/src/sys/arch/amd64/compile/TPL380 amd64
>Description:
I have just built my own kernel in -current.
This
It seems that there is a panic on certain directory operations. I
experienced in the install phase of a slightly large package with pkgin.
Last call on the stack is ufsdirhash_findslot().
The panic causes also filesystem corruption. fsck_ffs can automatically fix, though.
See my stacktrace image here shot by a phone, sorry for the dusty
screen, it's a workhorse...
https://drive.google.com/file/d/1aR0YcDyKTtCrCdq85byY6RLcGfKUqYqG/view?usp=sharing
>How-To-Repeat:
1. rm -rf /usr/pkg/*
2. rm -rf /var/db/pkgin
3. pkg_add http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.0/All/pkgin
4. pkgin up
5. pkgin in git
Then, when the fetch has finished, and the system starts to install packages, the panic happens. I could reproduce this more than once.
>Fix:
Switched over to GENERIC kernel:
NetBSD U755408N2 10.0_BETA NetBSD 10.0_BETA (GENERIC) #0: Tue May 30 07:21:22 UTC 2023 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
This works fine as expected.
Home |
Main Index |
Thread Index |
Old Index