Subject: Re: can't get system dump from DDB anymore
To: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: tech-kern
Date: 04/04/2007 18:55:01
hannken@eis.cs.tu-bs.de said:
> +	if (curlwp == NULL)
> +		curlwp = &lwp0; 

This gets a bit further. Now I'm getting:
panic: kernel diagnostic assertion "l->l_stat == LSONPROC" failed
in kern_sleepq.c line 220
Stacktrace is:
sleepq_enqueue
sleepq_block
ltsleep
wdc_exec_command
ata_get_params
wd_get_params
wdopen
wdsize
dumpsys

The code shouldn't even try to sleep...

best regards
Matthias