lock_read problem

From: Martin Mokrejs <mmokrejs_at_mail.natur.cuni.cz>
Date: Sat, 09 May 1998 17:01:28 +0200 (MET DST)

Hello managers!
 my machine can't boot into multiuser mode after rebuilding kernel. It crashes
after loading driver for FORE PCA200EUX ATM card. The problem maybe isn't
related to this card. Here are few lines from syslog.

err.log:May 8 14:15:26 prfdec vmunix: ADVFS: using 1345 buffers containing 10.50 megabytes of memory
err.log:May 8 14:15:27 prfdec vmunix:
err.log:May 8 14:15:27 prfdec vmunix: lock_read: hierarchy violation
err.log:May 8 14:15:27 prfdec vmunix:
err.log:May 8 14:15:27 prfdec vmunix: pc of caller: 0xfffffc000030dd44
err.log:May 8 14:15:27 prfdec vmunix: lock address: 0xfffffc000075a618
err.log:May 8 14:15:27 prfdec vmunix: lock info addr: 0xfffffc0000ad02d0
err.log:May 8 14:15:27 prfdec vmunix: lock class name: domain_lock
err.log:May 8 14:15:27 prfdec vmunix: class already locked: socklocks.sock_lock
err.log:May 8 14:15:27 prfdec vmunix: current spl level: 0
err.log:May 8 14:15:27 prfdec vmunix:
err.log:May 8 14:15:27 prfdec vmunix: panic (cpu 0): lock_read: hierarchy violation
err.log:May 8 14:15:27 prfdec vmunix: syncing disks... device string for dump = SCSI 0 2000 0 1 100 0 0.

The problem appears only when I set in /etc/sysconfigtab

generic:
        lockmode = 4

If I remove it, machine boots with default lockmode=0, and is fine.


Could one explain me what means each lockmode version [0 - 4]?
Lockmode=4 was recomended to me with sys_check to trace better system needs.

Also sys_check recommended to set AllowQuotaFailuresForRoot=1 in advfs: section
in sysconfigtab. However, during boot system complain that there's no such
variable. Does anyone have an explanation?

If anyone would like to tell me exactly where the problem was and how he did it,
he's more than welcome!

You can get necessary files from:

http://www.natur.cuni.cz/~mmokrejs/crash-data.1.gz
http://www.natur.cuni.cz/~mmokrejs/vmunix.1.gz
http://www.natur.cuni.cz/~mmokrejs/vmzcore.1.gz

TIA
Martin
-------------------------------------------------------------------------
| Martin MOKREJS - Net&SysAdmin |
| PGP 5.0i key at: finger://mail.natur.cuni.cz/mmokrejs |
| mmokrejs_at_natur.cuni.cz Faculty of Science, The Charles University |
| tel.: +420-2-2195 2315 Albertov 6, PRAGUE 2, 128 43, Czech Republic |
-------------------------------------------------------------------------
Received on Sat May 09 1998 - 17:02:35 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT