1. 程式人生 > >Ubuntu 意外宕機 (Linux Crash/Hang)解決

Ubuntu 意外宕機 (Linux Crash/Hang)解決

Maciej Hrebien 2016-08-08 16:15:19 UTC
Catched today:

Aug  8 06:07:44 HP-Mini kernel: [   10.104246] ------------[ cut here ]------------
Aug  8 06:07:44 HP-Mini kernel: [   10.104266] WARNING: CPU: 0 PID: 21 at /build/linux-7z1rSb/linux-3.16.7-ckt25/include/linux/kref.h:47 kobject_get+0x3a/0x50()
Aug  8 06:07:44 HP-Mini kernel: [   10.104270] Modules linked in: acpi_cpufreq(+) processor fuse autofs4 ext4 crc16 mbcache jbd2 ums_realtek sg sd_mod crc_t10dif crct10dif_generic crct10dif_common usb_storage ahci libahci ehci_pci uhci_hcd ehci_hcd libata psmouse scsi_mod usbcore usb_common r8169 mii fan thermal thermal_sys
Aug  8 06:07:44 HP-Mini kernel: [   10.104319] CPU: 0 PID: 21 Comm: kworker/0:1 Not tainted 3.16.0-4-amd64 #1 Debian 3.16.7-ckt25-2+deb8u3
Aug  8 06:07:44 HP-Mini kernel: [   10.104323] Hardware name: Hewlett-Packard HP Mini 210-3000/3594, BIOS F.13 11/10/2011
Aug  8 06:07:44 HP-Mini kernel: [   10.104332] Workqueue: kacpi_notify acpi_os_execute_deferred
Aug  8 06:07:44 HP-Mini kernel: [   10.104336]  0000000000000000 ffffffff8150e08f 0000000000000000 0000000000000009
Aug  8 06:07:44 HP-Mini kernel: [   10.104343]  ffffffff81067777 ffff880036961c00 0000000000000202 0000000000000003
Aug  8 06:07:44 HP-Mini kernel: [   10.104349]  0000000000000003 ffff880036e422f0 ffffffff812acbfa ffff880036961d28
Aug  8 06:07:44 HP-Mini kernel: [   10.104355] Call Trace:
Aug  8 06:07:44 HP-Mini kernel: [   10.104367]  [<ffffffff8150e08f>] ? dump_stack+0x5d/0x78
Aug  8 06:07:44 HP-Mini kernel: [   10.104376]  [<ffffffff81067777>] ? warn_slowpath_common+0x77/0x90
Aug  8 06:07:44 HP-Mini kernel: [   10.104383]  [<ffffffff812acbfa>] ? kobject_get+0x3a/0x50
Aug  8 06:07:44 HP-Mini kernel: [   10.104391]  [<ffffffff813d94f0>] ? cpufreq_cpu_get+0x70/0xc0
Aug  8 06:07:44 HP-Mini kernel: [   10.104398]  [<ffffffff813d9f2a>] ? cpufreq_update_policy+0x1a/0x1d0
Aug  8 06:07:44 HP-Mini kernel: [   10.104406]  [<ffffffff813da0e0>] ? cpufreq_update_policy+0x1d0/0x1d0
Aug  8 06:07:44 HP-Mini kernel: [   10.104421]  [<ffffffffa018b566>] ? cpufreq_set_cur_state.part.3+0x83/0x8a [processor]
Aug  8 06:07:44 HP-Mini kernel: [   10.104430]  [<ffffffffa018b666>] ? processor_set_cur_state+0x97/0xd1 [processor]
Aug  8 06:07:44 HP-Mini kernel: [   10.104444]  [<ffffffffa0000e05>] ? thermal_cdev_update+0xa5/0x110 [thermal_sys]
Aug  8 06:07:44 HP-Mini kernel: [   10.104453]  [<ffffffffa0003729>] ? step_wise_throttle+0x49/0x80 [thermal_sys]
Aug  8 06:07:44 HP-Mini kernel: [   10.104462]  [<ffffffffa000161c>] ? handle_thermal_trip+0x4c/0x150 [thermal_sys]
Aug  8 06:07:44 HP-Mini kernel: [   10.104471]  [<ffffffffa000179d>] ? thermal_zone_device_update+0x7d/0xd0 [thermal_sys]
Aug  8 06:07:44 HP-Mini kernel: [   10.104479]  [<ffffffff813319a1>] ? acpi_ev_notify_dispatch+0x3c/0x51
Aug  8 06:07:44 HP-Mini kernel: [   10.104485]  [<ffffffff8131e457>] ? acpi_os_execute_deferred+0x10/0x1a
Aug  8 06:07:44 HP-Mini kernel: [   10.104492]  [<ffffffff81081742>] ? process_one_work+0x172/0x420
Aug  8 06:07:44 HP-Mini kernel: [   10.104499]  [<ffffffff81081dd3>] ? worker_thread+0x113/0x4f0
Aug  8 06:07:44 HP-Mini kernel: [   10.104505]  [<ffffffff815105c1>] ? __schedule+0x2b1/0x700
Aug  8 06:07:44 HP-Mini kernel: [   10.104511]  [<ffffffff81081cc0>] ? rescuer_thread+0x2d0/0x2d0
Aug  8 06:07:44 HP-Mini kernel: [   10.104519]  [<ffffffff8108800d>] ? kthread+0xbd/0xe0
Aug  8 06:07:44 HP-Mini kernel: [   10.104526]  [<ffffffff81087f50>] ? kthread_create_on_node+0x180/0x180
Aug  8 06:07:44 HP-Mini kernel: [   10.104533]  [<ffffffff81514158>] ? ret_from_fork+0x58/0x90
Aug  8 06:07:44 HP-Mini kernel: [   10.104540]  [<ffffffff81087f50>] ? kthread_create_on_node+0x180/0x180
Aug  8 06:07:44 HP-Mini kernel: [   10.104544] ---[ end trace 6a04776659b650d3 ]---

and:

Aug  8 06:10:14 HP-Mini kernel: [  169.942572] general protection fault: 0000 [#1] SMP 
Aug  8 06:10:14 HP-Mini kernel: [  169.942761] Modules linked in: bnep ctr ccm nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc arc4 snd_hda_codec_idt ath9k ath9k_common snd_hda_codec_generic ath9k_hw uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common coretemp videodev snd_hda_intel media ath3k btusb snd_hda_controller kvm ath hp_wmi snd_hda_codec bluetooth mac80211 i915 iTCO_wdt drm_kms_helper cfg80211 drm 6lowpan_iphc iTCO_vendor_support sparse_keymap snd_hwdep snd_pcm rfkill ac shpchp wmi i2c_i801 i2c_algo_bit joydev evdev snd_timer serio_raw pcspkr lpc_ich mfd_core i2c_core snd video battery soundcore button acpi_cpufreq processor fuse autofs4 ext4 crc16 mbcache jbd2 ums_realtek sg sd_mod crc_t10dif crct10dif_generic crct10dif_common usb_storage ahci libahci ehci_pci uhci_hcd ehci_hcd libata psmouse scsi_mod usbcore usb_common r8169 mii fan thermal thermal_sys
Aug  8 06:10:14 HP-Mini kernel: [  169.944026] CPU: 2 PID: 836 Comm: Xorg Tainted: G        W     3.16.0-4-amd64 #1 Debian 3.16.7-ckt25-2+deb8u3
Aug  8 06:10:14 HP-Mini kernel: [  169.944026] Hardware name: Hewlett-Packard HP Mini 210-3000/3594, BIOS F.13 11/10/2011
Aug  8 06:10:14 HP-Mini kernel: [  169.944026] task: ffff88007b236d20 ti: ffff880079294000 task.ti: ffff880079294000
Aug  8 06:10:14 HP-Mini kernel: [  169.944026] RIP: 0010:[<ffffffff812bada0>]  [<ffffffff812bada0>] sg_next+0x0/0x30
Aug  8 06:10:14 HP-Mini kernel: [  169.944026] RSP: 0018:ffff880079297b80  EFLAGS: 00010202
Aug  8 06:10:14 HP-Mini kernel: [  169.944026] RAX: ea00011d51829182 RBX: 0000000000000001 RCX: ffff880036b38880
Aug  8 06:10:14 HP-Mini kernel: [  169.944026] RDX: ffff880036b38700 RSI: 0000000000000000 RDI: ea00011d51829182
Aug  8 06:10:14 HP-Mini kernel: [  169.944026] RBP: 000000000000ffff R08: 0000000007637000 R09: 0000000000000000
Aug  8 06:10:14 HP-Mini kernel: [  169.944026] R10: 0000000007800000 R11: 0000000000000000 R12: ea00011d51829182
Aug  8 06:10:14 HP-Mini kernel: [  169.944026] R13: ffff88007c7ee098 R14: ffffffff8181f660 R15: ffff8800628d1900
Aug  8 06:10:14 HP-Mini kernel: [  169.944026] FS:  00007f4281a3c980(0000) GS:ffff88007f300000(0000) knlGS:0000000000000000
Aug  8 06:10:14 HP-Mini kernel: [  169.944026] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug  8 06:10:14 HP-Mini kernel: [  169.944026] CR2: 00007f428157e000 CR3: 000000007b2ff000 CR4: 00000000000007e0
Aug  8 06:10:14 HP-Mini kernel: [  169.944026] Stack:
Aug  8 06:10:14 HP-Mini kernel: [  169.944026]  ffffffffa03b7b7b ffff88007c1b7a08 0000000000001000 0000000000001000
Aug  8 06:10:14 HP-Mini kernel: [  169.944026]  ffff880079e0b800 0000000000000000 ffffffffa03bdf8f 0000000020000000
Aug  8 06:10:14 HP-Mini kernel: [  169.944026]  0000000000000000 ffff880000000000 0000000000000000 ffff88007c1b0000
Aug  8 06:10:14 HP-Mini kernel: [  169.944026] Call Trace:
Aug  8 06:10:14 HP-Mini kernel: [  169.944026]  [<ffffffffa03b7b7b>] ? i915_gem_gtt_prepare_object+0x6b/0xb0 [i915]
Aug  8 06:10:14 HP-Mini kernel: [  169.944026]  [<ffffffffa03bdf8f>] ? i915_gem_object_pin+0x57f/0x780 [i915]
Aug  8 06:10:14 HP-Mini kernel: [  169.944026]  [<ffffffffa0421559>] ? i915_gem_execbuffer_reserve_vma.isra.16+0x95/0x11a [i915]
Aug  8 06:10:14 HP-Mini kernel: [  169.944026]  [<ffffffffa042182a>] ? i915_gem_execbuffer_reserve+0x24c/0x2dc [i915]
Aug  8 06:10:14 HP-Mini kernel: [  169.944026]  [<ffffffffa03b358d>] ? i915_gem_do_execbuffer.isra.24+0x89d/0x13f0 [i915]
Aug  8 06:10:14 HP-Mini kernel: [  169.944026]  [<ffffffffa03bcc8b>] ? i915_gem_object_put_fence+0x1b/0xc0 [i915]
Aug  8 06:10:14 HP-Mini kernel: [  169.944026]  [<ffffffffa03b459f>] ? i915_gem_execbuffer2+0xaf/0x2b0 [i915]
Aug  8 06:10:14 HP-Mini kernel: [  169.944026]  [<ffffffffa02db8a7>] ? drm_ioctl+0x1c7/0x5b0 [drm]
Aug  8 06:10:14 HP-Mini kernel: [  169.944026]  [<ffffffff811be12e>] ? dput+0x9e/0x170
Aug  8 06:10:14 HP-Mini kernel: [  169.944026]  [<ffffffff811ba9af>] ? do_vfs_ioctl+0x2cf/0x4b0
Aug  8 06:10:14 HP-Mini kernel: [  169.944026]  [<ffffffff81085261>] ? task_work_run+0x91/0xb0
Aug  8 06:10:14 HP-Mini kernel: [  169.944026]  [<ffffffff811bac11>] ? SyS_ioctl+0x81/0xa0
Aug  8 06:10:14 HP-Mini kernel: [  169.944026]  [<ffffffff815144ca>] ? int_signal+0x12/0x17
Aug  8 06:10:14 HP-Mini kernel: [  169.944026]  [<ffffffff8151420d>] ? system_call_fast_compare_end+0x10/0x15
Aug  8 06:10:14 HP-Mini kernel: [  169.944026] Code: 27 fa ff ff 0f 1f 80 00 00 00 00 c7 47 10 00 00 00 00 89 57 0c 48 89 37 89 4f 08 c3 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 <f6> 07 02 75 13 48 8b 57 20 48 8d 47 20 f6 c2 01 75 09 f3 c3 0f 
Aug  8 06:10:14 HP-Mini kernel: [  169.944026]  RSP <ffff880079297b80>
Aug  8 06:10:14 HP-Mini kernel: [  170.030137] ---[ end trace 6a04776659b650d4 ]---

and also:

Aug  8 06:07:44 HP-Mini kernel: [   11.789183] ACPI Error: Field [D128] at 1040 exceeds Buffer [NULL] size 160 (bits) (20140424/dsopcode-236)
Aug  8 06:07:44 HP-Mini kernel: [   11.789203] ACPI Error: Method parse/execution failed [\_SB_.WMID.HWMC] (Node ffff88007e852f40), AE_AML_BUFFER_LIMIT (20140424/psparse-536)
Aug  8 06:07:44 HP-Mini kernel: [   11.789228] ACPI Error: Method parse/execution failed [\_SB_.WMID.WMAD] (Node ffff88007e852d10), AE_AML_BUFFER_LIMIT (20140424/psparse-536)
Aug  8 06:07:44 HP-Mini kernel: [   11.789420] ACPI Error: Field [D128] at 1040 exceeds Buffer [NULL] size 160 (bits) (20140424/dsopcode-236)
Aug  8 06:07:44 HP-Mini kernel: [   11.789437] ACPI Error: Method parse/execution failed [\_SB_.WMID.HWMC] (Node ffff88007e852f40), AE_AML_BUFFER_LIMIT (20140424/psparse-536)
Aug  8 06:07:44 HP-Mini kernel: [   11.789461] ACPI Error: Method parse/execution failed [\_SB_.WMID.WMAD] (Node ffff88007e852d10), AE_AML_BUFFER_LIMIT (20140424/psparse-536)
Aug  8 06:07:44 HP-Mini kernel: [   11.789643] ACPI Error: Field [D128] at 1040 exceeds Buffer [NULL] size 160 (bits) (20140424/dsopcode-236)
Aug  8 06:07:44 HP-Mini kernel: [   11.789659] ACPI Error: Method parse/execution failed [\_SB_.WMID.HWMC] (Node ffff88007e852f40), AE_AML_BUFFER_LIMIT (20140424/psparse-536)

With the freeze effect (hard-boot required). Aren't the dumps related?