mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Linus Torvalds <torvalds@linux-foundation.org>,
	x86@kernel.org, Arjan van de Ven <arjan@linux.intel.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.6.38-rc4 (test_nx: BUG)
Date: Wed, 9 Feb 2011 09:08:04 -0800	[thread overview]
Message-ID: <20110209090804.5c1ecf8e.randy.dunlap@oracle.com> (raw)
In-Reply-To: <AANLkTimmb26UiBSukdNnVdxLJpCGd=QqpCw8vQoHALh-@mail.gmail.com>


test_nx BUGs.
CONFIG_DEBUG_RODATA=y
(nearly allmodconfig, with a few changes)

Is that expected?


[  132.533559] Testing NX protection
[  132.533583] BUG: unable to handle kernel paging request at ffffffffa05fa178
[  132.533730] IP: [<ffffffffa05f905e>] fudze_exception_table+0x4c/0x58 [test_nx]
[  132.533835] PGD 1a14067 PUD 1a18063 PMD 78b1c067 PTE 800000006cebf161
[  132.534073] Oops: 0003 [#1] SMP DEBUG_PAGEALLOC
[  132.534132] last sysfs file: /sys/devices/pci0000:00/0000:00:1d.1/usb6/6-1/6-1.3/devnum
[  132.534138] CPU 0 
[  132.534140] Modules linked in: test_nx(+) af_packet nfsd lockd nfs_acl auth_rpcgss exportfs sunrpc ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 iptable_filter ip_tables ip6t_REJECT xt_tcpudp nf_conntrack_ipv6 nf_defrag_ipv6 xt_state nf_conntrack ip6table_filter ip6_tables x_tables ipv6 cpufreq_ondemand acpi_cpufreq freq_table mperf binfmt_misc dm_mirror dm_region_hash dm_log dm_multipath scsi_dh dm_mod mousedev joydev evdev mac_hid snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_seq usbmouse snd_seq_device usbkbd usbhid snd_pcm hid 8250_pnp rtc_cmos snd_timer sr_mod pcspkr rtc_core dcdbas i2c_i801 cdrom 8250 snd sg rtc_lib processor tg3 serial_core soundcore thermal_sys intel_agp iTCO_wdt snd_page_alloc button iTCO_vendor_support intel_gtt hwmon unix ide_pci_generic ide_core ata_generic pata_acpi ata_piix sd_mod crc_t10dif ext3 jbd mbcache uhci_hcd ohci_hcd ssb mmc_core pcmcia pcmcia_core firmware_class ehci_hcd usbcore nls_base [last unloaded: microcode]
[  132.534237] 
[  132.534241] Pid: 2526, comm: modprobe Not tainted 2.6.38-rc4 #1 0TY565/OptiPlex 745                 
[  132.534245] RIP: 0010:[<ffffffffa05f905e>]  [<ffffffffa05f905e>] fudze_exception_table+0x4c/0x58 [test_nx]
[  132.534252] RSP: 0018:ffff88006cec1ec8  EFLAGS: 00010246
[  132.534254] RAX: ffffffffa05fa178 RBX: 0000000000000001 RCX: 0000000000000000
[  132.534257] RDX: 0000000000000000 RSI: ffff88006cec1ef8 RDI: ffffffffa05f909d
[  132.534261] RBP: ffff88006cec1ec8 R08: 0000000000000001 R09: 0000000000000000
[  132.534263] R10: 0000000000000000 R11: ffff88006cec1d68 R12: ffff88006cec1ef8
[  132.534266] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[  132.534270] FS:  00007f420c3536f0(0000) GS:ffff88007c400000(0000) knlGS:0000000000000000
[  132.534274] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[  132.534277] CR2: ffffffffa05fa178 CR3: 000000006cef0000 CR4: 00000000000006f0
[  132.534280] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  132.534283] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[  132.534287] Process modprobe (pid: 2526, threadinfo ffff88006cec0000, task ffff88006ce93000)
[  132.534289] Stack:
[  132.534291]  ffff88006cec1ee8 ffffffffa05f9094 ffffffffa05fb080 ffffffffa05f90d7
[  132.534299]  ffff88006cec1f18 ffffffffa05f911d 00000000000090c3 0000000000000000
[  132.534304]  ffff88006cec1f18 ffffffffa05fb080 ffff88006cec1f48 ffffffff810020e3
[  132.534310] Call Trace:
[  132.534318]  [<ffffffffa05f9094>] test_address+0x2a/0x33 [test_nx]
[  132.534325]  [<ffffffffa05f90d7>] ? test_NX+0x0/0x180 [test_nx]
[  132.534330]  [<ffffffffa05f911d>] test_NX+0x46/0x180 [test_nx]
[  132.534336]  [<ffffffff810020e3>] do_one_initcall+0xa9/0x1ef
[  132.534341]  [<ffffffff810d6674>] sys_init_module+0x12b/0x307
[  132.534345]  [<ffffffff8100e942>] system_call_fastpath+0x16/0x1b
[  132.534347] Code: 00 e8 4b 9d f5 e0 48 c7 c7 53 a0 5f a0 31 c0 48 ff 05 c7 22 00 00 e8 36 9d f5 e0 48 ff 05 c3 22 00 00 eb 11 48 8b 05 62 21 00 00 <48> 89 30 48 ff 05 b8 22 00 00 c9 c3 55 48 89 e5 41 54 53 0f 1f 
[  132.534381] RIP  [<ffffffffa05f905e>] fudze_exception_table+0x4c/0x58 [test_nx]
[  132.534386]  RSP <ffff88006cec1ec8>
[  132.534388] CR2: ffffffffa05fa178
[  132.534392] ---[ end trace c7905109946d6306 ]---

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

  parent reply	other threads:[~2011-02-09 17:08 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-08  0:23 Linux 2.6.38-rc4 Linus Torvalds
2011-02-08 10:17 ` lockdep: possible reason: unannotated irqs-off. (was: Re: Linux 2.6.38-rc4) Borislav Petkov
2011-02-08 10:41   ` Peter Zijlstra
2011-02-08 12:11     ` Yong Zhang
2011-02-08 12:14       ` [PATCH 2/2] timer: use local_bh_enable_force_wake() in del_timer_sync() Yong Zhang
2011-02-08 13:34       ` lockdep: possible reason: unannotated irqs-off. (was: Re: Linux 2.6.38-rc4) Yong Zhang
2011-02-08 13:48         ` Peter Zijlstra
2011-02-08 14:18           ` Peter Zijlstra
2011-02-08 15:15             ` Ingo Molnar
2011-02-08 15:51             ` [tip:core/urgent] Revert "lockdep, timer: Fix del_timer_sync() annotation" tip-bot for Peter Zijlstra
2011-02-09  1:46             ` lockdep: possible reason: unannotated irqs-off. (was: Re: Linux 2.6.38-rc4) Yong Zhang
2011-02-14 14:51             ` Yong Zhang
2011-02-14 18:53               ` Thomas Gleixner
2011-02-08 20:28 ` Heads up Linux 2.6.38-rc4 compile problems Eric W. Biederman
2011-02-08 20:44   ` Linus Torvalds
2011-02-09  9:01     ` Eric W. Biederman
2011-02-09 14:59       ` Alex Riesen
2011-02-09 16:02         ` Linus Torvalds
2011-02-13 17:39           ` Linus Torvalds
2011-02-14  2:04             ` Eric W. Biederman
2011-02-14  2:45               ` Linus Torvalds
2011-02-14  3:40                 ` Eric W. Biederman
2011-02-14  5:34                   ` Eric W. Biederman
2011-02-14 15:26                     ` Linus Torvalds
2011-02-14 15:37                     ` Eric W. Biederman
2011-02-14 16:37                       ` Linus Torvalds
2011-02-14 17:39                         ` Eric W. Biederman
2011-02-14 17:49                         ` Linus Torvalds
2011-02-14 18:08                           ` Linus Torvalds
2011-02-14 19:44                             ` Eric W. Biederman
2011-02-14 20:13                               ` Andrew Morton
2011-02-14 18:25                         ` Andi Kleen
2011-02-14 16:58                     ` Mike Snitzer
2011-02-15 14:07                       ` [Crash-utility] " Dave Anderson
2011-02-09 17:08 ` Randy Dunlap [this message]
2011-02-09 17:10   ` Linux 2.6.38-rc4 (test_nx: BUG) Arjan van de Ven
2011-02-17 19:33     ` Kees Cook
2011-02-09 17:24 ` Linux 2.6.38-rc4 (hysdn: BUG) Randy Dunlap
2011-02-09 19:44   ` Linus Torvalds
2011-02-09 21:25     ` Randy Dunlap
2011-02-09 21:57       ` David Miller
2011-02-09 22:00         ` Linus Torvalds
2011-02-09 17:26 ` Linux 2.6.38-rc4 (tty/ifx6x60: BUG) Randy Dunlap
2011-02-09 18:28   ` Alan Cox
2011-02-09 17:28 ` Linux 2.6.38-rc4 (target_core: rmmod GP fault) Randy Dunlap
2011-02-09 19:00   ` Linus Torvalds
2011-02-09 20:02     ` Nicholas A. Bellinger
2011-02-09 20:13       ` James Bottomley
2011-02-09 20:20         ` Nicholas A. Bellinger
2011-02-09 20:28           ` James Bottomley
2011-02-09 20:44             ` Nicholas A. Bellinger
2011-02-09 17:36 ` Linux 2.6.38-rc4 (other bugs) Randy Dunlap
2011-02-09 22:01   ` David Miller
2011-02-09 22:16     ` Randy Dunlap
2011-02-10  4:58     ` Linux 2.6.38-rc4 (other bugs: x25) Randy Dunlap
2011-02-10  5:48       ` David Miller
2011-02-10  6:29         ` Randy Dunlap
2011-02-10  6:35           ` David Miller
2011-02-10 19:34   ` Linux 2.6.38-rc4 (other bugs: ipmi Oops) Randy Dunlap
2011-02-10 20:03     ` Linus Torvalds
2011-02-10 20:08       ` Corey Minyard
2011-02-10 21:41       ` Randy Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110209090804.5c1ecf8e.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=arjan@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome