Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Solaris 10 Ethernet card question

Posted on 2008-06-10
5
Medium Priority
?
605 Views
Last Modified: 2013-12-27
How come Solaris 10 has a conf file for a bge card in /platform/sun4u/kernel/drv but not eri cards? the eri card was in the system at install and a cat /etc/path_to_inst | grep network shows:

"/pci@1f,0/network@c,1" 0 "eri"

I know I can make changes to the eri card with an rc script and ndd but I thought those days were gone under Solaris 10.  
0
Comment
Question by:jjc_mn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 16

Assisted Solution

by:Hanno P.S.
Hanno P.S. earned 2000 total points
ID: 21757797
Not all cards (network adapters) can be configured using config files.
And some cards can be configured, but there is no sample file in the
system. In this case, you will have to create one from scratch.

To see if the driver in question allows for config files, use
   man <driver>

If you check the eri man page, you will see a reference to a file
   /kernel/drv/eri.conf
near the end of the man page.
0
 
LVL 16

Accepted Solution

by:
Hanno P.S. earned 2000 total points
ID: 21757894
A sample file /kernel/drv/eri.conf for your card would look like
this (in one single line!):
name="eri" parent="/pci@1f,0/network" unit-address="c,1"
adv_100fdx_cap=1 adv_100hdx_cap=0 adv_10fdx_cap=0 adv_10hdx_cap=0 adv_autoneg_cap=0;

If you want to set all eri devices in your system to the same
values, use this single line entry (omit the card description):
adv_100fdx_cap=1 adv_100hdx_cap=0 adv_10fdx_cap=0 adv_10hdx_cap=0 adv_autoneg_cap=0;
0
 

Author Comment

by:jjc_mn
ID: 21760107
So the conf files already in the /platform/sun4u/kernel/drv directory are just examples and not generated by what the Solaris 10 OS detected when I loaded it? I just use them as a template to create my own if my card is not already in there? Correct?
0
 
LVL 16

Assisted Solution

by:Hanno P.S.
Hanno P.S. earned 2000 total points
ID: 21760520
The conf files usually only contain a bunch of comments

Yes: Create a (new) file with whatever contents you need and
reload the driver. Depending on the type of driver you may have
to reboot.
0
 

Author Closing Comment

by:jjc_mn
ID: 31465883
Thanks!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question