OS2World OLD-STATIC-BACKUP Forum

OS/2 - Technical => Hardware => Topic started by: halgorithm on 2008.11.21, 20:16:10

Title: Intel 82540EM onboard NIC - slot not specified for driver instance 1 error
Post by: halgorithm on 2008.11.21, 20:16:10
*First, I may not be entirely sure if this belongs in the network portion of the forum, but I believe that it has something to do with the hardware.

I have a Dell GX270 with an onboard NIC that I have been struggling to get working correctly on OS/2 Warp 4.52.  I've ran out of expansion cards that I have been using in the past for network connectivity.  I use the most recent OS2 drivers from hobbes for this chipset.

Now, the kicker (which is driving me bozonkers).  It works, but doesn't work.  Meaning it fails on the DHCP bootup (gives error) but then it magically obtains an IP address assignment somehow.  I can ping it from another machine, but I'm not able to authenicate with the network, and this same network port works just fine with another machine that has a different NIC.   This same machine works with a different NIC in an expansion slot (a 3com card) and it authenticates just fine.

I used MPTS to install the drivers, which I obtained from hobbes.  I did a pcisniff on it to gather the information regarding the chip onboard and no errors installing.  I've also installed fresh and used this NIC along with this set of drivers and a different set from Intel.com.  No change in issue.

Any ideas? I've muddled through the ini files and stil can't sauce this issue out.


::EDIT::

I was wrong with it getting an IP address.  The DCHP tools say it will release but won't get a new valid lease.  I think it retained the IP address from when I had an expansion card plugged into the machine.  Do I need to try different drivers again or something?
Title: Re: Intel 82540EM onboard NIC - slot not specified for driver instance 1 error
Post by: Pete on 2008.11.22, 03:08:16
Hi

Looking at the operating systems listed in the Select your operating system box on this page http://downloadcenter.intel.com/Product_Filter.aspx?ProductID=983&lang=eng I do not see OS/2 listed.

Maybe the GenMAC package supports it, there is an Intel package available http://genmac.netlabs.org/site/index.xml

Regards

Pete


Title: Re: Intel 82540EM onboard NIC - slot not specified for driver instance 1 error
Post by: herwigb on 2008.11.22, 16:03:27
The latest revisison of the Intel 1000 drivers is .... ummmh.... a bit strange.

Here it refuses to work correctly with a Intel Pro/1000 GT, when Gigabit is configured, while it works flawlessly with 100Mbit (and it is definitely no hardware issue)

The eCS 2.0 rcs therefore come with revision 3.62 of the driver and not the latest one (which works at Gigabit speed with my Intel Pro 1000 GT, too.)

So my advice would be: give multiple revisions of the driver a shot...
Title: Re: Intel 82540EM onboard NIC - slot not specified for driver instance 1 error
Post by: halgorithm on 2008.11.24, 18:26:00
Oh this is a great help, thanks for the info!  I didn't have any idea something like genmac existed.  This will more then likely fix my issues!

Thanks again!

::EDIT::

Me again.  Looks like GenMac may not support the card.  Looked it up on Intel's site.

A78408-xxx
C91016-xxx IntelĀ® PRO/1000 MT Desktop PWLA8390MT RJ45, 10/100/1000, PCI, 82540EM
VendorID:8086, DevID:100E

Read through the GenMac docs, and it doesn't have this driver listed nor specified, or supported.

I'd like to see if I can:

A) find a driver, if it works the same, from my eCS livecd.  Not even sure if it is possible or not. 
OR
B) obtain the older drivers (3.63) from someplace.  Hobbes doesn't have them.
OR
C) find some 10mbit half duplex reference driver that works.  I could care less if it's at gigabit speed, or even megabit speed.
Title: Re: Intel 82540EM onboard NIC - slot not specified for driver instance 1 error
Post by: Raiko on 2008.11.24, 21:19:12
Did you try this one?
http://downloadcenter.intel.com/filter_results.aspx?strTypes=all&ProductID=871&OSFullName=OS%2F2*&lang=eng&strOSs=10&submit=Go%21
Title: Re: Intel 82540EM onboard NIC - slot not specified for driver instance 1 error
Post by: RobertM on 2008.11.25, 00:20:58
If you cant find them on Intel's site, check the eComStation Driver Zone. If you dont have access or cant find them, let me know. I have 3 different revisions and currently am running the 3.6x revision. I'll dig up the whole package (or at least required files).

