On Sat, 15 Sep 2001, Sreeji K Das wrote:
> While loading an ISA NIC driver from DOSEMU, following are the steps that
> you should follow. Hope this would be usefull to anyone who wants to load
> NIC driver from DOSEMU.
>
> * Mark the IRQ as ISA in BIOS. For my BIOS, I select 'PNP/PCI Config.' &
> then select the IRQ & set it as 'Legacy ISA'
> * Ensure that the same driver is loading properly from MSDOS.
> * Ensure that you use the same files in DOSEMU (ie. LSL, NET.CFG, driver
> and any other driver config. files that you used.)
> * Now edit dosemu.conf, and change the $_ports and $_irqpassing options
> appropriately. For eg. if your IO range is 0x300 to 0x31F and IRQ is 5,
> then you should have $_ports = "range 0x300,0x31F" and $_irqpassing =
> "5". I also use $_ipxsupport = (off), $_vnet = (off) & $_novell_hack = (off)
> * Before launching DOS, if you have a linux equivalent driver, you can
> try loading that just ensure that there are no IRQ clashes in Linux.
> * Now unload any drivers that you'd have loaded from Linux & see
> /proc/ioports & /proc/interrupts to ensure that the IO & IRQ are not
> listed there.
> * Now launch DOS, load vlm. While VLM is loaded, it'd indicate the NET.CFG
> being used. Just ensure that the proper NET.CFG is being used.
> * Now load the NIC driver. It should load properly.
> * When you want to exit from DOSEMU, ensure that you unload the
> driver. Otherwise it *may* create problems when you relaunch DOS & load
> the driver.
>
> If you have problems:
> 1) If the driver has any verbose options, use them to get any debug
> information. Normally driver_name /? would give u the list of options
> supported.
> 2) Ensure that you don't have any other TSRs loaded that may clash with
> the driver.
Right. These are all steps required for the "dirty" way: direct hardware
access. The options $_ipxsupport, $_vnet and $_novell_hack all refer to
emulated network access - if you enable these you should NOT try to load a
DOS ethernet driver. DOSEMU already also provides the packet driver so
you don't need to load it and it tries to forward network requests from
DOS applications to Linux.
That's why you have to turn these options off if you play it the dirty
way; otherwise the DOSEMU built-in packet driver conflicts with the native
DOS packet driver.
I'd generally recommend to try to use the virtual DOSEMU network support
first and only if that does not work sufficiently well try to play with
$_ports.
Bart
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html