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
[email protected]
On Sun, 22 Oct 2006, [email protected] 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
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Linus Torvalds wrote:
>
> On Sun, 22 Oct 2006, [email protected] 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-----
On Sun, 22 Oct 2006, teunis wrote:
> Hash: SHA1
>
> Linus Torvalds wrote:
> >
> > On Sun, 22 Oct 2006, [email protected] 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 <[email protected]> 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
Linus Torvalds wrote:
>
> On Sun, 22 Oct 2006, teunis wrote:
>> Hash: SHA1
>>
>> Linus Torvalds wrote:
>>> On Sun, 22 Oct 2006, [email protected] 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
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