[tulip] linksys pci 10/100 card

Mark Salisbury mbs@mc.com
Tue, 5 Dec 2000 10:23:52 -0500


On Tue, 05 Dec 2000, Hank Barta wrote:
> To solve this someone would need to know:
> 
> 1. What error messages. They might not be as useless as you think.

tulip.o: init_module: Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters

(i am unsure about the first line as I am not at that computer now, but the
second line is correct)

> 
> 2. What Linux distro and version you are running.

RH 7.0 / kernel 2.2.16-22
> 
> 3. What compiler messages you got when you tried to compile.

the commands which failed were:
 
kgcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -c tulip.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`

I inserted -I/usr/src/linux/include and it compiled (just now, here at work)

I will have to re-do this at home and include module versioning to get it to
work (hopefully) with stock RH although I am very tempted to just build a new
kernel w/out module versions





> 
> On Mandrake 7.0 (Redhat derived) I could compile only by having Kernel
> sources installed and adding (IIRC) -I/usr/src/include to the command
> at the end of the source files. Apparently the 'kernel' headers in
> /usr/include do not necessarily match those in the kernel directory. I
> recall hearing Very Good Reasons for this, but don't recall the details.
> 
> 
> 
> On Tue, 5 Dec 2000, Mark Salisbury wrote:
> 
> > Date: Tue, 05 Dec 2000 09:08:04 -0500
> > From: Mark Salisbury <mbs@mc.com>
> > To: tulip@scyld.com
> > Subject: [tulip] linksys pci 10/100 card
> > 
> > i appear to have rev 2.0 of this card ( bought two days ago ) which I
> > guess means a PNIC clone or relable job.
> > 
> > the driver disk does not include a linux driver, but says to get the
> > latest tulip driver and compile that.
> > 
> > the date on the floppy disk is well prior to RH7.0 which is what I am
> > running (stock, in early setup stages)
> > 
> > so I check the source of the tulip.c in my src tree and it is several
> > rev's later than what they say I need.
> > 
> > I try to do an insmod w/ the stock driver and it fails with typically
> > useless info (and depmod -a; modprobe too and modules.conf even)
> > 
> > so I grab the latest tulip.c and try to compile it and it won't compile.
> > (i think it is an include file thing)
> > 
> > tips, hints and insults are all welcome,
> > 
> > 	Thanks
> > 
> > 		Mark
> > 
> > 
> > -- 
> > /*------------------------------------------------**
> > **   Mark Salisbury | Mercury Computer Systems    **
> > **   mbs@mc.com     | System OS - Kernel Team     **
> > **------------------------------------------------**
> > **  "WYGIWYD - What You Get Is What You Deserve"  **
> > **------------------------------------------------*/
> > 
> > _______________________________________________
> > tulip mailing list
> > tulip@scyld.com
> > http://www.scyld.com/mailman/listinfo/tulip
> > 
> 
> Hank Barta                            White Oak Software Inc.
> hbarta@enteract.com                   Predictable Systems by Design.(tm)
> 		Beautiful Sunny Winfield, Illinois
-- 
/*------------------------------------------------**
**   Mark Salisbury | Mercury Computer Systems    **
**   mbs@mc.com     | System OS - Kernel Team     **
**------------------------------------------------**
**  "WYGIWYD - What You Get Is What You Deserve"  **
**------------------------------------------------*/