UAS - General Protection Fault when plugging in USB 3.0 Mass Storage

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

 



Hi, I have a 2TB Seagate Backup drive that works fine when used in my
laptop's USB 2.0 port yet when plugged into the USB 3.0 port my system
hangs with a Kernel Panic/GPF and needs a hard reset.

I'm running Fedora 20 on an ASUS UX31E laptop. I've just upgraded from
the base release kernel 3.11.10-301.fc20 straight to 3.16.2-201.fc20 and
the problem appeared. (new laptop install hence the large jump). Rolling
back to the 3.11.x kernel lets the drive work again. I tried a few newer
3.16.x kernels (and some slightly older ones 3.15.x) but the problem
still exists. 

I've since been able to work around the problem by blacklisting the UAS
driver, which lets me plug in the device without a fault, but doesn't
recognise the drive for use. I've now settled on using an Option rule in
modprobe.d directory to force the device down to the usb_storage driver
instead of UAS. This now works fine with no problems on 3.16.2-201
kernel however, it is not the newer driver. 

I'm fairly sure this is coming from the UAS driver, although we can
never be certain...

I also noticed that there have been a few of these issues before
(http://www.spinics.net/lists/linux-usb/msg109480.html) so whilst i've
been able to work around it, i'm still keen to stick around and help you
guys out and fix the problem - where i can.

I appreciate your work and please let me know if there is anything I can
do to help.

(I've pasted relevant logs below)

Alan Barker.

------------

[Kernel messages]

Sep 25 22:10:51 holon2.local kernel: usb 3-1: new SuperSpeed USB device number 6 using xhci_hcd
Sep 25 22:10:51 holon2.local kernel: usb 3-1: New USB device found, idVendor=0bc2, idProduct=ab20
Sep 25 22:10:51 holon2.local kernel: usb 3-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
Sep 25 22:10:51 holon2.local kernel: usb 3-1: Product: Backup+  SL
Sep 25 22:10:51 holon2.local kernel: usb 3-1: Manufacturer: Seagate
Sep 25 22:10:51 holon2.local kernel: usb 3-1: SerialNumber: NA75VFTG
Sep 25 22:10:51 holon2.local kernel: scsi10 : uas
Sep 25 22:10:51 holon2.local kernel: scsi 10:0:0:0: Direct-Access     Seagate  Backup+  SL      A905 PQ: 0 ANSI: 6
Sep 25 22:10:51 holon2.local kernel: sd 10:0:0:0: Attached scsi generic sg1 type 0
Sep 25 22:10:51 holon2.local kernel: sd 10:0:0:0: [sdb] Spinning up disk...
Sep 25 22:10:51 holon2.local mtp-probe[29531]: checking bus 3, device 6: "/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb3/3-1"
Sep 25 22:10:51 holon2.local mtp-probe[29531]: bus: 3, device: 6 was not an MTP device
Sep 25 22:10:55 holon2.local kernel: ....ready
Sep 25 22:10:55 holon2.local kernel: sd 10:0:0:0: [sdb] 3907029167 512-byte logical blocks: (2.00 TB/1.81 TiB)
Sep 25 22:10:56 holon2.local kernel: sd 10:0:0:0: [sdb] Write Protect is off
Sep 25 22:10:56 holon2.local kernel: sd 10:0:0:0: [sdb] Mode Sense: 4f 00 00 00
Sep 25 22:10:56 holon2.local kernel: sd 10:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Sep 25 22:10:56 holon2.local kernel: general protection fault: 0000 [#1] SMP 
Sep 25 22:10:56 holon2.local kernel: Modules linked in: cdc_acm xt_conntrack iptable_raw iptable_security xt_CHECKSUM iptable_mangle ipt_MASQUERADE iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack vhost_net vhost macvtap macvlan tun lockd sunrpc ppp_mppe ppp_deflate bsd_comp ppp_async crc_ccitt ppp_generic slhc ses enclosure uas usb_storage ccm tcp_lp asix usbnet mii binfmt_misc rfcomm fuse bridge stp llc bnep vfat fat asus_nb_wmi asus_wmi sparse_keymap iTCO_wdt iTCO_vendor_support x86_pkg_temp_thermal coretemp kvm_intel snd_hda_codec_hdmi kvm arc4 snd_hda_codec_realtek snd_hda_codec_generic ath9k crct10dif_pclmul ath9k_common crc32_pclmul snd_hda_intel ath9k_hw crc32c_intel snd_hda_controller ath snd_hda_codec ghash_clmulni_intel uvcvideo ath3k snd_hwdep mac80211 btusb snd_seq bluetooth microcode
Sep 25 22:10:56 holon2.local kernel:  videobuf2_vmalloc videobuf2_memops videobuf2_core cfg80211 snd_seq_device v4l2_common videodev joydev snd_pcm media serio_raw rfkill wmi snd_timer tpm_tis mei_me snd mei i2c_i801 lpc_ich tpm soundcore mfd_core shpchp i915 i2c_algo_bit drm_kms_helper drm i2c_core video [last unloaded: iptable_raw]
Sep 25 22:10:56 holon2.local kernel: CPU: 0 PID: 25783 Comm: Chrome_ChildIOT Not tainted 3.16.2-201.fc20.x86_64 #1
Sep 25 22:10:56 holon2.local kernel: Hardware name: ASUSTeK Computer Inc. UX31E/UX31E, BIOS UX31E.211 01/20/2012
Sep 25 22:10:56 holon2.local kernel: task: ffff8800064c0000 ti: ffff8800114b4000 task.ti: ffff8800114b4000
Sep 25 22:10:56 holon2.local kernel: RIP: 0010:[<ffffffff811d940b>]  [<ffffffff811d940b>] __kmalloc_node_track_caller+0x1cb/0x290
Sep 25 22:10:56 holon2.local kernel: RSP: 0018:ffff8800114b7b90  EFLAGS: 00010246
Sep 25 22:10:56 holon2.local kernel: RAX: 0000000000000000 RBX: ffff8801389b9000 RCX: ffffffff815e751d
Sep 25 22:10:56 holon2.local kernel: RDX: 0000000000f7449e RSI: 0000000000000000 RDI: 000000000000017f
Sep 25 22:10:56 holon2.local kernel: RBP: ffff8800114b7bd8 R08: 0000000000017440 R09: ffff88013a803600
Sep 25 22:10:56 holon2.local kernel: R10: ffff88013a803600 R11: ffff8800064c0000 R12: ae88e0e800000000
Sep 25 22:10:56 holon2.local kernel: R13: 00000000000106d0 R14: 0000000000000180 R15: 00000000ffffffff
Sep 25 22:10:56 holon2.local kernel: FS:  00007f6af943a700(0000) GS:ffff88013f400000(0000) knlGS:0000000000000000
Sep 25 22:10:56 holon2.local kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sep 25 22:10:56 holon2.local kernel: CR2: 00007f99f8788c98 CR3: 00000000b5be8000 CR4: 00000000000407e0
Sep 25 22:10:56 holon2.local kernel: Stack:
Sep 25 22:10:56 holon2.local kernel:  ffff8800114b7c38 ffffffff81704ccc ffff88013a803600 ffffffff815e751d
Sep 25 22:10:56 holon2.local kernel:  ffff8801389b9000 ffff8800114b7c37 00000000000004d0 0000000000000180
Sep 25 22:10:56 holon2.local kernel:  00000000ffffffff ffff8800114b7c18 ffffffff815e66b1 ffffffff815e74ed
Sep 25 22:10:56 holon2.local kernel: Call Trace:
Sep 25 22:10:56 holon2.local kernel:  [<ffffffff81704ccc>] ? __slab_free+0x10e/0x277
Sep 25 22:10:56 holon2.local kernel:  [<ffffffff815e751d>] ? __alloc_skb+0x8d/0x2d0
Sep 25 22:10:56 holon2.local kernel:  [<ffffffff815e66b1>] __kmalloc_reserve.isra.26+0x31/0x90
Sep 25 22:10:56 holon2.local kernel:  [<ffffffff815e74ed>] ? __alloc_skb+0x5d/0x2d0
Sep 25 22:10:56 holon2.local kernel:  [<ffffffff815e751d>] __alloc_skb+0x8d/0x2d0
Sep 25 22:10:56 holon2.local kernel:  [<ffffffff810c9b67>] ? update_curr+0x67/0x160
Sep 25 22:10:56 holon2.local kernel:  [<ffffffff815e2052>] sock_alloc_send_pskb+0x1c2/0x410
Sep 25 22:10:56 holon2.local kernel:  [<ffffffff810bdf89>] ? ttwu_do_wakeup+0x19/0xc0
Sep 25 22:10:56 holon2.local kernel:  [<ffffffff816a4661>] unix_stream_sendmsg+0x2a1/0x420
Sep 25 22:10:56 holon2.local kernel:  [<ffffffff815dc84f>] sock_aio_write+0x12f/0x150
Sep 25 22:10:56 holon2.local kernel:  [<ffffffff811f2d07>] do_sync_write+0x67/0xa0
Sep 25 22:10:56 holon2.local kernel:  [<ffffffff811f3815>] vfs_write+0x195/0x1f0
Sep 25 22:10:56 holon2.local kernel:  [<ffffffff81125c7c>] ? __audit_syscall_entry+0x9c/0xf0
Sep 25 22:10:56 holon2.local kernel:  [<ffffffff811f4355>] SyS_write+0x55/0xd0
Sep 25 22:10:56 holon2.local kernel:  [<ffffffff8170e677>] tracesys+0xdd/0xe2
Sep 25 22:10:56 holon2.local kernel: Code: 4c 8b 13 4d 85 d2 75 d8 48 83 c4 20 4c 89 e0 5b 41 5c 41 5d 41 5e 41 5f 5d c3 66 0f 1f 44 00 00 49 63 42 20 4d 8b 02 41 f6 c0 0f <49> 8b 1c 04 0f 85 b7 00 00 00 48 8d 4a 01 4c 89 e0 65 49 0f c7 
Sep 25 22:10:56 holon2.local kernel: RIP  [<ffffffff811d940b>] __kmalloc_node_track_caller+0x1cb/0x290
Sep 25 22:10:56 holon2.local kernel:  RSP <ffff8800114b7b90>
Sep 25 22:10:56 holon2.local kernel: ---[ end trace a3af61d3e63f637f ]---
Sep 25 22:11:00 holon2.local kernel: general protection fault: 0000 [#2] SMP 
Sep 25 22:11:00 holon2.local kernel: Modules linked in: cdc_acm xt_conntrack iptable_raw iptable_security xt_CHECKSUM iptable_mangle ipt_MASQUERADE iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack vhost_net vhost macvtap macvlan tun lockd sunrpc ppp_mppe ppp_deflate bsd_comp ppp_async crc_ccitt ppp_generic slhc ses enclosure uas usb_storage ccm tcp_lp asix usbnet mii binfmt_misc rfcomm fuse bridge stp llc bnep vfat fat asus_nb_wmi asus_wmi sparse_keymap iTCO_wdt iTCO_vendor_support x86_pkg_temp_thermal coretemp kvm_intel snd_hda_codec_hdmi kvm arc4 snd_hda_codec_realtek snd_hda_codec_generic ath9k crct10dif_pclmul ath9k_common crc32_pclmul snd_hda_intel ath9k_hw crc32c_intel snd_hda_controller ath snd_hda_codec ghash_clmulni_intel uvcvideo ath3k snd_hwdep mac80211 btusb snd_seq bluetooth microcode
Sep 25 22:11:00 holon2.local kernel:  videobuf2_vmalloc videobuf2_memops videobuf2_core cfg80211 snd_seq_device v4l2_common videodev joydev snd_pcm media serio_raw rfkill wmi snd_timer tpm_tis mei_me snd mei i2c_i801 lpc_ich tpm soundcore mfd_core shpchp i915 i2c_algo_bit drm_kms_helper drm i2c_core video [last unloaded: iptable_raw]
Sep 25 22:11:00 holon2.local kernel: CPU: 0 PID: 1663 Comm: pool Tainted: G      D       3.16.2-201.fc20.x86_64 #1
Sep 25 22:11:00 holon2.local kernel: Hardware name: ASUSTeK Computer Inc. UX31E/UX31E, BIOS UX31E.211 01/20/2012
Sep 25 22:11:00 holon2.local kernel: task: ffff88013841cf00 ti: ffff8800b5dc4000 task.ti: ffff8800b5dc4000
Sep 25 22:11:00 holon2.local kernel: RIP: 0010:[<ffffffff811d66e0>]  [<ffffffff811d66e0>] kmem_cache_alloc_trace+0x80/0x200
Sep 25 22:11:00 holon2.local kernel: RSP: 0018:ffff8800b5dc7d68  EFLAGS: 00010246
Sep 25 22:11:00 holon2.local kernel: RAX: 0000000000000000 RBX: ffff88013795db00 RCX: 0000000000000000
Sep 25 22:11:00 holon2.local kernel: RDX: 0000000000f7449e RSI: 00000000000080d0 RDI: ffff88013a803600
Sep 25 22:11:00 holon2.local kernel: RBP: ffff8800b5dc7da0 R08: 0000000000017440 R09: ffff88013a803600
Sep 25 22:11:00 holon2.local kernel: R10: ffffffff81376348 R11: ffff8800b5dc7da6 R12: ae88e0e800000000
Sep 25 22:11:00 holon2.local kernel: R13: 00000000000080d0 R14: 0000000000000148 R15: ffff88013a803600
Sep 25 22:11:00 holon2.local kernel: FS:  00007f8f8e31d700(0000) GS:ffff88013f400000(0000) knlGS:0000000000000000
Sep 25 22:11:00 holon2.local kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sep 25 22:11:00 holon2.local kernel: CR2: 00007f99f6f597f8 CR3: 00000000a9df1000 CR4: 00000000000407e0
Sep 25 22:11:00 holon2.local kernel: Stack:
Sep 25 22:11:00 holon2.local kernel:  ffff88013a803600 ffffffff81376348 ffff88013795db00 ffffffff81841500
Sep 25 22:11:00 holon2.local kernel:  00000000000003e8 0000000000000000 ffff88013795dba8 ffff8800b5dc7e70
Sep 25 22:11:00 holon2.local kernel:  ffffffff81376348 ffffffff812e7014 ffffffff81c8a780 303030313795db01
Sep 25 22:11:00 holon2.local kernel: Call Trace:
Sep 25 22:11:00 holon2.local kernel:  [<ffffffff81376348>] ? assoc_array_insert+0x58/0xb10
Sep 25 22:11:00 holon2.local kernel:  [<ffffffff81376348>] assoc_array_insert+0x58/0xb10
Sep 25 22:11:00 holon2.local kernel:  [<ffffffff812e7014>] ? hash_key_type_and_desc+0xb4/0x160
Sep 25 22:11:00 holon2.local kernel:  [<ffffffff812e7269>] ? keyring_get_key_chunk+0x89/0xd0
Sep 25 22:11:00 holon2.local kernel:  [<ffffffff81375e6d>] ? assoc_array_walk.isra.0+0x3d/0x1b0
Sep 25 22:11:00 holon2.local kernel:  [<ffffffff812e7f32>] __key_link_begin+0x72/0x120
Sep 25 22:11:00 holon2.local kernel:  [<ffffffff812e8128>] key_link+0x58/0xe0
Sep 25 22:11:00 holon2.local kernel:  [<ffffffff812ecd26>] keyctl_get_persistent+0x1b6/0x2f0
Sep 25 22:11:00 holon2.local kernel:  [<ffffffff811f37dc>] ? vfs_write+0x15c/0x1f0
Sep 25 22:11:00 holon2.local kernel:  [<ffffffff812e9eb8>] SyS_keyctl+0x1c8/0x1d0
Sep 25 22:11:00 holon2.local kernel:  [<ffffffff8170e469>] system_call_fastpath+0x16/0x1b
Sep 25 22:11:00 holon2.local kernel: Code: dc 00 00 49 8b 50 08 4d 8b 20 49 8b 40 10 4d 85 e4 0f 84 24 01 00 00 48 85 c0 0f 84 1b 01 00 00 49 63 47 20 4d 8b 07 41 f6 c0 0f <49> 8b 1c 04 0f 85 5e 01 00 00 48 8d 4a 01 4c 89 e0 65 49 0f c7 
Sep 25 22:11:00 holon2.local kernel: RIP  [<ffffffff811d66e0>] kmem_cache_alloc_trace+0x80/0x200
-- Reboot --


[ lspci ]

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation QS67 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
02:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
03:00.0 USB controller: Fresco Logic FL1009 USB 3.0 Host Controller (rev 02)

[ lsusb (with UAS off) ]

Bus 003 Device 005: ID 0bc2:ab20 Seagate RSS LLC Backup Plus Portable Drive
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         9
  idVendor           0x0bc2 Seagate RSS LLC
  idProduct          0xab20 Backup Plus Portable Drive
  bcdDevice            1.00
  iManufacturer           2 Seagate
  iProduct                3 Backup+  SL
  iSerial                 1 NA75VFTG
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          121
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower               36mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           4
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     98 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
        MaxStreams             32
        Data-in pipe (0x03)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
        MaxStreams             32
        Data-out pipe (0x04)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
        MaxStreams             32
        Status pipe (0x02)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               0
        Command pipe (0x01)
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength           22
  bNumDeviceCaps          2
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000002
      Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   1
      Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat          10 micro seconds
    bU2DevExitLat        2047 micro seconds
Device Status:     0x0000
  (Bus Powered)




--
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