Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]Atheros 5007EG & ndiswrapper
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kostekjo
n00b
n00b


Joined: 31 May 2008
Posts: 3

PostPosted: Sat May 31, 2008 9:32 am    Post subject: [solved]Atheros 5007EG & ndiswrapper Reply with quote

I've got a 64bit 2.6.24-gentoo-r8. I can't get the wireless card working becouse modprobing the ndiswrapper fails.

lspci :
Code:

00:00.0 Host bridge: ATI Technologies Inc Unknown device 7910
00:01.0 PCI bridge: ATI Technologies Inc Unknown device 7912
00:05.0 PCI bridge: ATI Technologies Inc Unknown device 7915
00:06.0 PCI bridge: ATI Technologies Inc Unknown device 7916
00:07.0 PCI bridge: ATI Technologies Inc Unknown device 7917
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
00:14.0 SMBus: ATI Technologies Inc SB600 SMBus (rev 14)
00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
00:14.2 Audio device: ATI Technologies Inc SB600 Azalia
00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
00:14.4 PCI bridge: ATI Technologies Inc SB600 PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon X1200 Series
0e:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 01)
14:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
1a:04.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
1a:04.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
1a:04.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
1a:04.3 SD Host controller: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller


ndiswrapper -l
Code:

net5211 : driver installed
   device (168C:001C) present (alternate driver: ath_pci)


modprobe ndiswrapper
dmesg
Code:

ndiswrapper (ntoskernel_exit:2708): object ffff8100748b1c30(2) was not freed, freeing it now
ndiswrapper version 1.52 loaded (smp=yes, preempt=no)
ndiswrapper (link_pe_images:576): fixing KI_USER_SHARED_DATA address in the driver
ndiswrapper: driver net5211 (,06/21/2007,5.3.0.56) loaded
PCI: Enabling device 0000:14:00.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:14:00.0[A] -> GSI 19 (level, low) -> IRQ 19
ndiswrapper (ZwClose:2227): closing handle 0x0 not implemented
PCI: Setting latency timer of device 0000:14:00.0 to 64
ndiswrapper (NdisWriteErrorLogEntry:191): log: C0001389, count: 4, return_address: ffffffff883a20ce
ndiswrapper (NdisWriteErrorLogEntry:194): code: 0x6a540000
ndiswrapper (NdisWriteErrorLogEntry:194): code: 0x28
ndiswrapper (NdisWriteErrorLogEntry:194): code: 0x24d3000
ndiswrapper (NdisWriteErrorLogEntry:194): code: 0x24d3000
ndiswrapper (mp_init:216): couldn't initialize device: C000009A
ndiswrapper (pnp_start_device:439): Windows driver couldn't initialize the device (C0000001)
ndiswrapper (mp_halt:259): device ffff81006a59f6c0 is not initialized - not halting
ndiswrapper: device eth%d removed
ACPI: PCI interrupt for device 0000:14:00.0 disabled
ndiswrapper: probe of 0000:14:00.0 failed with error -22


The card works with the net5211 driver on other distros (fedora, suse).


Last edited by kostekjo on Sun Jun 01, 2008 7:10 am; edited 1 time in total
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Sun Jun 01, 2008 6:09 am    Post subject: Re: Atheros 5007EG & ndiswrapper Reply with quote

kostekjo wrote:
I've got a 64bit 2.6.24-gentoo-r8. I can't get the wireless card working becouse modprobing the ndiswrapper fails.

Code:

ndiswrapper -l

net5211 : driver installed
   device (168C:001C) present (alternate driver: ath_pci)

This means you are also either automatically loading the ath_pci driver, or you have it enabled and compiled into your kernel. This will cause a conflict, and your wireless will not work. Pick either the in-kernel driver, or ndiswrapper, not both.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
kostekjo
n00b
n00b


Joined: 31 May 2008
Posts: 3

PostPosted: Sun Jun 01, 2008 7:10 am    Post subject: Reply with quote

Finaly I've got everything working. After recompiling the krenel without ath_pci and adding "wireless" to make.conf. Thanks for help :)
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Sun Jun 01, 2008 7:16 am    Post subject: Reply with quote

You're welcome. Happy wireless!

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
nachopro
Apprentice
Apprentice


Joined: 20 Apr 2008
Posts: 227
Location: haedo, bsas, argentina

PostPosted: Sat Jul 05, 2008 11:19 pm    Post subject: Reply with quote

Hi i have a 5007EG too... but i need to load the ndiswrapper, unload it, an reload it to get my card working (make a AP/Ad-Hoc assosiation)... any idea?? it's a ndiswrapper issue or a iwconfig fault?

Thanks!
_________________
Si no es para GTK o línea de comando, es basura! (?)
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Sun Jul 06, 2008 5:24 am    Post subject: Reply with quote

It could be the kernel version, driver age and version, and a few other things that will determine whether or not ndiswrapper will work properly. The most important thing is to use a kernel <=2.6.22.19 or >=2.6.25. .23 and .24 kernels have no ndiswrapper support.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum