LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 12-22-2007, 05:52 PM   #1
Fredsnet
LQ Newbie
 
Registered: Dec 2007
Distribution: Solaris 10 8/07
Posts: 27

Rep: Reputation: 15
best nic for Solaris 10 /AMD64


Ok, I am burnt out. Built a new pc to run Solaris 10 on. Did a great deal of research before purchasing the components. Twice now I have made bad decisions. My onboard lan and drivers with updates will not work. I purchased the D-Link DGE 560T pcie x1 adapter and after trying both Marvell and SysKonnect drivers. the driver will not attach. Contacted D-link and it appears that there card is just different enough that they only support Linux and offer no support for Solaris, they even have a paragraph on their web site that states " D-Link NICs do not support Sun Solaris, with the exception of the DFE-500TX and DE-220. "

I'd like to mention that this card is Sun Solaris verified. Go figure!

So as I package up my D-Link 560T for a refund I'm wondering does anybody no of a good pci or pcie ethernet adapter for a 64bit AMD running Solaris 10 ?
Maybe one that the drivers are already loaded or one that at least have drivers that work?

I'm considering the Intel EXPI9300PT 10/ 100/ 1000Mbps PCI-Express Gigabit. IT is Solaris 10 ready.

Thanks,

Fred

Last edited by Fredsnet; 12-22-2007 at 06:33 PM.
 
Old 12-22-2007, 06:39 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I would try realtek rt8139 cards. I have some of these on my computers and they are automatically detected and work fine in opensolaris.
 
Old 12-22-2007, 10:44 PM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Even while the vendor is free to change its hardware without changing the model name, I wouldn't give up that fast with a NIC marked as verified.

Can you post "/usr/X11/bin/scanpci -v" output or run Sun Device Detection Tool, http://www.sun.com/bigadmin/hcl/hcts/device_detect.jsp ?
 
Old 12-22-2007, 11:57 PM   #4
Fredsnet
LQ Newbie
 
Registered: Dec 2007
Distribution: Solaris 10 8/07
Posts: 27

Original Poster
Rep: Reputation: 15
response 12/23

Having spent the better part of a day struggling with it. I have boxed it up for return. I might retry it if you thought there was a possibility of getting to work.

Googling the problem resulted in many others with the same problem.

This is what transpired that I recall from today:

scanpci -v

vendor : 0x1186
device: 0x4b00

Device Unknown

-----------------
I removed the pkg 98sol
I tried installing both of the available drivers
Marvell YUKONxsolx and SysKonnect SKGEsolx. they both error in the exact same place. Marvell even had a newer driver but that ended with the same results.

The error is:

Warning: Driver (skge) successfully added to system but failed to attach
SKGEsolx driver load failed: IP interfaces will not be configured!
pkgadd: ERROR: postinstall script did not complete successfully

Installation of <SKGEsolx> partially failed.


The post install script above this error shows about 30 lines of
"Bad line in file etc/driver_aliase"

I know this isn't as much as you asked for but after 15 hours at it, well you know. What do you think ?

Thanks,

Fred
 
Old 12-23-2007, 05:23 AM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Are you sure about the device id ? Should be either 4b01 or 4c00 according to the pci database.

Did you add the correct id to /etc/driver_aliases for either driver and reboot ?
 
Old 12-23-2007, 08:31 AM   #6
coolster
Member
 
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Rep: Reputation: 15
Quote:
Originally Posted by Fredsnet View Post

The error is:

[B]Warning: Driver (skge) successfully added to system but failed to attach

Fred
This seems to me that the skge driver is allright.
Check with 'modinfo' to see if it's loaded.
Then you 're half way home.

The next step is, to add the proper vendor/device_id info (look at what jlliagre says!) to /etc/driver_aliases and rebuild the devicetree with devfsadm, so that the driver 'attaches' at next reboot.

Regs, C

Last edited by coolster; 12-23-2007 at 08:43 AM. Reason: typoh
 
Old 12-23-2007, 11:15 AM   #7
Fredsnet
LQ Newbie
 
Registered: Dec 2007
Distribution: Solaris 10 8/07
Posts: 27

Original Poster
Rep: Reputation: 15
The Next Step

Many thanks to Jlliagre You have stayed with me through two interfaces and even though the first one was a bust this one finally works. The error that I had and everyone else had that I read about on the internet is just the two lines missing from /etc/driver_aliases in my case they are as follows:

yukonx pci"1186,4b00" and yukonx pci"1186,4b00"

I believe the reason the driver script doesn't write these is, when you use a interface not of the same manufacture that writes the driver, the driver script is written for their own interface cards and not other manufactures using their chips. The same will hold true whether using Marvell or Syskonnect drivers, they both produce their own interface cards and each has their own scripts and both scripts although similar result in the same error to us users who are trying to run there drivers on a different manufactures card, in my case D-Link DGE560T.

Why do you think Sun doesn't mention this problem, they state it is solaris verified but no explanation of procedures ?

Regs, C or Jlliagre;

I lose the driver and have to replumb after every reboot. Could you give me instructions on how to rebuild the devicetree with devfsadm, so that the driver 'attaches' at next reboot.

Thanks to All, what a Christmas !!!

Fred
 
Old 12-23-2007, 11:26 AM   #8
coolster
Member
 
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Rep: Reputation: 15
Quote:
Originally Posted by Fredsnet View Post

