[ Next-in-Thread ]  [ Next Message ] 

Sad: tried code but no go, MAC address within problem range 

Forum: PCMCIA Network Adapter Issues
Re: Question: trouble with netgear FA410TXC (Matthew Austin)
Re: Feedback: Hardware Version (Jochen Friedrich)
Date: 2000, Mar 27
From: Matthew Austin yogi

Hi Jochen,

thanks for the code, but I am still stuck.  I tried your code (with some help compiling provided by my UNIX SA ;-)) and I get core dumps for any of the tried options with both the old enabler code and the new enabler code.  Below is /var/log/messages and my attempt with the new code.  It does look like my MAC address is within the problem range.

Mar 27 12:06:33 yogimind cardmgr[367]: socket 0: NetGear FA410TXC Fast Ethernet
Mar 27 12:06:33 yogimind cardmgr[367]: executing: 'insmod /lib/modules/2.2.12-20/net/8390.o'
Mar 27 12:06:33 yogimind cardmgr[367]: executing: 'insmod /lib/modules/2.2.12-20/pcmcia/pcnet_cs.o'
Mar 27 12:06:33 yogimind kernel: eth0: NE2000 Compatible: io 0x800, irq 5, hw_addr 00:E0:98:77:A9:5D 
Mar 27 12:06:33 yogimind cardmgr[367]: executing: './network start eth0'
Mar 27 12:06:35 yogimind kernel: eth0: found link beat 
Mar 27 12:06:36 yogimind kernel: eth0: lost link beat 

[maustin@yogimind maustin]$ gcc -Wall -O -o fa_select eth.c
eth.c: In function `writea':
eth.c:104: warning: unused variable `j'
eth.c: At top level:
eth.c:150: warning: return type of `main' is not `int'
[maustin@yogimind maustin]$ ./fa_select eth0 0
Segmentation fault (core dumped)
[maustin@yogimind maustin]$ ./fa_select eth0 1
Segmentation fault (core dumped)
[maustin@yogimind maustin]$ ./fa_select eth0 2
Segmentation fault (core dumped)
[maustin@yogimind maustin]$ ./fa_select eth0 3
Segmentation fault (core dumped)
[maustin@yogimind maustin]$

-matthew

[ Next-in-Thread ]  [ Next Message ] 

Messages Inline: [ 0 ]  [ All ]  Outline: [ 1 ]  [ 2 ]  [ All ] 

More: What version

Re: Sad: tried code but no go, MAC address within problem range (Matthew Austin)
Date: 2000, Mar 31
From: Jochen Friedrich jochen1

Hi Matthew,

what version of linux, libc and gcc are you using? Did you run the program as root (it needs root for ioperm() to enable user space I/O access)? Do you have a chance to add "-g" to your compile parameters and run gdb ./fa_select? (Then do a "run eth0 0" and record the result of "bt").

Anyways, I placed a binary (needs glibc 2.1) on http://www.gxsnmp.org/fa_select

-- Jochen

1. Sad: still no go even with your binary . . . here's the details by Matthew Austin, 2000, Mar 31
2. ioperm() vs iopl() issue by David Hinds, 2000, Mar 31
1. Agree: success!!!!!!!! by Matthew Austin, 2000, Apr 01
tried code but no go, MAC address within problem range


[ Add Message ]  to: "tried code but no go, MAC address within problem range"

[ Members ]  [ Subscribe ]  [ Admin Mode ] 
[ Show Frames ]  [ Help for HyperNews at pcmcia-cs.sourceforge.net 1.10 ]