[Kernel-packages] [Bug 1824756] Re: update-grub crashes on ubuntu 18.04

2019-04-15 Thread Konstantin Petrov
I have also ran apt-get remove on rc kernel packages before I have
executed update-grub:

apt-get remove --purge linux-image-4.15.0-38-generic linux-
image-4.15.0-39-generic linux-image-4.15.0-42-generic linux-
image-4.15.0-43-generic linux-image-4.15.0-45-generic linux-
modules-4.15.0-38-generic linux-modules-4.15.0-39-generic linux-
modules-4.15.0-42-generic linux-modules-4.15.0-43-generic linux-
modules-4.15.0-45-generic linux-modules-extra-4.15.0-38-generic linux-
modules-extra-4.15.0-39-generic linux-modules-extra-4.15.0-42-generic
linux-modules-extra-4.15.0-43-generic linux-modules-
extra-4.15.0-45-generic opensc pcscd

I have rebooted the machine and now the command seems to be working
fine.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1824756

Title:
  update-grub crashes on ubuntu 18.04

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hi:

  When I use update-grub as root it crashes:

  update-grub
  Segmentation fault
  Segmentation fault
  Sourcing file `/etc/default/grub'
  Generating grub configuration file ...
  Segmentation fault
  Segmentation fault
  Found linux image: /boot/vmlinuz-4.15.0-47-generic
  Found initrd image: /boot/initrd.img-4.15.0-47-generic
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Found linux image: /boot/vmlinuz-4.15.0-46-generic
  Found initrd image: /boot/initrd.img-4.15.0-46-generic
  Segmentation fault
  Segmentation fault
  Found linux image: /boot/vmlinuz-4.15.0-44-generic
  Found initrd image: /boot/initrd.img-4.15.0-44-generic
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Found memtest86+ image: /memtest86+.elf
  Found memtest86+ image: /memtest86+.bin
  done


  [30655.190608] general protection fault:  [#133] SMP PTI
  [30655.190612] Modules linked in: btrfs zstd_compress xor raid6_pq ufs qnx4 
hfsplus hfs minix ntfs msdos jfs xfs hid_generic usbhid hid nls_iso8859_1 uas 
usb_storage ccm rfcomm ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common 
xt_LOG xt_limit xt_pkttype xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 
xt_conntrack nf_conntrack libcrc32c ipt_rpfilter iptable_raw pci_stub 
vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) iptable_filter bnep 
binfmt_misc arc4 uvcvideo intel_rapl snd_hda_codec_hdmi btusb videobuf2_vmalloc 
videobuf2_memops btrtl x86_pkg_temp_thermal btbcm videobuf2_v4l2 
intel_powerclamp videobuf2_core btintel videodev bluetooth 
snd_hda_codec_realtek media snd_hda_codec_generic coretemp ecdh_generic 
snd_hda_intel iwlmvm snd_hda_codec kvm_intel snd_hda_core snd_hwdep mac80211 
kvm snd_pcm snd_seq_midi
  [30655.190669]  irqbypass snd_seq_midi_event snd_rawmidi intel_cstate 
intel_rapl_perf snd_seq iwlwifi input_leds joydev asus_nb_wmi snd_seq_device 
asus_wmi snd_timer sparse_keymap serio_raw snd mei_me cfg80211 mei lpc_ich 
soundcore shpchp mac_hid asus_wireless sch_fq_codel parport_pc ppdev lp parport 
ip_tables x_tables autofs4 algif_skcipher af_alg dm_crypt crct10dif_pclmul 
nouveau crc32_pclmul i915 ghash_clmulni_intel pcbc rtsx_pci_sdmmc mxm_wmi ttm 
i2c_algo_bit aesni_intel drm_kms_helper ahci syscopyarea aes_x86_64 sysfillrect 
crypto_simd sysimgblt glue_helper fb_sys_fops cryptd libahci psmouse drm r8169 
rtsx_pci mii wmi video [last unloaded: msr]
  [30655.190715] CPU: 6 PID: 26988 Comm: grub-probe Tainted: G  DOE
4.15.0-47-generic #50-Ubuntu
  [30655.190716] Hardware name: ASUSTeK COMPUTER INC. G551JW/G551JW, BIOS 
G551JW.207 08/03/2015
  [30655.190725] RIP: 0010:find_get_entries+0x68/0x200
  [30655.190727] RSP: 0018:adf20efbbbf8 EFLAGS: 00010246
  [30655.190729] RAX:  RBX: 000e RCX: 

  [30655.190731] RDX: 956a4e30dd497370 RSI: 01d0c740 RDI: 
892554fa6238
  [30655.190733] RBP: adf20efbbc58 R08: 01d0c71c R09: 

  [30655.190734] R10: 892554fa6340 R11:  R12: 
adf20efbbd30
  [30655.190736] R13: adf20efbbcb0 R14:  R15: 
892554fa6340
  [30655.190738] FS:  7fac22a0afc0() GS:8928eef8() 
knlGS:
  [30655.190740] CS:  0010 DS:  ES:  CR0: 80050033
  [30655.190742] CR2: 7fac22909000 CR3: 0003a3662006 CR4: 
001606e0
  [30655.190743] Call Trace:
  [30655.190752]  pagevec_lookup_entries+0x1e/0x30
  [30655.190756]  invalidate_mapping_pages+0x91/0x330
  [30655.190762]  ? wait_for_completion+0xc5/0x140
  [30655.190766]  ? wake_up_q+0x80/0x80
  [30655.190771]  ? radix_tree_lookup+0xd/0x10
  [30655.190774]  ? get_work_pool+0x2d/0x40
  [30655.190777]  ? flush_work+0x5b/0x1e0
  [30655.190780]  ? worker_detach_from_pool+0xa0/0xa0
  [30655.190785]  ? find_next_bit+0xb/0x10
  [30655.190788]  ? cpumask_next+0x1b/0x20
  [30655.190791]  ? lru_add_drain_all_cpuslocked+0x15d/0x1a0
  [30655.190795]  invalidate_bdev+0x50/0x60
  [30655.190800]  

[Kernel-packages] [Bug 1824756] Re: update-grub crashes on ubuntu 18.04

2019-04-14 Thread Konstantin Petrov
** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1824756

Title:
  update-grub crashes on ubuntu 18.04

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hi:

  When I use update-grub as root it crashes:

  update-grub
  Segmentation fault
  Segmentation fault
  Sourcing file `/etc/default/grub'
  Generating grub configuration file ...
  Segmentation fault
  Segmentation fault
  Found linux image: /boot/vmlinuz-4.15.0-47-generic
  Found initrd image: /boot/initrd.img-4.15.0-47-generic
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Found linux image: /boot/vmlinuz-4.15.0-46-generic
  Found initrd image: /boot/initrd.img-4.15.0-46-generic
  Segmentation fault
  Segmentation fault
  Found linux image: /boot/vmlinuz-4.15.0-44-generic
  Found initrd image: /boot/initrd.img-4.15.0-44-generic
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Found memtest86+ image: /memtest86+.elf
  Found memtest86+ image: /memtest86+.bin
  done


  [30655.190608] general protection fault:  [#133] SMP PTI
  [30655.190612] Modules linked in: btrfs zstd_compress xor raid6_pq ufs qnx4 
hfsplus hfs minix ntfs msdos jfs xfs hid_generic usbhid hid nls_iso8859_1 uas 
usb_storage ccm rfcomm ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common 
xt_LOG xt_limit xt_pkttype xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 
xt_conntrack nf_conntrack libcrc32c ipt_rpfilter iptable_raw pci_stub 
vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) iptable_filter bnep 
binfmt_misc arc4 uvcvideo intel_rapl snd_hda_codec_hdmi btusb videobuf2_vmalloc 
videobuf2_memops btrtl x86_pkg_temp_thermal btbcm videobuf2_v4l2 
intel_powerclamp videobuf2_core btintel videodev bluetooth 
snd_hda_codec_realtek media snd_hda_codec_generic coretemp ecdh_generic 
snd_hda_intel iwlmvm snd_hda_codec kvm_intel snd_hda_core snd_hwdep mac80211 
kvm snd_pcm snd_seq_midi
  [30655.190669]  irqbypass snd_seq_midi_event snd_rawmidi intel_cstate 