I lose the driver and have to replumb after every reboot. Could you give me instructions on how to rebuild the devicetree with devfsadm, so that the driver 'attaches' at next reboot.
After you 've done a succesful 'modload' of the driver "modload -p drv/skge' (or this has happened automagically), run 'devfsadm -i skge'.
But be sure that the vendor/device_id's in your /etc/driver_aliases are right; they play a big role in attaching the driver and configuring the IP stack.

Regs, C

BTW, Fred: it is not even Christmas..... :-)

Last edited by coolster; 12-23-2007 at 11:27 AM. Reason: another typo
 
Old 12-23-2007, 11:58 AM   #9
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by Fredsnet View Post
The error that I had and everyone else had that I read about on the internet is just the two lines missing from /etc/driver_aliases in my case they are as follows:

yukonx pci"1186,4b00" and yukonx pci"1186,4b00"
They both look identical to me and their syntax is incorrect.
That should be:
yukonx "pci1186,4b00"
Quote:
I believe the reason the driver script doesn't write these is, when you use a interface not of the same manufacture that writes the driver, the driver script is written for their own interface cards and not other manufactures using their chips. The same will hold true whether using Marvell or Syskonnect drivers, they both produce their own interface cards and each has their own scripts and both scripts although similar result in the same error to us users who are trying to run there drivers on a different manufactures card, in my case D-Link DGE560T.
Your analysis is correct.
Quote:
Why do you think Sun doesn't mention this problem, they state it is solaris verified but no explanation of procedures ?
Verified just means someone, likely outside Sun, has verified the card was working under Solaris. There is no commitment from either Sun or the card vendor that the card is supported. Adding a PCI card id to a driver is a common way to have it recognized, but as long as the driver developer doesn't do it itself, it is a hack done at one's own risk.
 
Old 12-23-2007, 12:08 PM   #10
Fredsnet
LQ Newbie
 
Registered: Dec 2007
Distribution: Solaris 10 8/07
Posts: 27

Original Poster
Rep: Reputation: 15
devfsadm

I had an error on the two driver_aliases added they are:

yukonx pci"1186,4b00"
yukonx pciex"1186,4b00"


Note: The D-link DGE560T has a pci express 1x interface.

I did devfsadm -i yukonx

Did not work lost yukonx driver not plumb on reboot.

Any other thoughts ?

Thanks, and it feels like Christmas even if it is a little early.

Fred
 
Old 12-23-2007, 12:55 PM   #11
coolster
Member
 
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Rep: Reputation: 15
OK, let's start the procedure all over.
I presume you have this driver: Marvell Yukon Driver (SK-xxx) for Solaris of 'some' version.

First remove everything from your old installation of Marvell YUKONxsolx.
Then dive into the drivers' package, because you are gonig to modify the script ./SKGEsolx/installation/postinstallation. Edit 'add_drv' parameters list and put yours yukonx "pci1186,4b00" on the list.
Then run:
# pkgadd -d . SKGEsolx

Most likely, the installation will exit with the message that the original checksum of postinstallation script is AAAAA and differs from actual the BBBBB, or someting like that.
Edit ./SKGEsolx/pkgmap and put in postinstallation line instead of AAAAA value BBBBB.
Then, do run again:

# pkgadd -d . SKGEsolx

The script should now complete OK with the message that skge0 was plumbed and brought up.

Now type as root:

# sys-unconfig

Reboot, and answer the questions at next boot.

Regards, C

Last edited by coolster; 12-23-2007 at 12:58 PM.
 
Old 12-23-2007, 01:29 PM   #12
Fredsnet
LQ Newbie
 
Registered: Dec 2007
Distribution: Solaris 10 8/07
Posts: 27

Original Poster
Rep: Reputation: 15
End of Thread

The key to finalizing was # sys-unconfig.

That is all I had to do. It found the driver and quickly rebooted.

I guess that has to be done to secure the driver on reboot.

Again thanks to all !!

This is the best Website !!

Will recommend to all, for information and answers.

Long live unix

Happy New Year !

Fred
 
Old 12-23-2007, 04:50 PM   #13
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Glad you finally make it.
The first double quotes are however still misplaced here:
Quote:
Originally Posted by Fredsnet View Post
yukonx pci"1186,4b00"
yukonx pciex"1186,4b00"
 
Old 12-24-2007, 01:35 PM   #14
Fredsnet
LQ Newbie
 
Registered: Dec 2007
Distribution: Solaris 10 8/07
Posts: 27

Original Poster
Rep: Reputation: 15
My mistake,

The Yukonx aliases should be in quotes:

yukonx "pci1186,4b00"
yukonx "pciex1186,4b00"

Thanks,

Fred
 
  


Reply



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
Solaris 10 adding/seeing 2nd Nic jonfa Solaris / OpenSolaris 7 05-03-2007 08:53 AM
Cheap gigabit NIC for Linux/Solaris/BSD jantman Linux - Networking 8 04-05-2007 11:37 AM
debian 3.1 amd64 cant find nic downsys Debian 0 05-08-2006 12:57 PM
Solaris 10/ Intel Pro 1000 NIC problems KMMCL Solaris / OpenSolaris 2 03-24-2006 07:43 PM
NIC disappear after rebooting (Solaris 10 x86) voldi Solaris / OpenSolaris 7 04-08-2005 01:40 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 03:34 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
Open Source Consulting | Domain Registration