Solved

Solaris 10 Ethernet card question

Posted on 2008-06-10
5
594 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 Schröder
Hanno Schröder 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 Schröder 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 Schröder
Hanno Schröder 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

708 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now