FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 02-14-2010, 10:36 AM
"Bernhard R. Link"
 
Default Bug#569797: misaligned signal stack on sparc

Package: linux-image-2.6.32-2-sparc64-smp
Version: 2.6.32-8
Severity: serious

On my sid sparc box I can reproducibly cause a shell getting
in a state where the kernel soft-locks and one cpu is only
occupied py this process. kill -KILL does not work, sync does
not work, restarting the computer needs reboot -n -f and so on.

I think this is due to some misalignment of signal stacks, as
described in
http://marc.info/?l=linux-sparc&m=126576299426902&w=2
(at least the hanging cpu hangs in the area this patch touches and
the process seems to be hanging in some fault handler occouring in
a fault handler occouring in some signal stuff as far as I can tell,
my sparc assembler skills are quite limited).

Note that the patch given in the mail has still a typo described in
http://marc.info/?l=linux-sparc&m=126592005119857&w=2
See also
http://marc.info/?l=linux-sparc&m=126592110921290&w=2
(Though I do not know if this fix for the patch is needed for 32 bit
sparc kernels Debian afaik no longer has or for 32 bit user space,
but I guess adding both is safest in any case).

Hochachtungsvoll,
Bernhard R. Link

This bug also effects (at least) 2.6.32-3 and 2.6.32-5, but I have no
idea how to tell this the bts as the binary package name changed.



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100214113651.GA13014@pcpool00.mathematik.uni-freiburg.de">http://lists.debian.org/20100214113651.GA13014@pcpool00.mathematik.uni-freiburg.de
 
Old 02-14-2010, 03:13 PM
Ben Hutchings
 
Default Bug#569797: misaligned signal stack on sparc

On Sun, 2010-02-14 at 12:36 +0100, Bernhard R. Link wrote:
> Package: linux-image-2.6.32-2-sparc64-smp
> Version: 2.6.32-8
> Severity: serious
>
> On my sid sparc box I can reproducibly cause a shell getting
> in a state where the kernel soft-locks and one cpu is only
> occupied py this process. kill -KILL does not work, sync does
> not work, restarting the computer needs reboot -n -f and so on.
>
> I think this is due to some misalignment of signal stacks, as
> described in
> http://marc.info/?l=linux-sparc&m=126576299426902&w=2
> (at least the hanging cpu hangs in the area this patch touches and
> the process seems to be hanging in some fault handler occouring in
> a fault handler occouring in some signal stuff as far as I can tell,
> my sparc assembler skills are quite limited).
>
> Note that the patch given in the mail has still a typo described in
> http://marc.info/?l=linux-sparc&m=126592005119857&w=2
> See also
> http://marc.info/?l=linux-sparc&m=126592110921290&w=2
> (Though I do not know if this fix for the patch is needed for 32 bit
> sparc kernels Debian afaik no longer has or for 32 bit user space,
> but I guess adding both is safest in any case).

I've forwarded these changes to stable@kernel.org for review. Thank you
for finding them.

> Hochachtungsvoll,
> Bernhard R. Link
>
> This bug also effects (at least) 2.6.32-3 and 2.6.32-5, but I have no
> idea how to tell this the bts as the binary package name changed.

You should report bugs against the source package linux-2.6, and the bug
script ensures that this happens. Please use reportbug in future.

Ben.

--
Ben Hutchings
It is easier to change the specification to fit the program than vice versa.
 

Thread Tools




All times are GMT. The time now is 06:56 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org