Re: New & improved panic!

2001-03-09 Thread Dag-Erling Smorgrav

Mark Murray <[EMAIL PROTECTED]> writes:
> Is DEBUG defined?

Nope.

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: New & improved panic!

2001-03-09 Thread Mark Murray

> 0xc0147290 is in random_kthread (../../dev/random/yarrow.c:97).
> 92  mtx_lock(&Giant);
> 93  printf("OWNERSHIP Giant == %d sched_lock == %d\n",
> 94  mtx_owned(&Giant), mtx_owned(&sched_lock));
> 95  mtx_unlock(&Giant);
> 96  #endif
> 97
> 98  for (pl = 0; pl < 2; pl++)
> 99  yarrow_hash_init(&random_state.pool[pl].hash, NULL, 0);
> 100
> 101 for (;;) {

Is DEBUG defined?

M
-- 
Mark Murray
Warning: this .sig is umop ap!sdn

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: New & improved panic!

2001-03-08 Thread Dag-Erling Smorgrav

Dag-Erling Smorgrav <[EMAIL PROTECTED]> writes:
> db> trace
> kernel: type 12 trap, code=0

Blah. Here's what gdb says:

(kgdb) where
#0  dumpsys () at ../../kern/kern_shutdown.c:478
#1  0xc019131b in boot (howto=260) at ../../kern/kern_shutdown.c:321
#2  0xc01916e5 in panic (fmt=0xc02940b4 "from debugger")
at ../../kern/kern_shutdown.c:571
#3  0xc011f1d5 in db_panic (addr=0, have_addr=0, count=1, modif=0xcaec2dd8 "")
at ../../ddb/db_command.c:433
#4  0xc011f175 in db_command (last_cmdp=0xc02cd880, cmd_table=0xc02cd6e0,
aux_cmd_tablep=0xc0310cdc) at ../../ddb/db_command.c:333
#5  0xc011f23a in db_command_loop () at ../../ddb/db_command.c:455
#6  0xc0121403 in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71
#7  0xc0265ffe in kdb_trap (type=12, code=0, regs=0xcaec2f28)
at ../../i386/i386/db_interface.c:164
#8  0xc0275700 in trap_fatal (frame=0xcaec2f28, eva=0)
at ../../i386/i386/trap.c:982
#9  0xc0275475 in trap_pfault (frame=0xcaec2f28, usermode=0, eva=0)
at ../../i386/i386/trap.c:901
#10 0xc0274504 in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 0,
  tf_esi = 0, tf_ebp = -890491044, tf_isp = -890491052, tf_ebx = 32,
  tf_edx = -1070513800, tf_ecx = 0, tf_eax = -1071185861, tf_trapno = 12,
  tf_err = 0, tf_eip = 0, tf_cs = 8, tf_eflags = 66194,
  tf_esp = -1072401776, tf_ss = -894758432}) at ../../i386/i386/trap.c:448
#11 0x0 in ?? ()
(kgdb) up 10
#10 0xc0274504 in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 0,
  tf_esi = 0, tf_ebp = -890491044, tf_isp = -890491052, tf_ebx = 32,
  tf_edx = -1070513800, tf_ecx = 0, tf_eax = -1071185861, tf_trapno = 12,
  tf_err = 0, tf_eip = 0, tf_cs = 8, tf_eflags = 66194,
  tf_esp = -1072401776, tf_ss = -894758432}) at ../../i386/i386/trap.c:448
448 (void) trap_pfault(&frame, FALSE, eva);
(kgdb) p/x frame.tf_esp
$1 = 0xc0147290
(kgdb) l *0xc0147290
0xc0147290 is in random_kthread (../../dev/random/yarrow.c:97).
92  mtx_lock(&Giant);
93  printf("OWNERSHIP Giant == %d sched_lock == %d\n",
94  mtx_owned(&Giant), mtx_owned(&sched_lock));
95  mtx_unlock(&Giant);
96  #endif
97
98  for (pl = 0; pl < 2; pl++)
99  yarrow_hash_init(&random_state.pool[pl].hash, NULL, 0);
100
101 for (;;) {

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message