lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090921095451.5ce95767@s6510>
Date:	Mon, 21 Sep 2009 09:54:51 -0700
From:	Stephen Hemminger <shemminger@...tta.com>
To:	Simon Holm Thøgersen <odie@...aau.dk>
Cc:	Jesse Brandeburg <jesse.brandeburg@...el.com>,
	netdev@...r.kernel.org
Subject: Re: [PANIC] pktgen panic on load

On Mon, 21 Sep 2009 17:44:17 +0200
Simon Holm Thøgersen <odie@...aau.dk> wrote:

> søn, 20 09 2009 kl. 21:35 -0700, skrev Stephen Hemminger:
> > On Sun, 20 Sep 2009 15:45:47 -0700
> > Jesse Brandeburg <jesse.brandeburg@...el.com> wrote:
> > 
> > > just got this today after cloning Linus' tree, please let me know if you
> > > want .config or full dmesg
> > 
> > config would help (hrt, nohz, preempt, ...), and was it just on module load?
> > or had you started it sending?
> 
> I have the similar trace below on a simple 'modprobe pktgen'. I've
> attached my config for v2.6.31-6456-g78f28b7.
> 
> > [ 2302.386665] pktgen 2.72: Packet Generator for packet performance testing.
> > [ 2302.386783] ------------[ cut here ]------------
> > [ 2302.386790] kernel BUG at net/core/pktgen.c:3503!
> > [ 2302.386796] invalid opcode: 0000 [#1] SMP 
> > [ 2302.386803] last sysfs file: /sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/ieee80211/phy0/rfkill1/state
> > [ 2302.386812] CPU 1 
> > [ 2302.386817] Modules linked in: pktgen(+) i915 drm i2c_algo_bit cfbcopyarea cfbimgblt cfbfillrect binfmt_misc ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack bnep ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables bridge stp llc kvm_intel kvm tun snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_oss arc4 ecb snd_seq_midi_event snd_seq iwlagn snd_timer snd_seq_device iwlcore mac80211 uvcvideo snd video sdhci_pci soundcore snd_page_alloc cfg80211 ricoh_mmc videodev v4l1_compat v4l2_compat_ioctl32 intel_agp psmouse e1000e output sdhci led_class btusb
> > [ 2302.386920] Pid: 2897, comm: kpktgend_0 Not tainted 2.6.31-debug #8 HP EliteBook 6930p
> > [ 2302.386926] RIP: 0010:[<ffffffffa035483c>]  [<ffffffffa035483c>] pktgen_thread_worker+0x19ac/0x1a40 [pktgen]
> > [ 2302.386945] RSP: 0018:ffff880050755d30  EFLAGS: 00010297
> > [ 2302.386950] RAX: 0000000000000001 RBX: ffff880057ae18c0 RCX: ffff880057ae18c0
> > [ 2302.386956] RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff88006637d400
> > [ 2302.386961] RBP: ffff880050755ee0 R08: ffff880050754000 R09: 0000000000000000
> > [ 2302.386967] R10: 0000000000000001 R11: 0000000000000400 R12: ffff88005ae61db0
> > [ 2302.386973] R13: ffff88006637d400 R14: ffffffffa0352e90 R15: ffff88006637d400
> > [ 2302.386980] FS:  0000000000000000(0000) GS:ffff880006080000(0000) knlGS:0000000000000000
> > [ 2302.386986] CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
> > [ 2302.386991] CR2: 00007f861ee0e080 CR3: 0000000057a2a000 CR4: 00000000000026a0
> > [ 2302.386997] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> > [ 2302.387003] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> > [ 2302.387010] Process kpktgend_0 (pid: 2897, threadinfo ffff880050754000, task ffff880057ae18c0)
> > [ 2302.387014] Stack:
> > [ 2302.387018]  0000000000000000 ffff880057ae18f8 ffff88000609bc58 ffff880057ae18f8
> > [ 2302.387027] <0> ffff880050755d80 ffffffff81043726 ffff88000609bc30 ffff880057ae18f8
> > [ 2302.387037] <0> 0000000000000001 ffff88000609bc30 ffff880050755db0 ffff88005ae1ca78
> > [ 2302.387048] Call Trace:
> > [ 2302.387064]  [<ffffffff81043726>] ? update_curr+0xe6/0x190
> > [ 2302.387073]  [<ffffffff8103586e>] ? update_stats_wait_end+0xae/0xf0
> > [ 2302.387084]  [<ffffffff81009e0d>] ? __switch_to+0xcd/0x320
> > [ 2302.387092]  [<ffffffff81040a13>] ? finish_task_switch+0x43/0xd0
> > [ 2302.387103]  [<ffffffff81444638>] ? thread_return+0x3e/0x6c6
> > [ 2302.387113]  [<ffffffff81066ed0>] ? autoremove_wake_function+0x0/0x40
> > [ 2302.387125]  [<ffffffffa0352e90>] ? pktgen_thread_worker+0x0/0x1a40 [pktgen]
> > [ 2302.387136]  [<ffffffffa0352e90>] ? pktgen_thread_worker+0x0/0x1a40 [pktgen]
> > [ 2302.387143]  [<ffffffff81066aa6>] kthread+0x96/0xb0
> > [ 2302.387151]  [<ffffffff8100c68a>] child_rip+0xa/0x20
> > [ 2302.387158]  [<ffffffff81066a10>] ? kthread+0x0/0xb0
> > [ 2302.387164]  [<ffffffff8100c680>] ? child_rip+0x0/0x20
> > [ 2302.387168] Code: 89 df 31 db e8 36 2d 00 e1 e9 0d f0 ff ff 90 89 da 48 8b b5 b0 fe ff ff 48 c7 c7 ce 5e 35 a0 31 c0 e8 86 f6 0e e1 e9 fa f5 ff ff <0f> 0b eb fe 49 8b 85 48 02 00 00 48 89 de 4c 89 ef ff 50 30 89 
> > [ 2302.387243] RIP  [<ffffffffa035483c>] pktgen_thread_worker+0x19ac/0x1a40 [pktgen]
> > [ 2302.387256]  RSP <ffff880050755d30>
> > [ 2302.387281] ---[ end trace 120a26c5c90348c4 ]---

Could you do a git bisect, although pktgen changed recently, the changes were
not related to the thread initialization, so I suspect something outside
the scope of networking (ie scheduler, vm, etc)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