From owner-freebsd-current@freebsd.org Tue Dec 6 14:41:18 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1FC8C6A482 for ; Tue, 6 Dec 2016 14:41:18 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-pf0-x244.google.com (mail-pf0-x244.google.com [IPv6:2607:f8b0:400e:c00::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B16AD1D93 for ; Tue, 6 Dec 2016 14:41:18 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: by mail-pf0-x244.google.com with SMTP id i88so9445497pfk.2 for ; Tue, 06 Dec 2016 06:41:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=WQvwoN+ZDdnNiVmGXZD3eZ49t+rdAlbZ+0QH/fD2TRU=; b=sFbCkYa+ltREOOFkqPm6msBFOJq9Cfosq349z1LzstBTVRCMIrWWGI6TBf/7bAycDx 61881eJgQFrUGAxns4V5BSaHRo3Ss32zPgxSYiE1Qbw2QKLmMNSflEPerwyA5aR1J+Ie RfDDfZbtPTMlnOcMv4N/9612yIA8531uubVGn3GydIusGzzAcMd4Ed3DsaN8l5gKlFg9 CfIf/vSyJ1HxAL/Yzry9IN4LP269U4dyRLKfaiteZ+Sc97wtYGNm9q/zDKYDI2wcA/zh asH9qJ4e/EfRluBsq+31MV571uq10/WEmN53ecsEmx2HZZF+QJaB/jR3as0OPI3a192t Pe7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=WQvwoN+ZDdnNiVmGXZD3eZ49t+rdAlbZ+0QH/fD2TRU=; b=RbJWwYO2hnxbRxzsnxXmaswG7SIC+vpkHsqyQ0QhP0kQkwuLcSCeEdMhEBB6UWiumY s+acjYAN3g6AfF0Ho9B4uHU+ZiGfoo8+HwBlfp7N3xmHQuwm+aDdhswkLjESLEMMffah cmzdUpMIcYtKV7Zrs/x7OP/OWBOsHNgb3laA32ZR3fkhk/yxCVLbW3S43Ye+ZbVUQv6d xIvQZwdupj3DUFF8iNP8idwXcHY1HY/b/FQq2LFdiU9lI/rfZFewxr9uzSF64jsTtbC2 nDVE7eQEb7a+cofeQ/z7aTuupvJiGMtcpdCSuPxV46M62h91nPwKfz3Mqy7jwvYUVaFy CXfQ== X-Gm-Message-State: AKaTC03aLjIYKdVpUIEvAySZovU9YC+pwl052tmSlBJmB/gTSMAn7Mt+hHwc5VMBn5lkTA== X-Received: by 10.98.155.146 with SMTP id e18mr63753919pfk.45.1481035278298; Tue, 06 Dec 2016 06:41:18 -0800 (PST) Received: from ox (c-73-93-112-83.hsd1.ca.comcast.net. [73.93.112.83]) by smtp.gmail.com with ESMTPSA id o1sm35581027pgf.35.2016.12.06.06.41.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Dec 2016 06:41:17 -0800 (PST) Date: Tue, 6 Dec 2016 06:41:14 -0800 From: Navdeep Parhar To: Slawa Olhovchenkov Cc: freebsd-current@freebsd.org Subject: Re: How to load kernel module automatic? Message-ID: <20161206144114.GG14137@ox> Mail-Followup-To: Slawa Olhovchenkov , freebsd-current@freebsd.org References: <20161206114715.GP57876@zxy.spb.ru> <20161206142544.GF14137@ox> <20161206143456.GQ99742@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161206143456.GQ99742@zxy.spb.ru> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2016 14:41:19 -0000 On Tue, Dec 06, 2016 at 05:34:56PM +0300, Slawa Olhovchenkov wrote: > On Tue, Dec 06, 2016 at 06:25:44AM -0800, Navdeep Parhar wrote: > > > On Tue, Dec 06, 2016 at 02:47:15PM +0300, Slawa Olhovchenkov wrote: > > > Now I am try to update fw in chelsio card. > > > Firmware can't be updated if card was running (interface go to UP). > > > I am try to unload if_cxgbe module, check module unloaded... and after > > > short time see module loaded again! > > > How is this possible? > > > > Something is running "ifconfig cxgbe|cxl|cc" on your system. ifconfig > > can figure out the name of the module from the name of the ifnet and > > will kldload it if it isn't in the kernel already. > > What is 'something'? A script that's running via devd or some other mechanism. Regards, Navdeep