Skip to contentSkip to conversation

Kernel panic on use of ping - over a kiss AX.25 interface

DISCUSSION Sriram Chadalavada 3 participants 6 messages Jan 30, 2005 – Jan 31, 2005

lore
Share & tools
lore
#0 lore raw

Hi everyone,

I am running a modified version of kissattach on a
MMU-less uCdimm (Motorola MC68VZ328) to create an AX.25 kiss network interface.

# kissattach -m 512 /dev/ttyS1 radio 192.168.0.9
# ttyS1 console mode off

Contents of axports file:

# name callsign speed paclen window description
#
radio   KC0POH-1        9600    255     2       Radio 
                                    437.385 MHz
1200bps

The ifconfig of the interface is as follows:

ax0 Link encap:AMPR AX.25 HWaddr KC0POH-1

          inet addr:192.168.0.9  Bcast:192.168.0.255 

Mask:255.255.255.0
UP BROADCAST RUNNING MTU:512 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0
frame:0
TX packets:0 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:10

However, when I try to ping a peer machine over the radio link, I get a kernel panic.

# ping -c 1 192.168.0.8
PING 192.168.0.8 (192.168.0.8): 56 data bytes
Kernel panic: Aiee, killing interrupt handler

In interrupt handler - not syncing

Relevant kernel configuration is:
# Amateur Radio support
#
CONFIG_HAMRADIO=y

#
# Packet Radio protocols
#
CONFIG_AX25=y
# CONFIG_AX25_DAMA_SLAVE is not set
# CONFIG_NETROM is not set
# CONFIG_ROSE is not set

#
# AX.25 network device drivers
#

#
# AX.25 network device drivers
#
CONFIG_MKISS=y

We need to resolve this problem ASAP to complete the radio link for our project. I strongly request experts to help me solve it. Please let me know if you need any other information.

Thanks in advance,
Sriram

__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

#1 lore raw
Quoted 1 line · [email protected] said:

Relevant kernel configuration is:

You left out an important part: which version of the kernel?

Signature · 2 lines
Don Koch
http://www.krl.com/
#2 lore raw

Dan,

The kernel version is 2.4.24.

Cheers,
Sriram

Quoted 14 lines · --- Don Koch
Quoted 1 line · [email protected] said:

Relevant kernel configuration is:

You left out an important part: which version of the kernel?

Signature · 2 lines
Don Koch
http://www.krl.com/

__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250

#3 lore raw
Quoted 1 line · Sriram Chadalavada

The kernel version is 2.4.24.

And seems to be uclinux, unlike what probably most of us are using, so you're probably on your own.

Ralf

#4 lore raw

Ralf,

It is uClinux. While it has its own intricacies, if you are aware of any kernel-related kiss/AX.25 bugs, please do let me know.

Thanks,
Sriram

Quoted 11 lines · --- Ralf Baechle DL5RB <[email protected]> wrote:
Quoted 1 line · Sriram Chadalavada

The kernel version is 2.4.24.

And seems to be uclinux, unlike what probably most of us are using, so
you're probably on your own.

Ralf

__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250

#5 lore raw
Quoted 3 lines · Sriram Chadalavada

It is uClinux. While it has its own intricacies, if you are aware of any kernel-related kiss/AX.25 bugs, please do let me know.

Nothing that would trigger in your case.

To my knowlege you're the first to trying to use amateur radio code on uclinux, so beware, you may just have entered a pleasant minefield ...

Ralf