Re: cvs commit: src/sys/dev/md md.c

From: Jeremie Le Hen <jeremie_at_le-hen.org>
Date: Sun, 23 Jan 2005 12:40:01 +0100
> phk         2005-01-22 19:08:50 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/md           md.c 
>   Log:
>   Add a couple of mtx_asserts() to try to narrow down the window on
>   a bug repeatedly reported.

These assertions where triggered immediately when I tried to add a
vnode-based md(4) device (already reported yesterday [1], but without
these assertions):

%%%
  z6po:root# mdconfig -a -t vnode -f /boot/profile/home
  panic: mutex Giant not owned at ../../../dev/md/md.c:679
  KDB: stack backtrace:
  kdb_backtrace()
  panic()
  _mtx_asser()
  md_kthread()
  fork_exit()
  fork_trampoline()
  --- trap 0x1, eip = 0, esp = ..., ebp = 0 ---
%%%

Regards,

[1] http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1067825+0+archive/2005/freebsd-current/20050123.freebsd-current
-- 
Jeremie Le Hen
jeremie_at_le-hen.org
Received on Sun Jan 23 2005 - 10:40:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:26 UTC