Solved

Solaris 10 Ethernet card question

Posted on 2008-06-10
5
598 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
  • 3
  • 2
5 Comments
 
LVL 16

Assisted Solution

by:Hanno P.S.
Hanno P.S. earned 500 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 500 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 500 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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying 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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
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…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

821 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