I am facing some strange issue with recognizing the wifi card on my ASUS K40IN
laptop.
pciconf -lv shows me the following:
none5@pci0:5:0:0: class=0x028000 card=0x10891a3b chip=0x002b168c rev=0x01 hdr=0x00
vendor = 'Atheros Communications Inc.'
class = network
On wiki page http://wiki.freebsd.org/AsusEee#head-47f2e69f1dd87ec8920929cef682552933095ce6
there is the statement:
Wireless Atheros 9285 (supported in 8.0 only?) class=0x028000 card=0x10891a3b chip=0x002b168c rev=0xc0 hdr=0x00
the only difference is in "rev" property - 0x01 != 0xc0
The question is - is it possible to change something in the sources of kernel
so the card will be recognized? And can somebody please explain what I should
to try out?
Thank you in advance!
--
Eugene N Dzhurinsky
I'm no expert on Atheros. In /sys/dev/ath/ath_hal/ah_devid.h there's a
#define AR9285_DEVID_PCIE 0x002b /* AR9285 PCI-E Kite */
but it isn't used in any C source file.
Note that the entry in the Wiki isn't claiming that this chip works.
The poster is merely wondering whether it might be supported in 8.0
and later FreeBSD versions.
Looks like it isn't.
---
Gary Jennejohn
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-curre...@freebsd.org"
That's too bad. Allright, than I'll wait until this chip will get support for
FreeBSD.
Thank you for the quick and prompt response!
--
Eugene N Dzhurinsky
On Wed, 16 Dec 2009 18:03:38 -0000, Eugene Dzhurinsky <bo...@redwerk.com>
wrote:
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Have you tried using if_ndis?
--
Rui Paulo
This is on amd64?
--
Paul B Mahol
No, i386
--
Eugene N Dzhurinsky
Is anything displayed on console? Are you sure you are using
5.1 driveres (for XP) and not newer ones?
Could you please test code from here:
http://gitorious.org/ndisulator
I am using xp3264-7.7.0.329-whql.zip file from Atheros.
When trying to convert the ones athwx.sys and netathwx.inf I am getting the
error:
ndiscvt: line 5117: : syntax error.
CONVERSION FAILED
same for
netathw.inf athw.sys
I'm sure that worked for me earlier.
> 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?
--
Eugene N Dzhurinsky
Just use mount_nullfs, no need to change files.
Inf file appears to not end with EOL, I opened it with vim and just used :wq
> On 1/4/10, Eugene Dzhurinsky <bo...@redwerk.com> wrote:
>> On Sun, Jan 03, 2010 at 12:01:15PM +0100, Paul B Mahol wrote:
>>> On 1/3/10, Eugene Dzhurinsky <bo...@redwerk.com> wrote:
>>>> On Fri, Dec 25, 2009 at 11:54:55AM +0100, Paul B Mahol wrote:
>>>>> On 12/25/09, Eugene Dzhurinsky <bo...@redwerk.com> wrote:
>>>>>> On Mon, Dec 21, 2009 at 04:38:26PM +0000, Rui Paulo wrote:
>>>>>>> Have you tried using if_ndis?
>>>>>> The kernel module I've created just hangs once loaded :(
>>>>> This is on amd64?
>>>>
>>>> No, i386
>>>
>>> Is anything displayed on console? Are you sure you are using
>>> 5.1 driveres (for XP) and not newer ones?
>>
>> I am using xp3264-7.7.0.329-whql.zip file from Atheros.
>>
>> When trying to convert the ones athwx.sys and netathwx.inf I am getting the
>> error:
>>
>> ndiscvt: line 5117: : syntax error.
>> CONVERSION FAILED
>
> Inf file appears to not end with EOL, I opened it with vim and just used :wq
>
Maybe we should change ndiscvt to handle that.
--
Rui Paulo
Or just ndisgen.sh:
echo "" >> netathw.inf
--
Paul B Mahol
That files are for amd64.
And NDISulator from git should no more panic if user used wrong files with
ndisgen(8)
Okay, I've added newlines to sys files - and kernel modules were generated
just fine. However both of them are leading to kernel panic once loaded, after
ndis0 device is created. I don't know, how can I dump these logs. If it is
possible - can you please explain the steps?
Thank you in advance.
--
Eugene N Dzhurinsky
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
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
7) rebooted
8) manually loaded ndis and if_ndis module (the latter was loaded
automatically by ndis as I realized)
9) loaded athw_sys
10) booted
and on initializing of ndis device kernel panic was detected on page read at
some address.
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).
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.