exclusive sleep mutex mskc0 (network driver) r = 0 (0xc32c3690)
locked @ /usr/src/sys/dev/msk/if_msk.c:3589
Pyun YongHyeon
pyunyh at gmail.com
Mon May 3 19:55:56 UTC 2010
On Mon, May 03, 2010 at 07:01:56AM -0700, Mark Atkinson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I updated to current yesterday and got the following 'witness_warn'
> panic upon executing 'reboot':
>
> suspending ithread with the following locks held:
> exclusive sleep mutex mskc0 (network driver) r = 0 (0xc32c3690) locked @
> /usr/src/sys/dev/msk/if_msk.c:3589
> panic: witness_warn
> cpuid = 0
> KDB: enter: panic
> Physical memory: 495 MB
> Dumping 80 MB: 65 49 33 17 1
>
>
> 3579 static void
> 3580 msk_intr(void *xsc)
> 3581 {
> 3582 struct msk_softc *sc;
> 3583 struct msk_if_softc *sc_if0, *sc_if1;
> 3584 struct ifnet *ifp0, *ifp1;
> 3585 uint32_t status;
> 3586 int domore;
> 3587
> 3588 sc = xsc;
> 3589 MSK_LOCK(sc);
It seems msk(4) didn't honor IFF_DRV_RUNNING in status block update
check so it continued to process received packets.
Would you try attached patch?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msk.rx.patch
Type: text/x-diff
Size: 1059 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20100503/b40519ec/msk.rx.bin
More information about the freebsd-current
mailing list