Jump to content

Atheros AR8131/AR8132


bramo
 Share

315 posts in this topic

Recommended Posts

Thanks...There's no kernel panic anymore ;), it seems almost close now.

en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500

ether 00:1f:16:2a:fc:35

inet6 fe80::21f:16ff:fe2a:fc35%en0 prefixlen 64 scopeid 0x4

media: autoselect (100baseTX <full-duplex>)

status: active

ping to router (no response)

ping 169.254.228.244

 

inet addr seem to no.

ifconfig ? DHCP ?

 

i need more infomation .

1. please in Terminal type: tail -f /var/log/kernel.log

2. load debug kext.

3. post the tail of kernel.log.

Link to comment
Share on other sites

sorry for ifconfig at above post, is not completely ifconfig info

this for correct ifconfig

en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 00:1f:16:2a:fc:35 
inet6 fe80::21f:16ff:fe2a:fc35%en0 prefixlen 64 scopeid 0x4 
inet 169.254.241.34 netmask 0xffff0000 broadcast 169.254.255.255
media: autoselect (100baseTX <full-duplex>)
status: active

here is for a kernel.log

kernel.log.zip

Link to comment
Share on other sites

After test to plug in cable network, i have same result as jinnggoff.

The last problem can not connect to router, test with command ping not reply, in linux get reply ping.

I'm using static ip address

I try to unload and load again the driver, here is the log kernel:

Apr 18 16:59:11 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] init()
Apr 18 16:59:11 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] start()
Apr 18 16:59:11 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] createOutputQueue()
Apr 18 16:59:11 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] getPacketBufferConstraints()
Apr 18 16:59:11 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] OSAddNetworkMedium()
Apr 18 16:59:11: --- last message repeated 6 times ---
Apr 18 16:59:11 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] atProbe()
Apr 18 16:59:11 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] Vendor ID 1969, device ID 1062
Apr 18 16:59:11 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] MMR0 address 96100004
Apr 18 16:59:11 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] Memory mapped at bus address 96100000, virtual address 34a89000, length 262144
Apr 18 16:59:11 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] REG_VPD_CAP = 3
Apr 18 16:59:11 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] REG_PCIE_CAP_LIST = 16c10
Apr 18 16:59:11 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] REG_MASTER_CTRL = 40020000
Apr 18 16:59:12 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] MSI interrupt index 1
Apr 18 16:59:12 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] getHardwareAddress()
Apr 18 16:59:13 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] registerWithPolicyMaker()
Apr 18 16:59:13 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] setPowerState()
Apr 18 16:59:13 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] configureInterface()
Apr 18 16:59:13 snowleopards-Mac-Pro kernel[0]: AtherosL1cEthernet: Ethernet address 00:1f:16:xx:zz:yy-changed
Apr 18 16:59:13 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] enable()
Apr 18 16:59:13 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] Total allocated space for tx descriptors 12582912
Apr 18 16:59:13: --- last message repeated 1 time ---
Apr 18 16:59:13 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] Total allocated space for rx descriptors 0
Apr 18 16:59:13 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] Selected medium is NULL, forcing to autonegotiation
Apr 18 16:59:13 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] selectMedium()
pr 18 16:59:13 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] selectMedium()
Apr 18 16:59:13 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] Selected medium is autoselect
Apr 18 16:59:13 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] atSetupLink()
Apr 18 16:59:17 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] atGetAndUpdateLinkStatus()
Apr 18 16:59:17 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] Link is active, speed 100, duplex 2
Apr 18 16:59:17 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] atGetAndUpdateLinkStatus()
Apr 18 16:59:17 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] Link is active, speed 100, duplex 2
Apr 18 16:59:17 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] setMulticastMode(), 1
Apr 18 16:59:17 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] setMulticastList()
Apr 18 16:59:17 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] setMulticastMode(), 0
Apr 18 16:59:17 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] atIntr()
Apr 18 16:59:17 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] atGetAndUpdateLinkStatus()
Apr 18 16:59:17 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] Link is active, speed 100, duplex 2
Apr 18 16:59:17 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] outputPacket()
Apr 18 16:59:17 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] outputPacket() length 42 next_to_use 1
Apr 18 16:59:17 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] outputPacket()
Apr 18 16:59:17 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] outputPacket() length 42 next_to_use 2
Apr 18 16:59:17 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] outputPacket()
Apr 18 16:59:17 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] outputPacket() length 42 next_to_use 3
Apr 18 16:59:18 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] outputPacket()
Apr 18 16:59:18 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] outputPacket() length 42 next_to_use 4
Apr 18 16:59:18 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] outputPacket()
Apr 18 16:59:18 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] outputPacket() length 42 next_to_use 5
Apr 18 16:59:18 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] outputPacket()
Apr 18 16:59:18 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] outputPacket() length 42 next_to_use 6
Apr 18 16:59:18 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] setMulticastMode(), 1
Apr 18 16:59:18 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] setMulticastList()
Apr 18 16:59:18 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] outputPacket()
Apr 18 16:59:18 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] outputPacket() length 42 next_to_use 7

 

Repetition occur in two line with incremental n (next_to_use n)

Link to comment
Share on other sites

here is for a kernel.log

 

I found the following from the kernel.log file

[AtherosL1cEthernet] Error: TX/RX over flow (status = 0x8)

 

0x8 is RFD over flow.

I modified the default RFD block count to 512.

 

to jinnggoff:

please test this debug drive, and post kernel.log.

This file needs to from [AtherosL1cEthernet] init() , about 5 minutes.

build_x64_20100418_2.zip

Link to comment
Share on other sites

thinks.

 

modify the allocate rfd function.

 

try again.

 

Thanks reader02, in my system still failed to connect the router. Here's the log, after reboot and unload then load again the driver:

Apr 19 07:26:11 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] outputPacket() length 42 next_to_use 120
Apr 19 07:26:11 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] disable()
Apr 19 07:26:11 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] stop()
Apr 19 07:26:11 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] atSwFree()
Apr 19 07:26:11 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] free()
Apr 19 07:26:20 snowleopards-Mac-Pro kernel[0]: ApplePS2Keyboard: Unknown extended scan code: 0xaa
Apr 19 07:26:20 snowleopards-Mac-Pro kernel[0]: ApplePS2Keyboard: Unknown extended scan code: 0x2a
Apr 19 07:26:24 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] init()
Apr 19 07:26:24 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] start()
Apr 19 07:26:24 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] createOutputQueue()
Apr 19 07:26:24 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] getPacketBufferConstraints()
Apr 19 07:26:24 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] OSAddNetworkMedium()
Apr 19 07:26:24: --- last message repeated 6 times ---
Apr 19 07:26:24 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] atProbe()
Apr 19 07:26:24 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] Vendor ID 1969, device ID 1062
Apr 19 07:26:24 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] MMR0 address 96100004
Apr 19 07:26:24 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] Memory mapped at bus address 96100000, virtual address 34a9b000, length 262144
Apr 19 07:26:24 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] REG_VPD_CAP = 3
Apr 19 07:26:24 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] REG_PCIE_CAP_LIST = 16c10
Apr 19 07:26:24 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] REG_MASTER_CTRL = 40020000
Apr 19 07:26:24 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] MSI interrupt index 1
Apr 19 07:26:24 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] getHardwareAddress()
Apr 19 07:26:25 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] registerWithPolicyMaker()
Apr 19 07:26:25 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] setPowerState()
Apr 19 07:26:25 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] configureInterface()
Apr 19 07:26:25 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] Allocated memory for descriptor tpd ring, all size = D30720; tpd_ring->count * 2 = D2048; rfd_ring->count * num_rx_queues= D512
Apr 19 07:26:25 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] Allocated memory for descriptor ring, size = D45304 ; page_size = D4096
Apr 19 07:26:25 snowleopards-Mac-Pro kernel[0]: AtherosL1cEthernet: Ethernet address 00:1f:16:dd:ee:ff
Apr 19 07:26:25 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] enable()
Apr 19 07:26:25 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] Total allocated space for tx descriptors D12582912; num_alloc= D1024; buffer_len= D12288
Apr 19 07:26:25: --- last message repeated 1 time ---
Apr 19 07:26:25 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] Total allocated space for rx descriptors D786432; num_alloc= D512; adapter->rx_buffer_len= D1536
Apr 19 07:26:25 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] Selected medium is NULL, forcing to autonegotiation
Apr 19 07:26:25 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] selectMedium()
Apr 19 07:26:25 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] Selected medium is autoselect
Apr 19 07:26:25 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] atSetupLink()
Apr 19 07:26:30 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] atGetAndUpdateLinkStatus()
Apr 19 07:26:30 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] Link is active, speed 100, duplex 2
Apr 19 07:26:30 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] atGetAndUpdateLinkStatus()
Apr 19 07:26:30 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] Link is active, speed 100, duplex 2
Apr 19 07:26:30 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] setMulticastMode(), 1
Apr 19 07:26:30 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] setMulticastList()
Apr 19 07:26:30 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] setMulticastMode(), 0
Apr 19 07:26:30 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] atIntr()
Apr 19 07:26:30 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] atIntr() status = 0x1000!
Apr 19 07:26:30 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] atGetAndUpdateLinkStatus()
Apr 19 07:26:30 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] Link is active, speed 100, duplex 2
Apr 19 07:26:30 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] outputPacket()
Apr 19 07:26:30 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] outputPacket() length 42 next_to_use 1
Apr 19 07:26:30 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] outputPacket()
Apr 19 07:26:30 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] outputPacket() length 42 next_to_use 2
Apr 19 07:26:30 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] outputPacket()
Apr 19 07:26:30 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] outputPacket() length 42 next_to_use 3

Link to comment
Share on other sites

I get the same error message as wolodya. And when I use auto-assign with DHCP it gives me an IP that is different from the one i get in windows.

 

The IP adresses is like this;

 

OSX: 169.254.*.*

 

Windows : 87.96.*.*

 

I don't know if this helps you, but thank you for doing this!

Link to comment
Share on other sites

This atl1c chip seems to support 64-bit kernel issue, need to think of additional ways.

First test the driver on 32-bit mode.

 

how to into 32-bit ?

when boot ,press F8 and type -x32.

 

My sistem run on 32-bit mode, after using last file (driver for 32 bit ):

 

Apr 20 13:19:43 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] outputPacket() length 42 next_to_use 4

Apr 20 13:19:44 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] atIntr()

Apr 20 13:19:44 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] atIntr() status = 0x200!

Apr 20 13:19:44 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] Error: atl1c hardware error (status = 0x200)

 

If Use file for 64 bit I don't see atl1c hardware error (status = 0x200). If use driver 64 bit or 32 bit,I get line in log kernel:

 

Apr 20 13:19:43 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] atIntr() status = 0x1000!

 

What the meaning of status = 0x1000!. is it normal?

 

My kernel log file : kernel.log.rar

Link to comment
Share on other sites

My sistem run on 32-bit mode, after using last file (driver for 32 bit ):

 

 

Apr 20 13:19:44 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] atIntr() status = 0x200!

Apr 20 13:19:44 snowleopards-Mac-Pro kernel[0]: [AtherosL1cEthernet] Error: atl1c hardware error (status = 0x200)

 

What the meaning of status = 0x1000!. is it normal?

 

My kernel log file : kernel.log.rar

 

0x200 = DMA read Error.

 

0x1000 = init PHY registor.

 

64 bit mode and 32 bit mode both return 0x1000 (first) and 0x200 (second) ,check your log.

 

I spend more time to check the code.

 

please wait.

Link to comment
Share on other sites

Not sure how to grab my error log, but latest build 20100421 installs fine on my Acer Timeline 4810TZ-4696, but the Ethernet card in Network System Preferences shows this problem:

 

Ethernet has a self-assigned IP address and will not be able to connect to the Internet.

Link to comment
Share on other sites

 Share

×
×
  • Create New...