public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* suspend2 problems on SMP machine, incorrect tainting
@ 2004-05-28 10:35 Pavel Machek
  2004-05-29  7:34 ` Nigel Cunningham
  2004-05-29  7:43 ` [Swsusp-devel] " Nigel Cunningham
  0 siblings, 2 replies; 5+ messages in thread
From: Pavel Machek @ 2004-05-28 10:35 UTC (permalink / raw)
  To: Nigel Cunningham, swsusp-devel, kernel list

Hi!

I tried suspend2 2.0.0.81 on  Toshiba HT machine, and it did not
work :-(. First test was with "noapic nosmp", last messages are

Message from syslogd@elonex...
elonex kernel: - I/O speed: Write 80 MB/s, Read 83 MB/s

Unable to handle kernel NULL pointer deference at virtual address 100
...
EIP: c13f7f81 (<- outside of kernel symbols?! strange) Tainted: G S
...
(no call trace, strange).



Tainted: S is due to suspend2, right? It abuses flag that origally means
"invalid SMP configuration". You might want to fix that.

Tried without noapic nosmp... display got "interesting" at one point,
but hey, it worked! I have "sleeping function called rom invalid
context at arch/i386/mm/highmem.c:5" called from kmap, copy_pageset1.

Tried "noapic" only, worked ok.

-- 
934a471f20d6580d5aad759bf0d97ddc

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: suspend2 problems on SMP machine, incorrect tainting
  2004-05-28 10:35 suspend2 problems on SMP machine, incorrect tainting Pavel Machek
@ 2004-05-29  7:34 ` Nigel Cunningham
  2004-05-29  8:47   ` [Swsusp-devel] " Nigel Cunningham
  2004-05-29  7:43 ` [Swsusp-devel] " Nigel Cunningham
  1 sibling, 1 reply; 5+ messages in thread
From: Nigel Cunningham @ 2004-05-29  7:34 UTC (permalink / raw)
  To: Pavel Machek; +Cc: swsusp-devel, kernel list

Hi.

Pavel Machek wrote:
> Hi!
> 
> I tried suspend2 2.0.0.81 on  Toshiba HT machine, and it did not
> work :-(. First test was with "noapic nosmp", last messages are

Hmm. I haven't tried it with noapic or nosmp options before. It ought to work; I'll see if I can 
reproduce this issue.

> Tainted: S is due to suspend2, right? It abuses flag that origally means
> "invalid SMP configuration". You might want to fix that.

Yes. I've been meaning to change that; must get around to it.

> Tried without noapic nosmp... display got "interesting" at one point,

Yes. The sequence of operations to force a redraw of the screen works okay under 2.4 but needs 
looking at under 2.6.

> but hey, it worked! I have "sleeping function called rom invalid
> context at arch/i386/mm/highmem.c:5" called from kmap, copy_pageset1.

Yes. It needs to be atomic (it's the atomic copy) and pages might well be HighMem so I guess the 
answer is to suppress the message rather than changing something in suspend.

Nigel
-- 
Nigel & Michelle Cunningham
C/- Westminster Presbyterian Church Belconnen
61 Templeton Street, Cook, ACT 2614.
+61 (2) 6251 7727(wk); +61 (2) 6254 0216 (home)

After homosexuality, they'll be arguing paedophilia is normal.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Swsusp-devel] suspend2 problems on SMP machine, incorrect tainting
  2004-05-28 10:35 suspend2 problems on SMP machine, incorrect tainting Pavel Machek
  2004-05-29  7:34 ` Nigel Cunningham
@ 2004-05-29  7:43 ` Nigel Cunningham
  2004-05-29 11:34   ` Pavel Machek
  1 sibling, 1 reply; 5+ messages in thread
From: Nigel Cunningham @ 2004-05-29  7:43 UTC (permalink / raw)
  To: Pavel Machek; +Cc: swsusp-devel, kernel list

Hi again.

I should mention that the code is not perfectly stable at the moment. As soon as it is I'll get 
stuck into last cleanups and then the merge. Crashes I'm seeing involve an oops shortly after 
resuming, occuring in slab code. Obviously an inconsistency has somehow sneaked in. I'm away from 
home for 8 days from Monday AM, so a fix won't be forthcoming this week. It shouldn't be far away 
though.

Regards,

Nigel
-- 
Nigel & Michelle Cunningham
C/- Westminster Presbyterian Church Belconnen
61 Templeton Street, Cook, ACT 2614.
+61 (2) 6251 7727(wk); +61 (2) 6254 0216 (home)

After homosexuality, they'll be arguing paedophilia is normal.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Swsusp-devel] Re: suspend2 problems on SMP machine, incorrect tainting
  2004-05-29  7:34 ` Nigel Cunningham
@ 2004-05-29  8:47   ` Nigel Cunningham
  0 siblings, 0 replies; 5+ messages in thread
From: Nigel Cunningham @ 2004-05-29  8:47 UTC (permalink / raw)
  To: Nigel Cunningham; +Cc: Pavel Machek, swsusp-devel, kernel list

Hi again.

Nigel Cunningham wrote:
> Yes. It needs to be atomic (it's the atomic copy) and pages might well 
> be HighMem so I guess the answer is to suppress the message rather than 
> changing something in suspend.

Before someone says it, yes. I mean using kmap_atomic :>

Nigel
-- 
Nigel & Michelle Cunningham
C/- Westminster Presbyterian Church Belconnen
61 Templeton Street, Cook, ACT 2614.
+61 (417) 100 574 (mobile)

After homosexuality, they'll be arguing paedophilia is normal.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Swsusp-devel] suspend2 problems on SMP machine, incorrect tainting
  2004-05-29  7:43 ` [Swsusp-devel] " Nigel Cunningham
@ 2004-05-29 11:34   ` Pavel Machek
  0 siblings, 0 replies; 5+ messages in thread
From: Pavel Machek @ 2004-05-29 11:34 UTC (permalink / raw)
  To: Nigel Cunningham; +Cc: swsusp-devel, kernel list

Hi!

> I should mention that the code is not perfectly stable at the moment. As 
> soon as it is I'll get stuck into last cleanups and then the merge. Crashes 
> I'm seeing involve an oops shortly after resuming, occuring in slab
> code. 

The oops I saw with "nosmp noapic" was after resuming... it might be
related.
								Pavel
-- 
934a471f20d6580d5aad759bf0d97ddc

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-05-29 11:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-28 10:35 suspend2 problems on SMP machine, incorrect tainting Pavel Machek
2004-05-29  7:34 ` Nigel Cunningham
2004-05-29  8:47   ` [Swsusp-devel] " Nigel Cunningham
2004-05-29  7:43 ` [Swsusp-devel] " Nigel Cunningham
2004-05-29 11:34   ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox