LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-30-2011, 09:46 AM   #1
unni.kpr@gmail.com
LQ Newbie
 
Registered: Sep 2011
Posts: 8
Blog Entries: 2

Rep: Reputation: Disabled
Post Atheros not working


Hi the Device is Manufactured by atheros..I do have the driver along with the cd for LAN..

While installin it shows


make -C /lib/modules/2.6.32-71.el6.i686/build SUBDIRS=/myextract/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-71.el6.i686'
CC [M] /myextract/src/atl1e_main.o
/myextract/src/atl1e_main.c: In function ‘atl1e_request_irq’:
/myextract/src/atl1e_main.c:156: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
include/linux/interrupt.h:117: note: expected ‘irq_handler_t’ but argument is of type ‘void (*)(int, void *)’
/myextract/src/atl1e_main.c: In function ‘atl1e_probe’:
/myextract/src/atl1e_main.c:287: error: ‘struct net_device’ has no member named ‘open’
/myextract/src/atl1e_main.c:288: error: ‘struct net_device’ has no member named ‘stop’
/myextract/src/atl1e_main.c:289: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/myextract/src/atl1e_main.c:290: error: ‘struct net_device’ has no member named ‘get_stats’
/myextract/src/atl1e_main.c:291: error: ‘struct net_device’ has no member named ‘set_multicast_list’
/myextract/src/atl1e_main.c:292: error: ‘struct net_device’ has no member named ‘set_mac_address’
/myextract/src/atl1e_main.c:293: error: ‘struct net_device’ has no member named ‘change_mtu’
/myextract/src/atl1e_main.c:294: error: ‘struct net_device’ has no member named ‘do_ioctl’
/myextract/src/atl1e_main.c:305: error: ‘struct net_device’ has no member named ‘tx_timeout’
/myextract/src/atl1e_main.c:313: error: ‘struct net_device’ has no member named ‘vlan_rx_register’
/myextract/src/atl1e_main.c:316: error: ‘struct net_device’ has no member named ‘poll_controller’
make[2]: *** [/myextract/src/atl1e_main.o] Error 1
make[1]: *** [_module_/myextract/src] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-71.el6.i686'
make: *** [default] Error 2

Please help /Thanks in advance
 
Old 09-30-2011, 10:17 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
First of all, have you checked that your distribution doesn't include the required module already? If you try running "modprobe atl1e" (as root) what happens? If it complains about the module not being found, then yes, you'll need to go and install it. In that case, please post the first error message you get from "make".
 
Old 09-30-2011, 10:52 AM   #3
unni.kpr@gmail.com
LQ Newbie
 
Registered: Sep 2011
Posts: 8
Blog Entries: 2

Original Poster
Rep: Reputation: Disabled
Unhappy Atheros Lancard

thanks for the reply

modprobe atl1e <<< no errors

then i try lsmod | grep atl1e << atl1e 30383 0

also


lspci -v

01:00.0 Ethernet controller: Atheros Communications Device 1083 (rev c0)
Subsystem: ASUSTeK Computer Inc. Device 83fe
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at febc0000 (64-bit, non-prefetchable) [size=256K]
I/O ports at ec00 [size=128]
Capabilities: [40] Power Management version 3
Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [58] Express Endpoint, MSI 00
Capabilities: [6c] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [180] Device Serial Number ff-9c-07-08-14-da-e9-ff

lspci -k

01:00.0 Ethernet controller: Atheros Communications Device 1083 (rev c0)
Subsystem: ASUSTeK Computer Inc. Device 83fe

Thees are output... Please help me also the module not loading at start up....
 
Old 09-30-2011, 11:11 AM   #4
unni.kpr@gmail.com
LQ Newbie
 
Registered: Sep 2011
Posts: 8
Blog Entries: 2

Original Poster
Rep: Reputation: Disabled
Smile

I am using centos 6 with 2.6.32-71.el6.i686 may this info useful..
 
Old 09-30-2011, 11:33 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
OK, so the module loads. If you now run ifconfig (again as root), do you have an eth0 device? If so, can you connect to your network (if your IP address is assigned via DHCP, then try "ifconfig eth0 up" followed by "dhclient eth0")? We need to check it works before dealing with the problem of getting it loaded at boot.
 
Old 09-30-2011, 12:15 PM   #6
unni.kpr@gmail.com
LQ Newbie
 
Registered: Sep 2011
Posts: 8
Blog Entries: 2

Original Poster
Rep: Reputation: Disabled
Post Atheros driver issue

Hi
The eth0 file not creating
after reboot the module is automatically unmount..No ip is getting as the module is loaded .If not creating any eth file in /etc/sysconfig/network-scrip/

How can i permanently load the module...??
 
Old 09-30-2011, 12:24 PM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Network devices, unlike other devices, don't have device files. So, there shouldn't be a /dev/eth0. Have you actually tried getting an IP address after loading the module, as I asked above? In any case, you should look at the documentation for RHEL 6, which is basically what CentOS 6 is. There's info on persistent module loading in there.
 
Old 09-30-2011, 03:18 PM   #8
unni.kpr@gmail.com
LQ Newbie
 
Registered: Sep 2011
Posts: 8
Blog Entries: 2

Original Poster
Rep: Reputation: Disabled
Unhappy Nothing happening :(

I am not able to get an ip address ..while restarting network service its showing no output in terminal..I think after loading module system must restart..But after restart the module is not mounting..How can i resolve this.please hrlp..
 
Old 09-30-2011, 03:30 PM   #9
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
What about trying manually, with "ifconfig eth0 up" and then "dhclient eth0"? Please post the output of "ifconfig eth0" and we can go from there.
 
Old 09-30-2011, 03:41 PM   #10
unni.kpr@gmail.com
LQ Newbie
 
Registered: Sep 2011
Posts: 8
Blog Entries: 2

Original Poster
Rep: Reputation: Disabled
Unhappy No such Device

While running ifconfig eth0 up
eth0:unknown interface:no such device
dhclient eth0
Cannot find device "eth0"

also i tried modinfo atl1e

filename: /lib/modules/2.6.32-71.el6.i686/kernel/drivers/net/atl1e/atl1e.ko
version: 1.0.0.7-NAPI
license: GPL
description: Atheros 1000M Ethernet Network Driver
author: Atheros Corporation, <xiong.huang@atheros.com>, Jie Yang <jie.yang@atheros.com>
srcversion: 34BC35BC76534782AD1A36A
alias: pci:v00001969d00001066sv*sd*bc*sc*i*
alias: pci:v00001969d00001026sv*sd*bc*sc*i*
depends:
vermagic: 2.6.32-71.el6.i686 SMP mod_unload modversions 686
parm: tx_desc_cnt:Transmit description count (array of int)
parm: rx_mem_size:memory size of rx buffer(KB) (array of int)
parm: media_type:MediaType Select (array of int)
parm: int_mod_timer:Interrupt Moderator Timer (array of int)

But he Dewvice is not present????
How can i permenently mount atl1e module ??
 
Old 10-01-2011, 12:23 AM   #11
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Odd. It could be that the module is not the right one for your device. Can you run "dmesg | grep atl1e" and see what it says? Also, if you run "lspci -v" after loading the module, does the section for your network card say "Kernel modules in use: atl1e"?

Quote:
Originally Posted by unni.kpr@gmail.com View Post
How can i permenently mount atl1e module ??
I've already told you where to get that information: in the documentation. Please see the link in post 7.
 
Old 10-07-2011, 11:31 AM   #12
unni.kpr@gmail.com
LQ Newbie
 
Registered: Sep 2011
Posts: 8
Blog Entries: 2

Original Poster
Rep: Reputation: Disabled
Smile Issue Solved

The Network adapter working fine after i installed AR81Family By checking demsg...Its Working (:
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Atheros 8152 ethernet not working on Slackware 13.1 scheepster Linux - Networking 10 05-25-2011 05:27 PM
MadWifi Atheros card not working MadHatter21 Slackware 16 07-20-2009 02:35 PM
MadWifi Driver Atheros ar5b95 not working MadHatter21 Linux - Networking 1 07-20-2009 11:17 AM
Atheros, Madwifi stopped working mrclisdue Linux - Wireless Networking 2 01-17-2008 11:01 PM
Atheros 802.11 a/b/g on FC3 not working chicagoboy Linux - Laptop and Netbook 0 12-07-2004 11:55 AM


All times are GMT -5. The time now is 09:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration