From: Bernard Pidoux <pidoux@ccr.jussieu.fr>
To: Ralf Baechle DL5RB <ralf@linux-mips.org>
Cc: "Mike McCarthy, W1NR" <lists@w1nr.net>,
'Douglas Cole' <doug.n7bfs@gmail.com>,
linux-hams@vger.kernel.org
Subject: Re: AX25 patches and how it affects the end user
Date: Tue, 17 Jan 2006 17:59:33 +0100 [thread overview]
Message-ID: <43CD2275.8050602@ccr.jussieu.fr> (raw)
In-Reply-To: <20060113210925.GB3516@linux-mips.org>
Hi,
After applying mkiss patch to kernel 2.6.15.1 I compiled it for a 3 GHz
Xeon P4 configuring it for SMP and multithread plus lock options.
The SMP kernel seems very sensitive to AX25 configuration errors and it
locks up quite soon in that case when loading applications.
However when ax25 is carefully initialized, mkiss, kissattach, ax25ipd
and ROSE/FPAC switch software suite) are running without problem.
But there is still a spinlock lockup when shutting down the system.
Here is a copy of the sequence I made by hand (subject to errors) :
Spinlock lockup on CPU#0, kissattach / 5048, f8d68714
EIP <c01e3ba5>
rose_remove_neigh + 0x30/0xb0 [rose]
rose_rt_device_down + 0xeb / 0x120 [rose]
rose_device_event + 0x42/0x50 [rose]
notifier_call_chain + 0x2/0x50 [rose]
dev_close + 0x7b/0xb0
unregister_netdevice + 0x19e/0x250
unregister_netdev+0x16/0x1d
mkiss_close + 0x4a /0xa0 [mkiss]
release_dev....
tty_release ...
Hope this can help.
Please suggest any more test to be done.
-----------------
Ralf Baechle DL5RB wrote :
> On Wed, Jan 11, 2006 at 05:14:05PM -0500, Mike McCarthy, W1NR wrote:
>
>
>>Hi Douglas,
>> Your best bet is to run the latest "stable" release. Unstable's are for
>>those with time and expertise to "hack".
>> It all depends on when Debian updates it's kernel. The patches have gone
>>into the latest "git" on Kernel.org. When Debian fetches the kernel from
>>there is anyone's guess. In about another week, SuSE will release 10.1
>>Beta1. I don't even know if it will get into that. You can always install
>>Debian and get the kernel source from kernel.org and build it. I would at
>>least wait until 2.6.15.1 (in kernel.org's numbering) instead of trying to
>>patch things.
>> If Debian is running the 2.6.14 kernel, then you are probably OK. The
>>changes that broke it are not in that version. These "patches" that you see
>>are due to recent changes for multiprocessor hardware, but other things got
>>broken at the same time.
>
>
> Not quite. The locking bugs in mkiss were introduced when adding SMACK
> support. When a little later the locking code - really only relevant to
> multiprocessor or preemptable kernels - was changed, the bugs started to
> show up on uniprocessor kernels as well.
>
> Shit happens - but better let's fix it.
>
> Ralf
--
73 de Bernard, f6bvp
http://f6bvp.free.fr
http://f6bvp.org (mirror)
http://rose.fpac.free.fr/
next prev parent reply other threads:[~2006-01-17 16:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-11 17:45 AX25 patches and how it affects the end user Douglas Cole
2006-01-11 22:14 ` Mike McCarthy, W1NR
2006-01-12 0:55 ` Douglas Cole
2006-01-13 21:09 ` Ralf Baechle DL5RB
2006-01-17 16:59 ` Bernard Pidoux [this message]
2006-01-18 1:08 ` Ralf Baechle DL5RB
2006-01-18 8:38 ` ROSE lockup fix Ralf Baechle DL5RB
2006-01-19 16:44 ` Bernard Pidoux
2006-02-09 16:25 ` Bernard Pidoux
2006-01-18 12:26 ` AX25 patches and how it affects the end user Chuck Hast
2006-01-18 21:52 ` Ralf Baechle DL5RB
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=43CD2275.8050602@ccr.jussieu.fr \
--to=pidoux@ccr.jussieu.fr \
--cc=doug.n7bfs@gmail.com \
--cc=linux-hams@vger.kernel.org \
--cc=lists@w1nr.net \
--cc=ralf@linux-mips.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).