Jump to content

Attansic L1 Driver Project


  • Please log in to reply
595 replies to this topic

#1
DaemonES

DaemonES

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 327 posts
  • Location:Kiev, Ukraine
Hi, I'm starting development of driver for Attansic L1 driver. So I need help of Asus P5B-E owners to test driver. Any one want to get working LAN? :(

#2
DiaboliK

DiaboliK

    DiaboliK <- Capital K!

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,336 posts
  • Gender:Male
  • Location:Hollyweird, CA
i was thinking about this cause that was the only reason i didnt get a asus P5l-VM 1394. no driver support for the Gb LAN.
i may just pick one up so i can help you out.
I will let you know when that happens but it should be soon, a week or two.

#3
DaemonES

DaemonES

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 327 posts
  • Location:Kiev, Ukraine
DiaboliK great :(

Anyone else?

#4
DaemonES

DaemonES

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 327 posts
  • Location:Kiev, Ukraine
Latest news: major part of work has been done. I need maximum one day to do end of work. So I need to test driver now. Waiting for the testers.

#5
icy

icy

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
  • Location:Russia
I think, I can do some testing.
I have an Asus P5B-E + Core2Duo + Maс OSX 10.4.8 by JaS with semthex kernel

#6
jester1o1

jester1o1

    InsanelyMac Protégé

  • Members
  • PipPip
  • 60 posts
I have this card (P5L-VM 1394) - would love to be a guinea pig!

#7
SkyZ

SkyZ

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 126 posts
hi DaemonES, please put me on the list, I definitely wanna test, thanks~~~

#8
DaemonES

DaemonES

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 327 posts
  • Location:Kiev, Ukraine
OK guys, I've attached current snapshot of the driver. It's not fully functional yet (it receives, but not transmits packets). All that I may know now how it communicates and setups hardware. Attansic L1 is very hard to program. To test driver you need 2 terminals:
1. In the first terminal type: tail -f /var/log/system.log
2. In the second enter to the driver directory and type sh loaddebug.sh

After some time you will see in the first screen messages from the driver. Post it here please.

Attached Files



#9
icy

icy

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
  • Location:Russia
Feb  4 18:49:46 icys-computer kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::start
Feb  4 18:49:46 icys-computer kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::createOutputQueue
Feb  4 18:49:46 icys-computer kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::getPacketBufferConstraints
Feb  4 18:49:46 icys-computer kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::atl1AllocateDescriptors
Feb  4 18:49:46 icys-computer kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::getHardwareAddress
Feb  4 18:49:48 icys-computer kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::atl1GetPermanentAddress
Feb  4 18:49:48 icys-computer kernel[0]: [AttansicL1Ethernet] Couldn't get device mac address
Feb  4 18:49:48 icys-computer kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::registerWithPolicyMaker
Feb  4 18:49:48 icys-computer kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::setPowerState
Feb  4 18:49:48 icys-computer kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::configureInterface
Feb  4 18:49:48 icys-computer kernel[0]: AttansicL1Ethernet: Ethernet address 00:00:d8:bc:ca:01

and then system hangs

#10
DaemonES

DaemonES

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 327 posts
  • Location:Kiev, Ukraine
icy how much RAM, nVidia card? Can you use another kernel (many users have troubles with HDA driver ant latest semthex kernel).

#11
SkyZ

SkyZ

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 126 posts

OK guys, I've attached current snapshot of the driver. It's not fully functional yet (it receives, but not transmits packets). All that I may know now how it communicates and setups hardware. Attansic L1 is very hard to program. To test driver you need 2 terminals:
1. In the first terminal type: tail -f /var/log/system.log
2. In the second enter to the driver directory and type sh loaddebug.sh

After some time you will see in the first screen messages from the driver. Post it here please.


Maybe I'm too stupid, after extract the zip file, it's not a kext and I don't really know how to deal with the files inside the folder...... Is ther any instruction I can follow? Thanks~~

#12
icy

icy

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
  • Location:Russia
I have a pair of Corsair Twin2X modules, 2GB summary and Gigabyte GF7600GT video + titan driver.
I used this guide to get AD1988 sound working: http://forum.insanel...showtopic=32426
There are some strange sound appearance in movies and system clock running too fast, but this problems gone after I have added "fsb=266" to the kernel flags string.
Later I can try to boot with mikfi kernel.

#13
DaemonES

DaemonES

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 327 posts
  • Location:Kiev, Ukraine
SkyZ kext deeper, inside other folders. After unpacking
cd AttansicL1Ethernet/
sh loaddebug.sh

kext will be loaded, but don't forget about log.

#14
naquaada

naquaada

    Gates crusher

  • Donators
  • 267 posts
  • Gender:Male
  • Location:Germany
  • Interests:Audio editing, Commodore computers
Hi!

I tested the driver on a friend's Asus M2N4-SLI board which has an Athlon 64 x2 and a newer nForce 4 chipset with an Attensic PHY which isn't detected by the forcedeth driver. With the original version of the AttansicL1Ethernet.kext I got no result, so I added the network adapter's id (0x005710de) to the plist inside the kext.

Result: the adapter was detected at the next reboot :) The kext seems to be really have fun detecting my adapter, at every reboot I got a new one :D But they all weren't working :poster_oops:
Another effect is that SATA wasn't working with the Attensic driver installed, after removing it I had my SATA back again.

Was a great begin, get on with it. My system was 10.4.7 myzar.

GreetinX from the Other Side!

#15
DaemonES

DaemonES

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 327 posts
  • Location:Kiev, Ukraine
naquaada driver is not working now. May I know does driver detect right Mac address or now?

#16
DaemonES

DaemonES

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 327 posts
  • Location:Kiev, Ukraine
Good point about SATA controller. It seems, that it shares the same interrupt line with Attansic controller. Like here http://www.archivesa...read2382776.htm

I've attached a new version of kext. Now I'm using MSI interrupts from PCI-E attansic controller. So those people who had problems with SATA driver please try.

Sooner or later I'll write this driver, I need only feedback and time.

Attached Files



#17
icy

icy

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
  • Location:Russia
Feb  5 00:09:51 icys-computer sudo:	  icy : TTY=ttyp2; PWD=/Users/icy/Desktop/AttansicL1Ethernet/build/Debug; USER=root; COMMAND=/bin/rm -rf /System/Library/Extensions.mkext

Feb  5 00:09:51 icys-computer sudo:	  icy : TTY=ttyp2; PWD=/Users/icy/Desktop/AttansicL1Ethernet/build/Debug; USER=root; COMMAND=/bin/rm -rf /System/Library/Extensions.kextcache

Feb  5 00:09:51 icys-computer sudo:	  icy : TTY=ttyp2; PWD=/Users/icy/Desktop/AttansicL1Ethernet/build/Debug; USER=root; COMMAND=/usr/sbin/chown -R root:wheel AttansicL1Ethernet.kext

Feb  5 00:09:51 icys-computer sudo:	  icy : TTY=ttyp2; PWD=/Users/icy/Desktop/AttansicL1Ethernet/build/Debug; USER=root; COMMAND=/usr/bin/find AttansicL1Ethernet.kext -type d -exec chmod 0755 {};

Feb  5 00:09:51 icys-computer sudo:	  icy : TTY=ttyp2; PWD=/Users/icy/Desktop/AttansicL1Ethernet/build/Debug; USER=root; COMMAND=/usr/bin/find AttansicL1Ethernet.kext -type f -exec chmod 0644 {};

Feb  5 00:09:51 icys-computer sudo:	  icy : TTY=ttyp2; PWD=/Users/icy/Desktop/AttansicL1Ethernet/build/Debug; USER=root; COMMAND=/sbin/kextload -t AttansicL1Ethernet.kext

Feb  5 00:09:56 icys-computer kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::init

Feb  5 00:09:56 icys-computer sudo:	  icy : TTY=ttyp2; PWD=/Users/icy/Desktop/AttansicL1Ethernet/build/Debug; USER=root; COMMAND=/usr/sbin/kextcache -k /System/Library/Extensions

Feb  5 00:09:56 icys-computer kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::start

Feb  5 00:09:56 icys-computer kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::createOutputQueue

Feb  5 00:09:56 icys-computer kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::getPacketBufferConstraints

Feb  5 00:09:56 icys-computer kernel[0]: [AttansicL1Ethernet] icr = ffffffff

Feb  5 00:09:56 icys-computer kernel[0]: [AttansicL1Ethernet] Error:Couldn't reset hardware

Feb  5 00:09:56 icys-computer kernel[0]: [AttansicL1Ethernet] Error:Couldn't init hardware

Feb  5 00:09:56 icys-computer kernel[0]: [AttansicL1Ethernet] MSI interrupt index 1

Feb  5 00:09:56 icys-computer kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::atl1AllocateDescriptors

Feb  5 00:09:56 icys-computer kernel[0]: [AttansicL1Ethernet] Allocated memory for ring header 18684

Feb  5 00:09:56 icys-computer kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::getHardwareAddress

Feb  5 00:09:58 icys-computer kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::atl1GetPermanentAddress

Feb  5 00:09:58 icys-computer kernel[0]: [AttansicL1Ethernet] Error:Mac address through SPI is invalid

Feb  5 00:09:58 icys-computer kernel[0]: [AttansicL1Ethernet] Couldn't get device mac address

Feb  5 00:09:58 icys-computer kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::registerWithPolicyMaker

Feb  5 00:09:58 icys-computer kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::setPowerState

Feb  5 00:09:58 icys-computer kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::configureInterface

Feb  5 00:09:58 icys-computer kernel[0]: AttansicL1Ethernet: Ethernet address 00:00:44:b4:4a:01

Edited by icy, 04 February 2007 - 08:15 PM.


#18
jester1o1

jester1o1

    InsanelyMac Protégé

  • Members
  • PipPip
  • 60 posts
Here's my output from the new version (post 16):

[codebox]Feb 5 07:50:16 comp1 kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::init
Feb 5 07:50:16 comp1 sudo: : TTY=ttyp2 ; PWD=/AttansicL1Ethernet/build/Debug ; USER=root ; COMMAND=/usr/sbin/kextcache -k /System/Library/Extensions
Feb 5 07:50:16 comp1 kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::start
Feb 5 07:50:16 comp1 kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::createOutputQueue
Feb 5 07:50:16 comp1 kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::getPacketBufferConstraints
Feb 5 07:50:16 comp1 kernel[0]: [AttansicL1Ethernet] icr = ffffffff
Feb 5 07:50:16 comp1 kernel[0]: [AttansicL1Ethernet] Error:Couldn't reset hardware
Feb 5 07:50:16 comp1 kernel[0]: [AttansicL1Ethernet] Error:Couldn't init hardware
Feb 5 07:50:16 comp1 kernel[0]: [AttansicL1Ethernet] MSI interrupt index 1
Feb 5 07:50:16 comp1 kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::atl1AllocateDescriptors
Feb 5 07:50:16 comp1 kernel[0]: [AttansicL1Ethernet] Allocated memory for ring header 18684
Feb 5 07:50:16 comp1 kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::getHardwareAddress
Feb 5 07:50:17 comp1 kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::atl1GetPermanentAddress
Feb 5 07:50:17 comp1 kernel[0]: [AttansicL1Ethernet] Error:Mac address through SPI is invalid
Feb 5 07:50:17 comp1 kernel[0]: [AttansicL1Ethernet] Couldn't get device mac address
Feb 5 07:50:17 comp1 kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::registerWithPolicyMaker
Feb 5 07:50:17 comp1 kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::setPowerState
Feb 5 07:50:17 comp1 kernel[0]: [AttansicL1Ethernet] AttansicL1Ethernet::configureInterface
Feb 5 07:50:17 comp1 kernel[0]: AttansicL1Ethernet: Ethernet address 00:00:a8:3c:79:01[/codebox]

#19
SkyZ

SkyZ

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 126 posts

SkyZ kext deeper, inside other folders. After unpacking
cd AttansicL1Ethernet/
sh loaddebug.sh

kext will be loaded, but don't forget about log.


Thk mate, I'll give it a try when I back home from work.

#20
jester1o1

jester1o1

    InsanelyMac Protégé

  • Members
  • PipPip
  • 60 posts
I'm pretty sure you would have seen this - but if not - here's the link to the Attansic driver for linux:
http://sourceforge.net/projects/atl1/

Cheers and good luck!

Jdwl





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy