All of lore.kernel.org
 help / color / mirror / Atom feed
* warn_slowpath_common WARNING on boot since 3.0.0-git7
@ 2011-07-30 15:31 Alessandro Suardi
  2011-07-31  2:18 ` Randy Dunlap
  0 siblings, 1 reply; 4+ messages in thread
From: Alessandro Suardi @ 2011-07-30 15:31 UTC (permalink / raw)
  To: linux-kernel

F15 x86_64, still present in 3.0.0-git11; didn't report it earlier as I
 thought it'd be squashed sooner... probably it's not as common
 as I thought it'd be:

Jul 27 18:46:18 duff kernel: WARNING: at fs/proc/base.c:1123
oom_adjust_write+0x185/0x23c()
Jul 27 18:46:18 duff kernel: Hardware name: Latitude E6400
Jul 27 18:46:18 duff kernel: sshd (3245): /proc/3245/oom_adj is
deprecated, please use /proc/3245/oom_score_adj instead.
Jul 27 18:46:18 duff kernel: Modules linked in: sunrpc rfcomm bnep
ip6t_REJECT nf_conntrack_ipv6 ipt_REJECT nf_defrag_ipv6
nf_conntrack_ipv4 ip6table_filter nf_defrag_ipv4 ip6_tables xt_state
nf_conntrack iptable_filter ip_tables snd_hda_codec_hdmi
snd_hda_codec_idt snd_hda_intel snd_hda_codec aes_x86_64 aes_generic
ecb snd_hwdep btusb snd_seq snd_seq_device bluetooth snd_pcm
dell_laptop snd_timer snd i2c_i801 rfkill microcode pcspkr joydev
soundcore snd_page_alloc dcdbas ipv6 autofs4 ext4 jbd2 crc16 sdhci_pci
firewire_ohci sdhci firewire_core crc_itu_t mmc_core i915
drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded:
scsi_wait_scan]
Jul 27 18:46:18 duff kernel: Pid: 3245, comm: sshd Not tainted 3.0.0-git7 #6
Jul 27 18:46:18 duff kernel: Call Trace:
Jul 27 18:46:18 duff kernel: [<ffffffff8103774c>] warn_slowpath_common+0x7e/0x96
Jul 27 18:46:18 duff kernel: [<ffffffff810377f8>] warn_slowpath_fmt+0x41/0x43
Jul 27 18:46:18 duff kernel: [<ffffffff810408f4>] ? ns_capable+0x35/0x4a
Jul 27 18:46:18 duff kernel: [<ffffffff81129fb8>] oom_adjust_write+0x185/0x23c
Jul 27 18:46:18 duff kernel: [<ffffffff810e0736>] vfs_write+0xa3/0xca
Jul 27 18:46:18 duff kernel: [<ffffffff8109176f>] ?
trace_hardirqs_on_caller+0xe/0x22
Jul 27 18:46:18 duff kernel: [<ffffffff810e08d2>] sys_write+0x45/0x69
Jul 27 18:46:18 duff kernel: [<ffffffff813752fb>] system_call_fastpath+0x16/0x1b

--alessandro

 "There's always a siren singing you to shipwreck"

   (Radiohead, "There There")

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

* Re: warn_slowpath_common WARNING on boot since 3.0.0-git7
  2011-07-30 15:31 warn_slowpath_common WARNING on boot since 3.0.0-git7 Alessandro Suardi
@ 2011-07-31  2:18 ` Randy Dunlap
  2011-07-31 16:20   ` Alessandro Suardi
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2011-07-31  2:18 UTC (permalink / raw)
  To: Alessandro Suardi; +Cc: linux-kernel

On Sat, 30 Jul 2011 17:31:51 +0200 Alessandro Suardi wrote:

> F15 x86_64, still present in 3.0.0-git11; didn't report it earlier as I
>  thought it'd be squashed sooner... probably it's not as common
>  as I thought it'd be:
> 
> Jul 27 18:46:18 duff kernel: WARNING: at fs/proc/base.c:1123
> oom_adjust_write+0x185/0x23c()
> Jul 27 18:46:18 duff kernel: Hardware name: Latitude E6400
> Jul 27 18:46:18 duff kernel: sshd (3245): /proc/3245/oom_adj is
> deprecated, please use /proc/3245/oom_score_adj instead.

Looks like sshd is using a deprecated /proc interface.
fs/proc/base.c:1118 says:
	 * Warn that /proc/pid/oom_adj is deprecated, see
	 * Documentation/feature-removal-schedule.txt.

What else needs to be done here?

> Jul 27 18:46:18 duff kernel: Modules linked in: sunrpc rfcomm bnep
> ip6t_REJECT nf_conntrack_ipv6 ipt_REJECT nf_defrag_ipv6
> nf_conntrack_ipv4 ip6table_filter nf_defrag_ipv4 ip6_tables xt_state
> nf_conntrack iptable_filter ip_tables snd_hda_codec_hdmi
> snd_hda_codec_idt snd_hda_intel snd_hda_codec aes_x86_64 aes_generic
> ecb snd_hwdep btusb snd_seq snd_seq_device bluetooth snd_pcm
> dell_laptop snd_timer snd i2c_i801 rfkill microcode pcspkr joydev
> soundcore snd_page_alloc dcdbas ipv6 autofs4 ext4 jbd2 crc16 sdhci_pci
> firewire_ohci sdhci firewire_core crc_itu_t mmc_core i915
> drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded:
> scsi_wait_scan]
> Jul 27 18:46:18 duff kernel: Pid: 3245, comm: sshd Not tainted 3.0.0-git7 #6
> Jul 27 18:46:18 duff kernel: Call Trace:
> Jul 27 18:46:18 duff kernel: [<ffffffff8103774c>] warn_slowpath_common+0x7e/0x96
> Jul 27 18:46:18 duff kernel: [<ffffffff810377f8>] warn_slowpath_fmt+0x41/0x43
> Jul 27 18:46:18 duff kernel: [<ffffffff810408f4>] ? ns_capable+0x35/0x4a
> Jul 27 18:46:18 duff kernel: [<ffffffff81129fb8>] oom_adjust_write+0x185/0x23c
> Jul 27 18:46:18 duff kernel: [<ffffffff810e0736>] vfs_write+0xa3/0xca
> Jul 27 18:46:18 duff kernel: [<ffffffff8109176f>] ?
> trace_hardirqs_on_caller+0xe/0x22
> Jul 27 18:46:18 duff kernel: [<ffffffff810e08d2>] sys_write+0x45/0x69
> Jul 27 18:46:18 duff kernel: [<ffffffff813752fb>] system_call_fastpath+0x16/0x1b


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

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

* Re: warn_slowpath_common WARNING on boot since 3.0.0-git7
  2011-07-31  2:18 ` Randy Dunlap
@ 2011-07-31 16:20   ` Alessandro Suardi
  2011-08-01 20:38     ` Alessandro Suardi
  0 siblings, 1 reply; 4+ messages in thread
From: Alessandro Suardi @ 2011-07-31 16:20 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-kernel

On Sun, Jul 31, 2011 at 4:18 AM, Randy Dunlap <rdunlap@xenotime.net> wrote:
> On Sat, 30 Jul 2011 17:31:51 +0200 Alessandro Suardi wrote:
>
>> F15 x86_64, still present in 3.0.0-git11; didn't report it earlier as I
>>  thought it'd be squashed sooner... probably it's not as common
>>  as I thought it'd be:
>>
>> Jul 27 18:46:18 duff kernel: WARNING: at fs/proc/base.c:1123
>> oom_adjust_write+0x185/0x23c()
>> Jul 27 18:46:18 duff kernel: Hardware name: Latitude E6400
>> Jul 27 18:46:18 duff kernel: sshd (3245): /proc/3245/oom_adj is
>> deprecated, please use /proc/3245/oom_score_adj instead.
>
> Looks like sshd is using a deprecated /proc interface.
> fs/proc/base.c:1118 says:
>         * Warn that /proc/pid/oom_adj is deprecated, see
>         * Documentation/feature-removal-schedule.txt.
>
> What else needs to be done here?
>
>> Jul 27 18:46:18 duff kernel: Modules linked in: sunrpc rfcomm bnep
>> ip6t_REJECT nf_conntrack_ipv6 ipt_REJECT nf_defrag_ipv6
>> nf_conntrack_ipv4 ip6table_filter nf_defrag_ipv4 ip6_tables xt_state
>> nf_conntrack iptable_filter ip_tables snd_hda_codec_hdmi
>> snd_hda_codec_idt snd_hda_intel snd_hda_codec aes_x86_64 aes_generic
>> ecb snd_hwdep btusb snd_seq snd_seq_device bluetooth snd_pcm
>> dell_laptop snd_timer snd i2c_i801 rfkill microcode pcspkr joydev
>> soundcore snd_page_alloc dcdbas ipv6 autofs4 ext4 jbd2 crc16 sdhci_pci
>> firewire_ohci sdhci firewire_core crc_itu_t mmc_core i915
>> drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded:
>> scsi_wait_scan]
>> Jul 27 18:46:18 duff kernel: Pid: 3245, comm: sshd Not tainted 3.0.0-git7 #6
>> Jul 27 18:46:18 duff kernel: Call Trace:
>> Jul 27 18:46:18 duff kernel: [<ffffffff8103774c>] warn_slowpath_common+0x7e/0x96
>> Jul 27 18:46:18 duff kernel: [<ffffffff810377f8>] warn_slowpath_fmt+0x41/0x43
>> Jul 27 18:46:18 duff kernel: [<ffffffff810408f4>] ? ns_capable+0x35/0x4a
>> Jul 27 18:46:18 duff kernel: [<ffffffff81129fb8>] oom_adjust_write+0x185/0x23c
>> Jul 27 18:46:18 duff kernel: [<ffffffff810e0736>] vfs_write+0xa3/0xca
>> Jul 27 18:46:18 duff kernel: [<ffffffff8109176f>] ?
>> trace_hardirqs_on_caller+0xe/0x22
>> Jul 27 18:46:18 duff kernel: [<ffffffff810e08d2>] sys_write+0x45/0x69
>> Jul 27 18:46:18 duff kernel: [<ffffffff813752fb>] system_call_fastpath+0x16/0x1b

Well, the obsolescence was discussed a while ago in this thread

http://www.gossamer-threads.com/lists/linux/kernel/1301830

 and my kernel dmesg output has been telling me ever since;
 the "issue", if we can so call that, is that the WARNING trace
 output appeared in 3.0.0-git7.

In 3.0.0-git1 I still had

Jul 24 12:22:01 duff kernel: sshd (3185): /proc/3185/oom_adj is
deprecated, please use /proc/3185/oom_score_adj instead.

 *without* the warn_slowpath_common WARNING.

Is the extra tracing intentional, or a side effect of something else ?


As a final note, the openssh fix appears to be in 5.7p1

https://bugzilla.mindrot.org/show_bug.cgi?id=1838

 and I am running an updated F15 as of today

[root@duff ~]# rpm -q openssh
openssh-5.6p1-33.fc15.1.x86_64

I guess I'll file a F15 bug later tonight, as I can't find one
 already asking for the 5.7p1 fix backport to 5.6x.


Thanks,

--alessandro

 "There's always a siren singing you to shipwreck"

   (Radiohead, "There There")

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

* Re: warn_slowpath_common WARNING on boot since 3.0.0-git7
  2011-07-31 16:20   ` Alessandro Suardi
@ 2011-08-01 20:38     ` Alessandro Suardi
  0 siblings, 0 replies; 4+ messages in thread
From: Alessandro Suardi @ 2011-08-01 20:38 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-kernel