intel_rapl_perf snd_seq iwlwifi input_leds joydev asus_nb_wmi snd_seq_device 
asus_wmi snd_timer sparse_keymap serio_raw snd mei_me cfg80211 mei lpc_ich 
soundcore shpchp mac_hid asus_wireless sch_fq_codel parport_pc ppdev lp parport 
ip_tables x_tables autofs4 algif_skcipher af_alg dm_crypt crct10dif_pclmul 
nouveau crc32_pclmul i915 ghash_clmulni_intel pcbc rtsx_pci_sdmmc mxm_wmi ttm 
i2c_algo_bit aesni_intel drm_kms_helper ahci syscopyarea aes_x86_64 sysfillrect 
crypto_simd sysimgblt glue_helper fb_sys_fops cryptd libahci psmouse drm r8169 
rtsx_pci mii wmi video [last unloaded: msr]
  [30655.190715] CPU: 6 PID: 26988 Comm: grub-probe Tainted: G  DOE
4.15.0-47-generic #50-Ubuntu
  [30655.190716] Hardware name: ASUSTeK COMPUTER INC. G551JW/G551JW, BIOS 
G551JW.207 08/03/2015
  [30655.190725] RIP: 0010:find_get_entries+0x68/0x200
  [30655.190727] RSP: 0018:adf20efbbbf8 EFLAGS: 00010246
  [30655.190729] RAX:  RBX: 000e RCX: 

  [30655.190731] RDX: 956a4e30dd497370 RSI: 01d0c740 RDI: 
