Bug#820306: [Fwd: Re: Bug#820306: general: Kernel 4.4.0-1-amd64 causes system crash when USB mass storage device accidentally disconnected]
-------- Forwarded Message --------
From: Vince Barwinski <vince.barwinski@gmail.com>
To: Ben Hutchings <ben@decadent.org.uk>
Subject: Re: Bug#820306: general: Kernel 4.4.0-1-amd64 causes system
crash when USB mass storage device accidentally disconnected
Date: Thu, 7 Apr 2016 20:54:14 +1000
Message-id:
<CAH_aao_740=BOCHXLeNXamcvwrjAWkcU_JQKBU20SPWrhsXt2w@mail.gmail.com>
My /var/log/messages only had messages for today. So I rebooted into my
new
kernel 4.4.0-1-amd64 with the bug and recreated the bug. My output from
/var/log/messages is as follows from "Oops" to "end trace"
Apr 7 20:45:37 sparky kernel: [ 92.622211] Oops: 0000 [#1] SMP
Apr 7 20:45:37 sparky kernel: [ 92.622223] Modules linked in: uas
usb_storage rfcomm fuse drbg ansi_cprng ctr ccm pci_stub bnep vboxpci(O)
vboxnetadp(O) vboxnetflt(O) vboxdrv(O) binfmt_misc btusb btrtl btbcm
btintel arc4 bluetooth brcmsmac cordic uvcvideo brcmutil
videobuf2_vmalloc
videobuf2_memops videobuf2_v4l2 b43 videobuf2_core v4l2_common videodev
media mac80211 cfg80211 ssb mmc_core rng_core pcmcia pcmcia_core
coretemp
snd_hda_codec_hdmi kvm_intel acer_wmi sparse_keymap rfkill kvm bcma
snd_hda_codec_realtek iTCO_wdt iTCO_vendor_support
snd_hda_codec_generic
irqbypass i7core_edac edac_core snd_hda_intel snd_hda_codec
snd_hda_core
lpc_ich mei_me mfd_core snd_hwdep joydev i2c_i801 mei sg pcspkr
serio_raw
shpchp snd_pcm snd_timer snd soundcore evdev acpi_cpufreq battery
tpm_tis
tpm ac processor loop ecryptfs cbc sha256_ssse3 sha256_generic hmac
encrypted_keys parport_pc ppdev lp parport autofs4 ext4 crc16 mbcache
jbd2
sr_mod sd_mod cdrom ahci libahci nouveau crc32c_intel mxm_wmi
i2c_algo_bit
libata ehci_pci psmouse ttm ehci_hcd drm_kms_helper scsi_mod atl1c
usbcore
usb_common drm thermal fjes wmi video button
Apr 7 20:45:37 sparky kernel: [ 92.622679] CPU: 6 PID: 2404 Comm:
systemd-udevd Tainted: G W O 4.4.0-1-amd64 #1 Debian 4.4.6-1
Apr 7 20:45:37 sparky kernel: [ 92.622698] Hardware name: Acer
Aspire
5745G/ZR7, BIOS V1.16 08/09/2010
Apr 7 20:45:37 sparky kernel: [ 92.622710] task: ffff8800b48cf100
ti:
ffff8800b50c0000 task.ti: ffff8800b50c0000
Apr 7 20:45:37 sparky kernel: [ 92.622723] RIP:
0010:[<ffffffff811a1fbe>] [<ffffffff811a1fbe>]
unlink_anon_vmas+0x6e/0x1a0
Apr 7 20:45:37 sparky kernel: [ 92.622744] RSP:
0018:ffff8800b50c3b48
EFLAGS: 00010202
Apr 7 20:45:37 sparky kernel: [ 92.622759] RAX: ffff8800b364eb80
RBX:
ffff8800b2fb1aa0 RCX: 000000000000006c
Apr 7 20:45:37 sparky kernel: [ 92.622774] RDX: ffff8800b2fb1aa0
RSI:
ffff8800b5719840 RDI: 0000000000000286
Apr 7 20:45:37 sparky kernel: [ 92.622786] RBP: ffff8800b364eb80
R08:
ffff8800b5719850 R09: 00000000000003ab
Apr 7 20:45:37 sparky kernel: [ 92.622799] R10: 00000000000002ee
R11:
ffff8800b5719860 R12: ffff88013a289828
Apr 7 20:45:37 sparky kernel: [ 92.622811] R13: ffff88013a289838
R14:
ffff880138f46bf8 R15: 0000000000000006
Apr 7 20:45:37 sparky kernel: [ 92.622825]
FS: 0000000000000000(0000)
GS:ffff88013fd80000(0000) knlGS:0000000000000000
Apr 7 20:45:37 sparky kernel: [ 92.622839] CS: 0010 DS: 0000 ES:
0000
CR0: 000000008005003b
Apr 7 20:45:37 sparky kernel: [ 92.622850] CR2: 0000000000000006
CR3:
00000000b512f000 CR4: 00000000000006e0
Apr 7 20:45:37 sparky kernel: [ 92.622862] Stack:
Apr 7 20:45:37 sparky kernel: [ 92.622869] ffff880138f46b80
ffff880138ab0e00 ffff8800b3dfeac0 ffff880138f46b80
Apr 7 20:45:37 sparky kernel: [ 92.622898] 00007ff3f5bb0000
0000000000000000 ffff8800b50c3bd0 0000000000000000
Apr 7 20:45:37 sparky kernel: [ 92.622919] ffffffff811940e9
0000000000000000 ffff8800b6090440 ffff880139c28c00
Apr 7 20:45:37 sparky kernel: [ 92.622940] Call Trace:
Apr 7 20:45:37 sparky kernel: [ 92.622951] [<ffffffff811940e9>] ?
free_pgtables+0x99/0x110
Apr 7 20:45:37 sparky kernel: [ 92.622964] [<ffffffff8119e5d0>] ?
exit_mmap+0xb0/0x150
Apr 7 20:45:37 sparky kernel: [ 92.622976] [<ffffffff81074634>] ?
mmput+0x54/0x100
Apr 7 20:45:37 sparky kernel: [ 92.622988] [<ffffffff811ddef6>] ?
flush_old_exec+0x5f6/0x8a0
Apr 7 20:45:37 sparky kernel: [ 92.623002] [<ffffffff8122c91d>] ?
load_elf_binary+0x38d/0x16e0
Apr 7 20:45:37 sparky kernel: [ 92.623016] [<ffffffff811dd237>] ?
search_binary_handler+0x97/0x1b0
Apr 7 20:45:37 sparky kernel: [ 92.623029] [<ffffffff8122c12b>] ?
load_script+0x20b/0x230
Apr 7 20:45:37 sparky kernel: [ 92.623042] [<ffffffff811dd6f0>] ?
copy_strings.isra.23+0x2b0/0x320
Apr 7 20:45:37 sparky kernel: [ 92.623057] [<ffffffff811dd237>] ?
search_binary_handler+0x97/0x1b0
Apr 7 20:45:37 sparky kernel: [ 92.623071] [<ffffffff811de959>] ?
do_execveat_common.isra.33+0x549/0x730
Apr 7 20:45:37 sparky kernel: [ 92.623086] [<ffffffff811dedb5>] ?
SyS_execve+0x35/0x40
Apr 7 20:45:37 sparky kernel: [ 92.623098] [<ffffffff8158eed5>] ?
stub_execve+0x5/0x5
Apr 7 20:45:37 sparky kernel: [ 92.623110] [<ffffffff8158ec32>] ?
system_call_fast_compare_end+0xc/0x67
Apr 7 20:45:37 sparky kernel: [ 92.623122] Code: 51 26 b5 00 4c 89
e6 e8
11 ac 01 00 48 8b 45 10 4c 8d 6d 10 49 89 ec 48 89 da 48 83 e8 10 4d 39
f5
74 3f 48 89 c5 4d 8b 7c 24 08 <49> 8b 1f 48 39 d3 74 12 48 85 d2 0f 85
dd
00 00 00 48 8d 7b 08
Apr 7 20:45:37 sparky kernel: [ 92.623325] RSP <ffff8800b50c3b48>
Apr 7 20:45:37 sparky kernel: [ 92.623334] CR2: 0000000000000006
Apr 7 20:45:37 sparky kernel: [ 92.627601] ---[ end trace
33ccc0f28ba692d5 ]---
Cheers
On 7 April 2016 at 20:22, Ben Hutchings <ben@decadent.org.uk> wrote:
>
> Control: tag -1 moreinfo
>
> On Thu, 2016-04-07 at 19:32 +1000, Vince wrote:
> >
> > Package: general
> > Severity: critical
> > Justification: breaks the whole system
> >
> > Dear Maintainer,
> >
> > * What led up to the situation? USB mass storage device was
> > accidentally disconnected causing immediate system crash or hanging
> > on reboot/shutdown
> This doesn't "break the whole system", since you were able to recover
> simply by rebooting.
>
> >
> > * What exactly did you do (or not do) that was effective (or
> > ineffective)? I found that this problem did not occur when I
> > booted into my previous kernel 4.3.0-1-amd64.
> > * What was the outcome of this action? Immediate system crash or
> > sysyem hanging on reboot/shutdown.I could not reconnect USB Mass
> > storage device. I had to do a hard reset
> > * What outcome did you expect instead? Just to simply reconnect
> > my
> > USB mass storage device without system crash or hang on reboot. As
> > it
> > stands, there is no way for my system to be able to read my USB
> > mass
> > storage device without a hard reset.
> I think this is the same as bug #820176. Is the crash recorded in
> /var/log/messages (look for "BUG" or "Oops")? If so, please copy the
> lines from there down to "---[ end trace ............ ]---"
>
> Ben.
>
> --
> Ben Hutchings
> Who are all these weirdos? - David Bowie, reading IRC for the first
> time
>
--
Ben Hutchings
Who are all these weirdos? - David Bowie, reading IRC for the first time
My /var/log/messages only had messages for today. So I rebooted into my new kernel 4.4.0-1-amd64 with the bug and recreated the bug. My output from /var/log/messages is as follows from "Oops" to "end trace"
Apr 7 20:45:37 sparky kernel: [ 92.622211] Oops: 0000 [#1] SMP
Apr 7 20:45:37 sparky kernel: [ 92.622223] Modules linked in: uas usb_storage rfcomm fuse drbg ansi_cprng ctr ccm pci_stub bnep vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) binfmt_misc btusb btrtl btbcm btintel arc4 bluetooth brcmsmac cordic uvcvideo brcmutil videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 b43 videobuf2_core v4l2_common videodev media mac80211 cfg80211 ssb mmc_core rng_core pcmcia pcmcia_core coretemp snd_hda_codec_hdmi kvm_intel acer_wmi sparse_keymap rfkill kvm bcma snd_hda_codec_realtek iTCO_wdt iTCO_vendor_support snd_hda_codec_generic irqbypass i7core_edac edac_core snd_hda_intel snd_hda_codec snd_hda_core lpc_ich mei_me mfd_core snd_hwdep joydev i2c_i801 mei sg pcspkr serio_raw shpchp snd_pcm snd_timer snd soundcore evdev acpi_cpufreq battery tpm_tis tpm ac processor loop ecryptfs cbc sha256_ssse3 sha256_generic hmac encrypted_keys parport_pc ppdev lp parport autofs4 ext4 crc16 mbcache jbd2 sr_mod sd_mod cdrom ahci libahci nouveau crc32c_intel mxm_wmi i2c_algo_bit libata ehci_pci psmouse ttm ehci_hcd drm_kms_helper scsi_mod atl1c usbcore usb_common drm thermal fjes wmi video button
Apr 7 20:45:37 sparky kernel: [ 92.622679] CPU: 6 PID: 2404 Comm: systemd-udevd Tainted: G W O 4.4.0-1-amd64 #1 Debian 4.4.6-1
Apr 7 20:45:37 sparky kernel: [ 92.622698] Hardware name: Acer Aspire 5745G/ZR7, BIOS V1.16 08/09/2010
Apr 7 20:45:37 sparky kernel: [ 92.622710] task: ffff8800b48cf100 ti: ffff8800b50c0000 task.ti: ffff8800b50c0000
Apr 7 20:45:37 sparky kernel: [ 92.622723] RIP: 0010:[<ffffffff811a1fbe>] [<ffffffff811a1fbe>] unlink_anon_vmas+0x6e/0x1a0
Apr 7 20:45:37 sparky kernel: [ 92.622744] RSP: 0018:ffff8800b50c3b48 EFLAGS: 00010202
Apr 7 20:45:37 sparky kernel: [ 92.622759] RAX: ffff8800b364eb80 RBX: ffff8800b2fb1aa0 RCX: 000000000000006c
Apr 7 20:45:37 sparky kernel: [ 92.622774] RDX: ffff8800b2fb1aa0 RSI: ffff8800b5719840 RDI: 0000000000000286
Apr 7 20:45:37 sparky kernel: [ 92.622786] RBP: ffff8800b364eb80 R08: ffff8800b5719850 R09: 00000000000003ab
Apr 7 20:45:37 sparky kernel: [ 92.622799] R10: 00000000000002ee R11: ffff8800b5719860 R12: ffff88013a289828
Apr 7 20:45:37 sparky kernel: [ 92.622811] R13: ffff88013a289838 R14: ffff880138f46bf8 R15: 0000000000000006
Apr 7 20:45:37 sparky kernel: [ 92.622825] FS: 0000000000000000(0000) GS:ffff88013fd80000(0000) knlGS:0000000000000000
Apr 7 20:45:37 sparky kernel: [ 92.622839] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Apr 7 20:45:37 sparky kernel: [ 92.622850] CR2: 0000000000000006 CR3: 00000000b512f000 CR4: 00000000000006e0
Apr 7 20:45:37 sparky kernel: [ 92.622862] Stack:
Apr 7 20:45:37 sparky kernel: [ 92.622869] ffff880138f46b80 ffff880138ab0e00 ffff8800b3dfeac0 ffff880138f46b80
Apr 7 20:45:37 sparky kernel: [ 92.622898] 00007ff3f5bb0000 0000000000000000 ffff8800b50c3bd0 0000000000000000
Apr 7 20:45:37 sparky kernel: [ 92.622919] ffffffff811940e9 0000000000000000 ffff8800b6090440 ffff880139c28c00
Apr 7 20:45:37 sparky kernel: [ 92.622940] Call Trace:
Apr 7 20:45:37 sparky kernel: [ 92.622951] [<ffffffff811940e9>] ? free_pgtables+0x99/0x110
Apr 7 20:45:37 sparky kernel: [ 92.622964] [<ffffffff8119e5d0>] ? exit_mmap+0xb0/0x150
Apr 7 20:45:37 sparky kernel: [ 92.622976] [<ffffffff81074634>] ? mmput+0x54/0x100
Apr 7 20:45:37 sparky kernel: [ 92.622988] [<ffffffff811ddef6>] ? flush_old_exec+0x5f6/0x8a0
Apr 7 20:45:37 sparky kernel: [ 92.623002] [<ffffffff8122c91d>] ? load_elf_binary+0x38d/0x16e0
Apr 7 20:45:37 sparky kernel: [ 92.623016] [<ffffffff811dd237>] ? search_binary_handler+0x97/0x1b0
Apr 7 20:45:37 sparky kernel: [ 92.623029] [<ffffffff8122c12b>] ? load_script+0x20b/0x230
Apr 7 20:45:37 sparky kernel: [ 92.623042] [<ffffffff811dd6f0>] ? copy_strings.isra.23+0x2b0/0x320
Apr 7 20:45:37 sparky kernel: [ 92.623057] [<ffffffff811dd237>] ? search_binary_handler+0x97/0x1b0
Apr 7 20:45:37 sparky kernel: [ 92.623071] [<ffffffff811de959>] ? do_execveat_common.isra.33+0x549/0x730
Apr 7 20:45:37 sparky kernel: [ 92.623086] [<ffffffff811dedb5>] ? SyS_execve+0x35/0x40
Apr 7 20:45:37 sparky kernel: [ 92.623098] [<ffffffff8158eed5>] ? stub_execve+0x5/0x5
Apr 7 20:45:37 sparky kernel: [ 92.623110] [<ffffffff8158ec32>] ? system_call_fast_compare_end+0xc/0x67
Apr 7 20:45:37 sparky kernel: [ 92.623122] Code: 51 26 b5 00 4c 89 e6 e8 11 ac 01 00 48 8b 45 10 4c 8d 6d 10 49 89 ec 48 89 da 48 83 e8 10 4d 39 f5 74 3f 48 89 c5 4d 8b 7c 24 08 <49> 8b 1f 48 39 d3 74 12 48 85 d2 0f 85 dd 00 00 00 48 8d 7b 08
Apr 7 20:45:37 sparky kernel: [ 92.623325] RSP <ffff8800b50c3b48>
Apr 7 20:45:37 sparky kernel: [ 92.623334] CR2: 0000000000000006
Apr 7 20:45:37 sparky kernel: [ 92.627601] ---[ end trace 33ccc0f28ba692d5 ]---
Cheers
Reply to: