public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.19-rc2-git7 shutdown problem
@ 2006-10-22 19:52 art
  2006-10-22 20:58 ` Linus Torvalds
  0 siblings, 1 reply; 6+ messages in thread
From: art @ 2006-10-22 19:52 UTC (permalink / raw)
  To: linux-kernel; +Cc: torvalds, rjw

2.6.19-rc2-git7 shutdown problem

below are last shutdown messages - system is hunging forever !
hda was mounted, hdb not
any clue ?

...
Unmounting pipe file systems:
Unmounting file systems:
Halting system...
md: stopping all md devices.
Shutdown: hdb
Shutdown: hda

xboom
art@usfltd.com

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

* Re: 2.6.19-rc2-git7 shutdown problem
  2006-10-22 19:52 2.6.19-rc2-git7 shutdown problem art
@ 2006-10-22 20:58 ` Linus Torvalds
  2006-10-23  2:29   ` teunis
  0 siblings, 1 reply; 6+ messages in thread
From: Linus Torvalds @ 2006-10-22 20:58 UTC (permalink / raw)
  To: art; +Cc: linux-kernel, rjw



On Sun, 22 Oct 2006, art@usfltd.com wrote:
>
> 2.6.19-rc2-git7 shutdown problem
> 
> below are last shutdown messages - system is hunging forever !
> hda was mounted, hdb not
> any clue ?

Noting springs to mind immediately.

Can you narrow this down more specifically? Did you test 2.6.19-rc2-git6, 
and that was fine? Or did you just happen to test -git7, and the previous 
kernel you did this on was some much older one?

			Linus

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

* Re: 2.6.19-rc2-git7 shutdown problem
  2006-10-22 20:58 ` Linus Torvalds
@ 2006-10-23  2:29   ` teunis
  2006-10-23 15:17     ` Linus Torvalds
  0 siblings, 1 reply; 6+ messages in thread
From: teunis @ 2006-10-23  2:29 UTC (permalink / raw)
  To: Linus Torvalds, linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Linus Torvalds wrote:
> 
> On Sun, 22 Oct 2006, art@usfltd.com wrote:
>> 2.6.19-rc2-git7 shutdown problem
>>
>> below are last shutdown messages - system is hunging forever !
>> hda was mounted, hdb not
>> any clue ?
> 
> Noting springs to mind immediately.
> 
> Can you narrow this down more specifically? Did you test 2.6.19-rc2-git6, 
> and that was fine? Or did you just happen to test -git7, and the previous 
> kernel you did this on was some much older one?

I'm seeing the same thing here between rc2-git6 and rc2-mm2 on intel
945-based hardware and similar.   (rc2-git6 WORKS, rc2-mm2 FAILS)
rc2-git6: for the most part works fine.
rc2-mm2: Restart works - shutdown freezes.

these units otherwise work almost completely: C3 mode doesn't work but
C4 DOES (ACPI sleep if I remember names correctly).

I did not test -git7 (or later).   I could if that would help.
- - Teunis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFPCjybFT/SAfwLKMRAo+tAJ0XE0/zXvsDQnnGikbcF6pvmlh+xACffOBh
dUumPzGFGLxGb76mtvNtcQ4=
=dvWQ
-----END PGP SIGNATURE-----

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

* Re: 2.6.19-rc2-git7 shutdown problem
  2006-10-23  2:29   ` teunis
@ 2006-10-23 15:17     ` Linus Torvalds
  2006-10-23 17:11       ` Jiri Slaby
  0 siblings, 1 reply; 6+ messages in thread
From: Linus Torvalds @ 2006-10-23 15:17 UTC (permalink / raw)
  To: teunis, xboom
  Cc: Linux Kernel Mailing List, Andrew Morton, Jeff Garzik, Andi Kleen



On Sun, 22 Oct 2006, teunis wrote:
> Hash: SHA1
> 
> Linus Torvalds wrote:
> > 
> > On Sun, 22 Oct 2006, art@usfltd.com wrote:
> >> 2.6.19-rc2-git7 shutdown problem
> >>
> >> below are last shutdown messages - system is hunging forever !
> >> hda was mounted, hdb not
> >> any clue ?
> > 
> > Noting springs to mind immediately.
> > 
> > Can you narrow this down more specifically? Did you test 2.6.19-rc2-git6, 
> > and that was fine? Or did you just happen to test -git7, and the previous 
> > kernel you did this on was some much older one?
> 
> I'm seeing the same thing here between rc2-git6 and rc2-mm2 on intel
> 945-based hardware and similar.   (rc2-git6 WORKS, rc2-mm2 FAILS)
> rc2-git6: for the most part works fine.
> rc2-mm2: Restart works - shutdown freezes.

Ok, it would be nice if you can verify that -git7 breaks for you too, but 
considering the identical symptoms, I think we can take it for granted 
that the breakage happened between 2.6.19-rc2-git6 and -git7.

In git terms, according to the snapshot ID translations, that would be:

	-git6: 7b7fc708b568a258595e1fa911b930a75ac07b48
	-git7: 5cfc35cf79d46af998346e3d5cc66fa344d1af0e

and indeed, looking at "gitk 7b7fc708..5cfc35cf", that includes both the 
x86 and IDE merges.

I would expect that it's the IDE code updates (based on the fact that it 
_apparetly_ freezes at or just after flushing the second IDE device), but 
it could certainly be some of the x86 architecture changes too.

Now, if somebody who sees this has git installed, or just wants to try it 
out and never had the reason to do so before, you can help narrow it down 
with "git bisect" if you want to. I'm betting just one or two reboots 
would narrow it down to IDE or arch changes, and since there are just 75 
commits total in that range, six or seven reboots will show exactly which 
commit it is.

So to bisect, do

	git bisect start
	git bisect good 7b7fc708b568a258595e1fa911b930a75ac07b48
	git bisect bad 5cfc35cf79d46af998346e3d5cc66fa344d1af0e

and off you go, marking things "good" or "bad" depending on whether the 
thing had problems at shutdown (at all points, "git bisect visualize" will 
show you what is left to be considered..).

Sadly, because the problem happens at shutdown, you'd need to reboot twice 
for each kernel: first to boot into it, then shutdown to test, and then 
mark it good/bad based on that.

But maybe Jeff or Andi can make a guess for a single patch already to try 
to revert..

Jeff, Andi: the symptom as reported by xboom <art@usfltd.com> is that the 
system locks up at shutdown after this:

	...
	Unmounting pipe file systems:
	Unmounting file systems:
	Halting system...
	md: stopping all md devices.
	Shutdown: hdb
	Shutdown: hda

Any ideas?

Final note: it doesn't _have_ to be x86/IDE changes. There are other 
things there that just sound less likely: the wireless networking merge, 
and a small patch-series through Andrew. So if somebody doesn't 
immediately step up, a few reboots with the "git bisect" thing really 
would help.

			Linus

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

* Re: 2.6.19-rc2-git7 shutdown problem
  2006-10-23 15:17     ` Linus Torvalds
@ 2006-10-23 17:11       ` Jiri Slaby
  2006-10-23 17:20         ` Jiri Slaby
  0 siblings, 1 reply; 6+ messages in thread
From: Jiri Slaby @ 2006-10-23 17:11 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: teunis, xboom, Linux Kernel Mailing List, Andrew Morton,
	Jeff Garzik, Andi Kleen

Linus Torvalds wrote:
> 
> On Sun, 22 Oct 2006, teunis wrote:
>> Hash: SHA1
>>
>> Linus Torvalds wrote:
>>> On Sun, 22 Oct 2006, art@usfltd.com wrote:
>>>> 2.6.19-rc2-git7 shutdown problem
>>>>
>>>> below are last shutdown messages - system is hunging forever !
>>>> hda was mounted, hdb not
>>>> any clue ?
>>> Noting springs to mind immediately.
>>>
>>> Can you narrow this down more specifically? Did you test 2.6.19-rc2-git6, 
>>> and that was fine? Or did you just happen to test -git7, and the previous 
>>> kernel you did this on was some much older one?
>> I'm seeing the same thing here between rc2-git6 and rc2-mm2 on intel
>> 945-based hardware and similar.   (rc2-git6 WORKS, rc2-mm2 FAILS)
>> rc2-git6: for the most part works fine.
>> rc2-mm2: Restart works - shutdown freezes.

[snip]

> Final note: it doesn't _have_ to be x86/IDE changes. There are other 
> things there that just sound less likely: the wireless networking merge, 
> and a small patch-series through Andrew. So if somebody doesn't 
> immediately step up, a few reboots with the "git bisect" thing really 
> would help.

Just to another-confirm the problem, I have this too. The sysrq-t shows only
swapper with trace showing some lock function called, I have a screenshot of
this, but not here and I can't post it (not even test anything) till Thursday,
sorry.
I think, the screenshot was taken in shutdown process of 2.6.19-rc2-mm1.

regards,
-- 
http://www.fi.muni.cz/~xslaby/            Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8  22A0 32CC 55C3 39D4 7A7E

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

* Re: 2.6.19-rc2-git7 shutdown problem
  2006-10-23 17:11       ` Jiri Slaby
@ 2006-10-23 17:20         ` Jiri Slaby
  0 siblings, 0 replies; 6+ messages in thread
From: Jiri Slaby @ 2006-10-23 17:20 UTC (permalink / raw)
  To: Jiri Slaby
  Cc: Linus Torvalds, teunis, xboom, Linux Kernel Mailing List,
	Andrew Morton, Jeff Garzik, Andi Kleen

Jiri Slaby wrote:
> swapper with trace showing some lock function called, I have a screenshot of
> this, but not here and I can't post it (not even test anything) till Thursday,

Heh, the picture remains in the camera and my father was willing to post it, enjoy:
http://www.fi.muni.cz/~xslaby/sklad/halting-problem.gif
If it is for anything...

regards,
-- 
http://www.fi.muni.cz/~xslaby/            Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8  22A0 32CC 55C3 39D4 7A7E

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

end of thread, other threads:[~2006-10-23 17:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-22 19:52 2.6.19-rc2-git7 shutdown problem art
2006-10-22 20:58 ` Linus Torvalds
2006-10-23  2:29   ` teunis
2006-10-23 15:17     ` Linus Torvalds
2006-10-23 17:11       ` Jiri Slaby
2006-10-23 17:20         ` Jiri Slaby

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