Next-in-Thread Next Message

None Not sure if it is an interrupt issue; gateway set wrong? 

Forum: PCMCIA Wireless Network Adapter Issues
Re: Question Receive interrupt does not seem to be incrementing properly (Richard Smith)
Re: None Some context would help (David Hinds)
Re: None Re: Some context would help (Richard A. Smith)
Date: 2000, Aug 15
From: David Hinds <dhinds@pcmcia.sourceforge.org>

Does /proc/interrupts show a non-zero interrupt count for the card?
If the count is 0, then try using a different irq (by excluding things
in /etc/pcmcia/config.opts).

> There is a route to a gateway at 10.0.1.1

There's something wrong with your network settings and this is
confusing the script.  Your gateway address seems to be the same as
your own IP address, which doesn't make any sense.

> Pinging 10.0.1.1.... response received!
> The device interrupt does not seem to be incrementing normally.

In this context, I think this doesn't mean anything: it thinks it is
pinging your gateway, but it is pinging the box itself, which doesn't
cause any packets to go out through the card.  So it won't produce any
interrupts.

I'll add a test to the script to complain if the gateway address is
the same as the IP address.

-- Dave

Next-in-Thread Next Message

Messages Inline: 0 All Outline: 1 3 All

None Re: Not sure if it is an interrupt issue; gateway set wrong?

Re: None Not sure if it is an interrupt issue; gateway set wrong? (David Hinds)
Date: 2000, Aug 15
From: Richard A. Smith smithbone

On Tue, 15 Aug 2000 11:53:06 -0700, David Hinds wrote:

>Does /proc/interrupts show a non-zero interrupt count for the card?
>If the count is 0, then try using a different irq (by excluding things
>in /etc/pcmcia/config.opts).

Yeah it shows 107 interrupts.

>> There is a route to a gateway at 10.0.1.1
>
>There's something wrong with your network settings and this is
>confusing the script.  Your gateway address seems to be the same as
>your own IP address, which doesn't make any sense.
>

Oh... DUH!.. ID10T error. Of course...Man I can't believe I missed that.. yesh.. 
rookie mistake.

I didn't scrutinize the settings hard enough.  I guess I should note that I was 
just taking the default settings. Everything but the IP is preset in the 
network.opts so I just made the IP match the already pre-configured settings.  For 
my app (a private wireless net) at first glance they appeared to be perfect.

>In this context, I think this doesn't mean anything: it thinks it is
>pinging your gateway, but it is pinging the box itself, which doesn't
>cause any packets to go out through the card.  So it won't produce any
>interrupts.

Yeah.. thats exactly whats happening...  Crap that means I still dont have a clue 
why the cards don't talk..

>I'll add a test to the script to complain if the gateway address is
>the same as the IP address.

Glad to help *grin*  Whats that quote? Something about... no amount of idiot 
proofing is good enough for a sufficiently powered idiot.






--
Richard A. Smith                         Bitworks, Inc.               
rsmith@bitworks.com               501.846.5777                        
Sr. Design Engineer        http://www.bitworks.com   

None Raylink problem solved..

Re: None Not sure if it is an interrupt issue; gateway set wrong? (David Hinds)
Date: 2000, Aug 15
From: Richard A. Smith smithbone

I'm a talking now...

Turned out to be a good old fashioned hardware failure.  I got 2 new cards in 
about an hour ago and it was truly plug and play.

Further investagation led to finding that one of the orginal pair I have just 
dosn't work.  Looks like it works... the drivers think it works.. But something 
in the chain is broke..

This is kinda scary for me because the card worked when we originally received 
them. I am useing the card in a custom OEM application of mine where I am talking 
to it via a TI 5402 DSP.  Thus I am in the process of writeing a custom driver 
for it.  I am worried that in that process I may have done something that gacked 
the card.  If so then it was a serious gack because I re-programmed the firmware 
on the card to make sure I hadn't done that.

Oh well back to hacking.. Perhaps I can keep from breaking my new cards.

Thanks Dave for your your help.

One quick question.. In the process of all this I installed like 3 different 
pcmcia-cs versions and a couple of ray_cs driver versions all multiple times.  

Whenever I do a make install it seems that all the configuration files have write 
permissions cleared.  Doing an install over an existing install will silently 
fail to update all the settings in /etc/init.d (I use debian) and /etc/pcmcia.  

This can lead to some very confusing problems.  As such I had to do a chmod +w 
every time I changed things and then double check all the settings to make sure I 
didn't miss one.  It was quite annoying.

Are the files marked read only for a reason or is something strange about my 
setup?



--
Richard A. Smith                         Bitworks, Inc.               
rsmith@bitworks.com               501.846.5777                        
Sr. Design Engineer        http://www.bitworks.com   
1. None Configuration files by David Hinds, 2000, Aug 15
Not sure if it is an interrupt issue; gateway set wrong?


Add Message to: "Not sure if it is an interrupt issue; gateway set wrong?"

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