All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernard Pidoux F6BVP <pidoux@ccr.jussieu.fr>
To: "Lars E. Pettersson" <sm6rpz@home.se>
Cc: linux-hams@vger.kernel.org
Subject: Re: 2.4.19 panic, netrom
Date: Sun, 04 May 2003 11:16:46 +0200	[thread overview]
Message-ID: <3EB4DA7E.1010707@ccr.jussieu.fr> (raw)
In-Reply-To: <200304291858.54384.sm6rpz@home.se>

Lars E. Pettersson wrote:

>On Tuesday 29 April 2003 08:12, Kjell Jarl wrote:
>...
>  
>
>>- I issue a netrom connect to a distand node.
>>- When connected, I send sveral "b" commands.
>>- When (unsure of the number) one or two "b" has been sent, there comes
>>a netrom disconnect from the remote station.
>>- In my vnc window, the last thing I saw was another b being sent to my
>>neighboring node after the disconnect arrived.
>>    
>>
>
>My kernel panics (it get hung in the interrupt handler) seem to come when I 
>have a netrom connection with outstanding frames (if I remember correctly) 
>and we get a timeout from the ax25 connection. When the ax25 connection, 
>initiated by the netrom connect, times out, we get the hang.
>
>Anyone with kernel knowledge that gets any wiser by this?
>
>73 de Lars, sm6rpz
>  
>
I have already reported to the list my findings about  kernel 2.4.x panics.
For me there is no question about the origin of the problem : it is not 
specifically related with netrom but with ax25.

Here I am using serial mkiss interface and I think that the problem is 
related to the serial management part of the code with intensive use of 
clear interrupt (cli) instructions. In 2.4 kernels the interrupts are 
handled differently than in 2.2 kernels by a new procedure called 
softirq, that apparently is unable to recover from all the interrupts 
generated by ax25 code.

I have traced the oops five times following the recommandations in
Documentation/oops-tracing.txt ( see REPORTING-BUGS and README files  in 
/usr/src/linux/ )

All reports gave the same message :
<0> Kernel panic : Aiee, killing interrupt handler !
interrupt handler not sycing

To make it short (I have 5 complete listing of traces with the last 
subroutines addresses processed by the CPU ) the 29 sequence of routines 
given by trace before kernel panics are not always exactly the same but 
it always start at

sock_def_write_space (sock.c)

and the last 13 are always the same, beginning with do_sysctl_strategy 
in sysctl.c and finishing by ksoftirq in softirq.c.

I guess that the important point is the way the code sequence leading to 
a kernel panic is started and what routines are involved.

In my case, subroutine ax25_rcv, that make a lot of cli() instructions, 
and ax25_kiss_rcv, were often involved in the fatal sequence.

I am aware that a lot of code cleaning is being performed in 2.5.x 
kernels following the decision to remove cli() / sti() mechanism. This 
should prevent system hanging, but until now I was not able to run such 
an experimental kernel (no display at boot !).

I certainly would be interested in testing ax25 after these intensive 
modifications around interrupt mechanism.


73 de Bernard F6BVP




      parent reply	other threads:[~2003-05-04  9:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-29  6:12 2.4.19 panic, netrom Kjell Jarl
2003-04-29 16:58 ` Lars E. Pettersson
2003-05-02 15:29   ` TNC Software emulator - talk with KISS interface Sriram Chadalavada
2003-05-02 16:30     ` Tomi Manninen
2003-05-04  9:16   ` Bernard Pidoux F6BVP [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EB4DA7E.1010707@ccr.jussieu.fr \
    --to=pidoux@ccr.jussieu.fr \
    --cc=linux-hams@vger.kernel.org \
    --cc=sm6rpz@home.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.