From owner-freebsd-stable@FreeBSD.ORG Thu Oct 23 16:03:48 2014 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 79361CAD for ; Thu, 23 Oct 2014 16:03:48 +0000 (UTC) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 153F6B2F for ; Thu, 23 Oct 2014 16:03:47 +0000 (UTC) Received: by mail-wi0-f169.google.com with SMTP id q5so1113982wiv.4 for ; Thu, 23 Oct 2014 09:03:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Ddpa/Lo7uQfps86hGQwlyiBACL0oeuVWcd9owtZdfrI=; b=ZvjqBq7klcdHtzYGfM67NysrS6zITG5wG8PhMtSY4OObjw2NMBDdsJr65gOA55SXbZ ktfP6mVGhEZTLKGoNNpkaPOhILzzr5KpCB6s2vfYl0k5X7ILEZZ2RkZg9a2xxyG/wFEO 098n0KZLumBytYEIDrtD//1+b1PfknA9g8WFk8a/hvsupH2PcxUNLZ3arkmMrX1LIJDq TIO6Ad4gZVsB3utFSS8TdkU7cGr8vx/n2oMPa8pOQ4rhQQ2UOwmcMjydVFqyJ6MF8IUe kIX5Piq8Jh+xz5WB0Kvf58d/I7TmHOkGlPKIDu27jHoom7DfONXstF7zdfw4ApG3gXyv V3Yg== MIME-Version: 1.0 X-Received: by 10.180.212.48 with SMTP id nh16mr14310663wic.50.1414080226306; Thu, 23 Oct 2014 09:03:46 -0700 (PDT) Sender: asomers@gmail.com Received: by 10.194.220.227 with HTTP; Thu, 23 Oct 2014 09:03:46 -0700 (PDT) In-Reply-To: <5448C35C.5080600@paladin.bulgarpress.com> References: <5448C35C.5080600@paladin.bulgarpress.com> Date: Thu, 23 Oct 2014 10:03:46 -0600 X-Google-Sender-Auth: 3qKiC6I6FgJEU0JL8QNVqh4j1Ik Message-ID: Subject: Re: FreeBSD 9.1 + Supermicro IPMI + reboot = kernel crash From: Alan Somers To: Mailing lists Content-Type: text/plain; charset=UTF-8 Cc: stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2014 16:03:48 -0000 On Thu, Oct 23, 2014 at 2:59 AM, Mailing lists wrote: > Hi people, > I've three machines - FreeBSD 9.1 (i386+amd64) - at reboot usually the > kernel dump and therefore gmirror rebuilds, etc. > > After reboot - kldload show the module is inserted but /dev/ipmi* is not > populated, kldunload + kldload of the module fixes the access + > /dev/ipmi* population. > > Any ideas (except upgrade which I plan to 9.3 soon)? > > +Waiting (max 60 seconds) for system process `vnlru' to stop...done > +Waiting (max 60 seconds) for system process `bufdaemon' to stop...done > + > +Waiting (max 60 seconds) for system process `syncer' to stop...Syncing > disks, vnodes remaining...9 Sleeping thread (tid 100093, pid 16) owns a > non-sleepable lock > +KDB: stack backtrace of thread 100093: > +#0 0xffffffff808f3196 at mi_switch+0x186 > +#1 0xffffffff8092bfa2 at sleepq_wait+0x42 > +#2 0xffffffff808f3926 at _sleep+0x376 > +#3 0xffffffff81551227 at ipmi_submit_driver_request+0x97 > +#4 0xffffffff815519df at ipmi_set_watchdog+0xaf > +#5 0xffffffff81551c8f at ipmi_wd_event+0x8f > +#6 0xffffffff807bbdef at kern_do_pat+0x9f > +#7 0xffffffff80984187 at sched_sync+0x1e7 > +#8 0xffffffff808bbe3f at fork_exit+0x11f > +#9 0xffffffff80bc3d9e at fork_trampoline+0xe > +panic: sleeping thread > +cpuid = 0 > +KDB: stack backtrace: > +#0 0xffffffff80920cf6 at kdb_backtrace+0x66 > +#1 0xffffffff808ead0e at panic+0x1ce > +#2 0xffffffff8092f172 at propagate_priority+0x1d2 > +#3 0xffffffff8092fe9e at turnstile_wait+0x1be > +#4 0xffffffff808d9198 at _mtx_lock_sleep+0xd8 > +#5 0xffffffff8097d9b3 at vn_syncer_add_to_worklist+0x143 > +#6 0xffffffff80981ac4 at reassignbuf+0xe4 > +#8 0xffffffff8096a232 at bdwrite+0x52 > +#7 0xffffffff809661c2 at bdirty+0x42 > +#9 0xffffffff80af4ba9 at ffs_freefile+0x269 > +#10 0xffffffff80b09711 at handle_workitem_freefile+0x101 > +#11 0xffffffff80b09ba7 at process_worklist_item+0x377 > +#12 0xffffffff80b0d8d6 at softdep_process_worklist+0x96 > +#13 0xffffffff80b0fee7 at softdep_flush+0x197 > +#14 0xffffffff808bbe3f at fork_exit+0x11f You want to pull in r272366 from head and rebuild your kernel. That change hasn't yet been MFCd to stable/9, but I don't think you'll have any trouble merging it. https://svnweb.freebsd.org/base?view=revision&revision=272366 -Alan