I think that version (or another usable one) also came with WSeB. If you've updated the driver, (assuming for a WSeB machine and not eCS), then simply copy the originals back off the WSeB disk and put them into IBMCOM\MACS directory. If it reports the driver/file is locked, then either (a) change the chosen network adapter to "No network adapter" reboot and then copy the files (and change back to the Intel driver), or (b) boot off the boot CDs and replace.

I believe I also have the older drivers on the Intel CD itself.

Let me know...
Robert
Title: Re: Intel 82540EM onboard NIC - slot not specified for driver instance 1 error
Post by: halgorithm on 2008.11.25, 00:31:28
Quote from: Raiko on 2008.11.24, 21:19:12
Did you try this one?
http://downloadcenter.intel.com/filter_results.aspx?strTypes=all&ProductID=871&OSFullName=OS%2F2*&lang=eng&strOSs=10&submit=Go%21

Yes indeed.  Tried it before posting.  The driver version with these is 4.17, as are the ones off of Hobbes.  Also tried the 100mb ones, and those drivers refuse to actually work properly.  At least with the 4.17s, it installs, but fails to DHCP.

Did a pci probe to check and yes, I do have the right drivers.  Wrong version, maybe.  

A thought... maybe I have them misconfigured.  The reason I believe this is because of the initial error message in the subject and possibly a setting that wasn't configured on my part (not that I'm supposed to configure a setting in protocol.ini, but wouldn't be the first time I had to change a setting).

When I'm in MPTS and confirming the protocol stack that when I look at TCPIP config, it has nothing listed in there as an option set.  

Attached is my LANTRAN and it hasn't helped me.
Title: Re: Intel 82540EM onboard NIC - slot not specified for driver instance 1 error
Post by: RobertM on 2008.11.25, 02:07:09
If both cards are Intel cards, you need to set the slot ID via MPTS. If such is the case, let me know and I will help you do so (if you havent figured out how yourself).

Robert
Title: Re: Intel 82540EM onboard NIC - slot not specified for driver instance 1 error
Post by: Fahrvenugen on 2008.11.25, 05:25:55
You could try the IBM drivers at:

http://www.dreamlandbbs.com/files/gfd/sysnet/IBMGigab.zip

Title: Re: Intel 82540EM onboard NIC - slot not specified for driver instance 1 error
Post by: halgorithm on 2008.11.25, 19:32:58
Quote from: RobertM on 2008.11.25, 02:07:09
If both cards are Intel cards, you need to set the slot ID via MPTS. If such is the case, let me know and I will help you do so (if you havent figured out how yourself).

Robert

I only have one Intel card I'm working with (the onboard) but do you think that it would benefit me if I did configure the setting for what slot it is in?
Title: Re: Intel 82540EM onboard NIC - slot not specified for driver instance 1 error
Post by: halgorithm on 2008.11.25, 20:10:33
Quote from: Fahrvenugen on 2008.11.25, 05:25:55
You could try the IBM drivers at:

http://www.dreamlandbbs.com/files/gfd/sysnet/IBMGigab.zip


OKAY!  Used these drivers in MPTS and it is now working, powered down, unplugged, up, and working.

Thanks for all your help everyone!

*note:  still get that slot not specified for driver instance 1 message, but the DHCP is working now, it does get the address, it's printing and I can get logged into all my applications.
Title: Re: Intel 82540EM onboard NIC - slot not specified for driver instance 1 error
Post by: RobertM on 2008.11.25, 20:45:40
Quote from: halgorithm on 2008.11.25, 20:10:33
*note:  still get that slot not specified for driver instance 1 message, but the DHCP is working now, it does get the address, it's printing and I can get logged into all my applications.

hal,

I touched on this below. All you need to do is know the slot ID of the cards in your system. Watching during boot and it should tell you. If not, use the PCI sniffer tool to read the PCI bus to get the slot IDs.

Then, open MPTS back up, click on "LAN Adapters and Protocols" and select the first card in the bottom listbox. Hit "Edit" and enter the slot ID in the appropriate field. Select the second card and do the same. "OK" out of that window, "Close" the next one and "Exit" the last one. Restart and you should no longer get an error.

"Buried" in the help for that field in MPTS (as defined by the card's NIF file) you will find the instructions on how to do this, which correspond to mine above:



(Slot Identifier)
Use of this parameter is only required in systems with more than one adapter installed.

If you are installing more than one PCI adapter:

1) complete the configuration process, but leave the Slot field blank for each driver;

2) restart the system and record the list of Slots that each driver displays;

3) complete the configuration by assigning one of the values from the list to
the Slot parameter of each driver.

Leave the field blank if you have only one adapter installed.




