Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

nic driver added but not attached.

21 views
Skip to first unread message

nix

unread,
Jan 22, 2012, 1:39:38 PM1/22/12
to
I couldn't install my nic in solaris 10. I compiled and added
the driver but failed to attach the driver and ifconfig output
shows only loopback dev. Please see the following output and tell
me whether my nic has been detected and why the driver failed to
attach?

My nic is detected in linux as (#lspci output)
01:09.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev
10)

but getting the following output from my solaris 10;

/etc/path_to_inst file shows
"/pci@0,0/pci8086,244e@1e/pci1186,1300@9" 0 "rf"

and #prtconf -v shows
pci1186,1300 (driver not attached)
Hardware properties:
name='assigned-addresses' type=int items=10
[OUTPUT SHORTENED]
pci1186,1300 (driver not attached)
value='pci1186,1300.1186.1300.10' + 'pci1186,1300.1186.1300' +
'pci1186,1300' + 'pci1186,1300.10' + 'pci1186,1300' + 'pciclass,
020000' + 'pciclass,0200'
value=00001300
value=00001300

My solaris 10 version is slightly old.
#uname -a
SunOS 5.10 Generic_118844-26 i86pc i386 i86pc
Copyright 1983-2005.

Does the earlier version fit for the driver? Oracle's HCL
page asked us to download the nic driver by it's respective
pci id from http://homepage2.nifty.com/mrym3/taiyodo/eng/

(NOTE about the drivers:-It will likely work with
D-Link DFE-530TX+, DFE-538TX and other
RTL8139 based low cost NIC cards.))

so the pci id 1300 points the link and i downloaded,
compiled both rf-1.1.0.tar.gz and rf-2.6.3.tar.gz
but got the same result in spite of successful compilation
and addition as /kernel/drv/rf but it's supposed to
be rf0. Isn't it?
So the net problem is two. Not sure whether nic's been detected
and driver installed but not attached.
I even once replaced this nic with purly realtek 8139 nic but got the
same result.

What do i do now? replace with latest solaris 10/nic?
Regards..
P.S You may find the same post in other forum of different site so
please don't mind if you find it somewhere else. Jus lookin around.

John D Groenveld

unread,
Jan 23, 2012, 8:08:22 AM1/23/12
to
In article <31371177-8a75-470a...@pt5g2000pbb.googlegroups.com>,
nix <unixd...@gmail.com> wrote:
>so the pci id 1300 points the link and i downloaded,
>compiled both rf-1.1.0.tar.gz and rf-2.6.3.tar.gz
>but got the same result in spite of successful compilation
>and addition as /kernel/drv/rf but it's supposed to
>be rf0. Isn't it?

# grep rf /etc/driver_aliases
# ifconfig -a plumb

John
groe...@acm.org
Message has been deleted

vectrum

unread,
Jan 30, 2012, 12:53:03 PM1/30/12
to
On Jan 30, 10:50 pm, vectrum <unixdom...@gmail.com> wrote:
> John D Groenveld wrote:
> > In article <31371177-8a75-470a-b5b6-246773007...@pt5g2000pbb.googlegroups.com>,
> > nix  <unixdom...@gmail.com> wrote:
> > >so the pci id 1300 points the link and i downloaded,
> > >compiled both rf-1.1.0.tar.gz and rf-2.6.3.tar.gz
> > >but got the same result in spite of successful compilation
> > >and addition as /kernel/drv/rf but it's supposed to
> > >be rf0. Isn't it?
>
> > # grep rf /etc/driver_aliases
> > # ifconfig -a plumb
>
> > John
> > groenv...@acm.org
==========================
Here is the content of adddrv.sh
---------------------------------
#! /bin/csh -f
#
# rf: rtl8129/8139 driver
set DEVLIST = ( )

#
# Tested PCI cards
#
# NDC100TX-E, pci10ec,8129 (RTL8129)
set DEVLIST = ( $DEVLIST '"pci10ec,8129"' )

# Corega Inc, pci10ec,8139 (RTL8139C)
set DEVLIST = ( $DEVLIST '"pci10ec,8139"' )

#
# Untested PCI cards
#
# RTL8138B
set DEVLIST = ( $DEVLIST '"pci10ec,8138"' )

# DLink 530TX+
# DLink 538TX
set DEVLIST = ( $DEVLIST '"pci1186,1300"' )

# SMC1211TX
# Accton MPX5030
set DEVLIST = ( $DEVLIST '"pci1113,1211"' )

# LevelOne FPC-0106TX
set DEVLIST = ( $DEVLIST '"pci18a,106"' )

# Compaq HNE-300
set DEVLIST = ( $DEVLIST '"pci21b,8139"' )

# Corega Inc,
set DEVLIST = ( $DEVLIST '"pci1259,a11e"' )

#echo $DEVLIST

set DEVLIST2 = ( )
foreach i ($DEVLIST)
set pcidev = `grep $i /etc/driver_aliases`
if ("$pcidev" == "") then
set DEVLIST2 = ( $DEVLIST2 "$i" )
endif
end

#echo $DEVLIST2
if ("$DEVLIST2" == "") then
echo nothing to do.
exit 1
endif

set existing = `grep "rf " /etc/driver_aliases`
echo $existing
if ("$existing" == "") then
/usr/sbin/add_drv -n -v -m '* 0600 root sys' -i "$DEVLIST2" rf
else
/usr/sbin/update_drv -a -v -m '* 0600 root sys' -i "$DEVLIST2" rf
endif
sync
Message has been deleted
0 new messages