Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Activating a '2nd' Network Adapter: (6 Items)
   
Activating a '2nd' Network Adapter  
I'm seeing some confusing behavior when I try to activate a second
network adapter in my system. The topic has been discussed on the
networking forum. Rather than retype everything that's been covered,
here's the link.

 

http://community.qnx.com/sf/discussion/do/listPosts/projects.networking/
discussion.general.topc4003

 

Initially, the driver wouldn't load. After I loaded it by hand, I can't
get it to not load. As it stands, the driver is starting even though the
line for the device is commented out in the /etc/system/enum/devices/net
file. Where else could this driver be getting loaded? Thanks.

 

Mark

 

RE: Activating a '2nd' Network Adapter  
If you press the space bar at boot time and then press 'F6' (verbose)
several times, you will see where the driver is being started. I guess
that the PCI enumerator is starting the device. Have you commented out
the lines for both adapters in the net file?


-----Original Message-----
From: Mark Dowdy [mailto:community-noreply@qnx.com] 
Sent: Tuesday, September 16, 2008 1:55 PM
To: drivers-networking
Subject: Activating a '2nd' Network Adapter

I'm seeing some confusing behavior when I try to activate a second
network adapter in my system. The topic has been discussed on the
networking forum. Rather than retype everything that's been covered,
here's the link.

 

http://community.qnx.com/sf/discussion/do/listPosts/projects.networking/
discussion.general.topc4003

 

Initially, the driver wouldn't load. After I loaded it by hand, I can't
get it to not load. As it stands, the driver is starting even though the
line for the device is commented out in the /etc/system/enum/devices/net
file. Where else could this driver be getting loaded? Thanks.

 

Mark

 



_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post13497
Re: RE: Activating a '2nd' Network Adapter  
> If you press the space bar at boot time and then press 'F6' (verbose)
> several times, you will see where the driver is being started. I guess
> that the PCI enumerator is starting the device. Have you commented out
> the lines for both adapters in the net file?

Wow, that was more debug output than I could process as it ripped by. I checked sloginfo but it doesn't look like all 
the information made it in there. Did it go into another file?

As for commenting out adapters in the net file, no, I only commented out device ID 0x107c, the 2nd adapter. I left the 
line in place for the 82546GB (device ID 0x1079).

RE: RE: Activating a '2nd' Network Adapter  
That is why the second adapter is being started. When the driver starts,
it scans for all known device IDs and starts an instance of the driver
for each device ID that it recognizes. If you comment out both device
IDs in the net file, then no driver should be started.


-----Original Message-----
From: Mark Dowdy [mailto:community-noreply@qnx.com] 
Sent: Wednesday, September 17, 2008 2:49 PM
To: drivers-networking
Subject: Re: RE: Activating a '2nd' Network Adapter

> If you press the space bar at boot time and then press 'F6' (verbose)
> several times, you will see where the driver is being started. I guess
> that the PCI enumerator is starting the device. Have you commented out
> the lines for both adapters in the net file?

Wow, that was more debug output than I could process as it ripped by. I
checked sloginfo but it doesn't look like all the information made it in
there. Did it go into another file?

As for commenting out adapters in the net file, no, I only commented out
device ID 0x107c, the 2nd adapter. I left the line in place for the
82546GB (device ID 0x1079).



_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post13580
Re: Activating a '2nd' Network Adapter  
Interesting. Perhaps my memory is fading but I thought before I manually mounted the second adapter, the device was 
recognized when I ran the pci command but the driver was not loaded. Once I mounted the interface by hand, it started 
getting loaded on every subsequent restart.

Is there any way to tell the driver not to mount the second interface? I guess that's what I thought I was doing when I 
removed the line from the net file. Does the driver have a built-in list of known adapters that it looks for regardless 
of the contents of the net file?
RE: Activating a '2nd' Network Adapter  
You can start the driver with 'vid=0x8086,did=0x...,pci=0' to only start
one instance of the driver.


-----Original Message-----
From: Mark Dowdy [mailto:community-noreply@qnx.com] 
Sent: Wednesday, September 17, 2008 10:14 PM
To: drivers-networking
Subject: Re: Activating a '2nd' Network Adapter

Interesting. Perhaps my memory is fading but I thought before I manually
mounted the second adapter, the device was recognized when I ran the pci
command but the driver was not loaded. Once I mounted the interface by
hand, it started getting loaded on every subsequent restart.

Is there any way to tell the driver not to mount the second interface? I
guess that's what I thought I was doing when I removed the line from the
net file. Does the driver have a built-in list of known adapters that it
looks for regardless of the contents of the net file?


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