Discussion:
EON gani driver
Pete
2010-11-25 15:19:45 UTC
Permalink
Hi,

I have installed EON on a board with a realtek network chip and although it works its very slow (12 MB/s on a gigabit network). Research led me to try the gani driver but I am having problems installing it, definitely resulting from my lack of Solaris skills. Theres a few things I dont understand and I apologise for being so stupid, this is my first Solaris experience (I have used Sun professionally for years but always get consultants to set them up - now I want to use it myself im stuck).

Theres no compiler on EON obviously, but when I saw that gani had binaries in the package I thought I could get away without compiling although I realise that might be wrong. The gani readme does not seem to have a non-complier install procedure documented, but I tried several other approaches in case they would work.

I copied the gani file from i386 to the /kernel/drv/ directory and 'add_drv gani' and while it seems to load to me, it fails to work. Then I stripped out all references to rge in the devices file, removed rge from /kernel/drv, used updimg to put the gani driver in the image and rebooted, but still I can not get it to load. I expect this is because its not properly installed aka compiled. I also tried running the adddrv script to no avail.

I also can not see how to get a compiler on EON, I see references to what looks to me like a compiler that is meant to be used on another machine to compile on - is that right and is that the only way? I dont have access to any other solaris machines now.

So basically I dont know where to go, if anyone could tell me what I should do I would appreciate it a lot. I guess that I either have to get a compiler on the installation of EON, or if the binaries that come with gani are usable on their own, I must have installed them wrong. If its the compiler route, roughly how to I get a compiler on it? It seems complicated by the fact that EON runs in ram. Or if those binaries are usable, what am I doing wrong?

System is based on a D945GSEJT board. Best result I have been able to get is solaris telling me the driver is loaded but unable to attach.

Thanks, Pete
--
This message posted from opensolaris.org
Andre Lue
2010-11-25 19:20:25 UTC
Permalink
Hi Peter,

I haven't tested it but it should simply require copying the respective bits to

/kernel/drv/rge
/kernel/drv/rge.conf
/kernel/drv/amd/rge

unload the driver then addrv -v and test the new rge driver

after you get it working satisfactorily, you can lock it in using updimg.sh. I wouldn't lock it in until you get it working.

see these posts for some guidance
http://eonstorage.blogspot.com/2009/02/adding-your-own-drivers-to-eon.html
http://eonstorage.blogspot.com/2009/02/another-way-to-add-drivers-to-eon.html

As for getting a compiler working on EON thats a no go. That would be a gargantuan effort
--
This message posted from opensolaris.org
Loading...