892554fa6238
  [30655.190733] RBP: adf20efbbc58 R08: 01d0c71c R09: 

  [30655.190734] R10: 892554fa6340 R11:  R12: 
adf20efbbd30
  [30655.190736] R13: adf20efbbcb0 R14:  R15: 
892554fa6340
  [30655.190738] FS:  7fac22a0afc0() GS:8928eef8() 
knlGS:
  [30655.190740] CS:  0010 DS:  ES:  CR0: 80050033
  [30655.190742] CR2: 7fac22909000 CR3: 0003a3662006 CR4: 
001606e0
  [30655.190743] Call Trace:
  [30655.190752]  pagevec_lookup_entries+0x1e/0x30
  [30655.190756]  invalidate_mapping_pages+0x91/0x330
  [30655.190762]  ? wait_for_completion+0xc5/0x140
  [30655.190766]  ? wake_up_q+0x80/0x80
  [30655.190771]  ? radix_tree_lookup+0xd/0x10
  [30655.190774]  ? get_work_pool+0x2d/0x40
  [30655.190777]  ? flush_work+0x5b/0x1e0
  [30655.190780]  ? worker_detach_from_pool+0xa0/0xa0
  [30655.190785]  ? find_next_bit+0xb/0x10
  [30655.190788]  ? cpumask_next+0x1b/0x20
  [30655.190791]  ? lru_add_drain_all_cpuslocked+0x15d/0x1a0
  [30655.190795]  invalidate_bdev+0x50/0x60
  [30655.190800]  blkdev_ioctl+0x66a/0x970
  [30655.190803]  block_ioctl+0x3d/0x50
  [30655.190807]  do_vfs_ioctl+0xa8/0x630
  [30655.190813]  ? __audit_syscall_entry+0xbc/0x110
  [30655.190817]  ? syscall_trace_enter+0x1da/0x2d0
  [30655.190820]  SyS_ioctl+0x79/0x90
  [30655.190822]  do_syscall_64+0x73/0x130
  [30655.190826]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
  [30655.190828] RIP: 0033:0x7fac222c45d7
  [30655.190830] RSP: 002b:7ffd05b75a38 EFLAGS: 0246 ORIG_RAX: 
0010
  [30655.190832] RAX: ffda RBX: 0004 RCX: 
7fac222c45d7
  [30655.190834] RDX:  RSI: 1261 RDI: 
0

[Kernel-packages] [Bug 1824756] Re: update-grub crashes on ubuntu 18.04

2019-04-14 Thread Konstantin Petrov
This is what I see from strace (snip):

