All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.6.14-rc1 PPC ax25 broken
@ 2005-09-18 20:44 Bob Brose
  2005-09-20 19:52 ` Ralf Baechle DL5RB
  0 siblings, 1 reply; 3+ messages in thread
From: Bob Brose @ 2005-09-18 20:44 UTC (permalink / raw)
  To: linux-hams

I've 2 machines, one Pentium the other Mac PPC with as identical as 
possible 2.6.14-rc1 kernels and exactly the same ax25 configuration.
The x86 ax25 works, the ppc doesn't. I'm using a built in mac serial
port, mkiss and kissattach. 

In trying to narrow the area of the problem down I've found that on
the pcc the listen command sees packets coming and going and the
counters on the interface (netstat -in) for both xmit and rcv increment
as expected. The call (for ax25 connects) command works fine on the ppc.

The problem is with arp and ip on incoming packets. The arp doesn't
add the remote ip to the arp table on the ppc. If I set it manually,
then I see both sent and reply pings in the listen command however the
ping still doesn't work, it looks like the packets are getting dropped
somewhere between the ax25 and ip layers.

As far as I can tell ax25 ip has never worked on 2.6 kernels. I went to
2.6.14-rc1 to get Ralf's latest patches in place but it still doesn't
work. It does work fine on PPC in 2.4. I've had a mac running the main
amprnet gateway in Minnesota, US for for a couple of years and it's on 
2.4.31 and working nicely.

I'll keep hacking at trying to find the problem however it would help
if someone in the know felt like pointing me to the module most likely
to be causing the trouble...

Bob Brose N0QBJ.



^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: 2.6.14-rc1 PPC ax25 broken
@ 2005-09-21  4:29 Bob Brose
  0 siblings, 0 replies; 3+ messages in thread
From: Bob Brose @ 2005-09-21  4:29 UTC (permalink / raw)
  To: linux-hams

Ralf Baechle DL5RB said:
> On Sun, Sep 18, 2005 at 08:44:39PM -0000, Bob Brose wrote:
>> As far as I can tell ax25 ip has never worked on 2.6 kernels. I went to

> You're the first to say that.

Sorry, I meant to say ax25 ip has never worked on 2.6 PPC kernels. If I
boot the same PPC machine with a 2.4 kernel with the same kernel Amateur radio
driver setup and the same kissattach everything works fine. It seems to me
that something must have gotten messed up in the transition from 2.4 to 2.6.

>> I'll keep hacking at trying to find the problem however it would help
>> if someone in the know felt like pointing me to the module most likely
>> to be causing the trouble...

> A little odd, in case of PPC I'd at first guess the problem might be
> endianess but there really isn't much of endianess dependant code in the
> whole AX.25.

I think you are right about the problem being endianess related since the
2.6 kernels in intel work and the PPC ones don't. I'm wondering where the
overlap between the PPC working in 2.4 and not in 2.6 and the intel 
working in both points to? It seems that if the AX25 part is working at
least for AX25 connects but not for ip/icmp there should be a fairly 
specific area I should look, probably not mkiss and not kissattach since
it works for 2.4. Seems like it should be in the ax25 code. Maybe it's
a checksum calculation. I just don't know the code that well however
I'll keep on looking...

73, Bob Brose (N0QBJ)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-09-21  4:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-18 20:44 2.6.14-rc1 PPC ax25 broken Bob Brose
2005-09-20 19:52 ` Ralf Baechle DL5RB
  -- strict thread matches above, loose matches on Subject: below --
2005-09-21  4:29 Bob Brose

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.