Bug#642409: linux-2.6: "suspend" from gnome shutdown fails when krb5/nfs4 user logged in
Package: linux-2.6
Severity: normal
On different machines (Dell Optiplex GX270, GX280, 390) with different
versions of the Kernel (x86 2.6.35, amd64 3.0.0) suspend from the kernel
fails if a user who's home directory is on a krb5/nfs4 server.
The kernel seems to be unable to freeze user tasks doing nfs ops.
Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110922110124.4859.66092.reportbug@medic.calvaedi .com">http://lists.debian.org/20110922110124.4859.66092.reportbug@medic.calvaedi .com
09-22-2011, 05:34 PM
Jonathan Nieder
Bug#642409: linux-2.6: "suspend" from gnome shutdown fails when krb5/nfs4 user logged in
Hi John,
John Hughes wrote:
> On different machines (Dell Optiplex GX270, GX280, 390) with different
> versions of the Kernel (x86 2.6.35, amd64 3.0.0) suspend from the kernel
> fails if a user who's home directory is on a krb5/nfs4 server.
>
> The kernel seems to be unable to freeze user tasks doing nfs ops.
What are the oldest and newest kernels you've experienced this with
(you can get kernel versions from the string starting with "Debian" in
/proc/version, or from /var/log/dpkg.log)? Is this reproducible with
a squeeze (2.6.32.y) kernel (or in other words, is it a regression)?
Thanks for writing,
Jonathan
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110922173438.GA8656@elie">http://lists.debian.org/20110922173438.GA8656@elie
09-22-2011, 05:42 PM
Jonathan Nieder
Bug#642409: linux-2.6: "suspend" from gnome shutdown fails when krb5/nfs4 user logged in
John Hughes wrote:
> Redhat has a similar sounding bug:
> https://bugzilla.redhat.com/show_bug.cgi?id=717735
>
> With a patch.
>
> I'll see if I can test it.
Thanks! That bug log has a message:
| seems to be fixed in 3.1.0-0.rc6.git0.0.fc16.x86_64
and I don't see any relevant patches in the Fedora tree at
<http://pkgs.fedoraproject.org/gitweb/?p=kernel.git;a=tree>. So it
could be worth testing 3.1-rc6 from experimental, too.
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110922174215.GB8656@elie">http://lists.debian.org/20110922174215.GB8656@elie
09-23-2011, 07:30 AM
John Hughes
Bug#642409: linux-2.6: "suspend" from gnome shutdown fails when krb5/nfs4 user logged in
On 22/09/11 19:34, Jonathan Nieder wrote:
Hi John,
John Hughes wrote:
On different machines (Dell Optiplex GX270, GX280, 390) with different
versions of the Kernel (x86 2.6.35, amd64 3.0.0) suspend from the kernel
fails if a user who's home directory is on a krb5/nfs4 server.
The kernel seems to be unable to freeze user tasks doing nfs ops.
What are the oldest and newest kernels you've experienced this with
I'm seeing it with:
Linux version 2.6.32-5-686 (Debian 2.6.32-35squeeze2) (dannf@debian.org)
(gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Fri Sep 9 20:51:05 UTC 2011
(My original bug report was wrong, I mis-read 2.6.32-5 as 2.6.35).
Also on:
Linux version 3.0.0-1-amd64 (Debian 3.0.0-4) (ben@decadent.org.uk) (gcc
version 4.5.3 (Debian 4.5.3-9) ) #1 SMP Tue Sep 20 07:03:13 UTC 2011
(installed on squeeze)
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4E7C35B2.9000202@Calva.COM">http://lists.debian.org/4E7C35B2.9000202@Calva.COM
09-23-2011, 07:31 AM
John Hughes
Bug#642409: linux-2.6: "suspend" from gnome shutdown fails when krb5/nfs4 user logged in
On 22/09/11 19:42, Jonathan Nieder wrote:
Thanks! That bug log has a message:
| seems to be fixed in 3.1.0-0.rc6.git0.0.fc16.x86_64
and I don't see any relevant patches in the Fedora tree at
<http://pkgs.fedoraproject.org/gitweb/?p=kernel.git;a=tree>. So it
could be worth testing 3.1-rc6 from experimental, too.
Ah, I didn't see that message. I'll try that.
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4E7C35EF.2060901@Calva.COM">http://lists.debian.org/4E7C35EF.2060901@Calva.COM
09-23-2011, 09:29 AM
John Hughes
Bug#642409: linux-2.6: "suspend" from gnome shutdown fails when krb5/nfs4 user logged in
On 23/09/11 09:31, John Hughes wrote:
On 22/09/11 19:42, Jonathan Nieder wrote:
So it
could be worth testing 3.1-rc6 from experimental, too.
Ah, I didn't see that message. I'll try that.
Nothing later than 3.1-rc4 in experimental that I can see.
And that behaves in exactly the same way.
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4E7C5191.9000105@Calva.COM">http://lists.debian.org/4E7C5191.9000105@Calva.COM
09-23-2011, 12:08 PM
John Hughes
Bug#642409: linux-2.6: "suspend" from gnome shutdown fails when krb5/nfs4 user logged in
On 22/09/11 19:42, Jonathan Nieder wrote:
So it
could be worth testing 3.1-rc6 from experimental, too.
I built my own kernel from github (3.1-rc7).
Linux version 3.1.0-rc7 (john@medic) (gcc version 4.4.5 (Debian 4.4.5-8)
) #1 SMP Fri Sep 23 12:15:59 CEST 2011
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4E7C76B0.6020702@Calva.COM">http://lists.debian.org/4E7C76B0.6020702@Calva.COM
09-23-2011, 02:30 PM
John Hughes
Bug#642409: linux-2.6: "suspend" from gnome shutdown fails when krb5/nfs4 user logged in
Well, after minor modifications (needed to include freezer.h in
fs/nfs/inode.c and net/sunrpc/sched.c) I've installed Jeff Layton's
patch from https://bugzilla.redhat.com/show_bug.cgi?id=717735 in my
3.1-rc7 kernel...
... and it seems to work.
Or at least it works a lot better.
I've suspended and restarted many times without problems.
This is on the Dell Optiplex 390 (x86_64 processor).
I will build a kernel and try on the Optiplex GX270 (x86 processor).
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4E7C980C.8050103@Calva.COM">http://lists.debian.org/4E7C980C.8050103@Calva.COM
09-23-2011, 02:40 PM
Jeff Layton
Bug#642409: linux-2.6: "suspend" from gnome shutdown fails when krb5/nfs4 user logged in
On Fri, 23 Sep 2011 16:30:36 +0200
John Hughes <john@Calva.COM> wrote:
> Well, after minor modifications (needed to include freezer.h in
> fs/nfs/inode.c and net/sunrpc/sched.c) I've installed Jeff Layton's
> patch from https://bugzilla.redhat.com/show_bug.cgi?id=717735 in my
> 3.1-rc7 kernel...
>
> ... and it seems to work.
>
> Or at least it works a lot better.
>
> I've suspended and restarted many times without problems.
>
> This is on the Dell Optiplex 390 (x86_64 processor).
>
> I will build a kernel and try on the Optiplex GX270 (x86 processor).
>
Thanks for testing them. I actually have a revised version that
includes the right header and also fixes some other cases where the NFS
code can sleep like this. I'll see if I can get something together for
3.2.
--
Jeff Layton <jlayton@redhat.com>
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110923104030.00ada6fd@tlielax.poochiereds.net">h ttp://lists.debian.org/20110923104030.00ada6fd@tlielax.poochiereds.net
09-23-2011, 03:01 PM
John Hughes
Bug#642409: linux-2.6: "suspend" from gnome shutdown fails when krb5/nfs4 user logged in
On 23/09/11 16:40, Jeff Layton wrote:
On Fri, 23 Sep 2011 16:30:36 +0200
John Hughes<john@Calva.COM> wrote:
Well, after minor modifications (needed to include freezer.h in
fs/nfs/inode.c and net/sunrpc/sched.c) I've installed Jeff Layton's
patch from https://bugzilla.redhat.com/show_bug.cgi?id=717735 in my
3.1-rc7 kernel...
Thanks for testing them. I actually have a revised version that
includes the right header and also fixes some other cases where the NFS
code can sleep like this. I'll see if I can get something together for
3.2.
Could you send me the revised version - I thought I saw one problem when
I started testing, but wrote it off to having the wrong kernel.
Anyway, thanks for the patch.
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4E7C9F40.3030303@Calva.COM">http://lists.debian.org/4E7C9F40.3030303@Calva.COM