...
25622 lstat("sda2", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 2), ...}) = 0
25622 lstat("sda1", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 1), ...}) = 0
25622 lstat("sdb3", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 19), ...}) = 0
25622 getcwd("/dev", 10)= 5
25622 chdir("/root")= 0
25622 close(5)  = 0
25622 stat("/dev/sdb3", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 19), ...}) = 0
25622 lstat("/dev", {st_mode=S_IFDIR|0755, st_size=4720, ...}) = 0
25622 lstat("/dev/sdb3", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 19), ...}) = 0
25622 lstat("/dev", {st_mode=S_IFDIR|0755, st_size=4720, ...}) = 0
25622 lstat("/dev/sdb", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 16), ...}) = 0
25622 stat("/dev/sdb3", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 19), ...}) = 0
25622 stat("/dev/sdb3", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 19), ...}) = 0
25622 lstat("/dev", {st_mode=S_IFDIR|0755, st_size=4720, ...}) = 0
25622 lstat("/dev/sdb3", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 19), ...}) = 0
25622 lstat("/dev", {st_mode=S_IFDIR|0755, st_size=4720, ...}) = 0
25622 lstat("/dev/sdb", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 16), ...}) = 0
25622 openat(AT_FDCWD, "/dev/sdb", O_RDONLY) = 5
25622 fstat(5, {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 16), ...}) = 0
25622 ioctl(5, BLKFLSBUF)   = ?
25622 +++ killed by SIGSEGV +++
25621 <... wait4 resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}], 0, 
NULL) = 25622
25621 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=25622, 
si_uid=0, si_status=SIGSEGV, si_utime=0, si_stime=0} ---
25621 rt_sigreturn({mask=[]})   = 25622
25621 write(2, "Segmentation fault\n", 19) = 19
...

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1824756

Title:
  update-grub crashes on ubuntu 18.04

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Hi:

  When I use update-grub as root it crashes:

  update-grub
  Segmentation fault
  Segmentation fault
  Sourcing file `/etc/default/grub'
  Generating grub configuration file ...
  Segmentation fault
  Segmentation fault
  Found linux image: /boot/vmlinuz-4.15.0-47-generic
  Found initrd image: /boot/initrd.img-4.15.0-47-generic
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Found linux image: /boot/vmlinuz-4.15.0-46-generic
  Found initrd image: /boot/initrd.img-4.15.0-46-generic
  Segmentation fault
  Segmentation fault
  Found linux image: /boot/vmlinuz-4.15.0-44-generic
  Found initrd image: /boot/initrd.img-4.15.0-44-generic
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Found memtest86+ image: /memtest86+.elf
  Found memtest86+ image: /memtest86+.bin
  done


  [30655.190608] general protection fault:  [#133] SMP PTI
  [30655.190612] Modules linked in: btrfs zstd_compress xor raid6_pq ufs qnx4 
hfsplus hfs minix ntfs msdos jfs xfs hid_generic usbhid hid nls_iso8859_1 uas 
usb_storage ccm rfcomm ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common 
xt_LOG xt_limit xt_pkttype xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 
xt_conntrack nf_conntrack libcrc32c ipt_rpfilter iptable_raw pci_stub 
vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) iptable_filter bnep 
binfmt_misc arc4 uvcvideo intel_rapl snd_hda_codec_hdmi btusb videobuf2_vmalloc 
videobuf2_memops btrtl x86_pkg_temp_thermal btbcm videobuf2_v4l2 
intel_powerclamp videobuf2_core btintel videodev bluetooth 
snd_hda_codec_realtek media snd_hda_codec_generic coretemp ecdh_generic 
snd_hda_intel iwlmvm snd_hda_codec kvm_intel snd_hda_core snd_hwdep mac80211 
kvm snd_pcm snd_seq_midi
  [30655.190669]  irqbypass snd_seq_midi_event snd_rawmidi intel_cstate 
intel_rapl_perf snd_seq iwlwifi input_leds joydev asus_nb_wmi snd_seq_device 
asus_wmi snd_timer sparse_keymap serio_raw snd mei_me cfg80211 mei lpc_ich 
soundcore shpchp mac_hid asus_wireless sch_fq_codel parport_pc ppdev lp parport 
ip_tables x_tables autofs4 algif_skcipher af_alg dm_crypt crct10dif_pclmul 
nouveau crc32_pclmul i915 ghash_clmulni_intel pcbc rtsx_pci_sdmmc mxm_wmi ttm 
i2c_algo_bit aesni_intel drm_kms_helper ahci syscopyarea aes_x86_64 sysfillrect 
crypto_simd sysimgblt glue_helper fb_sys_fops cryptd libahci psmouse drm r8169 
rtsx_pci mii wmi video [last unloaded: msr]
  [30655.190715] CPU: 6 PID: 26988 Comm: grub-probe Tainted: G  DOE
4.15.0-47-generic #50-Ubuntu
  [30655.190716] Hardware name: ASUSTeK COMPUTER INC. G551JW/G551JW, BIOS 
G551JW.207 08/03/2015
  [30655.190725] RIP: 0010:find_get_entries+0x68/0x200
  [30655.190727] RSP: 0018:adf20efbbbf8 EFLAGS: 00010246
  [30655.190729] RAX:  RBX: 000e RCX: 

  [30655.190731] RDX: 956a4e30dd497370 RSI: 01d0c740 RDI: 
892554fa6238
  [30655.190733] RBP: adf20efbbc58 R08: 01d0c71c R09: 
0

[Kernel-packages] [Bug 1824756] Re: update-grub crashes on ubuntu 18.04

2019-04-14 Thread Konstantin Petrov
** Attachment added: "lspci-vnvn.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1824756/+attachment/5255830/+files/lspci-vnvn.log

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1824756

Title:
  update-grub crashes on ubuntu 18.04

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Hi:

  When I use update-grub as root it crashes:

  update-grub
  Segmentation fault
  Segmentation fault
  Sourcing file `/etc/default/grub'
  Generating grub configuration file ...
  Segmentation fault
  Segmentation fault
  Found linux image: /boot/vmlinuz-4.15.0-47-generic
  Found initrd image: /boot/initrd.img-4.15.0-47-generic
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Found linux image: /boot/vmlinuz-4.15.0-46-generic
  Found initrd image: /boot/initrd.img-4.15.0-46-generic
  Segmentation fault
  Segmentation fault
  Found linux image: /boot/vmlinuz-4.15.0-44-generic
  Found initrd image: /boot/initrd.img-4.15.0-44-generic
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Found memtest86+ image: /memtest86+.elf
  Found memtest86+ image: /memtest86+.bin
  done


  [30655.190608] general protection fault:  [#133] SMP PTI
  [30655.190612] Modules linked in: btrfs zstd_compress xor raid6_pq ufs qnx4 
hfsplus hfs minix ntfs msdos jfs xfs hid_generic usbhid hid nls_iso8859_1 uas 
usb_storage ccm rfcomm ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common 
xt_LOG xt_limit xt_pkttype xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 
xt_conntrack nf_conntrack libcrc32c ipt_rpfilter iptable_raw pci_stub 
vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) iptable_filter bnep 
binfmt_misc arc4 uvcvideo intel_rapl snd_hda_codec_hdmi btusb videobuf2_vmalloc 
videobuf2_memops btrtl x86_pkg_temp_thermal btbcm videobuf2_v4l2 
intel_powerclamp videobuf2_core btintel videodev bluetooth 
snd_hda_codec_realtek media snd_hda_codec_generic coretemp ecdh_generic 
snd_hda_intel iwlmvm snd_hda_codec kvm_intel snd_hda_core snd_hwdep mac80211 
kvm snd_pcm snd_seq_midi
  [30655.190669]  irqbypass snd_seq_midi_event snd_rawmidi intel_cstate 
intel_rapl_perf snd_seq iwlwifi input_leds joydev asus_nb_wmi snd_seq_device 
asus_wmi snd_timer sparse_keymap serio_raw snd mei_me cfg80211 mei lpc_ich 
soundcore shpchp mac_hid asus_wireless sch_fq_codel parport_pc ppdev lp parport 
ip_tables x_tables autofs4 algif_skcipher af_alg dm_crypt crct10dif_pclmul 
nouveau crc32_pclmul i915 ghash_clmulni_intel pcbc rtsx_pci_sdmmc mxm_wmi ttm 
i2c_algo_bit aesni_intel drm_kms_helper ahci syscopyarea aes_x86_64 sysfillrect 
crypto_simd sysimgblt glue_helper fb_sys_fops cryptd libahci psmouse drm r8169 
rtsx_pci mii wmi video [last unloaded: msr]
  [30655.190715] CPU: 6 PID: 26988 Comm: grub-probe Tainted: G  DOE
4.15.0-47-generic #50-Ubuntu
  [30655.190716] Hardware name: ASUSTeK COMPUTER INC. G551JW/G551JW, BIOS 
G551JW.207 08/03/2015
  [30655.190725] RIP: 0010:find_get_entries+0x68/0x200
  [30655.190727] RSP: 0018:adf20efbbbf8 EFLAGS: 00010246
  [30655.190729] RAX:  RBX: 000e RCX: 

  [30655.190731] RDX: 956a4e30dd497370 RSI: 01d0c740 RDI: 
