LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 11-04-2006, 03:56 PM   #16
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492

I don't think there is a driver available for you Davicom card, but one seems to exist for your Rhine card.
Look at http://homepage2.nifty.com/mrym3/taiyodo/eng/ (vfe-2.3.1.tar.gz)
 
Old 11-05-2006, 09:28 PM   #17
hermouche
Member
 
Registered: Nov 2004
Location: Algeria
Posts: 111

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jlliagre
I don't think there is a driver available for you Davicom card, but one seems to exist for your Rhine card.
Look at http://homepage2.nifty.com/mrym3/taiyodo/eng/ (vfe-2.3.1.tar.gz)

Yes jlliagre, I've downloaded the file and I tried to follow the README txt but i am in trouble.
how to install it?
This is the README txt from the downloaded driver

***************************************************************************
CAUTION: There is NO WARRANTY for this software.
As this software is loaded into the kernel, it might cause the kernel to
panic or hang.

Masayuki Murayama
KHF04453@nifty.ne.jp
***************************************************************************


1. Introduction

This is the VIA Rhine family NIC driver for Solaris. Rh will work with
VT86C100 (Rhine I), DL10030 (Rhine I), VT6102 (Rhine II), VT6105 (Rhine
III), built-in Rhine II ethernet mac in VT8235 and VT8237 south bridges.
It is distributed under the BSD license.

2. Specification of the driver

File name of the driver:
/kernel/drv/vfe
/kernel/drv/sparcv9/vfe (for sparc 64bit kernel)

Special file name:
/dev/vfeN (where N is a unit number, typcally 0 for first card)
For example
% ifconfig vfe0

Tested chips and cards
VT6102(Rhine II rev 43) -- Planex communications Inc.(Japan) FNW-9702-T3
VT6102(Rhine II rev 47)
DL10030(Rhine I rev 6) -- Corega Inc.(Japan) FEtherII PCI TX
VT6105(Rhine III rev 85) -- Corega Inc.(Japan) FEther PCI-TXA

This driver is ready for VT6105M (Rhine-III management adaptor) but not
tested.

3. Prepare for installation

(1) Install your PCI card and boot Solaris.

(2) Copy source and binary files.
# gunzip -cd vfe-x.x.x.tar.gz | tar xf -

(3) Add hostname for the NIC card into the /etc/hosts file

(4) If you have installed rh driver, remove it and reboot the system.
# rem_drv rh
# sync
# init 0

(5) Make links to correct binary directory and Makefile according to your
configuration. i386 and gcc are default.

% cd /.../vfe-x.x.x
% rm obj Makefile
% ln -s Makefile.${KARCH}_${COMPILER} Makefile
% ln -s ${KARCH} obj

where ${KARCH} is the result of `isainfo -n`, and ${COMPILER} is
"gcc" or "suncc" which you want to use to make the driver.

(6) Making binaries (only for sparc platform)
Rh driver is ready for 64bit and 32bit solaris8 10/00 sparc or
later. (But currently it is unstable on sparc platforms.)
This distribution does not include sparc binaries. To make the binaries,
you need Sun C compiler or gcc version 3, and do the following operations.

% /usr/ccs/bin/make

(7) Making binaries only for OpenSolaris users.
Rh driver likely work with GLD v3 in OpenSolaris, known as Nemo.
You can enjoy the new functions by recompiling vfe source code.

% rm Makefile.config
% ln -s Makefile.config_gld3 Makefile
% /usr/ccs/bin/make


4. Testing

# cd /.../vfe-x.x.x
# /usr/ccs/bin/make install
# ./adddrv.sh
# /usr/ccs/bin/make uninstall (don`t do this for Solaris7)
# modload obj/vfe
# devfsadm -i vfe ( for solaris7, use drvconfig and reboot with -r option )
# ifconfig vfeN plumb ( where N is unit number, typcally 0 for first card)
# ifconfig -a ( you will see an entry for vfe0, ensure ethernet address is correct)
# ifconfig vfeN HOSTNAME
# ifconfig vfeN ( ensure IP address is correct)
# ifconfig vfeN up ( and then you can test with ping, telnet, ftp ...)

5. Installation
After you ensure that the vfe driver is fully functional, install it.

(1) install the vfe driver into kernel directory
# cd /.../vfe-x.x.x
# /usr/ccs/bin/make install

If you did not test vfe driver yet, execute the following commands:
# ./adddrv.sh
# devfsadm -i vfe ( for Solaris7 use drvconfig and reboot with -r option )

(2) Configure the network interface. Create and/or modify the following files:
/etc/hostname.vfeN

If you want to use vfe with dhcp, you also need to create a empty file
below to get an assigned IP address automatically from a dhcp server
at boot time.
/etc/dhcp.vfe0

(3) Reboot the system.
# init 6


6. Troubleshooting

Q. Following message is printed in the /var/adm/messages file
NOTE: vfeN: link up but auto-negotiation failed.

A. This massage appears for Rhine I chips when the link partner does not
have auto negotiation capability.
Please disable auto negotiation capability for your NIC card by specifying
the correct media mode in /kernel/drv/vfe.conf with the following syntax:

vfeN-duplex=["full"|"half"] vfeN-speed=[100|10]; # where N is a unit number

For example
vfe0-duplex="full" vfe0-speed=100; # full-duplex 100Mbps for vfe0
vfe0-duplex="half" vfe0-speed=10; # half-duplex 10Mbps for vfe0

Q. The driver cannot be unloaded because the device is busy, and the following
message appears in /var/adm/messages file:
NOTICE: vfeN: vfe_detach: buffer is busy

A. Wait for a little while until some modules in the kernel release receive
buffers which were allocated by the vfe driver.

Q. The system does not boot after the driver is installed.
A. Uninstall the NIC card and reboot solaris. Then, unregister the driver:
# rem_drv vfe

Or boot solaris with -a option and use /etc/system.novfe instead of
default [etc/system]. This inhibits loading the driver.

/etc/system.novfe is automatically generated when executing 'make install'
or 'make test'

Q. Solaris boots, but the network interface does not work.
A. Is the network interface running?

Execute 'ifconfig -a'. If you see an entry for vfeN, the driver is loaded
and working correctly.
Please check the configuration of the network interface.


Is an ethernet cable connected properly?

Please check if the network interface is receiving packets.
% snoop -P -d vfeN

If Solaris panics while testing, please send me the following information:
(1) /var/adm/messages

(2) Output of prtconf -pv

(3) Output of prtconf -vD

(4) Output of adb
Solaris core dump consists of unix.N and vmcore.N which are created in
/var/crash/YOUR-HOST-NAME/ .

Execute 'adb -k unix.N vmcore.N' and type the following subcommands.
$c (stack trace back will be printed)
$<msgbuf (last messages are printed)
^D (To quit adb, type control-D)
 
Old 11-06-2006, 01:27 AM   #18
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by hermouche
Yes jlliagre, I've downloaded the file and I tried to follow the README txt but i am in trouble.
how to install it?
The installation is explained with many details in the readme you posted.
In what step are you in trouble ?
 
Old 11-06-2006, 09:43 AM   #19
hermouche
Member
 
Registered: Nov 2004
Location: Algeria
Posts: 111

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jlliagre
The installation is explained with many details in the readme you posted.
In what step are you in trouble ?
Ok you are patient, Thanks.

In step 3: is there any manner on how to edit the hosts?
In step 7: rm...... is OK
ls .......is OK
/usr/ccs/bin/make can't do it
/usr/ccs/make install i couldn't do it!!

the install process also?

so i stopped mainly si far in /usr/ccs/bin/make command.
I didn't go through the testing process.
red

Last edited by hermouche; 11-06-2006 at 09:53 AM.
 
Old 11-06-2006, 10:08 AM   #20
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by hermouche
In step 3: is there any manner on how to edit the hosts?
My choice would be:
Code:
vi /etc/hosts
Quote:
In step 7: rm...... is OK
ls .......is OK
/usr/ccs/bin/make can't do it
/usr/ccs/make install i couldn't do it!!
If by "can't/couldn't do it" you mean you got a "command not found" error message, that mean you haven't installed some required packages because you choose an end user vs developer or full install at installation time.
You need to add the developer packages from the cd or dvd-rom: SUNWhea, SUNWsprot and probably a couple more, or just reinstall with choosing the full install option, which may be simpler if you don't mind loosing what you have done up to now.
 
Old 11-06-2006, 10:10 PM   #21
hermouche
Member
 
Registered: Nov 2004
Location: Algeria
Posts: 111

Original Poster
Rep: Reputation: 15
yes, i think i should reinstall it, because i will not be able to recognize and to install what is needed.

Thanks
red
 
Old 12-14-2006, 11:49 PM   #22
Antonin
LQ Newbie
 
Registered: Dec 2006
Posts: 2

Rep: Reputation: 0
Question

Hello all,

I am also trying to install (but 2 years after you !) Solaris 10 on my computer.

I have the same NIC, but when I go into the testing part indicated in the readme file, it gives me an error :

"can't load module: No such file or directory"

When I ceck, there is actually a file named vfe in the obj directory...

I have rebooted twice the PC, but nothing better.

Thanks for your help

I'm a
 
Old 02-08-2007, 04:20 PM   #23
stimpyjcat
LQ Newbie
 
Registered: Feb 2007
Posts: 1

Rep: Reputation: 0
Question same problem

Quote:
Originally Posted by Antonin
Hello all,

I am also trying to install (but 2 years after you !) Solaris 10 on my computer.

I have the same NIC, but when I go into the testing part indicated in the readme file, it gives me an error :

"can't load module: No such file or directory"

When I ceck, there is actually a file named vfe in the obj directory...

I have rebooted twice the PC, but nothing better.

Thanks for your help

I'm a
mmm... i have exactly the same problem with the vfe drivers, dunno if modload has bugs or something
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS 4.0 + Windows XP Dual Boot laserlight Linux - Enterprise 9 02-01-2010 12:51 PM
Solaris 10 can't mount a CentOS share ALUOp Linux - Networking 2 11-08-2008 06:32 AM
installing Centos on a Windows Laptop as the secondary OS NateCC Linux - Newbie 4 10-03-2006 08:23 AM
Windows and FC3 and Solaris---and only Solaris boot error message zillah Linux - Laptop and Netbook 1 07-07-2005 10:17 PM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 02:36 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 03:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration