Re: Can't load many network kernel module in 8.3-PREREALEASE

[ Available lists | Index of freebsd-wireless | Month of Mar 2012 | Week of 23 Mar 2012 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Kevin Oberman <kob6558@gmail.com>
Date
23 Mar 2012 16:29:02
Subject
Re: Can't load many network kernel module in 8.3-PREREALEASE
Message-ID
CAN6yY1vZ1z8ANRk8mE6bBTxyetVSwZJ2KF5=cMy_N5GWCuqEMw@mail.gmail.com


[ Hide this part ]
On Fri, Mar 23, 2012 at 4:19 AM, Quentin Schwerkolt
<develloper.unix@hotmail.fr> 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

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.)
--
R. Kevin Oberman, Network Engineer
E-mail: kob6558@gmail.com


Elapsed time: 0.144 seconds