Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QNX installation... NIC not comming up: (6 Items)
   
QNX installation... NIC not comming up  
Hi,

I'm trying to get a PC (running QNX 6.4.0 evaluation copy, neutrino host based) on the network. Here is the card 
information as provided by "pci" command:

Class            = Network (Ethernet)
Vendor ID        = 100bh, National Semiconductor Corporation
Device ID        = 20h, DP83815
PCI Index        = 0h
PCI Mem Address  = ff8ff000h enabled
PCI Int Pin      = INT A
Interrupt Line   = 5
CPU Interrupt    = 5h
 
initially with ifconfig command I am seeing only lo0.I haven't seen en0.

I don't know how to install network driver patch in my stand alone system  in case it  is required. Please let me also 
know the procedure how to install that patch if so..

Thanks in advance,
Satish Pattar
RE: QNX installation... NIC not comming up  
> Vendor ID        = 100bh, National Semiconductor Corporation
> Device ID        = 20h, DP83815

That vid/did should be supported by the (io-net) devn-ns83815.so
driver.  There should be a copy of it in your /lib/dll/ directory.

If there is not, grab an (experimental) copy from here:

  www.pittspecials.com/etc/devn-ns8315.so

and put it in your /lib/dll directory.  I really, really
hate attachments.

Then, ensure that there are no other copies of io-pkt
running:

  # pidin | grep io-pkt

If so, use the "slay" command to get rid of them, ie:

  # slay io-pkt-v4-hc

Now, wipe the sloginfo log:

  # sloginfo -c > /dev/null

And start io-pkt and the driver like this:

  # io-pkt-v4-hc -d ns83815 verbose=100

which will result in io-pkt-v4-hc loading the
"shim" driver (necessary to run io-net drivers)
and the io-net driver, devn-ns83815.so

Now you can run:

  # sloginfo

and see what the driver is saying, and

  # ifconfig -v

to see what the status of en0 is, and

  # nicinfo

to get even more driver information

--
aboyd
RE: QNX installation... NIC not comming up  
Argh.  Typo in URL.  Try:

www.pittspecials.com/etc/devn-ns83815.so

--
aboyd
Re: RE: QNX installation... NIC not comming up  
Hi, Thanks for your help. It worked !!


regards,
Satish Pattar
Re: RE: QNX installation... NIC not comming up  
Hi, When I reboot my QNX system , it does not show up the network device again, Again I have to start the driver. Is 
there any work around for it.


Thanks,

Satish Pattar
RE: RE: QNX installation... NIC not comming up  
You will have to add the following lines to your
/etc/system/enum/devices/net file:

# NatSemi ns83815 Cards (Netgear FA311)
device(pci, ven=$(PCI_VEND_NS), dev=0020) #NatSemi 83815 10/100
	tag(devn)
	append(legacy, ",nonet")
	requires($(IOPKT_CMD),)
	uniq(netnum, devn-en, 0)
	mount(-Tio-pkt "-opci=$(index),vid=0x$(ven),did=0x$(dev)"
/lib/dll/devn-ns83815.so, "/dev/io-net/en$(netnum)")
	use(symbolic=netmgr)

When you reboot your machine, the network driver should be started.


-----Original Message-----
From: satish pattar [mailto:community-noreply@qnx.com] 
Sent: Monday, January 19, 2009 5:32 AM
To: drivers-networking
Subject: Re: RE: QNX installation... NIC not comming up

Hi, When I reboot my QNX system , it does not show up the network device
again, Again I have to start the driver. Is there any work around for
it.


Thanks,

Satish Pattar

_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post20292