From owner-freebsd-stable@FreeBSD.ORG Wed Aug 29 21:12:33 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D5294106564A for ; Wed, 29 Aug 2012 21:12:33 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id AB5478FC1D for ; Wed, 29 Aug 2012 21:12:33 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 0D21DB98C; Wed, 29 Aug 2012 17:12:33 -0400 (EDT) From: John Baldwin To: Anton Yuzhanionov Date: Wed, 29 Aug 2012 16:40:01 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p17; KDE/4.5.5; amd64; ; ) References: <503DE2AB.6030702@citrin.ru> <201208290825.44198.jhb@freebsd.org> <503E6E59.2000600@openstat.ru> In-Reply-To: <503E6E59.2000600@openstat.ru> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201208291640.01448.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 29 Aug 2012 17:12:33 -0400 (EDT) Cc: freebsd-stable@freebsd.org Subject: Re: Problem with IPMI KCS driver X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Aug 2012 21:12:33 -0000 On Wednesday, August 29, 2012 3:32:41 pm Anton Yuzhanionov wrote: > On 29.08.2012 16:25, John Baldwin wrote: > > Hmm. Can you try this: > > > > Index: kern/kern_clock.c > > =================================================================== > > --- kern/kern_clock.c (revision 239819) > > +++ kern/kern_clock.c (working copy) > > @@ -382,7 +382,7 @@ > > int stathz; > > int profhz; > > int profprocs; > > -int ticks; > > +volatile int ticks; > > int psratio; > > > > With this patch if_cdce.c can't be compiled: > > /usr/src/sys/modules/usb/cdce/../../../dev/usb/net/if_cdce.c: In > function 'cdce_attach': > /usr/src/sys/modules/usb/cdce/../../../dev/usb/net/if_cdce.c:616: > warning: passing argument 2 of 'memcpy' discards qualifiers from pointer > target type > *** Error code 1 > > memcpy(&sc->sc_ue.ue_eaddr[1], &ticks, sizeof(uint32_t)); That can just be fixed with a cast. It just wants 4 bytes of some sort. > I have installed patched kernel (without cdce) and need some time to > check if the problem with IPMI KCS is reproduced. Ok. -- John Baldwin