Project

General

Profile

Actions

Bug #1420

closed

UP kernel, panic during installworld (mtree)

Added by sepherosa almost 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Hi,

Single user mode during installworld, UP kernel (100% panic):

mtree -deU -f /usr/src/etc/mtree/BSD.root.dist -p /

Fatal trap 12: page fault while in kernel mode
...
...

Stopped at hashdev+0x2f: cmpl 0x24(%esi),%ebx
hashdev()
get_dev()
spec_getattr()
ufsspec_getattr()
ufs_vnoperatespec()
vop_getattr()
vn_stat()
kern_stat()
sys_lstat()
syscalls()

May1st kernel works as expected (I didn't have other old versions of
kernel on this box).

Coredump is uploaded to leaf/~sephe/crash/{kernel,vmcore}.0

Best Regards,
sephe

Actions #1

Updated by sepherosa almost 15 years ago

Heh, my fault. It turns out my sound.ko is not built for several months :P
Close it.

Actions #2

Updated by dillon almost 15 years ago

:Hi,
:
:Single user mode during installworld, UP kernel (100% panic):
:
:mtree -deU -f /usr/src/etc/mtree/BSD.root.dist -p /
:
:Fatal trap 12: page fault while in kernel mode
:...
:...
:
:Stopped at hashdev+0x2f: cmpl 0x24(%esi),%ebx
:hashdev()
:get_dev()
:spec_getattr()
:ufsspec_getattr()
:ufs_vnoperatespec()
:vop_getattr()
:vn_stat()
:kern_stat()
:sys_lstat()
:syscalls()
:
:May1st kernel works as expected (I didn't have other old versions of
:kernel on this box).
:
:Coredump is uploaded to leaf/~sephe/crash/{kernel,vmcore}.0
:
:Best Regards,
:sephe

If the problem is repeatable please reproduce with
sysctl debug.dev_refs=1
It's very odd, the cdev_t in the hash list is full of
garbage, but it isn't deadc0de... it's like corruption of some
sort instead. There is a sanity check in cdev_terminate that
checks to make sure the device is not on the list before
destroying it which prints something and I don't see that output
either. Which means something is probably stomping the structure.
-Matt
Matthew Dillon
<>
Actions #3

Updated by dillon almost 15 years ago

:Hi,
:
:Single user mode during installworld, UP kernel (100% panic):
:
:mtree -deU -f /usr/src/etc/mtree/BSD.root.dist -p /
:
:Fatal trap 12: page fault while in kernel mode
:...
:...

I haven't been able to reproduce this yet.  I did find a problem
with the keyboard not working sometimes after dropping into single-user
and I fixed that. It is possible that they were related but unlikely.
-Matt
Actions

Also available in: Atom PDF