Linux 4.2.5 System crash when removing USB memory stick

From: Jeffrey Merkey
Date: Tue Nov 03 2015 - 16:00:29 EST


While removing a USB memory card after writing data and syncing,
system crashes and hard hangs with flashing keyboard lights.

Nov 3 13:46:54 aya kernel: kjournald starting. Commit interval 5 seconds
Nov 3 13:46:54 aya kernel: EXT3-fs (sdc2): warning: checktime
reached, running e2fsck is recommended
Nov 3 13:46:55 aya kernel: EXT3-fs (sdc2): using internal journal
Nov 3 13:46:55 aya kernel: EXT3-fs (sdc2): mounted filesystem with
ordered data mode
Nov 3 13:46:55 aya kernel: FAT-fs (sdc1): Volume was not properly
unmounted. Some data may be corrupt. Please run fsck.
Nov 3 13:48:55 aya init: tty (/dev/tty2) main process ended, respawning
Nov 3 13:49:00 aya kernel: usb 1-6: USB disconnect, device number 2
Nov 3 13:49:00 aya kernel: Buffer I/O error on dev sdc2, logical
block 655865, lost sync page write
Nov 3 13:49:00 aya kernel: JBD: Error -5 detected when updating
journal superblock for sdc2.
Nov 3 13:49:00 aya kernel: BUG: unable to handle kernel paging
request at 35d9f000
Nov 3 13:49:00 aya kernel: IP: [<c065d093>] __percpu_counter_add+0x23/0xc0
Nov 3 13:49:00 aya kernel: *pdpt = 0000000011368001 *pde = 0000000000000000
Nov 3 13:49:00 aya kernel: Oops: 0000 [#1] SMP
Nov 3 13:49:00 aya kernel: Modules linked in: vfat fat usb_storage
fuse ebtable_nat ebtables nf_conntrack_ipv4 nf_defrag_ipv
4 ipt_REJECT nf_reject_ipv4 xt_CHECKSUM iptable_mangle iptable_filter
tun sha256_generic drbg ansi_cprng ctr ccm autofs4 sunr
pc target_core_iblock target_core_file target_core_pscsi
target_core_mod configfs bnx2fc cnic uio fcoe libfcoe libfc scsi_tra
nsport_fc 8021q garp p4_clockmod bridge stp llc ip_tables ip6t_REJECT
nf_reject_ipv6 nf_conntrack_ipv6 nf_defrag_ipv6 xt_stat
e nf_conntrack ip6table_filter ip6_tables ipv6 ext2 dm_mirror
dm_region_hash dm_log uinput ppdev parport_pc parport b43 bcma
iTCO_wdt iTCO_vendor_support ssb mmc_core tg3 ptp pps_core arc4
rt61pci rt2x00mmio crc_itu_t rt2x00pci rt2x00lib mac80211 cfg
80211 rfkill eeprom_93cx6 sg microcode pcspkr snd_intel8x0
snd_ac97_codec ac97_bus snd_seq snd_seq_device snd_pcm snd_timer s
nd soundcore i2c_i801 lpc_ich mfd_core dm_mod(E) ext3(E) jbd(E)
mbcache(E) floppy(E) sd_mod(E) sr_mod(E) cdrom(E) pata_acpi(E
) ata_generic(E) ata_pii
Nov 3 13:49:00 aya kernel: x(E) i915(E) drm_kms_helper(E) drm(E)
i2c_algo_bit(E) i2c_core(E) video(E) [last unloaded: acpi_c
pufreq]
Nov 3 13:49:00 aya kernel: CPU: 0 PID: 4116 Comm: umount Tainted: G
W E 4.2.5 #1
Nov 3 13:49:00 aya kernel: Hardware name: Hewlett-Packard HP d530
CMT(DC577AV)/085Ch, BIOS 786B2 v1.10 05/05/2003
Nov 3 13:49:00 aya kernel: task: eeb0c040 ti: d1340000 task.ti: d1340000
Nov 3 13:49:00 aya kernel: EIP: 0060:[<c065d093>] EFLAGS: 00010092 CPU: 0
Nov 3 13:49:00 aya kernel: EIP is at __percpu_counter_add+0x23/0xc0
Nov 3 13:49:00 aya kernel: EAX: 00000010 EBX: d1349b44 ECX: 00000000
EDX: 00000001
Nov 3 13:49:00 aya kernel: ESI: ffffffff EDI: f4f74564 EBP: f6f8c860
ESP: d1341ebc
Nov 3 13:49:00 aya kernel: DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Nov 3 13:49:00 aya kernel: CR0: 8005003b CR2: 35d9f000 CR3: 0e0d7140
CR4: 000006f0
Nov 3 13:49:00 aya kernel: Stack:
:Nov 3 13:49:00 aya kernel: 00000001 00000000 ddeeccb4 00000000
f69e9380 c0ba6980 d1349ae8 ffffffff
Nov 3 13:49:00 aya kernel: f4f74564 f6f8c860 c05220ae 00000010
f4f7448c 00000286 f6f8c860 f4f74564
Nov 3 13:49:00 aya kernel: f4f74574 00000282 c058c39f 00000000
f4f74564 f6f8c860 cb1c3400 eeb0c040
Nov 3 13:49:00 aya kernel: Call Trace:
Nov 3 13:49:00 aya kernel: [<c05220ae>] ? account_page_dirtied+0xce/0x180
Nov 3 13:49:00 aya kernel: [<c058c39f>] ? __set_page_dirty.clone.2+0x3f/0xb0
Nov 3 13:49:00 aya kernel: [<c058c630>] ? mark_buffer_dirty+0x50/0xb0
Nov 3 13:49:00 aya kernel: [<f8912d8d>] ? ext3_put_super+0x21d/0x260 [ext3]
Nov 3 13:49:00 aya kernel: [<c0576efe>] ? evict_inodes+0x9e/0xf0
Nov 3 13:49:00 aya kernel: [<c05625c3>] ? generic_shutdown_super+0x63/0xe0
Nov 3 13:49:00 aya kernel: [<c056265f>] ? kill_block_super+0x1f/0x70
Nov 3 13:49:00 aya kernel: [<c0562928>] ? deactivate_locked_super+0x38/0x70
Nov 3 13:49:00 aya kernel: [<c057acfe>] ? cleanup_mnt+0x2e/0x70
Nov 3 13:49:00 aya kernel: [<c0465e21>] ? task_work_run+0x61/0xa0
Nov 3 13:49:00 aya kernel: [<c0903e77>] ? work_notifysig+0x24/0x29
Nov 3 13:49:00 aya kernel: Code: e6 ff e9 ab fe ff ff 90 83 ec 28 89
5c 24 18 89 c3 89 14 24 89 4c 24 04 89 74 24 1c 89 7c 24 20 89 6c 24
24 8b 48 14 8b 44 24 2c <64> 8b 31 89 f7 c1 ff 1f 03 34 24 89 c2 13 7c
24 04 c1 fa 1f 89
Nov 3 13:49:00 aya kernel: EIP: [<c065d093>]
__percpu_counter_add+0x23/0xc0 SS:ESP 0068:d1341ebc
Nov 3 13:49:00 aya kernel: CR2: 0000000035d9f000
Nov 3 13:49:00 aya kernel: ---[ end trace 11df44d5de704a60 ]---
Nov 3 13:49:00 aya gnome-keyring-daemon[2823]: removing removable
location: /media/3098c8ce-1a99-4a25-bf78-7188b7d743ba
Nov 3 13:49:00 aya gnome-keyring-daemon[2823]: no volume registered
at: /media/3098c8ce-1a99-4a25-bf78-7188b7d743ba
Nov 3 13:49:00 aya gnome-keyring-daemon[2823]: removing removable
location: /media/8AB0-04F4
Nov 3 13:49:00 aya gnome-keyring-daemon[2823]: no volume registered
at: /media/8AB0-04F4
Nov 3 13:49:01 aya abrt-dump-oops: Reported 1 kernel oopses to Abrt
Nov 3 13:49:01 aya abrtd: Directory 'oops-2015-11-03-13:49:01-2304-1'
creation detected
Nov 3 13:49:11 aya kernel: usb 1-5: new high-speed USB device number
3 using ehci-pci
Nov 3 13:49:11 aya kernel: usb 1-5: New USB device found,
idVendor=13fe, idProduct=3e00
Nov 3 13:49:11 aya kernel: usb 1-5: New USB device strings: Mfr=1,
Product=2, SerialNumber=3
Nov 3 13:49:11 aya kernel: usb 1-5: Product: USB DISK 2.0
Nov 3 13:49:11 aya kernel: usb 1-5: Manufacturer:
Nov 3 13:49:11 aya kernel: usb 1-5: SerialNumber: 070128A070647A93
Nov 3 13:49:11 aya kernel: usb-storage 1-5:1.0: USB Mass Storage
device detected

Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/