linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mysterious udev segfault
@ 2014-11-18 11:05 Rogelio Serrano
  2014-11-18 11:35 ` Borislav Petkov
       [not found] ` <CA+rthh8q1+hh7wvZg8hXB4j-WyQm-ainU0X2Cb_mnGwLM9DW_Q@mail.gmail.com>
  0 siblings, 2 replies; 4+ messages in thread
From: Rogelio Serrano @ 2014-11-18 11:05 UTC (permalink / raw)
  To: Linux Kernel Mailing List

on boot i get this half of the time:

[    6.349867] general protection fault: 0000 [#1] SMP
[    6.352177] Modules linked in: zram lz4_decompress lz4_compress unix
[    6.354483] CPU: 1 PID: 112 Comm: udevd Not tainted 3.16.3-grsec-26 #2
[    6.356583] Hardware name: Matsushita Electric Industrial Co.,Ltd. CF-W7DWM0$
[    6.356583] task: ffff8800ba589e00 ti: ffff8800ba58a5d8 task.ti: ffff8800ba5$
[    6.356583] RIP: 0010:[<ffffffff812f9a2c>]  [<ffffffff812f9a2c>] ffffffff812$
[    6.356583] RSP: 0018:ffffc9001555b9c8  EFLAGS: 00010246
[    6.356583] RAX: 0000000000000000 RBX: fefefefefefefefe RCX: ffff8800bb6d0a68
[    6.356583] RDX: ffffc9001555ba18 RSI: 0000000000000036 RDI: fefefefefefefefe
[    6.356583] RBP: ffffc9001555b9f8 R08: 0000000000015660 R09: ffff8800bb71d890
[    6.356583] R10: ffff8800b9087000 R11: 000000000000000a R12: 0000000000000036
[    6.356583] R13: ffffc9001555ba18 R14: ffff8800bb145b58 R15: ffff8800bab10000
[    6.356583] FS:  000002c2ecf717c0(0000) GS:ffff8800bf500000(0000) knlGS:0000$
[    6.356583] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    6.356583] CR2: 000006c2ecf7b000 CR3: 000000000194d000 CR4: 00000000000007f0
[    6.356583] Stack:
[    6.356583]  ffffc9001555b9f8 f4b9ed2e7f08ef51 000000000003602f ffff8800bb71$
[    6.356583]  ffff8800bb6d0c70 0000000000000036 ffffc9001555ba58 ffffffff812f$
[    6.356583]  ffff8800bb6d0a68 ffff8800bb71d680 ffffc9001555ba58 f4b9ed2e7f08$
[    6.356583] Call Trace:
[    6.356583]  [<ffffffff812fa70e>] diRead+0x7e/0x250
[    6.356583]  [<ffffffff812f06c0>] jfs_iget+0x70/0x190
[    6.356583]  [<ffffffff812f1034>] jfs_lookup+0xd4/0xe0
[    6.356583]  [<ffffffff8119e8dc>] ? kmem_cache_alloc+0x3c/0x160
[    6.356583]  [<ffffffff811cf315>] ? __d_alloc+0x35/0x1d0
[    6.356583]  [<ffffffff813b643a>] ? __list_add+0x3a/0x80
[    6.356583]  [<ffffffff811cf7ec>] ? d_alloc+0x6c/0xa0
[    6.356583]  [<ffffffff811bbe28>] lookup_real+0x58/0xb0
[    6.356583]  [<ffffffff811c2f33>] do_last.isra.58+0x7a3/0xf70
[    6.356583]  [<ffffffff811c37d1>] path_openat+0xd1/0x690
[    6.356583]  [<ffffffff811c4188>] do_filp_open+0x58/0xd0
[    6.356583]  [<ffffffff811aca43>] do_sys_open+0x143/0x2d0
[    6.356583]  [<ffffffff811acc13>] SyS_open+0x43/0x70
[    6.356583]  [<ffffffff8193e3b8>] system_call_fastpath+0x16/0x1b
[    6.356583] Code: 48 89 e5 48 83 ec 30 65 48 8b 04 25 28 00 00 00 48 89 45 d$
[    6.356583] RIP  [<ffffffff812f9a2c>] ffffffff812f9a2c
[    6.356583]  RSP <ffffc9001555b9c8>
[    6.380024] general protection fault: 0000 [#2]
[    6.443540] ---[ end trace 32a35fdec5a04e9e ]---


what are we seeing here? a jfs bug?

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

* Re: mysterious udev segfault
  2014-11-18 11:05 mysterious udev segfault Rogelio Serrano
@ 2014-11-18 11:35 ` Borislav Petkov
  2014-11-19 12:38   ` Rogelio Serrano
       [not found] ` <CA+rthh8q1+hh7wvZg8hXB4j-WyQm-ainU0X2Cb_mnGwLM9DW_Q@mail.gmail.com>
  1 sibling, 1 reply; 4+ messages in thread
From: Borislav Petkov @ 2014-11-18 11:35 UTC (permalink / raw)
  To: Rogelio Serrano; +Cc: Linux Kernel Mailing List

On Tue, Nov 18, 2014 at 11:05:32AM +0000, Rogelio Serrano wrote:
> on boot i get this half of the time:
> 
> [    6.349867] general protection fault: 0000 [#1] SMP
> [    6.352177] Modules linked in: zram lz4_decompress lz4_compress unix
> [    6.354483] CPU: 1 PID: 112 Comm: udevd Not tainted 3.16.3-grsec-26 #2
								^^^^^

> [    6.356583] Hardware name: Matsushita Electric Industrial Co.,Ltd. CF-W7DWM0$
> [    6.356583] task: ffff8800ba589e00 ti: ffff8800ba58a5d8 task.ti: ffff8800ba5$
> [    6.356583] RIP: 0010:[<ffffffff812f9a2c>]  [<ffffffff812f9a2c>] ffffffff812$
> [    6.356583] RSP: 0018:ffffc9001555b9c8  EFLAGS: 00010246
> [    6.356583] RAX: 0000000000000000 RBX: fefefefefefefefe RCX: ffff8800bb6d0a68
> [    6.356583] RDX: ffffc9001555ba18 RSI: 0000000000000036 RDI: fefefefefefefefe
> [    6.356583] RBP: ffffc9001555b9f8 R08: 0000000000015660 R09: ffff8800bb71d890
> [    6.356583] R10: ffff8800b9087000 R11: 000000000000000a R12: 0000000000000036
> [    6.356583] R13: ffffc9001555ba18 R14: ffff8800bb145b58 R15: ffff8800bab10000
> [    6.356583] FS:  000002c2ecf717c0(0000) GS:ffff8800bf500000(0000) knlGS:0000$
> [    6.356583] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [    6.356583] CR2: 000006c2ecf7b000 CR3: 000000000194d000 CR4: 00000000000007f0
> [    6.356583] Stack:
> [    6.356583]  ffffc9001555b9f8 f4b9ed2e7f08ef51 000000000003602f ffff8800bb71$
> [    6.356583]  ffff8800bb6d0c70 0000000000000036 ffffc9001555ba58 ffffffff812f$
> [    6.356583]  ffff8800bb6d0a68 ffff8800bb71d680 ffffc9001555ba58 f4b9ed2e7f08$
> [    6.356583] Call Trace:
> [    6.356583]  [<ffffffff812fa70e>] diRead+0x7e/0x250
> [    6.356583]  [<ffffffff812f06c0>] jfs_iget+0x70/0x190
> [    6.356583]  [<ffffffff812f1034>] jfs_lookup+0xd4/0xe0
> [    6.356583]  [<ffffffff8119e8dc>] ? kmem_cache_alloc+0x3c/0x160
> [    6.356583]  [<ffffffff811cf315>] ? __d_alloc+0x35/0x1d0
> [    6.356583]  [<ffffffff813b643a>] ? __list_add+0x3a/0x80
> [    6.356583]  [<ffffffff811cf7ec>] ? d_alloc+0x6c/0xa0
> [    6.356583]  [<ffffffff811bbe28>] lookup_real+0x58/0xb0
> [    6.356583]  [<ffffffff811c2f33>] do_last.isra.58+0x7a3/0xf70
> [    6.356583]  [<ffffffff811c37d1>] path_openat+0xd1/0x690
> [    6.356583]  [<ffffffff811c4188>] do_filp_open+0x58/0xd0
> [    6.356583]  [<ffffffff811aca43>] do_sys_open+0x143/0x2d0
> [    6.356583]  [<ffffffff811acc13>] SyS_open+0x43/0x70
> [    6.356583]  [<ffffffff8193e3b8>] system_call_fastpath+0x16/0x1b
> [    6.356583] Code: 48 89 e5 48 83 ec 30 65 48 8b 04 25 28 00 00 00 48 89 45 d$
> [    6.356583] RIP  [<ffffffff812f9a2c>] ffffffff812f9a2c
> [    6.356583]  RSP <ffffc9001555b9c8>
> [    6.380024] general protection fault: 0000 [#2]
> [    6.443540] ---[ end trace 32a35fdec5a04e9e ]---
> 
> what are we seeing here? a jfs bug?

Can you trigger with the upstream kernel too? i.e. remove the grsec
stuff and retry.

Btw, your mail is somehow cutoff on the right-hand side with those '$'
chars...

-- 
Regards/Gruss,
    Boris.

Sent from a fat crate under my desk. Formatting is fine.
--

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

* Re: mysterious udev segfault
  2014-11-18 11:35 ` Borislav Petkov
@ 2014-11-19 12:38   ` Rogelio Serrano
  0 siblings, 0 replies; 4+ messages in thread
From: Rogelio Serrano @ 2014-11-19 12:38 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: Linux Kernel Mailing List

On Tue, Nov 18, 2014 at 11:35 AM, Borislav Petkov <bp@alien8.de> wrote:
<snipped...>
>>
>> what are we seeing here? a jfs bug?
>
> Can you trigger with the upstream kernel too? i.e. remove the grsec
> stuff and retry.
>

I will do that. Im building a new kernel as right now.

> Btw, your mail is somehow cutoff on the right-hand side with those '$'
> chars...
>

Sorry about that. I just cut and pasted from mg in a narrow window.

<snipped...>

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

* Fwd: mysterious udev segfault
       [not found]       ` <CAB_-8bKBC9T-35U3=g5gL7qcg6DrfhPuk2154-yLkuwko7HZFw@mail.gmail.com>
@ 2014-12-04 10:55         ` Rogelio M. Serrano Jr.
  0 siblings, 0 replies; 4+ messages in thread
From: Rogelio M. Serrano Jr. @ 2014-12-04 10:55 UTC (permalink / raw)
  To: linux-kernel

---------- Forwarded message ----------
From: Rogelio M. Serrano Jr. <rogelios664@gmail.com>
Date: Thu, Dec 4, 2014 at 10:53 AM
Subject: Re: mysterious udev segfault
To: Mathias Krause <minipli@googlemail.com>


On Thu, Dec 4, 2014 at 8:13 AM, Mathias Krause <minipli@googlemail.com> wrote:
>
<snipped...>
>
> Probably not. But I don't think the grsec patch changes anything
> related to firmware loading.
> Upstream added an option to disable firmware loading via udev
> (CONFIG_FW_LOADER_USER_HELPER_FALLBACK). Maybe that's related.
> Again, logs may help here.
>
>
> Regards,
> Mathias

both loadable kernel modules and loader user helper fallback are off

Dec  3 10:18:02 (none) klogd: [    1.789031] iwl4965: Intel(R)
Wireless WiFi 4965 driver for Linux, in-tree:
Dec  3 10:18:02 (none) klogd: [    1.790767] iwl4965: Copyright(c)
2003-2011 Intel Corporation
Dec  3 10:18:02 (none) klogd: [    1.792484] iwl4965 0000:03:00.0:
can't disable ASPM; OS doesn't have ASPM control
Dec  3 10:18:02 (none) klogd: [    1.794421] iwl4965 0000:03:00.0:
Detected Intel(R) Wireless WiFi Link 4965AGN, REV=0x4
Dec  3 10:18:02 (none) klogd: [    1.839823] iwl4965 0000:03:00.0:
device EEPROM VER=0x36, CALIB=0x5
Dec  3 10:18:02 (none) klogd: [    1.841597] iwl4965 0000:03:00.0:
Tunable channels: 11 802.11bg, 13 802.11a channels
Dec  3 10:18:02 (none) klogd: [    1.843495] iwl4965 0000:03:00.0: irq
31 for MSI/MSI-X
Dec  3 10:18:02 (none) klogd: [    1.843839] iwl4965 0000:03:00.0:
Direct firmware load for iwlwifi-4965-2.ucode failed with error -2
Dec  3 10:18:02 (none) klogd: [    1.845598] iwl4965 0000:03:00.0:
request for firmware file 'iwlwifi-4965-2.ucode' failed.
Dec  3 10:18:02 (none) klogd: [    1.847392] iwl4965 0000:03:00.0: no
suitable firmware found!

turning loadable kernel modules back on works

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

end of thread, other threads:[~2014-12-04 10:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-18 11:05 mysterious udev segfault Rogelio Serrano
2014-11-18 11:35 ` Borislav Petkov
2014-11-19 12:38   ` Rogelio Serrano
     [not found] ` <CA+rthh8q1+hh7wvZg8hXB4j-WyQm-ainU0X2Cb_mnGwLM9DW_Q@mail.gmail.com>
     [not found]   ` <CAB_-8bLXD65f=eX-kudZC8LHBUk50qCK=w_B1wbXe=A4egU1RQ@mail.gmail.com>
     [not found]     ` <CA+rthh_xhUytmh26pBUh7q9uocDv4VdbtXvz-tMJSJSeVT3FNw@mail.gmail.com>
     [not found]       ` <CAB_-8bKBC9T-35U3=g5gL7qcg6DrfhPuk2154-yLkuwko7HZFw@mail.gmail.com>
2014-12-04 10:55         ` Fwd: " Rogelio M. Serrano Jr.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).