On Sun, Jul 31, 2011 at 6:20 PM, Alessandro Suardi
<alessandro.suardi@gmail.com> wrote:
> On Sun, Jul 31, 2011 at 4:18 AM, Randy Dunlap <rdunlap@xenotime.net> wrote:
>> On Sat, 30 Jul 2011 17:31:51 +0200 Alessandro Suardi wrote:
>>
>>> F15 x86_64, still present in 3.0.0-git11; didn't report it earlier as I
>>>  thought it'd be squashed sooner... probably it's not as common
>>>  as I thought it'd be:
>>>
>>> Jul 27 18:46:18 duff kernel: WARNING: at fs/proc/base.c:1123
>>> oom_adjust_write+0x185/0x23c()
>>> Jul 27 18:46:18 duff kernel: Hardware name: Latitude E6400
>>> Jul 27 18:46:18 duff kernel: sshd (3245): /proc/3245/oom_adj is
>>> deprecated, please use /proc/3245/oom_score_adj instead.
>>
>> Looks like sshd is using a deprecated /proc interface.
>> fs/proc/base.c:1118 says:
>>         * Warn that /proc/pid/oom_adj is deprecated, see
>>         * Documentation/feature-removal-schedule.txt.
>>
>> What else needs to be done here?
>>
>>> Jul 27 18:46:18 duff kernel: Modules linked in: sunrpc rfcomm bnep
>>> ip6t_REJECT nf_conntrack_ipv6 ipt_REJECT nf_defrag_ipv6
>>> nf_conntrack_ipv4 ip6table_filter nf_defrag_ipv4 ip6_tables xt_state
>>> nf_conntrack iptable_filter ip_tables snd_hda_codec_hdmi
>>> snd_hda_codec_idt snd_hda_intel snd_hda_codec aes_x86_64 aes_generic
>>> ecb snd_hwdep btusb snd_seq snd_seq_device bluetooth snd_pcm
>>> dell_laptop snd_timer snd i2c_i801 rfkill microcode pcspkr joydev
>>> soundcore snd_page_alloc dcdbas ipv6 autofs4 ext4 jbd2 crc16 sdhci_pci
>>> firewire_ohci sdhci firewire_core crc_itu_t mmc_core i915
>>> drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded:
>>> scsi_wait_scan]
>>> Jul 27 18:46:18 duff kernel: Pid: 3245, comm: sshd Not tainted 3.0.0-git7 #6
>>> Jul 27 18:46:18 duff kernel: Call Trace:
>>> Jul 27 18:46:18 duff kernel: [<ffffffff8103774c>] warn_slowpath_common+0x7e/0x96
>>> Jul 27 18:46:18 duff kernel: [<ffffffff810377f8>] warn_slowpath_fmt+0x41/0x43
>>> Jul 27 18:46:18 duff kernel: [<ffffffff810408f4>] ? ns_capable+0x35/0x4a
>>> Jul 27 18:46:18 duff kernel: [<ffffffff81129fb8>] oom_adjust_write+0x185/0x23c
>>> Jul 27 18:46:18 duff kernel: [<ffffffff810e0736>] vfs_write+0xa3/0xca
>>> Jul 27 18:46:18 duff kernel: [<ffffffff8109176f>] ?
>>> trace_hardirqs_on_caller+0xe/0x22
>>> Jul 27 18:46:18 duff kernel: [<ffffffff810e08d2>] sys_write+0x45/0x69
>>> Jul 27 18:46:18 duff kernel: [<ffffffff813752fb>] system_call_fastpath+0x16/0x1b
>
> Well, the obsolescence was discussed a while ago in this thread
>
> http://www.gossamer-threads.com/lists/linux/kernel/1301830
>
>  and my kernel dmesg output has been telling me ever since;
>  the "issue", if we can so call that, is that the WARNING trace
>  output appeared in 3.0.0-git7.
>
> In 3.0.0-git1 I still had
>
> Jul 24 12:22:01 duff kernel: sshd (3185): /proc/3185/oom_adj is
> deprecated, please use /proc/3185/oom_score_adj instead.
>
>  *without* the warn_slowpath_common WARNING.
>
> Is the extra tracing intentional, or a side effect of something else ?
>
>
> As a final note, the openssh fix appears to be in 5.7p1
>
> https://bugzilla.mindrot.org/show_bug.cgi?id=1838
>
>  and I am running an updated F15 as of today
>
> [root@duff ~]# rpm -q openssh
> openssh-5.6p1-33.fc15.1.x86_64
>
> I guess I'll file a F15 bug later tonight, as I can't find one
>  already asking for the 5.7p1 fix backport to 5.6x.

F15 openssh bug just for the record:

https://bugzilla.redhat.com/show_bug.cgi?id=727335

Thanks,

--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-01 20:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-30 15:31 warn_slowpath_common WARNING on boot since 3.0.0-git7 Alessandro Suardi
2011-07-31  2:18 ` Randy Dunlap
2011-07-31 16:20   ` Alessandro Suardi
2011-08-01 20:38     ` Alessandro Suardi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.