You may still get an informational message during boot though (paraphrased, as I cannot restart my server at the moment to get the exact wording) "Found x cards... using slot ID ____ for this instance" But that's fine.

If you have one NIC going to one hub/switch/router and the other NIC going to another one, you may have to reverse the slot IDs in MPTS so the correct card is activated for the correct protocol and related settings... but if like most people, you have one router/switch/hub, that part does not apply.

Robert
Title: Re: Intel 82540EM onboard NIC - slot not specified for driver instance 1 error
Post by: ivan on 2008.11.25, 22:14:26
Robert I think you are going off on a blind alley at the moment.

The  onboard nic is the only one he has because the PCI slots are all used for other cards.  The message he is getting is most probably a left over artifact from the time he tried with a physical nic in a PCI slot in which all he needs to do is either use MPTS to remove the card  or edit the protocol.ini in ?:\ibmcom.
Title: Re: Intel 82540EM onboard NIC - slot not specified for driver instance 1 error
Post by: RobertM on 2008.11.25, 23:09:53
Ivan,

You are indeed correct. Read the initial problem and missed a couple posts.

Hal, check out Ivan's suggestion.

Rob
Title: Re: Intel 82540EM onboard NIC - slot not specified for driver instance 1 error
Post by: ivan on 2008.11.26, 01:06:38
Robert, please don't think my post was any criticism of you - it was just my 40+ years as a diagnostic engineer coming to the fore.  In fact I find most of what you post very informative and learn from them even though I've been using OS/2 since version 1.3.01.
Title: Re: Intel 82540EM onboard NIC - slot not specified for driver instance 1 error
Post by: RobertM on 2008.11.26, 03:21:14
Quote from: ivan on 2008.11.26, 01:06:38
Robert, please don't think my post was any criticism of you - it was just my 40+ years as a diagnostic engineer coming to the fore.  In fact I find most of what you post very informative and learn from them even though I've been using OS/2 since version 1.3.01.


Ivan, not at all! I had a long night last night (ugh, too many lately), and just skimmed through the posts - before coffee - while trying to do 3 other things. Never a good combination...

;)  ;D


And... thanks for the compliment as well! I can definitely say I've always been appreciative of yours and others' input and help here - and glad we are a community that can do that!

Thanks,
Robert
Title: Re: Intel 82540EM onboard NIC - slot not specified for driver instance 1 error
Post by: halgorithm on 2008.11.26, 21:09:22
Quote from: ivan on 2008.11.25, 22:14:26
...most probably a left over artifact from the time he tried with a physical nic in a PCI slot in which all he needs to do is either use MPTS to remove the card  or edit the protocol.ini in ?:\ibmcom...

Maybe it's a PEBKAC, but I can't determine where I need to change it in MPTS - I only see a single network card (the on board one) in reference.  My protocol.ini doesn't reference to any other driver besides netbeui, tcpip, and the e1000 (not the 3com card I had in the machine initially)

I've also skimmed through the ibmlan.ini and again, not seeing the variable to change. 

What I'm going to try to do is 'remove' the lan adapter and all protocols, treat the machine like it has no nic.  Then, proceed to try to install it fresh after a powercycle.  Won't use NICPAK this next time around either.

::EDIT / UPDATE::

No go gentlemen, even on a fresh system it does the same thing.  It is either protocol related with tcpip / netbios running or it is the simple fact that the .ini or .nif file requires modification from its original state.

I have the hex address of the card being at 0x0160 and I just can't figure out where to plug this in as an option.
Title: Re: Intel 82540EM onboard NIC - slot not specified for driver instance 1 error
Post by: Saijin_Naib on 2008.11.27, 01:44:54
Doesnt that go in the field for Card Slot in the MTPS settings?
Title: Re: Intel 82540EM onboard NIC - slot not specified for driver instance 1 error
Post by: RobertM on 2008.11.27, 02:30:37
Quote from: Saijin_Naib on 2008.11.27, 01:44:54
Doesnt that go in the field for Card Slot in the MTPS settings?

Not if there is only one card.
Title: Re: Intel 82540EM onboard NIC - slot not specified for driver instance 1 error
Post by: ivan on 2008.11.27, 14:42:22
Halgorithm,  you need to check the nif file the nic is using and see what it says about slots.

The following is from RTL8139.nif that I use on all but one of my computers.


[BUSNO]
  Display    = "Identify card using Bus Number:"
  Type       = Hexadecimal
; Default    = "0"
  Optional   = Yes
  Editable   = Yes
  Range      = 0-31
  Help       = "This parameter selects correct card of multiple network
                adapter cards. It is the PCI BUS number of the adapter card.
                The value of this parameter is 0x00-0x1f.
                Use together with Device Number."

The nif file you are using needs something like the above to work without asking for a slot number.

Most cards are set to optional but I have noticed that some intel cards require a number even if they are the only card.  This may be your problem but as I don't have a copy of the nif file you are using I can't say for certain.

Title: Re: Intel 82540EM onboard NIC - slot not specified for driver instance 1 error
Post by: halgorithm on 2008.11.28, 19:24:50
Quote from: ivan on 2008.11.27, 14:42:22
Halgorithm,  you need to check the nif file the nic is using and see what it says about slots.

The following is from RTL8139.nif that I use on all but one of my computers.


[BUSNO]
  Display    = "Identify card using Bus Number:"
  Type       = Hexadecimal
; Default    = "0"
  Optional   = Yes
  Editable   = Yes
  Range      = 0-31
  Help       = "This parameter selects correct card of multiple network
                adapter cards. It is the PCI BUS number of the adapter card.
                The value of this parameter is 0x00-0x1f.
                Use together with Device Number."

The nif file you are using needs something like the above to work without asking for a slot number.

Most cards are set to optional but I have noticed that some intel cards require a number even if they are the only card.  This may be your problem but as I don't have a copy of the nif file you are using I can't say for certain.



Ah... interesting to note that the Intel NIF doesn't have a "default" option listed under the 'busno' / 'SLOT' area.  In addition, doesn't inform the user on how to configure the slots, etc.  I read through the help file with no avail, it didn't tell me squat.  I would have thought it had a SLOT field to populate or at least have it semi-ed out.  I specified a blank SLOT= field and it didn't change, nor did the messages go away when I had put SLOT = 0x0160 or SLOT = 0160 in the area.

I'll try using the Default field under SLOT, see if I can squelch that annoying message about it not being configured when it gets configured somehow automagically. 

[SLOT]
   display = "Slot/Device Identifier"
   type = Hexadecimal
   range = 0-1FFF
   optional = YES
   editable = YES
   help = "Use of this parameter is only required in systems with more than one
adapter installed. If you are installing more than one PCI adapter: 1) complete
the configuration process, but leave the Slot field blank for each driver;
2) restart the system and record the list of Slots that each driver displays;
3) complete the configuration by assigning one of the values from the list to
the Slot parameter of each driver. Leave the field blank if you have only one
adapter installed."


Here's a PCI info regarding the NIC...

Vendor 8086h Intel Corporation
Device 100Eh 82540EM Gigabit Ethernet Controller
Command 0117h (I/O Access, Memory Access, BusMaster, MemWrite+Invalidate, System Errors)
Status 0230h (Has Capabilities List, Supports 66MHz, Medium Timing)
Revision 02h, Header Type 00h, Bus Latency 40h
Self test 00h (Self test not supported)
Cache line size 64 Bytes (16 DWords)
PCI Class Network, type Ethernet
Subsystem ID 01511028h PRO/1000 MT Network Connection (Guess Only!)
Subsystem Vendor 1028h Dell Computer Corp
Address 0 is a Memory Address (anywhere in 0-4Gb) : FEAE0000h
Address 2 is an I/O Port : 0000DF40h
System IRQ 9, INT# A
New Capabilities List Present:
   Power Management Capability
     Supports power state D1
     Current Power State : D0 (Device operational, no power saving)
   PCI-X Capability
     Primary AD Bus size is 32-bit
     Primary AD Bus Maximum Speed in PCI-X mode is 66MHz
   Message Signalled Interrupt Capability
     MSI is disabled
     MSI function can generate 64-bit addresses
Title: Re: Intel 82540EM onboard NIC - slot not specified for driver instance 1 error
Post by: RobertM on 2008.11.28, 20:22:50
Hi Hal,

If it works and is only giving a "Slot not specified" message, then all may be well. As noted in the NIF file, the Intel Gigabit drivers (from at least v3.6x upwards) are not supposed to have a slot ID configured for single card use.

When no slot is specified, the driver should report that it was not specified and that the driver will be "using card in slot ID ____"

If it is doing that, successfully loading the driver, and successfully working; then the message is simply informational and can be ignored. If it is failing along the way or requiring you to hit a key to continue, then you have a problem.



On another note about these chipsets:
There are other performance related parameters that go with this card as well, but I would try them at your own risk (they control memory buffer use, etc) - as using too high a value will cause your machine to trap (regardless of which driver you use). The defaults seem to work adequately enough.

Robert