Re: 6pack: spattach won't die !

1999-08-10 Thread Andreas Koensgen



On Mon, 9 Aug 1999, Tomi Manninen OH2BNS wrote:

> On Mon, 9 Aug 1999, Andreas Koensgen wrote:
> 
> > I've tested the problem on the weekend and could reconstruct it.
> > I've discovered even another error -- when killing spattach
> > after a TCP connection has been opened the kernel panics with
> > the messages "killing interrupt handler" and "unable to kill the idle
> > task". I think the problem is that the driver code which interfaces the
> > kernel is very old -- it has been taken from the SLIP driver for 2.0.x
> > kernels, later minor changes were done to get it compiled on 2.1.x
> > kernels. But meanwhile so many things in the networking code have been
> > changed that it is probably easier if I take the kernel interface code
> > from the latest 2.2.x mkiss driver and replace/add the 6pack-specific
> > routines. This will also be a good opportunity to fix the old
> > documentation attached with the driver ...
> 
> I think the mkiss driver may suffer from the same problem. I once had
> similar behaviour with kissattach but didn't investigate it further...
> 
You're right, I just got an email from another OM who told me about
the same problem. However, using the mkiss code for the kernel interface
might remove the other problem, i.e. spattach falls into an
uninterruptible sleep when killing it. I've checked it out, kissattach
can be killed cleanly if no IP connection has been established
before.

73 de Andreas

--

Andreas Könsgen * DG3KQ * Aachen, Germany

EMail: [EMAIL PROTECTED]





Re: 6pack: spattach won't die !

1999-08-10 Thread Tomi Manninen OH2BNS

On Mon, 9 Aug 1999, Andreas Koensgen wrote:

> I've tested the problem on the weekend and could reconstruct it.
> I've discovered even another error -- when killing spattach
> after a TCP connection has been opened the kernel panics with
> the messages "killing interrupt handler" and "unable to kill the idle
> task". I think the problem is that the driver code which interfaces the
> kernel is very old -- it has been taken from the SLIP driver for 2.0.x
> kernels, later minor changes were done to get it compiled on 2.1.x
> kernels. But meanwhile so many things in the networking code have been
> changed that it is probably easier if I take the kernel interface code
> from the latest 2.2.x mkiss driver and replace/add the 6pack-specific
> routines. This will also be a good opportunity to fix the old
> documentation attached with the driver ...

I think the mkiss driver may suffer from the same problem. I once had
similar behaviour with kissattach but didn't investigate it further...

-- 
--- Tomi Manninen / [EMAIL PROTECTED] / OH2BNS @ OH2RBI.FIN.EU ---



Re: 6pack: spattach won't die !

1999-08-10 Thread Andreas Koensgen


Hello,

I've tested the problem on the weekend and could reconstruct it.
I've discovered even another error -- when killing spattach
after a TCP connection has been opened the kernel panics with
the messages "killing interrupt handler" and "unable to kill the idle
task". I think the problem is that the driver code which interfaces the
kernel is very old -- it has been taken from the SLIP driver for 2.0.x
kernels, later minor changes were done to get it compiled on 2.1.x
kernels. But meanwhile so many things in the networking code have been
changed that it is probably easier if I take the kernel interface code
from the latest 2.2.x mkiss driver and replace/add the 6pack-specific
routines. This will also be a good opportunity to fix the old
documentation attached with the driver ...

73's de Andreas

---
Andreas Könsgen * DG3KQ * Aachen, Germany

EMail: [EMAIL PROTECTED]




Re: 6pack: spattach won't die !

1999-08-06 Thread Ignacio Arenaza

> "Stefano" == Stefano Corti <[EMAIL PROTECTED]> writes:

>> ifconfig sp0 down > ok, the interface gets [NO FLAG]
>> killall spattach --> trouble.  killall -KILL spattach --->
>> same trouble.
>> 
>> The 'spattach' process stucks in state 'DW' ; reboot needed.
>> 
>> What should I do?

I remember always killing spattach without 'downing' the
interface. Maybe this might help...

73's. EB2EBU

-- 
  PGP Key available at http://personales.jet.es/inaki.arenaza/pgpkey.html
  Linux Registered User #44369



Re: 6pack: spattach won't die !

1999-08-06 Thread Andreas Koensgen



On Thu, 5 Aug 1999, Stefano Corti wrote:

> > I moved from kiss to 6pack in my TNC EPROMS, and started to use the 6pack
> > driver in 2.2 kernels and spattach, the modified version of kissattach as
> > explained in the README.
> >
> > I found that (as I espected) all ax25 connections now are working better, so
> I
> > want to keep these settings.
> >
> > When I try to release the 6pack connection on the serial port something
> > strange happens:
> >
> > ifconfig sp0 down   > ok, the interface gets [NO FLAG]
> > killall spattach   --> trouble.
> > killall -KILL spattach  ---> same trouble.
> >
> > The 'spattach' process stucks in state 'DW' ; reboot needed.
> >
> > What should I do?
> >

The status D in the ps output means the program is in an uninterruptible
sleep, i.e. it has invoked a system call which does not return. The W
flag means there are no pages of the program resident in the memory.
The program itself has been killed and removed by the kill command..
The system call is still alive, but it hangs. There is no way to remove
this entry except for rebooting the system. To find out what spattach
does when hanging, start it with the line:

strace spattach

The strace command prints any system call used by spattach on the screen.

73 de Andreas

--
Andreas Könsgen * DG3KQ * Aachen, Germnay * EMail: [EMAIL PROTECTED] 



6pack: spattach won't die !

1999-08-05 Thread Stefano Corti

Trying to resend an old help request.
Got no answer..

 IZ0BBZ - Stefano Corti
Internet mail: [EMAIL PROTECTED]
AX25 mail: [EMAIL PROTECTED]


-Messaggio Originale-
Da: Stefano Corti <[EMAIL PROTECTED]>
A: <[EMAIL PROTECTED]>
Data invio: mercoledì 23 giugno 1999 09:47
Oggetto: 6pack: spattach won't die !


> Hi everybody,
>
> I moved from kiss to 6pack in my TNC EPROMS, and started to use the 6pack
> driver in 2.2 kernels and spattach, the modified version of kissattach as
> explained in the README.
>
> I found that (as I espected) all ax25 connections now are working better, so
I
> want to keep these settings.
>
> When I try to release the 6pack connection on the serial port something
> strange happens:
>
> ifconfig sp0 down   > ok, the interface gets [NO FLAG]
> killall spattach   --> trouble.
> killall -KILL spattach  ---> same trouble.
>
> The 'spattach' process stucks in state 'DW' ; reboot needed.
>
> What should I do?
>





6pack: spattach won't die !

1999-06-23 Thread Stefano Corti

Hi everybody,

I moved from kiss to 6pack in my TNC EPROMS, and started to use the 6pack
driver in 2.2 kernels and spattach, the modified version of kissattach as
explained in the README.

I found that (as I espected) all ax25 connections now are working better, so I
want to keep these settings.

When I try to release the 6pack connection on the serial port something
strange happens:

ifconfig sp0 down   > ok, the interface gets [NO FLAG]
killall spattach   --> trouble.
killall -KILL spattach  ---> same trouble.

The 'spattach' process stucks in state 'DW' ; reboot needed.

What should I do?

IZ0BBZ - Stefano Corti
Internet mail: [EMAIL PROTECTED]
AX25 mail: [EMAIL PROTECTED]