Re: [Bug #10670] BUG: linux-2.6.26-rc1 oops atthinkpad_acpi:led_set_status

From: Henrique de Moraes Holschuh
Date: Mon May 12 2008 - 00:18:18 EST


On Sun, 11 May 2008, Rafael J. Wysocki wrote:
> This message has been generated automatically as a part of a report
> of recent regressions.
>
> The following bug entry is on the current list of known regressions
> from 2.6.25. Please verify if it still should be listed.
>
>
> Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=10670
> Subject : BUG: linux-2.6.26-rc1 oops at thinkpad_acpi:led_set_status
> Submitter : Karol Lewandowski <lmctlx@xxxxxxxxx>
> Date : 2008-05-08 23:12 (4 days old)
> References : http://marc.info/?l=linux-kernel&amp;m=121028841527994&amp;w=4
> Handled-By : Henrique de Moraes Holschuh <hmh@xxxxxxxxxx>

It is related to:

1. Debian gcc in stable being used to compile the kernel
2. unmodified led_set_status() function on thinkpad-acpi.c
3. kernel compiled in "optimize for size" mode
4. stack frames NOT being enabled.

Change one, and the bug is gone.

AFAIK, it means Debian stable's gcc is generating bad code.

But I need help from someone with good knowledge of gcc to give us the
final word on it. I might be doing something stupid in thinkpad-acpi.c,
after all.

I will attach the relevant data to the bug report.

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/