Re: CPU lock-ups with 4.12.0+ kernels related to usb_storage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What else is plugged in?  The top line of the log snippet you sent
shows an error from a USB video device... I wonder if the error
occurred in a different part of the stack, and it just finally
bombs-out in usb-storage....

Matt

On Mon, Jul 10, 2017 at 11:00 PM, Arthur Marsh
<arthur.marsh@xxxxxxxxxxxxxxxx> wrote:
> I've had several lock-ups on recent 4.12.0+ kernels that I've built.
>
> The machine has an Asus M3A78 Pro motherboard and 4-core AMD CPU.
>
> The only usb-storage in use is an external Seagate HDD with one ntfs-3g
> filesystem and another ext3 filesystem mounted.
>
> A recent kernel log showed:
>
> Jul 11 06:43:06 localhost kernel: [ 7843.760926] usb 2-1: dvb_usb_v2:
> rc.query() failed=-110
> Jul 11 06:43:26 localhost kernel: [ 7852.721052] NMI watchdog: Watchdog
> detected hard LOCKUP on cpu 1
> Jul 11 06:43:26 localhost kernel: [ 7852.721054] Modules linked in: arc4 ecb
> md4 nls_utf8 cifs ccm dns_resolver fscache bnep bluetooth hmac drbg
> ansi_cprng ecdh_generic nfc rfkill cpufreq_userspace cpufreq_conservative
> snd_hrtimer cpufreq_powersave binfmt_misc fuse snd_emu10k1_synth
> snd_emux_synth snd_seq_midi_emul snd_seq_virmidi snd_seq_midi_event snd_seq
> max6650 ib_iser rdma_cm iw_cm ib_cm ib_core configfs iscsi_tcp libiscsi_tcp
> libiscsi scsi_transport_iscsi parport_pc ppdev lp parport snd_hda_codec_hdmi
> ir_lirc_codec lirc_dev rtl2832_sdr videobuf2_vmalloc videobuf2_memops
> videobuf2_v4l2 videobuf2_core videodev media fc0012 rtl2832 i2c_mux
> dvb_usb_rtl28xxu dvb_usb_v2 dvb_core rc_core edac_mce_amd amdkfd kvm_amd
> snd_emu10k1 snd_hda_intel kvm radeon snd_hda_codec irqbypass snd_util_mem
> wmi_bmof snd_ac97_codec snd_hda_core ttm snd_rawmidi
> Jul 11 06:43:26 localhost kernel: [ 7852.721080]  snd_hwdep snd_seq_device
> drm_kms_helper snd_pcm_oss ac97_bus k10temp snd_mixer_oss snd_pcm evdev
> pcspkr emu10k1_gp gameport serio_raw snd_timer snd drm i2c_algo_bit
> soundcore wmi sg asus_atk0110 sp5100_tco button acpi_cpufreq ext4 mbcache
> crc16 jbd2 crc32c_generic btrfs raid6_pq xor uas usb_storage sr_mod cdrom
> sd_mod hid_generic usbhid hid ata_generic ohci_pci ahci firewire_ohci
> pata_atiixp libahci ehci_pci ohci_hcd firewire_core crc_itu_t ehci_hcd
> i2c_piix4 libata scsi_mod usbcore r8169 mii
> Jul 11 06:43:26 localhost kernel: [ 7852.721102] CPU: 1 PID: 145 Comm:
> usb-storage Not tainted 4.12.0+ #2747
> Jul 11 06:43:26 localhost kernel: [ 7852.721103] Hardware name: System
> manufacturer System Product Name/M3A78 PRO, BIOS 1701    01/27/2011
> Jul 11 06:43:26 localhost kernel: [ 7852.721104] task: ffff94e66139af80
> task.stack: ffffb31d81b84000
> Jul 11 06:43:26 localhost kernel: [ 7852.721108] RIP:
> 0010:native_queued_spin_lock_slowpath+0x153/0x1b0
> Jul 11 06:43:26 localhost kernel: [ 7852.721109] RSP: 0018:ffffb31d81b87e50
> EFLAGS: 00000002
> Jul 11 06:43:26 localhost kernel: [ 7852.721110] RAX: 0000000000000101 RBX:
> ffff94e66132b030 RCX: 0000000000000001
> Jul 11 06:43:26 localhost kernel: [ 7852.721111] RDX: 0000000000000101 RSI:
> 0000000000000001 RDI: ffff94e66132b030
> Jul 11 06:43:26 localhost kernel: [ 7852.721111] RBP: 0000000000000082 R08:
> 0000000000000101 R09: 0000000000000100
> Jul 11 06:43:26 localhost kernel: [ 7852.721112] R10: 0000000000000000 R11:
> 0000000021219003 R12: 0000000000000001
> Jul 11 06:43:26 localhost kernel: [ 7852.721112] R13: ffff94e66139af80 R14:
> ffff94e66132b7c0 R15: ffffffffc018e5a0
> Jul 11 06:43:26 localhost kernel: [ 7852.721113] FS: 0000000000000000(0000)
> GS:ffff94e66fc40000(0000) knlGS:0000000000000000
> Jul 11 06:43:26 localhost kernel: [ 7852.721114] CS:  0010 DS: 0000 ES: 0000
> CR0: 0000000080050033
> Jul 11 06:43:26 localhost kernel: [ 7852.721115] CR2: 00007f8e987dd000 CR3:
> 0000000158bcb000 CR4: 00000000000006e0
> Jul 11 06:43:26 localhost kernel: [ 7852.721116] Call Trace:
> Jul 11 06:43:26 localhost kernel: [ 7852.721119]  ?
> _raw_spin_lock_irqsave+0x5a/0x5e
> Jul 11 06:43:26 localhost kernel: [ 7852.721130]  ?
> scsi_eh_scmd_add+0x44/0x150 [scsi_mod]
> Jul 11 06:43:26 localhost kernel: [ 7852.721133]  ?
> fill_inquiry_response+0x20/0x20 [usb_storage]
> Jul 11 06:43:26 localhost kernel: [ 7852.721135]  ?
> __blk_mq_complete_request+0xd7/0x170
> Jul 11 06:43:26 localhost kernel: [ 7852.721137]  ?
> usb_stor_control_thread+0xf0/0x250 [usb_storage]
> Jul 11 06:43:26 localhost kernel: [ 7852.721139]  ?
> fill_inquiry_response+0x20/0x20 [usb_storage]
> Jul 11 06:43:26 localhost kernel: [ 7852.721141]  ? kthread+0x118/0x130
> Jul 11 06:43:26 localhost kernel: [ 7852.721143]  ?
> kthread_create_on_node+0x70/0x70
> Jul 11 06:43:26 localhost kernel: [ 7852.721144]  ? ret_from_fork+0x25/0x30
> Jul 11 06:48:41 localhost kernel: [ 8178.540464]  ?
> fill_inquiry_response+0x20/0x20 [usb_storage]
> Jul 11 06:48:41 localhost kernel: [ 8178.540466]  ?
> __blk_mq_complete_request+0xd7/0x170
> Jul 11 06:48:41 localhost kernel: [ 8178.540467]  ?
> usb_stor_control_thread+0xf0/0x250 [usb_storage]
> Jul 11 06:48:41 localhost kernel: [ 8178.540469]  ?
> fill_inquiry_response+0x20/0x20 [usb_storage]
> Jul 11 06:48:41 localhost kernel: [ 8178.540470]  ? kthread+0x118/0x130
> Jul 11 06:48:41 localhost kernel: [ 8178.540472]  ?
> kthread_create_on_node+0x70/0x70
> Jul 11 06:48:41 localhost kernel: [ 8178.540473]  ? ret_from_fork+0x25/0x30
> Jul 11 06:48:41 localhost kernel: [ 8178.540473] Code: 39 c2 74 a5 89 c2 89
> d0 66 31 c0 41 39 c0 74 ea 4d 85 c9 c6 07 01 74 21 41 c7 41 08 01 00 00 00
> eb 87 41 ff c9 75 04 f3 c3 f3 90 <8b> 07 84 c0 75 f8 66 c7 07 01 00 c3 f3 90
> 4c 8b 09 4d 85 c9 74
>
> I'm happy to supply extra configuration information and run tests.
>
> If it is worthwhile doing a git-bisect on usb-storage I could do that also.
>
> Arthur.



-- 
Matthew Dharm
Former Maintainer, USB Mass Storage driver for Linux
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux