Solved

Solaris 10 Ethernet card question

Posted on 2008-06-10
5
595 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
create user in TSM 7 586
Error while installing rpm 1 77
IBM flash storage 840 15 58
Martian Packets Unix 5 30
Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…
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.:

919 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

16 Experts available now in Live!

Get 1:1 Help Now