Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2010 11:11:43 +0100
From:      Paul B Mahol <onemda@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Re: Atheros WIFI is not recognized on FreeBSD 8.0-RC1
Message-ID:  <3a142e751001090211u51e3b902p38d3cd084015711a@mail.gmail.com>
In-Reply-To: <20100108234828.GA55025@office.redwerk.com>
References:  <20091003110914.GB71004@office.redwerk.com> <20091216180338.GA75403@office.redwerk.com> <2AE8BAD7-C374-4323-8443-B669C495FE34@gmail.com> <20091225084324.GA41572@office.redwerk.com> <3a142e750912250254h3188bbb4ma9236af5566ee9fa@mail.gmail.com> <20100103103430.GA57233@office.redwerk.com> <3a142e751001030301q30b3cdc4y34e2e427eaa33e35@mail.gmail.com> <20100104190714.GA91546@office.redwerk.com> <3a142e751001041113q104d8ddexcaf483bf46500dc1@mail.gmail.com> <20100108234828.GA55025@office.redwerk.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/9/10, Eugene Dzhurinsky <bofh@redwerk.com> wrote:
> On Mon, Jan 04, 2010 at 08:13:57PM +0100, Paul B Mahol wrote:
>> >> Could you please test code from here:
>> >> http://gitorious.org/ndisulator
>> >
>> > Sorry, I'm not sure that I understand how to use that. Should I copy the
>> > folders to /usr/src and rebuild world and kernel?
>>
>> Just use mount_nullfs, no need to change files.
>
> Hello, Paul!
>
> I've got the chance to play with the sources. What I've done:
>
> 1) copied folders into appropriate places of /usr/src

Please do not copy, use mount_nullfs.

> 2) built and installed ndis module
> 3) built and installed if_ndis module
> 4) built and installed ndiscvt executable
> 5) generated athw_sys.ko module
> 6) copied athw_sys.ko module into /boot/kernel

Copy athw_sys.ko to /boot/modules instead, and run `kldxref /boot/modules`.

> 7) rebooted

Not really required.

> 8) manually loaded ndis and if_ndis module (the latter was loaded
> automatically by ndis as I realized)
> 9) loaded athw_sys

Use kldload instead. Loading module during boot have some unresolved problems.

> 10) booted

Not really required if you use kldload/kldunload.
>
> and on initializing of ndis device kernel panic was detected on page read at
> some address.
What address, and where it happens.

If your kernel have debug support then type bt at ddb prompt. And send output
(in format you prefer: picture, textdump, output from `kgdb
/boot/kernel /var/crash/vmcore`)

On GENERIC kernels vmcore.X file should be generated.
Do you have dupdev and dumpdir defined in rc.conf and is dumpdev swap device?

You really need kernel with DDB, GDB ...

> If I did something wrong, or I can provide you with some more information -
> please let me know, what would you like me to send you (and how to get it).

I really need more information to help you.

-- 
Paul B Mahol



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a142e751001090211u51e3b902p38d3cd084015711a>