* Re: openssh-server: sshd (<pid>): /proc/<pid>/oom_adj is deprecated, please use /proc/<pid>/oom_score_adj instead. [not found] ` <alpine.DEB.2.00.1108011206130.28986@chino.kir.corp.google.com> @ 2011-08-02 22:58 ` Dan Carpenter 2011-08-02 23:14 ` Mihai Moldovan 2011-08-03 4:53 ` David Rientjes 0 siblings, 2 replies; 4+ messages in thread From: Dan Carpenter @ 2011-08-02 22:58 UTC (permalink / raw) To: David Rientjes; +Cc: linux-kernel Debian testing and Fedora 14 (and 15) are still using an old version of sshd so in 3.1, I get a popup in gnome that a "kernel crash has been detected." We made the warning about using old versions of sshd print a stack trace in be8f684d73d "oom: make deprecated use of oom_adj more verbose" [ 20.717978] ------------[ cut here ]------------ [ 20.718003] WARNING: at fs/proc/base.c:1123 oom_adjust_write+0x286/0x2a0() [ 20.718011] Hardware name: N150P/N210P/N220P [ 20.718020] sshd (2910): /proc/2910/oom_adj is deprecated, please use /proc/2910/oom_score_adj instead. [ 20.718029] Modules linked in: fuse brcmsmac(C) brcmutil(C) [last unloaded: scsi_wait_scan] [ 20.718052] Pid: 2910, comm: sshd Tainted: G C 3.0.0+ #1 [ 20.718059] Call Trace: [ 20.718076] [<ffffffff81041f9a>] warn_slowpath_common+0x7a/0xb0 [ 20.718090] [<ffffffff81042071>] warn_slowpath_fmt+0x41/0x50 [ 20.718104] [<ffffffff8104d2d5>] ? ns_capable+0x25/0x50 [ 20.718116] [<ffffffff81292e45>] ? kstrtoint+0x15/0x40 [ 20.718129] [<ffffffff81171bf6>] oom_adjust_write+0x286/0x2a0 [ 20.718145] [<ffffffff8111514e>] vfs_write+0xae/0x180 [ 20.718157] [<ffffffff81115465>] sys_write+0x45/0x90 [ 20.718172] [<ffffffff816f143b>] system_call_fastpath+0x16/0x1b [ 20.718183] ---[ end trace b16d62b4b2b98e24 ]--- There was a warning there for a year, and the distributions have one more year to upgrade to the newer software, so it's valid to apply pressure now. Could we do it in a way that made it more clear that the problem was an old version of openssh-server and not the kernel? The information is there, but it's overwhelmed in stack trace spam. Also the kernel is tainted now because of sshd. Maybe the message could include a link to a wiki page that told people which version off sshd uses the new proc file. regards, dan carpenter ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: openssh-server: sshd (<pid>): /proc/<pid>/oom_adj is deprecated, please use /proc/<pid>/oom_score_adj instead. 2011-08-02 22:58 ` openssh-server: sshd (<pid>): /proc/<pid>/oom_adj is deprecated, please use /proc/<pid>/oom_score_adj instead Dan Carpenter @ 2011-08-02 23:14 ` Mihai Moldovan 2011-08-03 4:53 ` David Rientjes 1 sibling, 0 replies; 4+ messages in thread From: Mihai Moldovan @ 2011-08-02 23:14 UTC (permalink / raw) To: Dan Carpenter; +Cc: linux-kernel [-- Attachment #1: Type: text/plain, Size: 947 bytes --] Hi Dan, * On 03.08.2011 12:58 AM, Dan Carpenter wrote: > Debian testing and Fedora 14 (and 15) are still using an old version > of sshd so in 3.1, I get a popup in gnome that a "kernel crash has > been detected." > [...] > There was a warning there for a year, and the distributions have one > more year to upgrade to the newer software, so it's valid to apply > pressure now. > > Could we do it in a way that made it more clear that the problem was > an old version of openssh-server and not the kernel? The information > is there, but it's overwhelmed in stack trace spam. Also the kernel > is tainted now because of sshd. Maybe the message could include a > link to a wiki page that told people which version off sshd uses the > new proc file. Please read and add your thoughts to this thread: https://lkml.org/lkml/2011/8/1/433 (Actually you just created a duplicate discussion. ;)) Best regards, Mihai [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 4369 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: openssh-server: sshd (<pid>): /proc/<pid>/oom_adj is deprecated, please use /proc/<pid>/oom_score_adj instead. 2011-08-02 22:58 ` openssh-server: sshd (<pid>): /proc/<pid>/oom_adj is deprecated, please use /proc/<pid>/oom_score_adj instead Dan Carpenter 2011-08-02 23:14 ` Mihai Moldovan @ 2011-08-03 4:53 ` David Rientjes 2011-08-03 12:21 ` Alessandro Suardi 1 sibling, 1 reply; 4+ messages in thread From: David Rientjes @ 2011-08-03 4:53 UTC (permalink / raw) To: Dan Carpenter; +Cc: linux-kernel On Wed, 3 Aug 2011, Dan Carpenter wrote: > Could we do it in a way that made it more clear that the problem was > an old version of openssh-server and not the kernel? The information > is there, but it's overwhelmed in stack trace spam. Also the kernel > is tainted now because of sshd. Maybe the message could include a > link to a wiki page that told people which version off sshd uses the > new proc file. > Would you like to ack http://marc.info/?l=linux-kernel&m=131227886118365? ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: openssh-server: sshd (<pid>): /proc/<pid>/oom_adj is deprecated, please use /proc/<pid>/oom_score_adj instead. 2011-08-03 4:53 ` David Rientjes @ 2011-08-03 12:21 ` Alessandro Suardi 0 siblings, 0 replies; 4+ messages in thread From: Alessandro Suardi @ 2011-08-03 12:21 UTC (permalink / raw) To: David Rientjes; +Cc: Dan Carpenter, linux-kernel On Wed, Aug 3, 2011 at 6:53 AM, David Rientjes <rientjes@google.com> wrote: > On Wed, 3 Aug 2011, Dan Carpenter wrote: > >> Could we do it in a way that made it more clear that the problem was >> an old version of openssh-server and not the kernel? The information >> is there, but it's overwhelmed in stack trace spam. Also the kernel >> is tainted now because of sshd. Maybe the message could include a >> link to a wiki page that told people which version off sshd uses the >> new proc file. >> > > Would you like to ack http://marc.info/?l=linux-kernel&m=131227886118365? As a side note, Fedora 15 has new openssh packages with the backport of the 5.7p1 fix to use /proc/<pid>/oom_score_adj. Kudos to the Fedora dev team for the quick turnaround on my bug report: https://bugzilla.redhat.com/show_bug.cgi?id=727335 --alessandro "There's always a siren singing you to shipwreck" (Radiohead, "There There") ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-08-03 12:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20110514102014.12739.91576.reportbug@eiffel4.mcfm>
[not found] ` <20110801122537.GA9469@mwanda>
[not found] ` <alpine.DEB.2.00.1108011206130.28986@chino.kir.corp.google.com>
2011-08-02 22:58 ` openssh-server: sshd (<pid>): /proc/<pid>/oom_adj is deprecated, please use /proc/<pid>/oom_score_adj instead Dan Carpenter
2011-08-02 23:14 ` Mihai Moldovan
2011-08-03 4:53 ` David Rientjes
2011-08-03 12:21 ` Alessandro Suardi
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox