?
Solved

Solaris 10 Ethernet card question

Posted on 2008-06-10
5
Medium Priority
?
602 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

777 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