test: How to pass auto test

Jouni Malinen j
Sun Jan 18 08:17:46 PST 2015

On Tue, Jan 06, 2015 at 10:22:12AM +0900, Masashi Honma wrote:
> I have downloaded
> backports-wireless-testing-2014-12-16-0439ecc.tar.bz2 and used it.
> But start.sh failed with following error.
> $ ./start.sh
> modprobe: ERROR: could not insert 'mac80211_hwsim': Exec format error

That sounds pretty strange.. dmesg output may provide some more details.
Is this a 32-bit or 64-bit installation? Did kernel and Backports get
built for the same target? This should really happen automatically, but
I'm not sure what would cause this..

> My environment is Ubuntu 14.04.1 Server.
> I typed following commands.
> $ tar xjf backports-wireless-testing-latest.tar.bz2
> $ cd backports-wireless-testing-2014-12-16-0439ecc/
> $ make clean
> $ make menuconfig
> enable all without atheros drivers
> $ make -j4
> $ sudo make install

With those snapshot builds, I'd use "make defconfig-mac80211_hwsim" to
configure the package.

I've now went through a setup from scratch and wrote step-by-step guide
on how to get to a point that is pretty similar to the test coverage on
the buildbot.w1.fi test runs. This document is available here:


Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list