* Re: 1.1-rc9 acpi_disabled==0x30 on resume
[not found] ` <200309270135.43786.mhf-jjFNsPSvq+iXDw4h08c5KA@public.gmane.org>
@ 2003-09-26 20:02 ` Nigel Cunningham
[not found] ` <1064606502.5722.2.camel-udXHSmD1qAy4CTf7w+cZoA@public.gmane.org>
0 siblings, 1 reply; 10+ messages in thread
From: Nigel Cunningham @ 2003-09-26 20:02 UTC (permalink / raw)
To: Michael Frank; +Cc: swsusp-devel, ACPI List
Hi.
In arch/i386/kernel, acpi_disabled is declared __init_data. If you
remove that attribute, is the issue fixed?
Regards,
Nigel
On Sat, 2003-09-27 at 05:35, Michael Frank wrote:
> Hi Nigel,
>
> I found that acpi modules can't be inserted on resume
> because acpi ends up disabled with acpi_disabled==0x30 .
>
> Setting acpi_disabled to 0 using kdb fixes it.
>
> Regards
> Michael
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> swsusp-devel mailing list
> swsusp-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/swsusp-devel
--
Nigel Cunningham
495 St Georges Road South, Hastings 4201, New Zealand
You see, at just the right time, when we were still powerless,
Christ died for the ungodly.
-- Romans 5:6, NIV.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [ACPI] Re: 1.1-rc9 acpi_disabled==0x30 on resume
[not found] ` <1064606502.5722.2.camel-udXHSmD1qAy4CTf7w+cZoA@public.gmane.org>
@ 2003-09-27 0:09 ` Karol Kozimor
[not found] ` <20030927000908.GB8008-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
0 siblings, 1 reply; 10+ messages in thread
From: Karol Kozimor @ 2003-09-27 0:09 UTC (permalink / raw)
To: Nigel Cunningham; +Cc: Michael Frank, swsusp-devel, ACPI List
Thus wrote Nigel Cunningham:
> Hi.
>
> In arch/i386/kernel, acpi_disabled is declared __init_data. If you
> remove that attribute, is the issue fixed?
I believe the patch is already merged. I wonder how could this bug be
present for that long without anyone noticing...
Best regards,
--
Karol 'sziwan' Kozimor
sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [ACPI] Re: 1.1-rc9 acpi_disabled==0x30 on resume
[not found] ` <20030927000908.GB8008-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
@ 2003-09-27 0:16 ` Nigel Cunningham
[not found] ` <1064621813.3322.0.camel-udXHSmD1qAy4CTf7w+cZoA@public.gmane.org>
2003-09-27 0:22 ` Nigel Cunningham
2003-09-27 5:19 ` Michael Frank
2 siblings, 1 reply; 10+ messages in thread
From: Nigel Cunningham @ 2003-09-27 0:16 UTC (permalink / raw)
To: Karol Kozimor; +Cc: Michael Frank, swsusp-devel, ACPI List
Ah. Ok. I was looking at 2.4.22, not my bk tree. Michael, what are you
running?
Regards.
Nigel
On Sat, 2003-09-27 at 12:09, Karol Kozimor wrote:
> Thus wrote Nigel Cunningham:
> > Hi.
> >
> > In arch/i386/kernel, acpi_disabled is declared __init_data. If you
> > remove that attribute, is the issue fixed?
>
> I believe the patch is already merged. I wonder how could this bug be
> present for that long without anyone noticing...
> Best regards,
--
Nigel Cunningham
495 St Georges Road South, Hastings 4201, New Zealand
You see, at just the right time, when we were still powerless,
Christ died for the ungodly.
-- Romans 5:6, NIV.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [ACPI] Re: 1.1-rc9 acpi_disabled==0x30 on resume
[not found] ` <20030927000908.GB8008-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2003-09-27 0:16 ` Nigel Cunningham
@ 2003-09-27 0:22 ` Nigel Cunningham
2003-09-27 5:19 ` Michael Frank
2 siblings, 0 replies; 10+ messages in thread
From: Nigel Cunningham @ 2003-09-27 0:22 UTC (permalink / raw)
To: Karol Kozimor; +Cc: Michael Frank, swsusp-devel, ACPI List
Yes, it is in BK.
N.
On Sat, 2003-09-27 at 12:09, Karol Kozimor wrote:
> Thus wrote Nigel Cunningham:
> > Hi.
> >
> > In arch/i386/kernel, acpi_disabled is declared __init_data. If you
> > remove that attribute, is the issue fixed?
>
> I believe the patch is already merged. I wonder how could this bug be
> present for that long without anyone noticing...
> Best regards,
--
Nigel Cunningham
495 St Georges Road South, Hastings 4201, New Zealand
You see, at just the right time, when we were still powerless,
Christ died for the ungodly.
-- Romans 5:6, NIV.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [ACPI] Re: 1.1-rc9 acpi_disabled==0x30 on resume
[not found] ` <20030927000908.GB8008-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2003-09-27 0:16 ` Nigel Cunningham
2003-09-27 0:22 ` Nigel Cunningham
@ 2003-09-27 5:19 ` Michael Frank
2 siblings, 0 replies; 10+ messages in thread
From: Michael Frank @ 2003-09-27 5:19 UTC (permalink / raw)
To: Karol Kozimor, Nigel Cunningham; +Cc: swsusp-devel, ACPI List
On Saturday 27 September 2003 08:09, Karol Kozimor wrote:
> Thus wrote Nigel Cunningham:
> > Hi.
> >
> > In arch/i386/kernel, acpi_disabled is declared __init_data. If you
> > remove that attribute, is the issue fixed?
>
> I believe the patch is already merged. I wonder how could this bug be
> present for that long without anyone noticing...
> Best regards,
>
Well, I "use" swsusp actively in a portable application only since -rc9,
and did not use ACPI modules for stress testing.
I wrote s script which loads ACPI ac module and reads the state. When
online, it starts all the office stuff such as network, nfs...
and found out when ac refused to load. Then I remembered something about
acpi being disabled on resume and had a look with kdb...
Regards
Michael
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [ACPI] Re: 1.1-rc9 acpi_disabled==0x30 on resume
[not found] ` <1064621813.3322.0.camel-udXHSmD1qAy4CTf7w+cZoA@public.gmane.org>
@ 2003-09-27 5:29 ` Michael Frank
[not found] ` <200309271316.45398.mhf-jjFNsPSvq+iXDw4h08c5KA@public.gmane.org>
0 siblings, 1 reply; 10+ messages in thread
From: Michael Frank @ 2003-09-27 5:29 UTC (permalink / raw)
To: Nigel Cunningham, Karol Kozimor; +Cc: swsusp-devel, ACPI List
mhf76 2.4.22
+kdb
+win4lin +win4lin-option
+acpi-option
+/acpi-20030916-2.4.22.diff
+swsusp-1.1-rc9
arch/i386/kernel/acpi.c:
#ifdef CONFIG_ACPI_INTERPRETER
int acpi_disabled __initdata = 0;
#else
int acpi_disabled __initdata = 1;
#endif
This should be irrelevant anyway as that kernel
is overwritten...
I find the value 0x30 strange. Are we hunting phantoms?
Regards
Michael
On Saturday 27 September 2003 08:16, Nigel Cunningham wrote:
> Ah. Ok. I was looking at 2.4.22, not my bk tree. Michael, what are you
> running?
>
> Regards.
>
> Nigel
>
> On Sat, 2003-09-27 at 12:09, Karol Kozimor wrote:
> > Thus wrote Nigel Cunningham:
> > > Hi.
> > >
> > > In arch/i386/kernel, acpi_disabled is declared __init_data. If you
> > > remove that attribute, is the issue fixed?
> >
> > I believe the patch is already merged. I wonder how could this bug be
> > present for that long without anyone noticing...
> > Best regards,
> --
> Nigel Cunningham
> 495 St Georges Road South, Hastings 4201, New Zealand
>
> You see, at just the right time, when we were still powerless,
> Christ died for the ungodly.
> -- Romans 5:6, NIV.
>
>
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [ACPI] Re: 1.1-rc9 acpi_disabled==0x30 on resume
[not found] ` <200309271316.45398.mhf-jjFNsPSvq+iXDw4h08c5KA@public.gmane.org>
@ 2003-09-27 6:37 ` Nigel Cunningham
[not found] ` <1064644626.17857.1.camel-udXHSmD1qAy4CTf7w+cZoA@public.gmane.org>
0 siblings, 1 reply; 10+ messages in thread
From: Nigel Cunningham @ 2003-09-27 6:37 UTC (permalink / raw)
To: Michael Frank; +Cc: Karol Kozimor, swsusp-devel, ACPI List
My guess would be that the memory is being freed and reused, and that's
where the 0x30 comes from. Could you use kdb to check it prior to
suspending?
Regards,
Nigel
On Sat, 2003-09-27 at 17:29, Michael Frank wrote:
> mhf76 2.4.22
> +kdb
> +win4lin +win4lin-option
> +acpi-option
> +/acpi-20030916-2.4.22.diff
> +swsusp-1.1-rc9
>
> arch/i386/kernel/acpi.c:
>
> #ifdef CONFIG_ACPI_INTERPRETER
> int acpi_disabled __initdata = 0;
> #else
> int acpi_disabled __initdata = 1;
> #endif
>
> This should be irrelevant anyway as that kernel
> is overwritten...
>
> I find the value 0x30 strange. Are we hunting phantoms?
>
> Regards
> Michael
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [ACPI] Re: 1.1-rc9 acpi_disabled==0x30 on resume
[not found] ` <1064644626.17857.1.camel-udXHSmD1qAy4CTf7w+cZoA@public.gmane.org>
@ 2003-09-27 13:58 ` Karol Kozimor
[not found] ` <20030927135856.GA16612-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2003-09-30 0:38 ` Michael Frank
1 sibling, 1 reply; 10+ messages in thread
From: Karol Kozimor @ 2003-09-27 13:58 UTC (permalink / raw)
To: Nigel Cunningham; +Cc: Michael Frank, swsusp-devel, ACPI List
Thus wrote Nigel Cunningham:
> My guess would be that the memory is being freed and reused, and that's
> where the 0x30 comes from. Could you use kdb to check it prior to
> suspending?
Your guess is right. Prior to fixing, acpi_disabled value was inconsistent
over suspends. Getting rid of __initdata fixes those problems, and AFAIR
this has already been done in linux-acpi bk tree (see
linux-acpi.bkbits.com).
Best regards,
--
Karol 'sziwan' Kozimor
sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [ACPI] Re: 1.1-rc9 acpi_disabled==0x30 on resume
[not found] ` <20030927135856.GA16612-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
@ 2003-09-27 17:09 ` Sérgio Monteiro Basto
0 siblings, 0 replies; 10+ messages in thread
From: Sérgio Monteiro Basto @ 2003-09-27 17:09 UTC (permalink / raw)
To: Karol Kozimor
Cc: Nigel Cunningham, Michael Frank, swsusp mailing list, ACPI List
On Sat, 2003-09-27 at 14:58, Karol Kozimor wrote:
> AFAIR
> this has already been done in linux-acpi bk tree (see
> linux-acpi.bkbits.com).
and also done in: patch-2.4.23-pre4-pre5.bz2
(http://www.kernel.org/pub/linux/kernel/v2.4/testing/incr/patch-2.4.23-pre4-pre5.bz2 )
> Best regards,
>
> --
> Karol 'sziwan' Kozimor
> sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org
--
SérgioMB
email: sergiomb-hHo3WeeoaswVhHzd4jOs4w@public.gmane.org
Who gives me one shell, give me everything.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [ACPI] Re: 1.1-rc9 acpi_disabled==0x30 on resume
[not found] ` <1064644626.17857.1.camel-udXHSmD1qAy4CTf7w+cZoA@public.gmane.org>
2003-09-27 13:58 ` Karol Kozimor
@ 2003-09-30 0:38 ` Michael Frank
1 sibling, 0 replies; 10+ messages in thread
From: Michael Frank @ 2003-09-30 0:38 UTC (permalink / raw)
To: Nigel Cunningham; +Cc: Karol Kozimor, swsusp-devel, ACPI List
On Saturday 27 September 2003 14:37, Nigel Cunningham wrote:
> My guess would be that the memory is being freed and reused, and that's
> where the 0x30 comes from. Could you use kdb to check it prior to
> suspending?
>
Manual checking would not be practical, so the script unloads/loads/unloads ac
prior to suspend and loads it on resume and logs/beeps when failure.
It last happend with -rc9 but not yet with -rc9D.
Last time data from the memory dump were remains of an ascii file:
in len */ /* lowowrd last bytes sought */ #define .....
Guess data not initialized on resume, but can't be major or other problems
would pop up.
Regards
Michael
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2003-09-30 0:38 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200309270135.43786.mhf@linuxmail.org>
[not found] ` <200309270135.43786.mhf-jjFNsPSvq+iXDw4h08c5KA@public.gmane.org>
2003-09-26 20:02 ` 1.1-rc9 acpi_disabled==0x30 on resume Nigel Cunningham
[not found] ` <1064606502.5722.2.camel-udXHSmD1qAy4CTf7w+cZoA@public.gmane.org>
2003-09-27 0:09 ` [ACPI] " Karol Kozimor
[not found] ` <20030927000908.GB8008-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2003-09-27 0:16 ` Nigel Cunningham
[not found] ` <1064621813.3322.0.camel-udXHSmD1qAy4CTf7w+cZoA@public.gmane.org>
2003-09-27 5:29 ` Michael Frank
[not found] ` <200309271316.45398.mhf-jjFNsPSvq+iXDw4h08c5KA@public.gmane.org>
2003-09-27 6:37 ` Nigel Cunningham
[not found] ` <1064644626.17857.1.camel-udXHSmD1qAy4CTf7w+cZoA@public.gmane.org>
2003-09-27 13:58 ` Karol Kozimor
[not found] ` <20030927135856.GA16612-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2003-09-27 17:09 ` Sérgio Monteiro Basto
2003-09-30 0:38 ` Michael Frank
2003-09-27 0:22 ` Nigel Cunningham
2003-09-27 5:19 ` Michael Frank
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox