[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [microblaze-uclinux] BUG: scheduling while atomic: (Kernel 2.6)
hmmm...no change after recompiling the user app under the 2.6 environment. rc3 seems to be unstable for the things we do... will keep the 2.4 kernel so far at the moment.
CU, F@lk
> -----Original Message-----
> From: owner-microblaze-uclinux@xxxxxxxxxxxxxx
> [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx]On Behalf Of
> Brettschneider Falk
> Sent: Friday, August 03, 2007 8:19 AM
> To: microblaze-uclinux@xxxxxxxxxxxxxx
> Subject: Re: [microblaze-uclinux] BUG: scheduling while
> atomic: (Kernel
> 2.6)
>
>
> Hi,
>
> is it necessary/advisable to recompile a kernel-2.4 user app
> with the Linux headers and libs (pthread, uClib) of the kernel-2.6?
>
> The background is, I managed it to replace the 2.4 kernel
> with a 2.6 one, tentatively. Now romfs/etc/rc starts the user
> app from /mnt which is a mounted JFFS2 filesystem. Note: that
> userapp.bin hasn't been touched since the 2.4 times.
> That userapp.bin starts and runs, but not very stable
> although I use petalinux-v0.20-rc3 with the latest 2 patches
> for the scheduling-while-atomic bug. And it doesn't matter if
> preempt is on or off. After a while (randomly a few seconds
> till a few minutes) under heavy IRQ load the whole thing goes
> bad with randomly different effects. Sometimes the whole
> Linux stops, or just one thread of the user app is deadlocked.
>
> I just wonder if the reason is that I haven't recompiled and
> relinked the user app against the 2.6 headers and libs, or if
> there are still general problems with the quite young 2.6.
>
> Furthermore my new 2.6 kernel has also TCP enabled. If a PC
> tries to connect to my userapp.bin, Linux or the user app
> hangs. Though with exactly the same user app, I don't see
> such bug with my old 2.4 kernel with TCP on.
>
> Any idea is appreciated. :-)
>
> Cheers, F@lk
>
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page :
http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/