892554fa6238
  [30655.190733] RBP: adf20efbbc58 R08: 01d0c71c R09: 

  [30655.190734] R10: 892554fa6340 R11:  R12: 
adf20efbbd30
  [30655.190736] R13: adf20efbbcb0 R14:  R15: 
892554fa6340
  [30655.190738] FS:  7fac22a0afc0() GS:8928eef8() 
knlGS:
  [30655.190740] CS:  0010 DS:  ES:  CR0: 80050033
  [30655.190742] CR2: 7fac22909000 CR3: 0003a3662006 CR4: 
001606e0
  [30655.190743] Call Trace:
  [30655.190752]  pagevec_lookup_entries+0x1e/0x30
  [30655.190756]  invalidate_mapping_pages+0x91/0x330
  [30655.190762]  ? wait_for_completion+0xc5/0x140
  [30655.190766]  ? wake_up_q+0x80/0x80
  [30655.190771]  ? radix_tree_lookup+0xd/0x10
  [30655.190774]  ? get_work_pool+0x2d/0x40
  [30655.190777]  ? flush_work+0x5b/0x1e0
  [30655.190780]  ? worker_detach_from_pool+0xa0/0xa0
  [30655.190785]  ? find_next_bit+0xb/0x10
  [30655.190788]  ? cpumask_next+0x1b/0x20
  [30655.190791]  ? lru_add_drain_all_cpuslocked+0x15d/0x1a0
  [30655.190795]  invalidate_bdev+0x50/0x60
  [30655.190800]  blkdev_ioctl+0x66a/0x970
  [30655.190803]  block_ioctl+0x3d/0x50
  [30655.190807]  do_vfs_ioctl+0xa8/0x630
  [30655.190813]  ? __audit_syscall_entry+0xbc/0x110
  [30655.190817]  ? syscall_trace_enter+0x1da/0x2d0
  [30655.190820]  SyS_ioctl+0x79/0x90
  [30655.190822]  do_syscall_64+0x73/0x130
  [30655.190826]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
  [30655.190828] RIP: 0033:0x7fac222c45d7
  [30655.190830] RSP: 002b:7ffd05b75a38 EFLAGS: 0246 ORIG_RAX: 
0010
  [30655.190832] RAX: ffda RBX: 0004 RCX: 
7fac222c

[Kernel-packages] [Bug 1824756] Re: update-grub crashes on ubuntu 18.04

2019-04-14 Thread Konstantin Petrov
** Attachment added: "version.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1824756/+attachment/5255829/+files/version.log

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1824756

Title:
  update-grub crashes on ubuntu 18.04

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Hi:

  When I use update-grub as root it crashes:

  update-grub
  Segmentation fault
  Segmentation fault
  Sourcing file `/etc/default/grub'
  Generating grub configuration file ...
  Segmentation fault
  Segmentation fault
  Found linux image: /boot/vmlinuz-4.15.0-47-generic
  Found initrd image: /boot/initrd.img-4.15.0-47-generic
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Found linux image: /boot/vmlinuz-4.15.0-46-generic
  Found initrd image: /boot/initrd.img-4.15.0-46-generic
  Segmentation fault
  Segmentation fault
  Found linux image: /boot/vmlinuz-4.15.0-44-generic
  Found initrd image: /boot/initrd.img-4.15.0-44-generic
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Found memtest86+ image: /memtest86+.elf
  Found memtest86+ image: /memtest86+.bin
  done


  [30655.190608] general protection fault:  [#133] SMP PTI
  [30655.190612] Modules linked in: btrfs zstd_compress xor raid6_pq ufs qnx4 
hfsplus hfs minix ntfs msdos jfs xfs hid_generic usbhid hid nls_iso8859_1 uas 
usb_storage ccm rfcomm ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common 
xt_LOG xt_limit xt_pkttype xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 
xt_conntrack nf_conntrack libcrc32c ipt_rpfilter iptable_raw pci_stub 
vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) iptable_filter bnep 
binfmt_misc arc4 uvcvideo intel_rapl snd_hda_codec_hdmi btusb videobuf2_vmalloc 
videobuf2_memops btrtl x86_pkg_temp_thermal btbcm videobuf2_v4l2 
intel_powerclamp videobuf2_core btintel videodev bluetooth 
snd_hda_codec_realtek media snd_hda_codec_generic coretemp ecdh_generic 
snd_hda_intel iwlmvm snd_hda_codec kvm_intel snd_hda_core snd_hwdep mac80211 
kvm snd_pcm snd_seq_midi
  [30655.190669]  irqbypass snd_seq_midi_event snd_rawmidi intel_cstate 
intel_rapl_perf snd_seq iwlwifi input_leds joydev asus_nb_wmi snd_seq_device 
asus_wmi snd_timer sparse_keymap serio_raw snd mei_me cfg80211 mei lpc_ich 
soundcore shpchp mac_hid asus_wireless sch_fq_codel parport_pc ppdev lp parport 
ip_tables x_tables autofs4 algif_skcipher af_alg dm_crypt crct10dif_pclmul 
nouveau crc32_pclmul i915 ghash_clmulni_intel pcbc rtsx_pci_sdmmc mxm_wmi ttm 
i2c_algo_bit aesni_intel drm_kms_helper ahci syscopyarea aes_x86_64 sysfillrect 
crypto_simd sysimgblt glue_helper fb_sys_fops cryptd libahci psmouse drm r8169 
rtsx_pci mii wmi video [last unloaded: msr]
  [30655.190715] CPU: 6 PID: 26988 Comm: grub-probe Tainted: G  DOE
4.15.0-47-generic #50-Ubuntu
  [30655.190716] Hardware name: ASUSTeK COMPUTER INC. G551JW/G551JW, BIOS 
G551JW.207 08/03/2015
  [30655.190725] RIP: 0010:find_get_entries+0x68/0x200
  [30655.190727] RSP: 0018:adf20efbbbf8 EFLAGS: 00010246
  [30655.190729] RAX:  RBX: 000e RCX: 

  [30655.190731] RDX: 956a4e30dd497370 RSI: 01d0c740 RDI: 
892554fa6238
  [30655.190733] RBP: adf20efbbc58 R08: 01d0c71c R09: 

  [30655.190734] R10: 892554fa6340 R11:  R12: 
adf20efbbd30
  [30655.190736] R13: adf20efbbcb0 R14:  R15: 
892554fa6340
  [30655.190738] FS:  7fac22a0afc0() GS:8928eef8() 
knlGS:
  [30655.190740] CS:  0010 DS:  ES:  CR0: 80050033
  [30655.190742] CR2: 7fac22909000 CR3: 0003a3662006 CR4: 
001606e0
  [30655.190743] Call Trace:
  [30655.190752]  pagevec_lookup_entries+0x1e/0x30
  [30655.190756]  invalidate_mapping_pages+0x91/0x330
  [30655.190762]  ? wait_for_completion+0xc5/0x140
  [30655.190766]  ? wake_up_q+0x80/0x80
  [30655.190771]  ? radix_tree_lookup+0xd/0x10
  [30655.190774]  ? get_work_pool+0x2d/0x40
  [30655.190777]  ? flush_work+0x5b/0x1e0
  [30655.190780]  ? worker_detach_from_pool+0xa0/0xa0
  [30655.190785]  ? find_next_bit+0xb/0x10
  [30655.190788]  ? cpumask_next+0x1b/0x20
  [30655.190791]  ? lru_add_drain_all_cpuslocked+0x15d/0x1a0
  [30655.190795]  invalidate_bdev+0x50/0x60
  [30655.190800]  blkdev_ioctl+0x66a/0x970
  [30655.190803]  block_ioctl+0x3d/0x50
  [30655.190807]  do_vfs_ioctl+0xa8/0x630
  [30655.190813]  ? __audit_syscall_entry+0xbc/0x110
  [30655.190817]  ? syscall_trace_enter+0x1da/0x2d0
  [30655.190820]  SyS_ioctl+0x79/0x90
  [30655.190822]  do_syscall_64+0x73/0x130
  [30655.190826]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
  [30655.190828] RIP: 0033:0x7fac222c45d7
  [30655.190830] RSP: 002b:7ffd05b75a38 EFLAGS: 0246 ORIG_RAX: 
0010
  [30655.190832] RAX: ffda RBX: 0004 RCX: 
7fac222c45d7