From owner-freebsd-wireless@FreeBSD.ORG Fri Mar 23 16:29:02 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 41941106566B; Fri, 23 Mar 2012 16:29:02 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id A12928FC0A; Fri, 23 Mar 2012 16:29:01 +0000 (UTC) Received: by wgbds12 with SMTP id ds12so2270082wgb.31 for ; Fri, 23 Mar 2012 09:28:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=x0e6CvwVLqtY+Ezaim2bhavbf2NvjRbm8Owz/yy1sw0=; b=W2faE6Qh1KHwaN1699FQLBYhEyUbI8XRxIxsfT/4Yjbd4hZTv8f6DZnnb+wLYPZzg4 N9jUhu6dgQN2M3fFB4c6ydZYZvBOQxCC0lmqn7oUhHLb89J1P3f9Jy3DKdG6Dkj7rgHU 6foxrdjs6zNrGwx4unO4RAfkNSSUc6CwTFWSMJwMCzsKUBJ+gF8TLxWIGuT5Wu2aqh1Q bP5/ugPFTbCYGwDAqImht+B349kRnIwd4VnFbrjGnLa7D/mKlR8KQL8p9RIXqja3sB/3 Rt1DA/oGjm+xS3+R/rRi8wbCuEdGVQsAGPMGBgZSm3X741/rQAFAf0ZBw8TCVOSC2UsL 2l6Q== MIME-Version: 1.0 Received: by 10.180.104.137 with SMTP id ge9mr7864718wib.20.1332520134548; Fri, 23 Mar 2012 09:28:54 -0700 (PDT) Received: by 10.223.143.3 with HTTP; Fri, 23 Mar 2012 09:28:54 -0700 (PDT) In-Reply-To: References: Date: Fri, 23 Mar 2012 09:28:54 -0700 Message-ID: From: Kevin Oberman To: Quentin Schwerkolt Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Can't load many network kernel module in 8.3-PREREALEASE X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Mar 2012 16:29:02 -0000 On Fri, Mar 23, 2012 at 4:19 AM, Quentin Schwerkolt wrote: > Hi, > > I can't load many if_* module on FreeBSD 8.3-PRERELEASE on amd64 and i386= . > I have rebuild the system from the latest source. When I try a kldload > /boot/kernel/if_*.ko I have error such as "file exist" or "exec format > error". > > kldstat just after system start: > Id Refs Address =A0 =A0 =A0 =A0 =A0 =A0Size =A0 =A0 Name > =A01 =A0 =A01 0xffffffff80100000 e58280 =A0 kernel > > kldload -v /boot/kernel/if_*.ko: > kldload: can't load /boot/kernel/if_ae.ko: File exists > kldload: can't load /boot/kernel/if_age.ko: File exists > kldload: can't load /boot/kernel/if_alc.ko: File exists > kldload: can't load /boot/kernel/if_ale.ko: File exists > kldload: can't load /boot/kernel/if_an.ko: File exists > kldload: can't load /boot/kernel/if_ath.ko: Exec format error > kldload: can't load /boot/kernel/if_aue.ko: Exec format error > kldload: can't load /boot/kernel/if_axe.ko: Exec format error GENERIC already has all of these drivers. Did you buidt a kernel with no network interfaces? If the kernel is built with the drivers, you can't load them as they already exist. (And you can't unload drivers built into the kernel, either.) --=20 R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com