Crashed 3 times in 2 days, same message each time: BUG: unable to handle kernel


iarp

Recommended Posts

I have not been able to figure out what if anything is causing this.

 

From what I can find online when searching for this, it seems to appear in topics about running unraid within an esxi image or something. This is on a standalone machine.

 

Sep 22 19:27:04 storage kernel: BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
Sep 22 19:27:04 storage kernel: IP: [<ffffffff811533e4>] __discard_prealloc+0x98/0xb3
Sep 22 19:27:04 storage kernel: PGD 5afb8067 PUD 5a97d067 PMD 0 
Sep 22 19:27:04 storage kernel: Oops: 0002 [#1] PREEMPT SMP 
Sep 22 19:27:04 storage kernel: Modules linked in: xt_CHECKSUM iptable_mangle ipt_REJECT nf_reject_ipv4 ebtable_filter ebtables kvm_amd kvm vhost_net vhost macvtap macvlan tun xt_nat veth ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_nat_ipv4 iptable_filter ip_tables nf_nat md_mod k8temp mvsas libsas scsi_transport_sas forcedeth pata_amd sata_nv asus_atk0110 acpi_cpufreq [last unloaded: md_mod]
Sep 22 19:27:04 storage kernel: CPU: 0 PID: 14615 Comm: shfs Not tainted 4.1.5-unRAID #5
Sep 22 19:27:04 storage kernel: Hardware name: System manufacturer System Product Name/M2N-E, BIOS ASUS M2N-E ACPI BIOS Revision 1102 09/21/2007
Sep 22 19:27:04 storage kernel: task: ffff88007898baa0 ti: ffff880031cbc000 task.ti: ffff880031cbc000
Sep 22 19:27:04 storage kernel: RIP: 0010:[<ffffffff811533e4>]  [<ffffffff811533e4>] __discard_prealloc+0x98/0xb3
Sep 22 19:27:04 storage kernel: RSP: 0018:ffff880031cbfaa8  EFLAGS: 00010246
Sep 22 19:27:04 storage kernel: RAX: ffff880003666128 RBX: ffff880003666100 RCX: 0000000000000000
Sep 22 19:27:04 storage kernel: RDX: 0000000000000000 RSI: ffff880003666100 RDI: ffff880031cbfc10
Sep 22 19:27:04 storage kernel: RBP: ffff880031cbfad8 R08: 0000000000001283 R09: 00000000001e99bf
Sep 22 19:27:04 storage kernel: R10: 00000000ffffffff R11: ffff880043d14340 R12: ffff880031cbfc10
Sep 22 19:27:04 storage kernel: R13: ffff8800036661a0 R14: ffff880031cbfc10 R15: 0000000000000000
Sep 22 19:27:04 storage kernel: FS:  00002afbd8803700(0000) GS:ffff88007bc00000(0000) knlGS:0000000000000000
Sep 22 19:27:04 storage kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sep 22 19:27:04 storage kernel: CR2: 0000000000000008 CR3: 000000005a97f000 CR4: 00000000000006f0
Sep 22 19:27:04 storage kernel: Stack:
Sep 22 19:27:04 storage kernel: ffff8800748ce600 ffff880031cbfc10 ffffc90000c83000 ffffc90000ca31e8
Sep 22 19:27:04 storage kernel: ffff880031cbfc10 ffff880075289800 ffff880031cbfb08 ffffffff81153463
Sep 22 19:27:04 storage kernel: ffff880031cbfc10 ffff88007898baa0 ffffc90000c83000 ffffc90000c83000
Sep 22 19:27:04 storage kernel: Call Trace:
Sep 22 19:27:04 storage kernel: [<ffffffff81153463>] reiserfs_discard_all_prealloc+0x44/0x4e
Sep 22 19:27:04 storage kernel: [<ffffffff8116fca4>] do_journal_end+0x4e7/0xc78
Sep 22 19:27:04 storage kernel: [<ffffffff81170994>] journal_end+0xae/0xb6
Sep 22 19:27:04 storage kernel: [<ffffffff81157eb8>] reiserfs_create+0x160/0x186
Sep 22 19:27:04 storage kernel: [<ffffffff8117349d>] ? reiserfs_permission+0x11/0x13
Sep 22 19:27:04 storage kernel: [<ffffffff81105aca>] vfs_create+0x64/0x9f
Sep 22 19:27:04 storage kernel: [<ffffffff81107200>] do_last.isra.48+0x4e8/0xa07
Sep 22 19:27:04 storage kernel: [<ffffffff81110400>] ? __d_lookup+0x127/0x139
Sep 22 19:27:04 storage kernel: [<ffffffff81108401>] ? path_init+0x32a/0x340
Sep 22 19:27:04 storage kernel: [<ffffffff81108dd8>] path_openat+0x1db/0x513
Sep 22 19:27:04 storage kernel: [<ffffffff811161cf>] ? mntput+0x28/0x2a
Sep 22 19:27:04 storage kernel: [<ffffffff81104ad2>] ? path_put+0x1a/0x1e
Sep 22 19:27:04 storage kernel: [<ffffffff81109f9a>] do_filp_open+0x35/0x85
Sep 22 19:27:04 storage kernel: [<ffffffff8111421a>] ? __alloc_fd+0xe5/0xf6
Sep 22 19:27:04 storage kernel: [<ffffffff810fd108>] do_sys_open+0x148/0x1d7
Sep 22 19:27:04 storage kernel: [<ffffffff8110a290>] ? SyS_mkdirat+0x32/0xab
Sep 22 19:27:04 storage kernel: [<ffffffff810fd1b0>] SyS_open+0x19/0x1b
Sep 22 19:27:04 storage kernel: [<ffffffff81615c6e>] system_call_fastpath+0x12/0x71
Sep 22 19:27:04 storage kernel: Code: 1c 75 bb 0f 0b 85 c0 74 12 48 8b 93 e8 00 00 00 4c 89 ee 4c 89 e7 e8 be 6e 00 00 48 8b 4b 28 44 89 7b 1c 48 8d 43 28 48 8b 53 30 <48> 89 51 08 48 89 0a 48 89 43 28 48 89 43 30 58 5b 41 5c 41 5d 
Sep 22 19:27:04 storage kernel: RIP  [<ffffffff811533e4>] __discard_prealloc+0x98/0xb3
Sep 22 19:27:04 storage kernel: RSP <ffff880031cbfaa8>
Sep 22 19:27:04 storage kernel: CR2: 0000000000000008
Sep 22 19:27:04 storage kernel: ---[ end trace ba7e876c70ed13a0 ]---

Link to comment

I see a few modules I don't recognize from standard unRAID systems.  I have to ask, is this a custom kernel?  If so, I suspect some part of the build was not configured correctly.

 

The other thing I notice is that this is a rather old board, ASUS M2N-E with 2007 BIOS.  That's probably one of the problematic nForce 4 boards.  You can *try* to find a newer BIOS for it, but I would trash it, if it *is* one of the nForce 4 boards.

Link to comment

Only plugin I had installed was Nerd Tools (http://lime-technology.com/forum/index.php?topic=37541.0). I have since removed it and am just running a reiserfsck --check on the drives as I saw that recommended in a bunch of other topics.

 

Yes it's an older board. I suppose I should think about upgrading it.

 

Other than Nerd Tools everything is 2 weeks fresh install of latest unraid 6. For now I've disabled VM's and removed all but the non-stock plugins. I'll see how tomorrow goes.

Link to comment
  • 1 month later...

Made it 32 days uptime before the web and samba crashed again. I am unable to access any shares via windows or telnet cd /mnt/user/.

 

Oct 26 02:01:30 storage logger: mover finished
Oct 26 08:12:29 storage kernel: general protection fault: 0000 [#1] PREEMPT SMP
Oct 26 08:12:29 storage kernel: Modules linked in: kvm_amd kvm xt_nat veth ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat                                                                            nf_conntrack_ipv4 nf_nat_ipv4 iptable_filter ip_tables nf_nat md_mod mvsas k8temp libsas scsi_transport_sas forcedeth sata_nv                                                                            pata_amd asus_atk0110 acpi_cpufreq [last unloaded: md_mod]
Oct 26 08:12:29 storage kernel: CPU: 0 PID: 27905 Comm: shfs Not tainted 4.1.5-unRAID #5
Oct 26 08:12:29 storage kernel: Hardware name: System manufacturer System Product Name/M2N-E, BIOS ASUS M2N-E ACPI BIOS Revis                                                                           ion 1102 09/21/2007
Oct 26 08:12:29 storage kernel: task: ffff880017ce53c0 ti: ffff880005abc000 task.ti: ffff880005abc000
Oct 26 08:12:29 storage kernel: RIP: 0010:[<ffffffff811533e4>]  [<ffffffff811533e4>] __discard_prealloc+0x98/0xb3
Oct 26 08:12:29 storage kernel: RSP: 0018:ffff880005abfb68  EFLAGS: 00010246
Oct 26 08:12:29 storage kernel: RAX: ffff8800103e9e68 RBX: ffff8800103e9e40 RCX: 6411832257641b03
Oct 26 08:12:29 storage kernel: RDX: 8853cb68033c58a7 RSI: ffff8800103e9e40 RDI: ffff880005abfca8
Oct 26 08:12:29 storage kernel: RBP: ffff880005abfb98 R08: 0000000000001ad3 R09: 000000000004b971
Oct 26 08:12:29 storage kernel: R10: ffffffff00001001 R11: ffffffff81160b7d R12: ffff880005abfca8
Oct 26 08:12:29 storage kernel: R13: ffff8800103e9ee0 R14: ffff880005abfca8 R15: 0000000033218126
Oct 26 08:12:29 storage kernel: FS:  00002ba18843c700(0000) GS:ffff88007bc00000(0000) knlGS:0000000000000000
Oct 26 08:12:29 storage kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 26 08:12:29 storage kernel: CR2: 00002ba186dfd000 CR3: 000000007810d000 CR4: 00000000000006f0
Oct 26 08:12:29 storage kernel: Stack:
Oct 26 08:12:29 storage kernel: ffff8800750ce200 ffff880005abfca8 ffffc90000b14000 ffffc90000b341e8
Oct 26 08:12:29 storage kernel: ffff880005abfca8 ffff8800748d9800 ffff880005abfbc8 ffffffff81153463
Oct 26 08:12:29 storage kernel: ffff880005abfca8 ffff880017ce53c0 ffffc90000b14000 ffffc90000b14000
Oct 26 08:12:29 storage kernel: Call Trace:
Oct 26 08:12:29 storage kernel: [<ffffffff81153463>] reiserfs_discard_all_prealloc+0x44/0x4e
Oct 26 08:12:29 storage kernel: [<ffffffff8116fca4>] do_journal_end+0x4e7/0xc78
Oct 26 08:12:29 storage kernel: [<ffffffff81170994>] journal_end+0xae/0xb6
Oct 26 08:12:29 storage kernel: [<ffffffff81157208>] reiserfs_unlink+0x1de/0x23f
Oct 26 08:12:29 storage kernel: [<ffffffff81105e6f>] vfs_unlink+0xc5/0x165
Oct 26 08:12:29 storage kernel: [<ffffffff81109c1f>] do_unlinkat+0x107/0x24c
Oct 26 08:12:29 storage kernel: [<ffffffff8110150f>] ? SyS_newlstat+0x25/0x2e
Oct 26 08:12:29 storage kernel: [<ffffffff8110a36c>] SyS_unlink+0x11/0x13
Oct 26 08:12:29 storage kernel: [<ffffffff81615c6e>] system_call_fastpath+0x12/0x71
Oct 26 08:12:29 storage kernel: Code: 1c 75 bb 0f 0b 85 c0 74 12 48 8b 93 e8 00 00 00 4c 89 ee 4c 89 e7 e8 be 6e 00 00 48 8b                                                                            4b 28 44 89 7b 1c 48 8d 43 28 48 8b 53 30 <48> 89 51 08 48 89 0a 48 89 43 28 48 89 43 30 58 5b 41 5c 41 5d
Oct 26 08:12:29 storage kernel: RIP  [<ffffffff811533e4>] __discard_prealloc+0x98/0xb3
Oct 26 08:12:29 storage kernel: RSP <ffff880005abfb68>
Oct 26 08:12:29 storage kernel: ---[ end trace bc43e0cea6afb5a4 ]---
Oct 26 13:12:30 storage kernel: mdcmd (74): spindown 4
Oct 26 13:12:56 storage emhttp: shcmd (289): /usr/sbin/hdparm -y /dev/sda &> /dev/null
Oct 26 14:00:02 storage kernel: mdcmd (75): spindown 3

 

The machine is still running in it's current state. I can telnet into it but that is it. Is there anyway to recover this without hard shutting down?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.