Re: WARNING: at drivers/tty/tty_buffer.c:476 flush_to_ldisc+0x1de/0x1f0()

2012-12-15 Thread Greg Kroah-Hartman
On Fri, Dec 14, 2012 at 10:53:16PM -0500, Peter Hurley wrote:
> On Fri, 2012-12-14 at 18:29 -0800, Greg Kroah-Hartman wrote:
> > On Tue, Dec 11, 2012 at 10:01:24PM -0500, Dave Jones wrote:
> > > Fuzz-testing fallout from post 3.7 tree as of commit 
> > > 414a6750e59b0b687034764c464e9ddecac0f7a6
> > > 
> > > [ 2181.230579] [ cut here ]--------
> > > [ 2181.231277] WARNING: at drivers/tty/tty_buffer.c:476 
> > > flush_to_ldisc+0x1de/0x1f0()
> > > [ 2181.232358] Hardware name: GA-MA78GM-S2H
> > > [ 2181.232925] tty is NULL
> > > [ 2181.233430] Modules linked in: l2tp_ppp l2tp_core fuse rfcomm 
> > > binfmt_misc hidp bnep scsi_transport_iscsi ipt_ULOG nfnetlink rose ipx 
> > > p8023 p8022 caif_socket caif af_rxrpc x25 irda af_key appletalk pppoe 
> > > netrom pppox ppp_generic decnet phonet slhc psnap crc_ccitt ax25 llc2 rds 
> > > atm llc nfc can nfsv3 nfs_acl nfs fscache lockd sunrpc ip6t_REJECT 
> > > nf_conntrack_ipv6 nf_defrag_ipv6 xt_conntrack nf_conntrack 
> > > ip6table_filter ip6_tables snd_hda_codec_realtek btusb snd_hda_intel 
> > > bluetooth usb_debug snd_hda_codec microcode snd_pcm serio_raw pcspkr 
> > > snd_page_alloc snd_timer edac_core snd soundcore r8169 mii vhost_net tun 
> > > macvtap macvlan kvm_amd kvm
> > > [ 2181.245632] Pid: 29787, comm: kworker/0:1 Not tainted 3.7.0+ #12
> > > [ 2181.246503] Call Trace:
> > > [ 2181.246851]  [] warn_slowpath_common+0x7f/0xc0
> > > [ 2181.247725]  [] warn_slowpath_fmt+0x46/0x50
> > > [ 2181.248558]  [] ? ___ratelimit+0x9a/0x120
> > > [ 2181.249347]  [] flush_to_ldisc+0x1de/0x1f0
> > > [ 2181.250164]  [] process_one_work+0x207/0x750
> > > [ 2181.251013]  [] ? process_one_work+0x197/0x750
> > > [ 2181.251893]  [] ? destroy_work_on_stack+0x20/0x20
> > > [ 2181.252809]  [] ? 
> > > tty_insert_flip_string_fixed_flag+0x110/0x110
> > > [ 2181.253993]  [] worker_thread+0x156/0x440
> > > [ 2181.254815]  [] ? rescuer_thread+0x240/0x240
> > > [ 2181.255638]  [] kthread+0xed/0x100
> > > [ 2181.256374]  [] ? put_lock_stats.isra.23+0xe/0x40
> > > [ 2181.257290]  [] ? kthread_create_on_node+0x160/0x160
> > > [ 2181.258223]  [] ret_from_fork+0x7c/0xb0
> > > [ 2181.259018]  [] ? kthread_create_on_node+0x160/0x160
> > > [ 2181.259969] ---[ end trace 12dd9f01acd7e09f ]---
> > 
> > Jiri, I thought we resolved these warnings in the linux-next tree, how
> > are they still showing up?
> 
> Greg, that's what the series that I just sent v2 of fixes. Look for
> "[PATCH v2 0/11] tty: Fix buffer work access-after-free" et al.

Ah, ok, I was holding off on looking at those until after 3.8-rc1 is
out, I'll do so then, thanks.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: WARNING: at drivers/tty/tty_buffer.c:476 flush_to_ldisc+0x1de/0x1f0()

2012-12-15 Thread Dave Jones
On Fri, Dec 14, 2012 at 10:53:16PM -0500, Peter Hurley wrote:
 > On Fri, 2012-12-14 at 18:29 -0800, Greg Kroah-Hartman wrote:
 > > On Tue, Dec 11, 2012 at 10:01:24PM -0500, Dave Jones wrote:
 > > > Fuzz-testing fallout from post 3.7 tree as of commit 
 > > > 414a6750e59b0b687034764c464e9ddecac0f7a6
 > > > 
 > > > [ 2181.230579] [ cut here ]--------
 > > > [ 2181.231277] WARNING: at drivers/tty/tty_buffer.c:476 
 > > > flush_to_ldisc+0x1de/0x1f0()
 > > > [ 2181.232358] Hardware name: GA-MA78GM-S2H
 > > > [ 2181.232925] tty is NULL
 > 
 > Dave, how do you have your trinity command line + kvm configured? I had
 > to write a test jig to get this to happen but I'd prefer to reproduce it
 > in trinity.
 
no special params, though te first time I saw this it 
happened quickly as you see from the timestamp.
Yesterday I hit it a second time after fuzzing for
the better psrt of a day.

Dave


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: WARNING: at drivers/tty/tty_buffer.c:476 flush_to_ldisc+0x1de/0x1f0()

2012-12-15 Thread Dave Jones
On Fri, Dec 14, 2012 at 10:53:16PM -0500, Peter Hurley wrote:
  On Fri, 2012-12-14 at 18:29 -0800, Greg Kroah-Hartman wrote:
   On Tue, Dec 11, 2012 at 10:01:24PM -0500, Dave Jones wrote:
Fuzz-testing fallout from post 3.7 tree as of commit 
414a6750e59b0b687034764c464e9ddecac0f7a6

[ 2181.230579] [ cut here ]
[ 2181.231277] WARNING: at drivers/tty/tty_buffer.c:476 
flush_to_ldisc+0x1de/0x1f0()
[ 2181.232358] Hardware name: GA-MA78GM-S2H
[ 2181.232925] tty is NULL
  
  Dave, how do you have your trinity command line + kvm configured? I had
  to write a test jig to get this to happen but I'd prefer to reproduce it
  in trinity.
 
no special params, though te first time I saw this it 
happened quickly as you see from the timestamp.
Yesterday I hit it a second time after fuzzing for
the better psrt of a day.

Dave


--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: WARNING: at drivers/tty/tty_buffer.c:476 flush_to_ldisc+0x1de/0x1f0()

2012-12-15 Thread Greg Kroah-Hartman
On Fri, Dec 14, 2012 at 10:53:16PM -0500, Peter Hurley wrote:
 On Fri, 2012-12-14 at 18:29 -0800, Greg Kroah-Hartman wrote:
  On Tue, Dec 11, 2012 at 10:01:24PM -0500, Dave Jones wrote:
   Fuzz-testing fallout from post 3.7 tree as of commit 
   414a6750e59b0b687034764c464e9ddecac0f7a6
   
   [ 2181.230579] [ cut here ]
   [ 2181.231277] WARNING: at drivers/tty/tty_buffer.c:476 
   flush_to_ldisc+0x1de/0x1f0()
   [ 2181.232358] Hardware name: GA-MA78GM-S2H
   [ 2181.232925] tty is NULL
   [ 2181.233430] Modules linked in: l2tp_ppp l2tp_core fuse rfcomm 
   binfmt_misc hidp bnep scsi_transport_iscsi ipt_ULOG nfnetlink rose ipx 
   p8023 p8022 caif_socket caif af_rxrpc x25 irda af_key appletalk pppoe 
   netrom pppox ppp_generic decnet phonet slhc psnap crc_ccitt ax25 llc2 rds 
   atm llc nfc can nfsv3 nfs_acl nfs fscache lockd sunrpc ip6t_REJECT 
   nf_conntrack_ipv6 nf_defrag_ipv6 xt_conntrack nf_conntrack 
   ip6table_filter ip6_tables snd_hda_codec_realtek btusb snd_hda_intel 
   bluetooth usb_debug snd_hda_codec microcode snd_pcm serio_raw pcspkr 
   snd_page_alloc snd_timer edac_core snd soundcore r8169 mii vhost_net tun 
   macvtap macvlan kvm_amd kvm
   [ 2181.245632] Pid: 29787, comm: kworker/0:1 Not tainted 3.7.0+ #12
   [ 2181.246503] Call Trace:
   [ 2181.246851]  [8104da4f] warn_slowpath_common+0x7f/0xc0
   [ 2181.247725]  [8104db46] warn_slowpath_fmt+0x46/0x50
   [ 2181.248558]  [8132e6ba] ? ___ratelimit+0x9a/0x120
   [ 2181.249347]  [813e897e] flush_to_ldisc+0x1de/0x1f0
   [ 2181.250164]  [81071237] process_one_work+0x207/0x750
   [ 2181.251013]  [810711c7] ? process_one_work+0x197/0x750
   [ 2181.251893]  [8106de50] ? destroy_work_on_stack+0x20/0x20
   [ 2181.252809]  [813e87a0] ? 
   tty_insert_flip_string_fixed_flag+0x110/0x110
   [ 2181.253993]  [81071b56] worker_thread+0x156/0x440
   [ 2181.254815]  [81071a00] ? rescuer_thread+0x240/0x240
   [ 2181.255638]  [810784bd] kthread+0xed/0x100
   [ 2181.256374]  [810b80ce] ? put_lock_stats.isra.23+0xe/0x40
   [ 2181.257290]  [810783d0] ? kthread_create_on_node+0x160/0x160
   [ 2181.258223]  [816a8ddc] ret_from_fork+0x7c/0xb0
   [ 2181.259018]  [810783d0] ? kthread_create_on_node+0x160/0x160
   [ 2181.259969] ---[ end trace 12dd9f01acd7e09f ]---
  
  Jiri, I thought we resolved these warnings in the linux-next tree, how
  are they still showing up?
 
 Greg, that's what the series that I just sent v2 of fixes. Look for
 [PATCH v2 0/11] tty: Fix buffer work access-after-free et al.

Ah, ok, I was holding off on looking at those until after 3.8-rc1 is
out, I'll do so then, thanks.

greg k-h
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: WARNING: at drivers/tty/tty_buffer.c:476 flush_to_ldisc+0x1de/0x1f0()

2012-12-14 Thread Peter Hurley
On Fri, 2012-12-14 at 18:29 -0800, Greg Kroah-Hartman wrote:
> On Tue, Dec 11, 2012 at 10:01:24PM -0500, Dave Jones wrote:
> > Fuzz-testing fallout from post 3.7 tree as of commit 
> > 414a6750e59b0b687034764c464e9ddecac0f7a6
> > 
> > [ 2181.230579] [ cut here ]----
> > [ 2181.231277] WARNING: at drivers/tty/tty_buffer.c:476 
> > flush_to_ldisc+0x1de/0x1f0()
> > [ 2181.232358] Hardware name: GA-MA78GM-S2H
> > [ 2181.232925] tty is NULL
> > [ 2181.233430] Modules linked in: l2tp_ppp l2tp_core fuse rfcomm 
> > binfmt_misc hidp bnep scsi_transport_iscsi ipt_ULOG nfnetlink rose ipx 
> > p8023 p8022 caif_socket caif af_rxrpc x25 irda af_key appletalk pppoe 
> > netrom pppox ppp_generic decnet phonet slhc psnap crc_ccitt ax25 llc2 rds 
> > atm llc nfc can nfsv3 nfs_acl nfs fscache lockd sunrpc ip6t_REJECT 
> > nf_conntrack_ipv6 nf_defrag_ipv6 xt_conntrack nf_conntrack ip6table_filter 
> > ip6_tables snd_hda_codec_realtek btusb snd_hda_intel bluetooth usb_debug 
> > snd_hda_codec microcode snd_pcm serio_raw pcspkr snd_page_alloc snd_timer 
> > edac_core snd soundcore r8169 mii vhost_net tun macvtap macvlan kvm_amd kvm
> > [ 2181.245632] Pid: 29787, comm: kworker/0:1 Not tainted 3.7.0+ #12
> > [ 2181.246503] Call Trace:
> > [ 2181.246851]  [] warn_slowpath_common+0x7f/0xc0
> > [ 2181.247725]  [] warn_slowpath_fmt+0x46/0x50
> > [ 2181.248558]  [] ? ___ratelimit+0x9a/0x120
> > [ 2181.249347]  [] flush_to_ldisc+0x1de/0x1f0
> > [ 2181.250164]  [] process_one_work+0x207/0x750
> > [ 2181.251013]  [] ? process_one_work+0x197/0x750
> > [ 2181.251893]  [] ? destroy_work_on_stack+0x20/0x20
> > [ 2181.252809]  [] ? 
> > tty_insert_flip_string_fixed_flag+0x110/0x110
> > [ 2181.253993]  [] worker_thread+0x156/0x440
> > [ 2181.254815]  [] ? rescuer_thread+0x240/0x240
> > [ 2181.255638]  [] kthread+0xed/0x100
> > [ 2181.256374]  [] ? put_lock_stats.isra.23+0xe/0x40
> > [ 2181.257290]  [] ? kthread_create_on_node+0x160/0x160
> > [ 2181.258223]  [] ret_from_fork+0x7c/0xb0
> > [ 2181.259018]  [] ? kthread_create_on_node+0x160/0x160
> > [ 2181.259969] ---[ end trace 12dd9f01acd7e09f ]---
> 
> Jiri, I thought we resolved these warnings in the linux-next tree, how
> are they still showing up?

Greg, that's what the series that I just sent v2 of fixes. Look for
"[PATCH v2 0/11] tty: Fix buffer work access-after-free" et al.

I tried to get it done sooner but got waylaid by GP fault in SLUB caused
by nouveau (solved) and page allocation exhaustion in -next on 10gb
machine (not solved). That and some frustration with getting netconsole
running with kvm (solved).

Dave, how do you have your trinity command line + kvm configured? I had
to write a test jig to get this to happen but I'd prefer to reproduce it
in trinity.

Regards,
Peter Hurley

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: WARNING: at drivers/tty/tty_buffer.c:476 flush_to_ldisc+0x1de/0x1f0()

2012-12-14 Thread Greg Kroah-Hartman
On Tue, Dec 11, 2012 at 10:01:24PM -0500, Dave Jones wrote:
> Fuzz-testing fallout from post 3.7 tree as of commit 
> 414a6750e59b0b687034764c464e9ddecac0f7a6
> 
> [ 2181.230579] [ cut here ]
> [ 2181.231277] WARNING: at drivers/tty/tty_buffer.c:476 
> flush_to_ldisc+0x1de/0x1f0()
> [ 2181.232358] Hardware name: GA-MA78GM-S2H
> [ 2181.232925] tty is NULL
> [ 2181.233430] Modules linked in: l2tp_ppp l2tp_core fuse rfcomm binfmt_misc 
> hidp bnep scsi_transport_iscsi ipt_ULOG nfnetlink rose ipx p8023 p8022 
> caif_socket caif af_rxrpc x25 irda af_key appletalk pppoe netrom pppox 
> ppp_generic decnet phonet slhc psnap crc_ccitt ax25 llc2 rds atm llc nfc can 
> nfsv3 nfs_acl nfs fscache lockd sunrpc ip6t_REJECT nf_conntrack_ipv6 
> nf_defrag_ipv6 xt_conntrack nf_conntrack ip6table_filter ip6_tables 
> snd_hda_codec_realtek btusb snd_hda_intel bluetooth usb_debug snd_hda_codec 
> microcode snd_pcm serio_raw pcspkr snd_page_alloc snd_timer edac_core snd 
> soundcore r8169 mii vhost_net tun macvtap macvlan kvm_amd kvm
> [ 2181.245632] Pid: 29787, comm: kworker/0:1 Not tainted 3.7.0+ #12
> [ 2181.246503] Call Trace:
> [ 2181.246851]  [] warn_slowpath_common+0x7f/0xc0
> [ 2181.247725]  [] warn_slowpath_fmt+0x46/0x50
> [ 2181.248558]  [] ? ___ratelimit+0x9a/0x120
> [ 2181.249347]  [] flush_to_ldisc+0x1de/0x1f0
> [ 2181.250164]  [] process_one_work+0x207/0x750
> [ 2181.251013]  [] ? process_one_work+0x197/0x750
> [ 2181.251893]  [] ? destroy_work_on_stack+0x20/0x20
> [ 2181.252809]  [] ? 
> tty_insert_flip_string_fixed_flag+0x110/0x110
> [ 2181.253993]  [] worker_thread+0x156/0x440
> [ 2181.254815]  [] ? rescuer_thread+0x240/0x240
> [ 2181.255638]  [] kthread+0xed/0x100
> [ 2181.256374]  [] ? put_lock_stats.isra.23+0xe/0x40
> [ 2181.257290]  [] ? kthread_create_on_node+0x160/0x160
> [ 2181.258223]  [] ret_from_fork+0x7c/0xb0
> [ 2181.259018]  [] ? kthread_create_on_node+0x160/0x160
> [ 2181.259969] ---[ end trace 12dd9f01acd7e09f ]---

Jiri, I thought we resolved these warnings in the linux-next tree, how
are they still showing up?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: WARNING: at drivers/tty/tty_buffer.c:476 flush_to_ldisc+0x1de/0x1f0()

2012-12-14 Thread Greg Kroah-Hartman
On Tue, Dec 11, 2012 at 10:01:24PM -0500, Dave Jones wrote:
 Fuzz-testing fallout from post 3.7 tree as of commit 
 414a6750e59b0b687034764c464e9ddecac0f7a6
 
 [ 2181.230579] [ cut here ]
 [ 2181.231277] WARNING: at drivers/tty/tty_buffer.c:476 
 flush_to_ldisc+0x1de/0x1f0()
 [ 2181.232358] Hardware name: GA-MA78GM-S2H
 [ 2181.232925] tty is NULL
 [ 2181.233430] Modules linked in: l2tp_ppp l2tp_core fuse rfcomm binfmt_misc 
 hidp bnep scsi_transport_iscsi ipt_ULOG nfnetlink rose ipx p8023 p8022 
 caif_socket caif af_rxrpc x25 irda af_key appletalk pppoe netrom pppox 
 ppp_generic decnet phonet slhc psnap crc_ccitt ax25 llc2 rds atm llc nfc can 
 nfsv3 nfs_acl nfs fscache lockd sunrpc ip6t_REJECT nf_conntrack_ipv6 
 nf_defrag_ipv6 xt_conntrack nf_conntrack ip6table_filter ip6_tables 
 snd_hda_codec_realtek btusb snd_hda_intel bluetooth usb_debug snd_hda_codec 
 microcode snd_pcm serio_raw pcspkr snd_page_alloc snd_timer edac_core snd 
 soundcore r8169 mii vhost_net tun macvtap macvlan kvm_amd kvm
 [ 2181.245632] Pid: 29787, comm: kworker/0:1 Not tainted 3.7.0+ #12
 [ 2181.246503] Call Trace:
 [ 2181.246851]  [8104da4f] warn_slowpath_common+0x7f/0xc0
 [ 2181.247725]  [8104db46] warn_slowpath_fmt+0x46/0x50
 [ 2181.248558]  [8132e6ba] ? ___ratelimit+0x9a/0x120
 [ 2181.249347]  [813e897e] flush_to_ldisc+0x1de/0x1f0
 [ 2181.250164]  [81071237] process_one_work+0x207/0x750
 [ 2181.251013]  [810711c7] ? process_one_work+0x197/0x750
 [ 2181.251893]  [8106de50] ? destroy_work_on_stack+0x20/0x20
 [ 2181.252809]  [813e87a0] ? 
 tty_insert_flip_string_fixed_flag+0x110/0x110
 [ 2181.253993]  [81071b56] worker_thread+0x156/0x440
 [ 2181.254815]  [81071a00] ? rescuer_thread+0x240/0x240
 [ 2181.255638]  [810784bd] kthread+0xed/0x100
 [ 2181.256374]  [810b80ce] ? put_lock_stats.isra.23+0xe/0x40
 [ 2181.257290]  [810783d0] ? kthread_create_on_node+0x160/0x160
 [ 2181.258223]  [816a8ddc] ret_from_fork+0x7c/0xb0
 [ 2181.259018]  [810783d0] ? kthread_create_on_node+0x160/0x160
 [ 2181.259969] ---[ end trace 12dd9f01acd7e09f ]---

Jiri, I thought we resolved these warnings in the linux-next tree, how
are they still showing up?

thanks,

greg k-h
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: WARNING: at drivers/tty/tty_buffer.c:476 flush_to_ldisc+0x1de/0x1f0()

2012-12-14 Thread Peter Hurley
On Fri, 2012-12-14 at 18:29 -0800, Greg Kroah-Hartman wrote:
 On Tue, Dec 11, 2012 at 10:01:24PM -0500, Dave Jones wrote:
  Fuzz-testing fallout from post 3.7 tree as of commit 
  414a6750e59b0b687034764c464e9ddecac0f7a6
  
  [ 2181.230579] [ cut here ]
  [ 2181.231277] WARNING: at drivers/tty/tty_buffer.c:476 
  flush_to_ldisc+0x1de/0x1f0()
  [ 2181.232358] Hardware name: GA-MA78GM-S2H
  [ 2181.232925] tty is NULL
  [ 2181.233430] Modules linked in: l2tp_ppp l2tp_core fuse rfcomm 
  binfmt_misc hidp bnep scsi_transport_iscsi ipt_ULOG nfnetlink rose ipx 
  p8023 p8022 caif_socket caif af_rxrpc x25 irda af_key appletalk pppoe 
  netrom pppox ppp_generic decnet phonet slhc psnap crc_ccitt ax25 llc2 rds 
  atm llc nfc can nfsv3 nfs_acl nfs fscache lockd sunrpc ip6t_REJECT 
  nf_conntrack_ipv6 nf_defrag_ipv6 xt_conntrack nf_conntrack ip6table_filter 
  ip6_tables snd_hda_codec_realtek btusb snd_hda_intel bluetooth usb_debug 
  snd_hda_codec microcode snd_pcm serio_raw pcspkr snd_page_alloc snd_timer 
  edac_core snd soundcore r8169 mii vhost_net tun macvtap macvlan kvm_amd kvm
  [ 2181.245632] Pid: 29787, comm: kworker/0:1 Not tainted 3.7.0+ #12
  [ 2181.246503] Call Trace:
  [ 2181.246851]  [8104da4f] warn_slowpath_common+0x7f/0xc0
  [ 2181.247725]  [8104db46] warn_slowpath_fmt+0x46/0x50
  [ 2181.248558]  [8132e6ba] ? ___ratelimit+0x9a/0x120
  [ 2181.249347]  [813e897e] flush_to_ldisc+0x1de/0x1f0
  [ 2181.250164]  [81071237] process_one_work+0x207/0x750
  [ 2181.251013]  [810711c7] ? process_one_work+0x197/0x750
  [ 2181.251893]  [8106de50] ? destroy_work_on_stack+0x20/0x20
  [ 2181.252809]  [813e87a0] ? 
  tty_insert_flip_string_fixed_flag+0x110/0x110
  [ 2181.253993]  [81071b56] worker_thread+0x156/0x440
  [ 2181.254815]  [81071a00] ? rescuer_thread+0x240/0x240
  [ 2181.255638]  [810784bd] kthread+0xed/0x100
  [ 2181.256374]  [810b80ce] ? put_lock_stats.isra.23+0xe/0x40
  [ 2181.257290]  [810783d0] ? kthread_create_on_node+0x160/0x160
  [ 2181.258223]  [816a8ddc] ret_from_fork+0x7c/0xb0
  [ 2181.259018]  [810783d0] ? kthread_create_on_node+0x160/0x160
  [ 2181.259969] ---[ end trace 12dd9f01acd7e09f ]---
 
 Jiri, I thought we resolved these warnings in the linux-next tree, how
 are they still showing up?

Greg, that's what the series that I just sent v2 of fixes. Look for
[PATCH v2 0/11] tty: Fix buffer work access-after-free et al.

I tried to get it done sooner but got waylaid by GP fault in SLUB caused
by nouveau (solved) and page allocation exhaustion in -next on 10gb
machine (not solved). That and some frustration with getting netconsole
running with kvm (solved).

Dave, how do you have your trinity command line + kvm configured? I had
to write a test jig to get this to happen but I'd prefer to reproduce it
in trinity.

Regards,
Peter Hurley

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


WARNING: at drivers/tty/tty_buffer.c:476 flush_to_ldisc+0x1de/0x1f0()

2012-12-11 Thread Dave Jones
Fuzz-testing fallout from post 3.7 tree as of commit 
414a6750e59b0b687034764c464e9ddecac0f7a6

[ 2181.230579] [ cut here ]
[ 2181.231277] WARNING: at drivers/tty/tty_buffer.c:476 
flush_to_ldisc+0x1de/0x1f0()
[ 2181.232358] Hardware name: GA-MA78GM-S2H
[ 2181.232925] tty is NULL
[ 2181.233430] Modules linked in: l2tp_ppp l2tp_core fuse rfcomm binfmt_misc 
hidp bnep scsi_transport_iscsi ipt_ULOG nfnetlink rose ipx p8023 p8022 
caif_socket caif af_rxrpc x25 irda af_key appletalk pppoe netrom pppox 
ppp_generic decnet phonet slhc psnap crc_ccitt ax25 llc2 rds atm llc nfc can 
nfsv3 nfs_acl nfs fscache lockd sunrpc ip6t_REJECT nf_conntrack_ipv6 
nf_defrag_ipv6 xt_conntrack nf_conntrack ip6table_filter ip6_tables 
snd_hda_codec_realtek btusb snd_hda_intel bluetooth usb_debug snd_hda_codec 
microcode snd_pcm serio_raw pcspkr snd_page_alloc snd_timer edac_core snd 
soundcore r8169 mii vhost_net tun macvtap macvlan kvm_amd kvm
[ 2181.245632] Pid: 29787, comm: kworker/0:1 Not tainted 3.7.0+ #12
[ 2181.246503] Call Trace:
[ 2181.246851]  [] warn_slowpath_common+0x7f/0xc0
[ 2181.247725]  [] warn_slowpath_fmt+0x46/0x50
[ 2181.248558]  [] ? ___ratelimit+0x9a/0x120
[ 2181.249347]  [] flush_to_ldisc+0x1de/0x1f0
[ 2181.250164]  [] process_one_work+0x207/0x750
[ 2181.251013]  [] ? process_one_work+0x197/0x750
[ 2181.251893]  [] ? destroy_work_on_stack+0x20/0x20
[ 2181.252809]  [] ? 
tty_insert_flip_string_fixed_flag+0x110/0x110
[ 2181.253993]  [] worker_thread+0x156/0x440
[ 2181.254815]  [] ? rescuer_thread+0x240/0x240
[ 2181.255638]  [] kthread+0xed/0x100
[ 2181.256374]  [] ? put_lock_stats.isra.23+0xe/0x40
[ 2181.257290]  [] ? kthread_create_on_node+0x160/0x160
[ 2181.258223]  [] ret_from_fork+0x7c/0xb0
[ 2181.259018]  [] ? kthread_create_on_node+0x160/0x160
[ 2181.259969] ---[ end trace 12dd9f01acd7e09f ]---

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


WARNING: at drivers/tty/tty_buffer.c:476 flush_to_ldisc+0x1de/0x1f0()

2012-12-11 Thread Dave Jones
Fuzz-testing fallout from post 3.7 tree as of commit 
414a6750e59b0b687034764c464e9ddecac0f7a6

[ 2181.230579] [ cut here ]
[ 2181.231277] WARNING: at drivers/tty/tty_buffer.c:476 
flush_to_ldisc+0x1de/0x1f0()
[ 2181.232358] Hardware name: GA-MA78GM-S2H
[ 2181.232925] tty is NULL
[ 2181.233430] Modules linked in: l2tp_ppp l2tp_core fuse rfcomm binfmt_misc 
hidp bnep scsi_transport_iscsi ipt_ULOG nfnetlink rose ipx p8023 p8022 
caif_socket caif af_rxrpc x25 irda af_key appletalk pppoe netrom pppox 
ppp_generic decnet phonet slhc psnap crc_ccitt ax25 llc2 rds atm llc nfc can 
nfsv3 nfs_acl nfs fscache lockd sunrpc ip6t_REJECT nf_conntrack_ipv6 
nf_defrag_ipv6 xt_conntrack nf_conntrack ip6table_filter ip6_tables 
snd_hda_codec_realtek btusb snd_hda_intel bluetooth usb_debug snd_hda_codec 
microcode snd_pcm serio_raw pcspkr snd_page_alloc snd_timer edac_core snd 
soundcore r8169 mii vhost_net tun macvtap macvlan kvm_amd kvm
[ 2181.245632] Pid: 29787, comm: kworker/0:1 Not tainted 3.7.0+ #12
[ 2181.246503] Call Trace:
[ 2181.246851]  [8104da4f] warn_slowpath_common+0x7f/0xc0
[ 2181.247725]  [8104db46] warn_slowpath_fmt+0x46/0x50
[ 2181.248558]  [8132e6ba] ? ___ratelimit+0x9a/0x120
[ 2181.249347]  [813e897e] flush_to_ldisc+0x1de/0x1f0
[ 2181.250164]  [81071237] process_one_work+0x207/0x750
[ 2181.251013]  [810711c7] ? process_one_work+0x197/0x750
[ 2181.251893]  [8106de50] ? destroy_work_on_stack+0x20/0x20
[ 2181.252809]  [813e87a0] ? 
tty_insert_flip_string_fixed_flag+0x110/0x110
[ 2181.253993]  [81071b56] worker_thread+0x156/0x440
[ 2181.254815]  [81071a00] ? rescuer_thread+0x240/0x240
[ 2181.255638]  [810784bd] kthread+0xed/0x100
[ 2181.256374]  [810b80ce] ? put_lock_stats.isra.23+0xe/0x40
[ 2181.257290]  [810783d0] ? kthread_create_on_node+0x160/0x160
[ 2181.258223]  [816a8ddc] ret_from_fork+0x7c/0xb0
[ 2181.259018]  [810783d0] ? kthread_create_on_node+0x160/0x160
[ 2181.259969] ---[ end trace 12dd9f01acd7e09f ]---

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/