[vortex-bug] 3c575_cb-help
franzi
net04043@cr-surfing.net
Sun Dec 8 11:00:01 2002
On Sat, Dec 07, 2002 at 11:32:56AM -0500, Donald Becker wrote:
> On Sat, 7 Dec 2002, franzi wrote:
>
> > I've downloded the last version of pcmcia ,but problems accours always.
> > laptop ACER extensa 390 with 64 MB ram .
> ..
> > doing /lib/modules/2.4etc/pcmcia# modprobe 3c575_cb
> > 3c59x.c:v0.99q 5/16/2000
>
> That's a rather old version of the driver. My is that it has been
> updated with parts from newer drivers, but I can't be certain what the
> changes are.
>
> > shutting down PCMCIA services:cardmgr modules Device or resources busy
> > i82365 :devices busy
> > cardmgr[643] watching 2 sockets
> > cardmgr[643] could not adjust resources:IO ports 0x200-0x27f:Devices or
> > resources busy.
>
> Bug in the PCMCIA code...
> I find that with 2.4 in-kernel PCMCIA code I must physically remove all
> cards before restarting PCMCIA or suspending the laptop. (Grrrr, this
> worked perfectly for years. Linux did have the best PCMCIA
> implementation around, and the MS-Windows people were the ones that had
> to remove devices before suspending.)
>
> > eth0:3com 3CCFE575BT Cycl?on cardbus at 0x280, 00:10:4b:f5:b9:b1,irq5
> > product code 'NV' rev 07.1 date 10-28-98
> > 8K byte-wide RAM 5:3 Rx:Tx split, MII interface
> > eth0:transmit timed out,tx_status 00 status e000.
> > diagnostic: net 0cc2 media a800 dma 000000a0
>
> I believe that the transceiver power needs to be enabled. The
> INVERT_LED_PWR and INVERT_MII_PWR per-card flags were added in the very
> next version of the driver, in May 2000.
So I've downloded the 3c59x.c code i put in /usr/src/modules
gcc -DMODULE -D__KERNEL__ -O6 -c 3c59x.c
gcc: O6:No such file or directory
gcc: no input files
3c59x.c:81: warning #warning you must compile the file with the correct
options
3c59x.c:82: warning #warning See the last line of the source file
3c59x.c:83: warning #error you must compile this driver with "-O"
3c59x.c:99: linux/modversion.h: Nosuch file or directory
3c59x.c:126 pci-scan.h: No such file or directory
3c59x.c:127 kern_compat.h: No such file or directory
I've tried to remove the line 99 126 127
but nothing happend
Tried to do as the end file 3c59x.c says
/usr/src/modules#make KERNVER=2.4.18-bf2.4 3c59x.o
same error accoured3c59x.c:81: warning #warning you must compile the
file with the correct
options
3c59x.c:82: warning #warning See the last line of the source file
3c59x.c:83: warning #error you must compile this driver with "-O"
3c59x.c:99: linux/modversion.h: Nosuch file or directory
3c59x.c:126 pci-scan.h: No such file or directory
3c59x.c:127 kern_compat.h: No such file or directory
/usr/src/modules#gcc -DCARDBUS -DMODULE -Wall -Wstrict-prototypes -O6 -c
3c59x.c -o 3c575_cb.o -I/usr/src/kernel-source-2.4.18/include/
3c59x.c:99: linux/modversion.h: Nosuch file or directory
3c59x.c:126 pci-scan.h: No such file or directory
3c59x.c:127 kern_compat.h: No such file or directory
So at that pont i quited
Being quite a newbie doestit bother to you give me the tips or stepby
step way how to work the card
thank very much answering
>
> --
> Donald Becker becker@scyld.com
> Scyld Computing Corporation http://www.scyld.com
> 410 Severn Ave. Suite 210 Scyld Beowulf cluster system
> Annapolis MD 21403 410-990-9993
>
> _______________________________________________
> vortex-bug mailing list
> vortex-bug@scyld.com
> http://www.scyld.com/mailman/listinfo/vortex-bug