From owner-freebsd-stable@FreeBSD.ORG Fri Mar 23 16:26: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 E0988106564A for ; Fri, 23 Mar 2012 16:26:33 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from qmta11.emeryville.ca.mail.comcast.net (qmta11.emeryville.ca.mail.comcast.net [76.96.27.211]) by mx1.freebsd.org (Postfix) with ESMTP id BF5F48FC0A for ; Fri, 23 Mar 2012 16:26:33 +0000 (UTC) Received: from omta18.emeryville.ca.mail.comcast.net ([76.96.30.74]) by qmta11.emeryville.ca.mail.comcast.net with comcast id p2C71i0011bwxycAB4SZoL; Fri, 23 Mar 2012 16:26:33 +0000 Received: from damnhippie.dyndns.org ([24.8.232.202]) by omta18.emeryville.ca.mail.comcast.net with comcast id p4SY1i0024NgCEG8e4SYPc; Fri, 23 Mar 2012 16:26:33 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q2NGQUKX033853; Fri, 23 Mar 2012 10:26:30 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) From: Ian Lepore To: Quentin Schwerkolt In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" Date: Fri, 23 Mar 2012 10:26:30 -0600 Message-ID: <1332519990.8403.93.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit 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-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: Fri, 23 Mar 2012 16:26:34 -0000 On Fri, 2012-03-23 at 12:19 +0100, 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 Size Name > 1 1 0xffffffff80100000 e58280 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 > kldload: can't load /boot/kernel/if_bce.ko: File exists > kldload: can't load /boot/kernel/if_bfe.ko: File exists > kldload: can't load /boot/kernel/if_bge.ko: File exists > kldload: can't load /boot/kernel/if_cdce.ko: Exec format error > kldload: can't load /boot/kernel/if_cue.ko: Exec format error > kldload: can't load /boot/kernel/if_dc.ko: File exists > kldload: can't load /boot/kernel/if_de.ko: File exists > kldload: can't load /boot/kernel/if_ed.ko: File exists > kldload: can't load /boot/kernel/if_em.ko: File exists > kldload: can't load /boot/kernel/if_en.ko: Exec format error > kldload: can't load /boot/kernel/if_et.ko: File exists > kldload: can't load /boot/kernel/if_faith.ko: Exec format error > kldload: can't load /boot/kernel/if_fatm.ko: Exec format error > kldload: can't load /boot/kernel/if_fwe.ko: Exec format error > kldload: can't load /boot/kernel/if_fwip.ko: Exec format error > kldload: can't load /boot/kernel/if_fxp.ko: File exists > kldload: can't load /boot/kernel/if_gif.ko: Exec format error > kldload: can't load /boot/kernel/if_hatm.ko: Exec format error > kldload: can't load /boot/kernel/if_igb.ko: File exists > kldload: can't load /boot/kernel/if_jme.ko: File exists > kldload: can't load /boot/kernel/if_kue.ko: Exec format error > kldload: can't load /boot/kernel/if_le.ko: File exists > kldload: can't load /boot/kernel/if_lge.ko: File exists > kldload: can't load /boot/kernel/if_msk.ko: File exists > kldload: can't load /boot/kernel/if_nfe.ko: File exists > kldload: can't load /boot/kernel/if_nge.ko: File exists > kldload: can't load /boot/kernel/if_patm.ko: Exec format error > kldload: can't load /boot/kernel/if_pcn.ko: File exists > kldload: can't load /boot/kernel/if_ral.ko: File exists > kldload: can't load /boot/kernel/if_re.ko: File exists > kldload: can't load /boot/kernel/if_rl.ko: File exists > kldload: can't load /boot/kernel/if_rue.ko: Exec format error > kldload: can't load /boot/kernel/if_rum.ko: Exec format error > kldload: can't load /boot/kernel/if_sf.ko: File exists > kldload: can't load /boot/kernel/if_sge.ko: File exists > kldload: can't load /boot/kernel/if_sis.ko: File exists > kldload: can't load /boot/kernel/if_sk.ko: File exists > kldload: can't load /boot/kernel/if_sn.ko: File exists > kldload: can't load /boot/kernel/if_ste.ko: File exists > kldload: can't load /boot/kernel/if_stge.ko: File exists > kldload: can't load /boot/kernel/if_ti.ko: File exists > kldload: can't load /boot/kernel/if_tl.ko: File exists > kldload: can't load /boot/kernel/if_tun.ko: File exists > kldload: can't load /boot/kernel/if_tx.ko: File exists > kldload: can't load /boot/kernel/if_txp.ko: File exists > kldload: can't load /boot/kernel/if_uath.ko: Exec format error > kldload: can't load /boot/kernel/if_udav.ko: Exec format error > kldload: can't load /boot/kernel/if_upgt.ko: Exec format error > kldload: can't load /boot/kernel/if_ural.ko: Exec format error > kldload: can't load /boot/kernel/if_vge.ko: File exists > kldload: can't load /boot/kernel/if_vlan.ko: Exec format error > kldload: can't load /boot/kernel/if_vr.ko: File exists > kldload: can't load /boot/kernel/if_vx.ko: File exists > kldload: can't load /boot/kernel/if_wb.ko: File exists > kldload: can't load /boot/kernel/if_wi.ko: File exists > kldload: can't load /boot/kernel/if_xl.ko: File exists > kldload: can't load /boot/kernel/if_zyd.ko: Exec format error > Loaded /boot/kernel/if_bridge.ko, id=2 > Loaded /boot/kernel/if_bwi.ko, id=4 > Loaded /boot/kernel/if_bwn.ko, id=5 > Loaded /boot/kernel/if_carp.ko, id=7 > Loaded /boot/kernel/if_cas.ko, id=8 > Loaded /boot/kernel/if_cxgb.ko, id=9 > Loaded /boot/kernel/if_cxgbe.ko, id=10 > Loaded /boot/kernel/if_disc.ko, id=11 > Loaded /boot/kernel/if_edsc.ko, id=12 > Loaded /boot/kernel/if_ef.ko, id=13 > Loaded /boot/kernel/if_epair.ko, id=15 > Loaded /boot/kernel/if_gem.ko, id=17 > Loaded /boot/kernel/if_gre.ko, id=18 > Loaded /boot/kernel/if_hme.ko, id=19 > Loaded /boot/kernel/if_ic.ko, id=20 > Loaded /boot/kernel/if_ipheth.ko, id=22 > Loaded /boot/kernel/if_ipw.ko, id=23 > Loaded /boot/kernel/if_iwi.ko, id=24 > Loaded /boot/kernel/if_iwn.ko, id=25 > Loaded /boot/kernel/if_ixgb.ko, id=26 > Loaded /boot/kernel/if_lagg.ko, id=27 > Loaded /boot/kernel/if_lmc.ko, id=28 > Loaded /boot/kernel/if_malo.ko, id=31 > Loaded /boot/kernel/if_mwl.ko, id=32 > Loaded /boot/kernel/if_mxge.ko, id=33 > Loaded /boot/kernel/if_my.ko, id=35 > Loaded /boot/kernel/if_ndis.ko, id=36 > Loaded /boot/kernel/if_nve.ko, id=38 > Loaded /boot/kernel/if_nxge.ko, id=39 > Loaded /boot/kernel/if_run.ko, id=41 > Loaded /boot/kernel/if_stf.ko, id=42 > Loaded /boot/kernel/if_tap.ko, id=43 > Loaded /boot/kernel/if_urtw.ko, id=44 > Loaded /boot/kernel/if_vte.ko, id=45 > Loaded /boot/kernel/if_wpi.ko, id=46 > > kldstat after run kldload: > Id Refs Address Size Name > 1 151 0xffffffff80100000 e58280 kernel > 2 1 0xffffffff81012000 585a if_bridge.ko > 3 1 0xffffffff81018000 3534 bridgestp.ko > 4 1 0xffffffff8101c000 151d3 if_bwi.ko > 5 1 0xffffffff81032000 298a5 if_bwn.ko > 6 1 0xffffffff8105c000 61dc siba_bwn.ko > 7 1 0xffffffff81063000 4d1a if_carp.ko > 8 1 0xffffffff81068000 6fbb if_cas.ko > 9 1 0xffffffff8106f000 2688f if_cxgb.ko > 10 1 0xffffffff81096000 21f92 if_cxgbe.ko > 11 1 0xffffffff810b8000 4e9 if_disc.ko > 12 1 0xffffffff810b9000 56f if_edsc.ko > 13 1 0xffffffff810ba000 a09 if_ef.ko > 15 1 0xffffffff810bb000 17ae if_epair.ko > 17 1 0xffffffff810bd000 5bdd if_gem.ko > 18 1 0xffffffff810c3000 1d13 if_gre.ko > 19 1 0xffffffff810c5000 4240 if_hme.ko > 20 1 0xffffffff810ca000 c1a if_ic.ko > 21 1 0xffffffff810cb000 12ff iicbus.ko > 22 1 0xffffffff810cd000 10d8 if_ipheth.ko > 23 1 0xffffffff810cf000 7104 if_ipw.ko > 24 1 0xffffffff810d7000 93f5 if_iwi.ko > 25 1 0xffffffff810e1000 10fef if_iwn.ko > 26 1 0xffffffff810f2000 6ba7 if_ixgb.ko > 27 1 0xffffffff810f9000 51d4 if_lagg.ko > 28 1 0xffffffff810ff000 a73d if_lmc.ko > 29 1 0xffffffff8110a000 c3a7 sppp.ko > 30 1 0xffffffff81117000 8d32 netgraph.ko > 31 1 0xffffffff81120000 7192 if_malo.ko > 32 1 0xffffffff81128000 ee81 if_mwl.ko > 33 1 0xffffffff81137000 b087 if_mxge.ko > 34 1 0xffffffff81143000 a4d9 zlib.ko > 35 1 0xffffffff8114e000 3a53 if_my.ko > 36 1 0xffffffff81152000 7e13 if_ndis.ko > 37 1 0xffffffff8115a000 143e2 ndis.ko > 38 1 0xffffffff8116f000 b456 if_nve.ko > 39 1 0xffffffff8117b000 23cd3 if_nxge.ko > 41 1 0xffffffff8119f000 ba50 if_run.ko > 42 1 0xffffffff811ab000 1305 if_stf.ko > 43 1 0xffffffff811ad000 2655 if_tap.ko > 44 1 0xffffffff811b0000 892c if_urtw.ko > 45 1 0xffffffff811b9000 47fb if_vte.ko > 46 1 0xffffffff811be000 8c55 if_wpi.ko > > Cordially > > Quentin SCHWERKOLT If you use "kldstat -v" before the kldload commands, you'll probably find that all the modules that fail to load are already compiled into the kernel. kldstat shows compiled-in modules only if you add -v. -- Ian