Dear Lionel, 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. HTH Sreeji On Fri, 14 Sep 2001, Lionel wrote: > Dear sreeji, > > After many tests with my 3com isa 3c5x9 it doesn't work because it doesn't > find my NIC. If I test the card under DOS with 3c5x9cfg it work fine so > I don't understand anything about this !!! > > Lionel > > > > > BTW, this is my dosemu.conf setup, using which I was able to load ISA > > card: > > $_ipxsupport = (off) > > $_novell_hack = (off) > > $_vnet = (off) > > > > Sreeji > > On 13 Sep 2001, Lionel DARNIS wrote: > > > > > OK Sreeji, > > > > > > But the fact is I use the card without the linux module loaded and I use > > > dosemu with the dos driver and it do the same the dosemu session hang. > > > I tried to found an 3COM ISA Card to test. > > > > > > I take you inform. > > > > > > thanx > > > > > > Lionel > > > > > > > > > > > Hi Lionel > > > > > > > > Yup. The NIC that you are going to use in DOSEMU *must* be exclusively > > > > dedicted for DOSEMU. The driver you are loading is a DOS driver, which > > > > would have been written with DOS in mind, thus having all powers to > > > > directly access the hw. So you cannot have a single card with both Linux & > > > > DOS drivers loaded at the same time :(. You'd most likely freeze your > > > > system (may be when you try to do a ping or so !) > > > > > > > > Sreeji > > > > > > > > On 13 Sep 2001, Lionel DARNIS wrote: > > > > > Dear Sreeji, > > > > > > > > > > If I understood all you explain me I can't use the same NIC for Linux > > > > > and Dosemu ?! > > > > > Because My PCI NIC is ON IRQ 10 and range B400-B47F under Linux and I > > > > > use the same under Dosemu. About you question, the entire system not > > > > > hang it is only the dos session. > > > > > But always this story for the use of NIC with Linux and Dosemu, do you > > > > > think I need two network cards : one for the dsl/local network access > > > > > under linux and on for dosemu/novell access ? > > > > > > > > > > Thanx a lot for your help. > > > > > > > > > > Regards, > > > > > > > > > > Lionel > > > > > > > > > > : > > > > > > Hi Lionel, > > > > > > > > > > > > Does the entire system hang, or only your dos session hangs ? I could > > > > > > never successfully load a PCI ethernet Card driver under dosemu, as the > > > > > > entire system was hanging. As I did not have much time to debug, I've > > > > > > currently opted for an ISA NIC, which works fine. > > > > > > > > > > > > Are you sure that the IO & IRQ are free at the OS level ? ie. you should > > > > > > not have loaded any drivers in Linux (if ur using Linux !) before you > > > > > > tried in dosemu. (cat /proc/interrupts & cat /proc/ioports - Ur IO & IRQ > > > > > > should not appear here.) > > > > > > > > > > > > One option would be is to enable debugging (Start dos as dos -H1 -o > > > > > > debugfile) & then launch dosdebug on another session, type 'log +a' ENTER > > > > > > & then g <ENTER>. In another session watch the debugfile, as it grows & > > > > > > see whether the driver is in a loop ! > > > > > > > > > > > > May be you'll find some clues from the dbg. output ! > > > > > > > > > > > > Sreeji > > > > > > On 13 Sep 2001, Lionel DARNIS wrote: > > > > > > > > > > > > > Dear Sreeji, > > > > > > > > > > > > > > Since I put $_pci = (on) and $_irqpassing the dosemu block when I load > > > > > > > the driver of the Network card. > > > > > > > An Idea ? > > > > > > > About the point 3, the card work fine under msdos > > > > > > > > > > > > > > Lionel > > > > > > > > > > > > > > > Hi > > > > > > > > > > > > > > > > Did you : > > > > > > > > 1) Enable PCI in dosemu.conf ie. $_pci = (on) > > > > > > > > 2) Pass the IO range & IRQ of the card using the $_ports (Eg. $_ports = > > > > > > > > "range 0x1000,0x10FF") & $_irqpassing (Eg. $_irqpassing = "11") > > > > > > > > 3) Try loading the driver in MSDOS & did it load properly ? > > > > > > > > > > > > > > > > Most likely (1) might solve your problem. > > > > > > > > > > > > > > > > Sreeji > > > > > > > > > > > > > > > > On 12 Sep 2001, Lionel DARNIS wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > > > Always with my dosemu 1.0.2 and A D-Link network card. > > > > > > > > > In my dosemu.conf : > > > > > > > > > > > > > > > > > > $_ipxsupport = (on) > > > > > > > > > $_novell_hack = (on) > > > > > > > > > $_vnet = (on) > > > > > > > > > > > > > > > > > > I try to use a netware client ( NETX with lsl ...) and I don't >arrive to > > > > > > > > > load the driver of the network card : DLINK, and I obtain this result > > > > > > > > > whan I try to launch the driver of the card after the lauch of >lsl.exe > > > > > > > > > > > > > > > > > > C:\NWCLIENT>dlkfet > > > > > > > > > D-Link DFE-530TX PCI Fast Ethernet Adapter MLID v2.39 (990119) > > > > > > > > > Copyright D-Link Corporation 1999. All right reserved. > > > > > > > > > > > > > > > > > > Slot 255, IRQ 5, Port 300 > > > > > > > > > Max Frame 1514 bytes, Line Speed 10 Mbps, Half-Duplex > > > > > > > > > Board 1, Frame ETHERNET_802.3, LSB Mode > > > > > > > > > > > > > > > > > > FATAL: VT86C100A Does not support this bus type > > > > > > > > > > > > > > > > > > DLKFET-DOS-6: The adapter did not initialize. DLKFET did not load. > > > > > > > > > > > > > > > > > > Could you help me, PLEASE !!! > > > > > > > > > > > > > > > > > > Regards. > > > > > > > > > > > > > > > > > > Lionel DARNIS > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > - > > > > > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > - > > 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 > > > -- > m -~- m > ( @ @ ) > +- oOOo-(_)-oOOo-------+ > | | > | Lionel DARNIS | > | Directeur | > | APM-Online | > | | > +----------------------+ > - 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
