Auto mount of USB sticks and hard drives?

Hello.
I'd like ArchLinux to auto-mount USB sticks, hard drives, etc... when plugging them in. How do I manage to do this?
These are my daemons: DAEMONS=(syslog-ng network netfs crond dbus hal ntpd alsa gdm)
Thank you in advance.
EDIT: Somehow, autofs does not work.
And btw, I use Thunar as file manager.
Last edited by rik (2011-04-24 13:24:40)

You need to have gvfs and thunar-volman installed. Make sure you are a member of the storage group. https://wiki.archlinux.org/index.php/Xf … le_Devices
Last edited by yugrotavele (2011-04-24 14:55:59)

Similar Messages

  • Montan Lion "kick out" My usb memory sticks, external Hard drive, external DVD /cd drive  and give me an error message "PowerPC applications are no longer supported."

    Montan Lion "kick out" My usb memory sticks, external Hard drives, external DVD /cd drive  and give me an error message "PowerPC applications are no longer supported."

    It does not matter what I plug in to the USB post, the results is the same ...
    U use external hard drives, memory sticks (new and my old memory sticks), I also use an external cd / dvd writer LG Portable Super Multy Drive
    They all run for ± 1 min then it loose contact and I get error messages like, error code -8062 or PowerPC applications are no longer supported..... etc

  • Airport Extreme and USB Hub + Printer and Hard Drives

    I have been using my Airport Extreme with a USB hub with 2 external hard drives and one printer for a while now and everything has been going fine. However, recently, the hard drives have stopped registering when I have the USB hub plugged in. I have plugged the hub directly into my computer with everything attached and it works fine but the moment I plug the hub into the Airport, nothing shows up except that the printer still works.
    Does anyone know what is wrong? Thanks!

    Hi, I've had this same problem now for more than 1 year, and nothing had solved it, until recently. I think I know what the problem is.
    It turns out that not all USB 2.0 hard drive enclosures are the same. I had been using "Metalgear Substance II" enclosures for my 500-GB drives, and I had assumed all along that these were fine... I had assumed that one USB 2.0 enclosure was as good as the next USB 2.0 enclosure. WRONG!!!
    By accident, I noticed that the drive-to-drive copy times from MetalGear USB 2.0 boxes was about 22 hours for a full 450-GByte transfer of information, while placing the SAME drive into a MacAlley enclosure reduced the copy time down from 22 hours to 6 hours... About 3.5 times faster!!! This means that the piece of crud Metalgear boxes I had been using for my network drives were ssssllllooowwww.
    A big bright light blinked on in my head regarding my issues and problems with the Apple Airport Extreme Base-station and all of the problems I'd had with multiple drives, the AEBS locking up etc.. All of my issues had been associated with using the el-cheapo Metalgear enclosures.
    As soon as I replaced the Metalgear USB boxes with MacAlley boxes, everything started to work great. No more issues with my Airport locking up. None. Problem fixed. Problem solved.
    I can only assume that NOT ALL USB 2.0 BOXES ARE THE SAME. USB 2.0 does not mean that the transfer rates will actually be at 480-mbps. Quality matters. DO NOT USE METALGEAR BOXES WITH APPLE EXTREME. There may be other brands with suck just as much. I can vouch for the MacAlley boxes. They work great... and there may be other boxes that work too. There must be some issue with Apple Airport Base Station timing out on slower USB 2.0 crapola equipment... something that causes it to hang.
    Anyway, I hope this helps. My problems are solved since going to the MacAlley enclosures.

  • Journaling External FireWire and USB 2.0 Hard Drives?

    I have several FireWire and USB 2.0 Hard Drives which I have always formatted as "Mac OS Extended (Journaled)".
    I have been told that journaling is a waste of time with external HDs and, if anything, will slow them down slightly.
    What is the general consensus on this forum?

    Thank you for the swift response Malcolm.
    I better explain why after all these years I am having doubts.
    I am awaiting the delivery of a new piece of kit - a Western Digital HD TV Media player. Basically, you put your hi-def videos (H.264) on a USB 2.0 HD, plug it into the media player which is then plugged into your HDTV.
    I have got hold of the manual which says that the supported USB file systems are "FAT32, NTFS and HFS+ (no journaling).
    So I was wondering whether I will have to format the HD without Journaling to make it work?

  • Auto-mount failing with segfault on FAT drives

    I've been running Arch on ThinkPads for years, just got an x240 and installed Arch on it. Everything seems to work fine except for external drives of any sort.
    I'm running Gnome 3.
    With my USB stick, every time I insert it, Nautilus detects it and when I attempt to view the drive it fails. Here's the dmesg output:
    [32426.659595] usb 2-1: new SuperSpeed USB device number 4 using xhci_hcd
    [32426.675126] usb-storage 2-1:1.0: USB Mass Storage device detected
    [32426.675173] scsi5 : usb-storage 2-1:1.0
    [32427.676716] scsi 5:0:0:0: Direct-Access Patriot Memory PMAP PQ: 0 ANSI: 6
    [32427.677167] sd 5:0:0:0: [sdb] 60566016 512-byte logical blocks: (31.0 GB/28.8 GiB)
    [32427.677442] sd 5:0:0:0: [sdb] Write Protect is off
    [32427.677458] sd 5:0:0:0: [sdb] Mode Sense: 45 00 00 00
    [32427.677775] sd 5:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [32427.831483] sdb: sdb1
    [32427.832493] sd 5:0:0:0: [sdb] Attached SCSI removable disk
    [32439.190500] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [32439.328724] usb 2-1: reset SuperSpeed USB device number 4 using xhci_hcd
    [32444.339799] usb 2-1: device descriptor read/8, error -110
    [32444.443060] usb 2-1: reset SuperSpeed USB device number 4 using xhci_hcd
    [32449.454646] usb 2-1: device descriptor read/8, error -110
    [32449.611683] sd 5:0:0:0: [sdb] Unhandled error code
    [32449.611686] sd 5:0:0:0: [sdb]
    [32449.611687] Result: hostbyte=0x07 driverbyte=0x00
    [32449.611688] sd 5:0:0:0: [sdb] CDB:
    [32449.611690] usb 2-1: USB disconnect, device number 4
    [32449.611689] cdb[0]=0x28: 28 00 00 00 0d 9b 00 00 0f 00
    [32449.611695] end_request: I/O error, dev sdb, sector 3483
    [32449.617844] sd 5:0:0:0: [sdb] Unhandled error code
    [32449.617846] sd 5:0:0:0: [sdb]
    [32449.617847] Result: hostbyte=0x01 driverbyte=0x00
    [32449.617848] sd 5:0:0:0: [sdb] CDB:
    [32449.617849] cdb[0]=0x28: 28 00 00 00 0d 9c 00 00 0e 00
    [32449.617852] end_request: I/O error, dev sdb, sector 3484
    [32449.617876] sd 5:0:0:0: [sdb] Unhandled error code
    [32449.617877] sd 5:0:0:0: [sdb]
    [32449.617878] Result: hostbyte=0x01 driverbyte=0x00
    [32449.617878] sd 5:0:0:0: [sdb] CDB:
    [32449.617879] cdb[0]=0x28: 28 00 00 00 0c ab 00 00 f0 00
    [32449.617882] end_request: I/O error, dev sdb, sector 3243
    [32449.617952] FAT-fs (sdb1): FAT read failed (blocknr 3211)
    [32449.618677] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8801574ef380
    [32449.618680] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8801574ef3c0
    [32449.621107] FAT-fs (sdb1): Directory bread(block 32768) failed
    [32449.621111] FAT-fs (sdb1): Directory bread(block 32769) failed
    [32449.621113] FAT-fs (sdb1): Directory bread(block 32770) failed
    [32449.621115] FAT-fs (sdb1): Directory bread(block 32771) failed
    [32449.621117] FAT-fs (sdb1): Directory bread(block 32772) failed
    [32449.621119] FAT-fs (sdb1): Directory bread(block 32773) failed
    [32449.621120] FAT-fs (sdb1): Directory bread(block 32774) failed
    [32449.621122] FAT-fs (sdb1): Directory bread(block 32775) failed
    [32449.621124] FAT-fs (sdb1): Directory bread(block 32776) failed
    [32449.621126] FAT-fs (sdb1): Directory bread(block 32777) failed
    [31813.104727] ------------[ cut here ]------------
    [31813.104734] WARNING: CPU: 3 PID: 7798 at fs/sysfs/group.c:214 sysfs_remove_group+0xc6/0xd0()
    [31813.104736] sysfs group ffffffff81895c40 not found for kobject 'target3:0:0'
    [31813.104737] Modules linked in: nls_cp437 vfat fat twofish_generic twofish_avx_x86_64 twofish_x86_64_3way twofish_x86_64 twofish_common serpent_avx2 serpent_avx_x86_64 serpent_sse2_x86_64 serpent_generic xts loop usb_storage usbhid hid fuse ctr ccm snd_hda_codec_hdmi joydev mousedev arc4 snd_hda_codec_realtek intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm iTCO_wdt iTCO_vendor_support cdc_mbim microcode evdev cdc_ncm psmouse uvcvideo pcspkr serio_raw iwlmvm usbnet videobuf2_vmalloc mii videobuf2_memops mac80211 cdc_acm videobuf2_core cdc_wdm videodev media btusb iwlwifi bluetooth cfg80211 rtsx_pci_ms memstick wmi tpm_tis thinkpad_acpi i915 snd_hda_intel nvram tpm rfkill ac battery snd_hda_codec video intel_agp intel_gtt drm_kms_helper drm e1000e snd_hwdep snd_pcm snd_page_alloc thermal
    [31813.104776] snd_timer mei_me lpc_ich mei i2c_algo_bit snd button shpchp i2c_i801 ptp soundcore pps_core i2c_core processor ext4 crc16 mbcache jbd2 dm_crypt dm_mod sd_mod rtsx_pci_sdmmc mmc_core atkbd libps2 crct10dif_pclmul crct10dif_common crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd ahci ehci_pci libahci ehci_hcd libata scsi_mod rtsx_pci xhci_hcd usbcore usb_common i8042 serio
    [31813.104801] CPU: 3 PID: 7798 Comm: umount Not tainted 3.13.6-1-ARCH #1
    [31813.104802] Hardware name: LENOVO 20AL009NMC/20AL009NMC, BIOS GIET66WW (2.16 ) 12/02/2013
    [31813.104804] 0000000000000009 ffff88013ecb5b40 ffffffff81513274 ffff88013ecb5b88
    [31813.104806] ffff88013ecb5b78 ffffffff81061a3d 0000000000000000 ffffffff81895c40
    [31813.104809] ffff8800c72a5c38 ffff8802114d4190 ffff8801728fb000 ffff88013ecb5bd8
    [31813.104812] Call Trace:
    [31813.104818] [<ffffffff81513274>] dump_stack+0x4d/0x6f
    [31813.104824] [<ffffffff81061a3d>] warn_slowpath_common+0x7d/0xa0
    [31813.104827] [<ffffffff81061aac>] warn_slowpath_fmt+0x4c/0x50
    [31813.104831] [<ffffffff8151843e>] ? mutex_unlock+0xe/0x10
    [31813.104834] [<ffffffff8121925e>] ? sysfs_get_dirent_ns+0x4e/0x70
    [31813.104837] [<ffffffff8121a3e6>] sysfs_remove_group+0xc6/0xd0
    [31813.104843] [<ffffffff813b7033>] dpm_sysfs_remove+0x43/0x50
    [31813.104846] [<ffffffff813aceb5>] device_del+0x45/0x1c0
    [31813.104857] [<ffffffffa00a52b7>] scsi_target_reap_usercontext+0x27/0x40 [scsi_mod]
    [31813.104862] [<ffffffff8107b887>] execute_in_process_context+0x67/0x70
    [31813.104870] [<ffffffffa00a65d4>] scsi_target_reap+0xc4/0xf0 [scsi_mod]
    [31813.104879] [<ffffffffa00a8558>] scsi_device_dev_release_usercontext+0x188/0x1c0 [scsi_mod]
    [31813.104882] [<ffffffff8107b887>] execute_in_process_context+0x67/0x70
    [31813.104890] [<ffffffffa00a83cc>] scsi_device_dev_release+0x1c/0x20 [scsi_mod]
    [31813.104894] [<ffffffff813ac3f2>] device_release+0x32/0xa0
    [31813.104899] [<ffffffff812b6b47>] kobject_cleanup+0x77/0x1b0
    [31813.104902] [<ffffffff812b69c8>] kobject_put+0x28/0x60
    [31813.104906] [<ffffffff813ac7f7>] put_device+0x17/0x20
    [31813.104913] [<ffffffffa009c5eb>] scsi_device_put+0x3b/0x50 [scsi_mod]
    [31813.104920] [<ffffffffa025e7e0>] scsi_disk_put+0x30/0x50 [sd_mod]
    [31813.104926] [<ffffffffa025f6a1>] sd_release+0x31/0x70 [sd_mod]
    [31813.104931] [<ffffffff811dc75c>] __blkdev_put+0x17c/0x1b0
    [31813.104936] [<ffffffff811dc6f7>] __blkdev_put+0x117/0x1b0
    [31813.104940] [<ffffffff811dd0be>] blkdev_put+0x4e/0x140
    [31813.104944] [<ffffffff811a5f64>] kill_block_super+0x44/0x70
    [31813.104947] [<ffffffff811a622d>] deactivate_locked_super+0x3d/0x60
    [31813.104950] [<ffffffff811a67e6>] deactivate_super+0x46/0x60
    [31813.104954] [<ffffffff811c24d5>] mntput_no_expire+0xe5/0x170
    [31813.104958] [<ffffffff811c3730>] SyS_umount+0x90/0x3c0
    [31813.104962] [<ffffffff8151d8be>] ? do_page_fault+0xe/0x10
    [31813.104966] [<ffffffff815216ad>] system_call_fastpath+0x1a/0x1f
    [31813.104968] ---[ end trace 9c2068df074620da ]---
    I never had any trouble this this before on my previous laptop (Lenovo ThinkPad E330).
    Likewise, when I use TrueCrypt to mount a volume, although I don't get the stack trace, It does never shows up in Nautilus, and dmesg has the following to say about it:
    [31234.534922] loop: module loaded
    [31234.610930] FAT-fs (dm-5): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    I can view the drive, however, so it's not as bad as the USB stick, but still not the correct behavior. There is no automount and Nautilus does not show it in the device list.
    I've tried formatting the USB stick a few different times (it needs to be FAT for compatibility) and always Arch ends up corrupting the drive and making it useless.
    Anyone have any idea as to what's going on here?
    Thanks
    -Nick
    Last edited by silverbucket (2014-03-16 23:59:56)

    Trying again, to manually mount the USB stick, when I insert it, dmesg shows:
    [22021.214586] usb-storage 2-1:1.0: USB Mass Storage device detected
    [22021.214633] scsi5 : usb-storage 2-1:1.0
    [22022.215965] scsi 5:0:0:0: Direct-Access Patriot Memory PMAP PQ: 0 ANSI: 6
    [22022.216251] sd 5:0:0:0: Attached scsi generic sg1 type 0
    [22022.216440] sd 5:0:0:0: [sdb] 60566016 512-byte logical blocks: (31.0 GB/28.8 GiB)
    [22022.216733] sd 5:0:0:0: [sdb] Write Protect is off
    [22022.216736] sd 5:0:0:0: [sdb] Mode Sense: 45 00 00 00
    [22022.217088] sd 5:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [22022.373041] sdb: sdb1
    [22022.374051] sd 5:0:0:0: [sdb] Attached SCSI removable disk
    I then try to mount it with:
    # mount /dev/sdb1 /mnt/usbstick
    And although the command appears to be successful, I get the following in dmesg:
    [22182.804311] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [22186.212884] usb 2-1: reset SuperSpeed USB device number 4 using xhci_hcd
    [22191.224027] usb 2-1: device descriptor read/8, error -110
    [22191.327268] usb 2-1: reset SuperSpeed USB device number 4 using xhci_hcd
    [22196.338854] usb 2-1: device descriptor read/8, error -110
    [22196.495462] sd 5:0:0:0: [sdb] Unhandled error code
    [22196.495465] sd 5:0:0:0: [sdb]
    [22196.495466] Result: hostbyte=0x07 driverbyte=0x00
    [22196.495468] sd 5:0:0:0: [sdb] CDB:
    [22196.495470] usb 2-1: USB disconnect, device number 4
    [22196.495468] cdb[0]=0x28: 28 00 00 00 0c ad 00 00 f0 00
    [22196.495477] end_request: I/O error, dev sdb, sector 3245
    [22196.502037] sd 5:0:0:0: [sdb] Unhandled error code
    [22196.502041] sd 5:0:0:0: [sdb]
    [22196.502043] Result: hostbyte=0x01 driverbyte=0x00
    [22196.502045] sd 5:0:0:0: [sdb] CDB:
    [22196.502046] cdb[0]=0x28: 28 00 00 00 0c ae 00 00 ef 00
    [22196.502056] end_request: I/O error, dev sdb, sector 3246
    [22196.502138] FAT-fs (sdb1): FAT read failed (blocknr 3213)
    [22196.502139] sd 5:0:0:0: [sdb] Unhandled error code
    [22196.502141] sd 5:0:0:0: [sdb]
    [22196.502142] Result: hostbyte=0x01 driverbyte=0x00
    [22196.502143] sd 5:0:0:0: [sdb] CDB:
    [22196.502144] cdb[0]=0x28: 28 00 00 00 0d 9d 00 00 0d 00
    [22196.502152] end_request: I/O error, dev sdb, sector 3485
    [22196.504146] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800785c7980
    [22196.504149] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800785c79c0
    A `df` does not show the mounted location, neither does Nautilus, however `mount` does.
    /dev/sdb1 on /mnt/ZELENACEK type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
    When I attempt to unmount it:
    # umount /dev/sdb1
    I get the following dmesg output:
    [22410.233289] FAT-fs (sdb1): FAT read failed (blocknr 3210)
    [22415.819947] FAT-fs (sdb1): Directory bread(block 32768) failed
    [22415.819951] FAT-fs (sdb1): Directory bread(block 32769) failed
    [22415.819953] FAT-fs (sdb1): Directory bread(block 32770) failed
    [22415.819955] FAT-fs (sdb1): Directory bread(block 32771) failed
    [22415.819956] FAT-fs (sdb1): Directory bread(block 32772) failed
    [22415.819958] FAT-fs (sdb1): Directory bread(block 32773) failed
    [22415.819960] FAT-fs (sdb1): Directory bread(block 32774) failed
    [22415.819961] FAT-fs (sdb1): Directory bread(block 32775) failed
    [22415.819963] FAT-fs (sdb1): Directory bread(block 32776) failed
    [22415.819964] FAT-fs (sdb1): Directory bread(block 32777) failed
    [22556.688959] ------------[ cut here ]------------
    [22556.688967] WARNING: CPU: 2 PID: 27239 at fs/sysfs/group.c:214 sysfs_remove_group+0xc6/0xd0()
    [22556.688968] sysfs group ffffffff81895c40 not found for kobject 'target5:0:0'
    [22556.688970] Modules linked in: sg nls_cp437 vfat fat usb_storage fuse ctr ccm snd_hda_codec_hdmi joydev mousedev arc4 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm iTCO_wdt iTCO_vendor_support microcode iwlmvm evdev cdc_mbim pcspkr uvcvideo psmouse serio_raw mac80211 videobuf2_vmalloc videobuf2_memops btusb videobuf2_core videodev cdc_ncm usbnet bluetooth mii cdc_acm cdc_wdm media iwlwifi rtsx_pci_ms cfg80211 memstick thermal snd_hda_codec_realtek wmi e1000e i915 ac thinkpad_acpi nvram rfkill battery tpm_tis snd_hda_intel tpm snd_hda_codec intel_agp intel_gtt snd_hwdep drm_kms_helper mei_me snd_pcm i2c_i801 ptp drm snd_page_alloc video snd_timer mei i2c_algo_bit snd button shpchp soundcore pps_core i2c_core lpc_ich processor ext4 crc16 mbcache jbd2 dm_crypt dm_mod sd_mod rtsx_pci_sdmmc
    [22556.689016] mmc_core atkbd libps2 crct10dif_pclmul crct10dif_common crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd ahci libahci libata ehci_pci ehci_hcd xhci_hcd rtsx_pci scsi_mod usbcore usb_common i8042 serio
    [22556.689032] CPU: 2 PID: 27239 Comm: umount Tainted: G W 3.13.6-1-ARCH #1
    [22556.689034] Hardware name: LENOVO 20AL009NMC/20AL009NMC, BIOS GIET66WW (2.16 ) 12/02/2013
    [22556.689035] 0000000000000009 ffff880066217b40 ffffffff81513274 ffff880066217b88
    [22556.689038] ffff880066217b78 ffffffff81061a3d 0000000000000000 ffffffff81895c40
    [22556.689040] ffff88020af40438 ffff880089e30190 ffff880211ce7800 ffff880066217bd8
    [22556.689043] Call Trace:
    [22556.689048] [<ffffffff81513274>] dump_stack+0x4d/0x6f
    [22556.689052] [<ffffffff81061a3d>] warn_slowpath_common+0x7d/0xa0
    [22556.689055] [<ffffffff81061aac>] warn_slowpath_fmt+0x4c/0x50
    [22556.689058] [<ffffffff8151843e>] ? mutex_unlock+0xe/0x10
    [22556.689060] [<ffffffff8121925e>] ? sysfs_get_dirent_ns+0x4e/0x70
    [22556.689063] [<ffffffff8121a3e6>] sysfs_remove_group+0xc6/0xd0
    [22556.689067] [<ffffffff813b7033>] dpm_sysfs_remove+0x43/0x50
    [22556.689070] [<ffffffff813aceb5>] device_del+0x45/0x1c0
    [22556.689079] [<ffffffffa00c02b7>] scsi_target_reap_usercontext+0x27/0x40 [scsi_mod]
    [22556.689082] [<ffffffff8107b887>] execute_in_process_context+0x67/0x70
    [22556.689089] [<ffffffffa00c15d4>] scsi_target_reap+0xc4/0xf0 [scsi_mod]
    [22556.689096] [<ffffffffa00c3558>] scsi_device_dev_release_usercontext+0x188/0x1c0 [scsi_mod]
    [22556.689098] [<ffffffff8107b887>] execute_in_process_context+0x67/0x70
    [22556.689105] [<ffffffffa00c33cc>] scsi_device_dev_release+0x1c/0x20 [scsi_mod]
    [22556.689107] [<ffffffff813ac3f2>] device_release+0x32/0xa0
    [22556.689111] [<ffffffff812b6b47>] kobject_cleanup+0x77/0x1b0
    [22556.689114] [<ffffffff812b69c8>] kobject_put+0x28/0x60
    [22556.689117] [<ffffffff813ac7f7>] put_device+0x17/0x20
    [22556.689123] [<ffffffffa00b75eb>] scsi_device_put+0x3b/0x50 [scsi_mod]
    [22556.689128] [<ffffffffa029a7e0>] scsi_disk_put+0x30/0x50 [sd_mod]
    [22556.689133] [<ffffffffa029b6a1>] sd_release+0x31/0x70 [sd_mod]
    [22556.689136] [<ffffffff811dc75c>] __blkdev_put+0x17c/0x1b0
    [22556.689140] [<ffffffff811dc6f7>] __blkdev_put+0x117/0x1b0
    [22556.689143] [<ffffffff811dd0be>] blkdev_put+0x4e/0x140
    [22556.689145] [<ffffffff811a5f64>] kill_block_super+0x44/0x70
    [22556.689148] [<ffffffff811a622d>] deactivate_locked_super+0x3d/0x60
    [22556.689150] [<ffffffff811a67e6>] deactivate_super+0x46/0x60
    [22556.689153] [<ffffffff811c24d5>] mntput_no_expire+0xe5/0x170
    [22556.689156] [<ffffffff811c3730>] SyS_umount+0x90/0x3c0
    [22556.689158] [<ffffffff815216ad>] system_call_fastpath+0x1a/0x1f
    [22556.689160] ---[ end trace 615f2c14f65f6abb ]---
    If I take the USB stick out and plug it in to my other Arch Linux laptop, the drive mounts fine (and complains about fsck only because of the problems incurred on my main laptop). I know the USB stick is good, it's new and I've used it many times between my other machines. I'm assuming the hardware is good as it's a new laptop, I installed Arch Linux from this same USB stick without an issue. I've also used other types of USB devices, like wireless headphones, without issues.
    It must be some system configuration error. Perhaps something with the kernel or system libraries that are / are not installed? lib32 issues? (it's an x86_64 install)? I don't know, I'm grasping at straws. I have read through the USB_Storage_Devices and Udisks Arch Wiki pages without any luck.
    Any help is greatly appreciated as I currently can't get any large amounts data on or off this laptop easily.
    Last edited by silverbucket (2014-03-16 23:42:56)

  • Taking out and replacing memory and hard drive.

    Hey so I want to get a macbook pro 13 in. and I want to upgrade it by putting in more memory and a better hard drive, but I want to buy parts from a different site because it is so much cheaper. Is it easy to take out and replace the memory and hard drive of a macbook pro?

    Just make sure the RAM you're buying is brand name and match the specs of your macbook.
    Getting cheaper RAM modules sometimes cause issues with the way your Macbook peforms.  Learned that lesson when I decided to buy Kingston Value RAM.  Had nothing but trouble.
    Stick with brands like Crucial ( which I use ), Corsair, Mushkin, Kingston (non value) and from OWC.
    As for the hard drive, stay away from Western Digital Blue edition, some macbooks have issues with them.
    Also make sure you buy an external USB enclosure so you can clone your drive before you intall it and install your old drive in the USB enclosure and use it as your backup drive.
    If you're technically capable, it quite easy swapping out the RAM and Hard Drive.
    Do the clone first before you do anything else.  That way, when you're done the clone, you just have to open up your macbook once to do the swap.
    Good luck and hope everything goes smoothly for you.
    Post back if you need a hand or have any questions.

  • Memory modules and hard drive not recognized

    I removed and reinserted the factory installed Satellite L505D-LS5007 laptop hard drive and memory modules just as practice for installing a hard drive upgrade and an 8GB memory upgrade. The problem is obviously with the memory and not with the hard drive.
    After the first practice try, one memory module was recognized. Also for a few seconds after the first practice try, I ran the PC with the battery installed, but no memory installed. I did not look in the User's Guide first to see that I should have removed the battery before removing the memory.
    Now the System Indicator Lights for the HDD Activity and Memory Card Reader do not light up. The PC turns on and the display is solid black with no messages.
    Before buying new memory modules, what possible ways might there be to get the PC to recognize the factory installed memory modules and hard drive again?
    Solved!
    Go to Solution.

    When troubleshooting, I always change one variable at a time. I would hate to miss a solution by being in a hurry. In this case, you may have damaged either the RAM or the RAM slot. I would stick with the Toshiba specifications for the RAM, making sure it is the correct size, speed and type recommended. I also recommend that when you replace the RAM that both modules be from the same manufacturer, size, and specification. Try one RAM module in one slot and then the other. And then try both RAM modules in both slots. After the testing you should be able to figure if this is a RAM problem or a RAM slot problem.
    In the case of hard drives, the real test is whether or not the Bios sees the hard drive. If the Bios doesn't see the hard drive, it's not going to work. The Bios should see the hard drive whether or not the hard drive is partitioned, formatted or has data on it. My experience has been that many Toshiba laptops will work fine with larger capacity hard drives provided they are the same speed in RPMs, have the same interfacing connection and physically the same size.
    Again, prior to doing any work on your computer, make sure that both the AC power has been disconnected and the battery has been removed. Be careful out there. A blown repair job by a non-Toshiba tech is NOT covered under warranty.

  • Is it possible to connect an external USB 2.0 hard drive to a Thunderbolt Display?

    Hello,
    Is it possible to connect an external USB 2.0 hard drive to a Thunderbolt Display and back up a MacBook Air to the external hard drive using Time Machine?
    I intend to connect my MacBook Air to the Thunderbolt Display using a Thunderbolt cable.
    I would also like to connect my printer via USB 2.0 to the Thunderbolt Display. Will this also work?
    Effectively using the Thunderbolt Display as a USB hub or docking station.
    Regards,
    Ben

    Ok, thanks.
    My 1 cable to ThunderBolt Display objective
    MacBook Air -> (via 1 x Thunderbolt cable) -> Thunderbolt Display -> (via 1 x USB cable) -> USB 2.0 external hard drive
    I would like to know if this configuration is possible and Time Machine will run correctly.
    Your 2 cable suggestion (I think)
    MacBook Air -> (via 1 x Thunderbolt cable + 1 x USB cable) -> Thunderbolt Display + USB 2.0 external hard drive
    This configuration requires 2 cables to disconnect/reconnect from my MacBook Air.

  • Do you have to down load from the internet using apple's recover partition, every time you need to do a clean install? or can you make a copy of Mt Lion onto a USB stick and install off that?

    Do you have to down load Mountain Lion from the internet every time you need to do a clean install? or can you make a copy of Mt Lion onto a USB stick and install off that?
    Thanks

    Yes you can make a USB stick of Lion or Mt Lion. Use Lion Disk Maker after you download OS X from the internet.
    For Lion you have to point the download to an external drive and watch when it completes and reboots the system to start the install disconnect the external. If you bought Mt Lion from the Mac App Store then you can download it from there and just cancel the install when it comes up on the desktop.
    If you are downloading from the Recovery HD or from the Online Internet Recovery system, slightly different then the built in Recovery HD, then again you need to point it to an external drive and discoonect that drive when the system reboots to start the real install.
    Then use Lion disk maker to create either a DVD disc or USB thumb of the install files.

  • External USB 2.0 hard drive reconnects on its own after power-down

    I have an external USB 2.0 hard drive which I'm trying to power off (after unmounting all partitions, of course) using:
    $ udisksctl power-off --block-device /dev/sdb
    When I do this, the drive spins back up after a few seconds. Only when I issue the same command again does the drive stay powered off.
    I'm running:
    linux 3.13.7-1
    udisks2 2.1.3-1
    This is what I see in the journal log when I:
    - Plug in the drive's USB cable
    - Issue the power-off command
    - After the drive spins up again, issue the command again
    Mar 29 19:51:01 miki-desktop kernel: usb 1-5: new high-speed USB device number 10 using ehci-pci
    Mar 29 19:51:01 miki-desktop kernel: usb-storage 1-5:1.0: USB Mass Storage device detected
    Mar 29 19:51:01 miki-desktop kernel: usb-storage 1-5:1.0: Quirks match for vid 1058 pid 0704: 8000
    Mar 29 19:51:01 miki-desktop kernel: scsi12 : usb-storage 1-5:1.0
    Mar 29 19:51:01 miki-desktop mtp-probe[21301]: checking bus 1, device 10: "/sys/devices/pci0000:00/0000:00:04.1/usb1/1-5"
    Mar 29 19:51:01 miki-desktop mtp-probe[21301]: bus: 1, device: 10 was not an MTP device
    Mar 29 19:51:02 miki-desktop kernel: scsi 12:0:0:0: Direct-Access WD 5000BMV External 1.75 PQ: 0 ANSI: 4
    Mar 29 19:51:02 miki-desktop kernel: sd 12:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB)
    Mar 29 19:51:02 miki-desktop kernel: sd 12:0:0:0: [sdb] Write Protect is off
    Mar 29 19:51:02 miki-desktop kernel: sd 12:0:0:0: [sdb] Mode Sense: 23 00 00 00
    Mar 29 19:51:02 miki-desktop kernel: sd 12:0:0:0: [sdb] No Caching mode page found
    Mar 29 19:51:02 miki-desktop kernel: sd 12:0:0:0: [sdb] Assuming drive cache: write through
    Mar 29 19:51:02 miki-desktop kernel: sd 12:0:0:0: [sdb] No Caching mode page found
    Mar 29 19:51:02 miki-desktop kernel: sd 12:0:0:0: [sdb] Assuming drive cache: write through
    Mar 29 19:51:02 miki-desktop kernel: sdb: sdb1 sdb2
    Mar 29 19:51:02 miki-desktop kernel: sd 12:0:0:0: [sdb] No Caching mode page found
    Mar 29 19:51:02 miki-desktop kernel: sd 12:0:0:0: [sdb] Assuming drive cache: write through
    Mar 29 19:51:02 miki-desktop kernel: sd 12:0:0:0: [sdb] Attached SCSI disk
    Mar 29 19:51:47 miki-desktop udisksd[21107]: Powering off /dev/sdb - successfully sent SCSI command START STOP UNIT
    Mar 29 19:51:47 miki-desktop udisksd[21107]: Powered off /dev/sdb - successfully wrote to sysfs path /sys/devices/pci0000:00/0000:00:04.1/usb1/1-5/remove
    Mar 29 19:51:47 miki-desktop kernel: usb 1-5: USB disconnect, device number 10
    Mar 29 19:51:47 miki-desktop kernel: usb 2-5: new full-speed USB device number 9 using ohci-pci
    Mar 29 19:51:48 miki-desktop kernel: usb 2-5: not running at top speed; connect to a high speed hub
    Mar 29 19:51:48 miki-desktop kernel: usb-storage 2-5:1.0: USB Mass Storage device detected
    Mar 29 19:51:48 miki-desktop kernel: usb-storage 2-5:1.0: Quirks match for vid 1058 pid 0704: 8000
    Mar 29 19:51:48 miki-desktop kernel: scsi13 : usb-storage 2-5:1.0
    Mar 29 19:51:48 miki-desktop mtp-probe[21555]: checking bus 2, device 9: "/sys/devices/pci0000:00/0000:00:04.0/usb2/2-5"
    Mar 29 19:51:48 miki-desktop mtp-probe[21555]: bus: 2, device: 9 was not an MTP device
    Mar 29 19:51:49 miki-desktop kernel: scsi 13:0:0:0: Direct-Access WD 5000BMV External 1.75 PQ: 0 ANSI: 4
    Mar 29 19:51:49 miki-desktop kernel: sd 13:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB)
    Mar 29 19:51:49 miki-desktop kernel: sd 13:0:0:0: [sdb] Write Protect is off
    Mar 29 19:51:49 miki-desktop kernel: sd 13:0:0:0: [sdb] Mode Sense: 23 00 00 00
    Mar 29 19:51:49 miki-desktop kernel: sd 13:0:0:0: [sdb] No Caching mode page found
    Mar 29 19:51:49 miki-desktop kernel: sd 13:0:0:0: [sdb] Assuming drive cache: write through
    Mar 29 19:51:49 miki-desktop kernel: sd 13:0:0:0: [sdb] No Caching mode page found
    Mar 29 19:51:49 miki-desktop kernel: sd 13:0:0:0: [sdb] Assuming drive cache: write through
    Mar 29 19:51:52 miki-desktop kernel: sdb: sdb1 sdb2
    Mar 29 19:51:52 miki-desktop kernel: sd 13:0:0:0: [sdb] No Caching mode page found
    Mar 29 19:51:52 miki-desktop kernel: sd 13:0:0:0: [sdb] Assuming drive cache: write through
    Mar 29 19:51:52 miki-desktop kernel: sd 13:0:0:0: [sdb] Attached SCSI disk
    Mar 29 19:52:20 miki-desktop udisksd[21107]: Powering off /dev/sdb - successfully sent SCSI command START STOP UNIT
    Mar 29 19:52:20 miki-desktop udisksd[21107]: Powered off /dev/sdb - successfully wrote to sysfs path /sys/devices/pci0000:00/0000:00:04.0/usb2/2-5/remove
    Mar 29 19:52:20 miki-desktop kernel: usb 2-5: USB disconnect, device number 9
    What is interesting is that on first connect, the drive is using ehci-pci driver, then after the first try powering it off, the drive appears to reconnect using the ohci-pci driver. Not just that, it appears to 'jump' from one USB bus to another. How is this even possible?
    $ lspci
    00:00.0 Host bridge: NVIDIA Corporation MCP73 Host Bridge (rev a2)
    00:00.1 RAM memory: NVIDIA Corporation nForce 630i memory controller (rev a2)
    00:01.0 RAM memory: NVIDIA Corporation nForce 630i memory controller (rev a1)
    00:01.1 RAM memory: NVIDIA Corporation nForce 630i memory controller (rev a1)
    00:01.2 RAM memory: NVIDIA Corporation nForce 630i memory controller (rev a1)
    00:01.3 RAM memory: NVIDIA Corporation nForce 630i memory controller (rev a1)
    00:01.4 RAM memory: NVIDIA Corporation nForce 630i memory controller (rev a1)
    00:01.5 RAM memory: NVIDIA Corporation nForce 630i memory controller (rev a1)
    00:01.6 RAM memory: NVIDIA Corporation nForce 630i memory controller (rev a1)
    00:02.0 RAM memory: NVIDIA Corporation nForce 630i memory controller (rev a1)
    00:03.0 ISA bridge: NVIDIA Corporation MCP73 LPC Bridge (rev a2)
    00:03.1 SMBus: NVIDIA Corporation MCP73 SMBus (rev a1)
    00:03.2 RAM memory: NVIDIA Corporation MCP73 Memory Controller (rev a1)
    00:03.3 Co-processor: NVIDIA Corporation MCP73 Co-processor (rev a2)
    00:03.4 RAM memory: NVIDIA Corporation MCP73 Memory Controller (rev a1)
    00:04.0 USB controller: NVIDIA Corporation GeForce 7100/nForce 630i USB (rev a1)
    00:04.1 USB controller: NVIDIA Corporation MCP73 [nForce 630i] USB 2.0 Controller (EHCI) (rev a1)
    00:0a.0 PCI bridge: NVIDIA Corporation MCP73 PCI Express bridge (rev a1)
    00:0b.0 PCI bridge: NVIDIA Corporation MCP73 PCI Express bridge (rev a1)
    00:0c.0 PCI bridge: NVIDIA Corporation MCP73 PCI Express bridge (rev a1)
    00:0d.0 PCI bridge: NVIDIA Corporation MCP73 PCI Express bridge (rev a1)
    00:0e.0 IDE interface: NVIDIA Corporation MCP73 IDE (rev a2)
    00:0f.0 Ethernet controller: NVIDIA Corporation MCP73 Ethernet (rev a2)
    01:06.0 Multimedia audio controller: C-Media Electronics Inc CMI8738/CMI8768 PCI Audio (rev 10)
    02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV710 [Radeon HD 4550]
    02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RV710/730 HDMI Audio [Radeon HD 4000 series]
    $ lsusb
    Bus 001 Device 009: ID 1058:0704 Western Digital Technologies, Inc. Passport External HDD
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 007: ID 15ca:0101 Textech International Ltd. MIDI Interface cable
    Bus 002 Device 003: ID 04d9:1603 Holtek Semiconductor, Inc. Keyboard
    Bus 002 Device 002: ID 046d:c001 Logitech, Inc. N48/M-BB48 [FirstMouse Plus]
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Before the first power-off attempt:
    $ lsusb -t
    /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/10p, 12M
    |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 2: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 4: Dev 7, If 0, Class=Audio, Driver=snd-usb-audio, 12M
    |__ Port 4: Dev 7, If 1, Class=Audio, Driver=snd-usb-audio, 12M
    /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/10p, 480M
    |__ Port 5: Dev 9, If 0, Class=Mass Storage, Driver=usb-storage, 480M
    After the first power-off attempt:
    $ lsusb -t
    /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/10p, 12M
    |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 2: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 4: Dev 7, If 0, Class=Audio, Driver=snd-usb-audio, 12M
    |__ Port 4: Dev 7, If 1, Class=Audio, Driver=snd-usb-audio, 12M
    |__ Port 5: Dev 10, If 0, Class=Mass Storage, Driver=usb-storage, 12M
    /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/10p, 480M
    Does anyone know how to fix this problem? Is it a device quirk, a driver bug or something?
    Last edited by ackalker (2014-03-29 19:21:04)

    Just to be sure, I rebooted my system, shut down lightdm from another VT, made sure that really nothing is using the drive, no partitions are mounted, no services that could try to use the drive (except udisks2.service, could this one be the problem? But how am I supposed to use the udisksctl command when the service isn't running?).
    Tried the same command again. same result: I needed to run it twice in a row for it to 'take'.
    What I find even more fascinating: how can a USB device jump from one USB bus to another like that? I've honestly never seen anything like this before :-)
    Last edited by ackalker (2014-03-29 19:35:29)

  • Can I put a MacBook processor and hard drive in a PowerMacG5?

    I have a late 2008 MacBook that is showing its age and wear. The battery is worn out and the keys and mouse sometimes stick. I also have a PowerMac G5 which has an older operating system, but great working keyboard, mouse, and monitor. Can I put the processor and hard drive of the MacBook into the PowerMac and have a desktop version of the MacBook.

    I have an older black MacBook 2007 era and use a Henge Dock when I want to connect it to my TV with a wireless keyboard/trackpad.
    you would have to check to see if this is compatible with your particular model:
    http://hengedocks.com/pages/vertical-macbook
    an alternative is a stand, which would allow you to use the laptop display, in addition to another external display, on your desktop:
    http://store.griffintechnology.com/elevator
    PS- I have replaced the battery in my MacBook twice now, if it starts to swell up it can interfere with the trackpad button, causing it to register the button as being held all the time, which interferes with an external mouse as well.  you can find replacement batteries here, an Apple store may not have them in stock.
    http://eshop.macsales.com/shop/Apple/Laptop/Batteries
    to hook up the monitor, you will need one of the appropriate adapters, not sure what knid your MacBook uses, my older one has the miniDVI, they make adapters to go to standard VGA or DVI monitors, there were a few different video ports on the MacBooks, you can lookup the specs of yours at www.everymac.com if you are not sure what the plug type is.

  • Need help on connecting USB: 300GB external hard drive to wireless router

    Hello,
    I am trying to connect USB2.0 Maxtor 300GB external hard drive to my wireless router. Tried using Linksys new product NSLU2 which allows any USB cable external hard drive to NSLU2 device/network storage hub and then connect this NSLU2 directly to wireless router with the help of 10/100 Ethernet cable which allows to access external hard drive wirelessly.
    Unfortunately Linksys NSLU2 is designed to supports USB external drives up to 250GB only.
    Can any one advice me if there is any device I can use to connect my external hard drive to wireless router and access files without connecting/carrying USB external drive?
    Any help is greatly appreciated.
    Thanks in advance!
    Arvind

    Have a look at http://www.ximeta.com and their solutions. Especially
    http://www.ximeta.com/web/products/ndenclosure1_en.php might be interesting, as you already have a HD.
    Regards, Martin

  • Usb 3.0 hard drive doesn't work

    i boot my laptop with ubuntu ,the usb3.0 hard drive could be recognized by usb3.0 port without external power, but archlinux cannot.
    the write speed is 43.7 MB/s in ubuntu. it seems like that this is only usb2.0 speed.
    can archlinux use usb3.0 as usb2.0?
    1) the ubuntu dmesg is
    [  110.038673] usb 4-1: new SuperSpeed USB device number 2 using xhci_hcd
    [  110.056253] scsi5 : usb-storage 4-1:1.0
    [  111.992005] scsi 5:0:0:0: Direct-Access     WD       My Passport 0730 1016 PQ: 0 ANSI: 6
    [  111.992507] scsi 5:0:0:1: Enclosure         WD       SES Device       1016 PQ: 0 ANSI: 6
    [  111.994139] sd 5:0:0:0: Attached scsi generic sg2 type 0
    [  111.994347] scsi 5:0:0:1: Attached scsi generic sg3 type 13
    [  115.358425] sd 5:0:0:0: [sdc] 976707584 512-byte logical blocks: (500 GB/465 GiB)
    [  115.358660] sd 5:0:0:0: [sdc] Write Protect is off
    [  115.358667] sd 5:0:0:0: [sdc] Mode Sense: 47 00 10 08
    [  115.358897] sd 5:0:0:0: [sdc] No Caching mode page present
    [  115.358904] sd 5:0:0:0: [sdc] Assuming drive cache: write through
    [  115.359692] sd 5:0:0:0: [sdc] No Caching mode page present
    [  115.359698] sd 5:0:0:0: [sdc] Assuming drive cache: write through
    [  115.375489]  sdc: sdc1
    [  115.376473] sd 5:0:0:0: [sdc] No Caching mode page present
    [  115.376481] sd 5:0:0:0: [sdc] Assuming drive cache: write through
    [  115.376487] sd 5:0:0:0: [sdc] Attached SCSI disk
    [  115.466372] ses 5:0:0:1: Attached Enclosure device
    2) use dd to test the write speed of ubuntu.
    dd if=/dev/zero of=/media/siyuan/test.file bs=1G count=1
    1+0 records in
    1+0 records out
    1073741824 bytes (1.1 GB) copied, 24.5506 s, 43.7 MB/s
    this issue still exists when i upgrade the kernel to 3.5.5-1-ARCH
    hi, everyone
    i have a usb 3.0 hard drive and a laptop with usb 3.0 port.
    when the hard drive is connected to the usb 3.0 port, the drive could not be found.
    the dmesg output is listed below.
    additinal info:
    1) the usb 3.0 hard drive can be found when connected to usb 2.0 port.
    2) the usb 2.0 hard drive can be found when connected to usb 3.0 port.
    3) mouse works when connected to the usb 3.0 port.
    it seems that it is not the linux driver's problem, because the mouse could work and the hard drive is found due to the dmesg.
    is this a bug?
    would someone help me?
    thank you!
    dmesg out put when usb 3.0 hard drive is conneted to usb 3.0 port:
    [  646.077385] usb 2-2: new SuperSpeed USB device number 2 using xhci_hcd
    [  646.171319] usbcore: registered new interface driver uas
    [  646.175313] Initializing USB Mass Storage driver...
    [  646.175501] scsi4 : usb-storage 2-2:1.0
    [  646.175665] usbcore: registered new interface driver usb-storage
    [  646.175667] USB Mass Storage support registered.
    [  657.149403] scsi 4:0:0:0: Direct-Access     WD       My Passport 0730 1016 PQ: 0 ANSI: 6
    [  657.149974] sd 4:0:0:0: [sdb] 976707584 512-byte logical blocks: (500 GB/465 GiB)
    [  657.150223] sd 4:0:0:0: [sdb] Write Protect is off
    [  657.150232] sd 4:0:0:0: [sdb] Mode Sense: 47 00 10 08
    [  657.150456] sd 4:0:0:0: [sdb] No Caching mode page present
    [  657.150462] sd 4:0:0:0: [sdb] Assuming drive cache: write through
    [  657.151436] sd 4:0:0:0: [sdb] No Caching mode page present
    [  657.151440] sd 4:0:0:0: [sdb] Assuming drive cache: write through
    [  657.159907]  sdb: sdb1
    [  657.160852] sd 4:0:0:0: [sdb] No Caching mode page present
    [  657.160858] sd 4:0:0:0: [sdb] Assuming drive cache: write through
    [  657.160861] sd 4:0:0:0: [sdb] Attached SCSI disk
    [  657.268875] usb 2-2: Device not responding to set address.
    [  657.471456] usb 2-2: Device not responding to set address.
    [  657.674211] usb 2-2: device not accepting address 2, error -71
    [  657.780745] usb 2-2: Device not responding to set address.
    [  657.983519] usb 2-2: Device not responding to set address.
    [  658.186214] usb 2-2: device not accepting address 2, error -71
    [  658.292717] usb 2-2: Device not responding to set address.
    [  658.495537] usb 2-2: Device not responding to set address.
    [  658.698277] usb 2-2: device not accepting address 2, error -71
    [  658.804774] usb 2-2: Device not responding to set address.
    [  659.007557] usb 2-2: Device not responding to set address.
    [  659.210298] usb 2-2: device not accepting address 2, error -71
    [  659.210366] usb 2-2: USB disconnect, device number 2
    [  659.213797] sd 4:0:0:0: [sdb] Unhandled error code
    [  659.213804] sd 4:0:0:0: [sdb] 
    [  659.213808] Result: hostbyte=0x01 driverbyte=0x00
    [  659.213812] sd 4:0:0:0: [sdb] CDB:
    [  659.213814] cdb[0]=0x28: 28 00 00 00 00 00 00 00 08 00
    [  659.213826] end_request: I/O error, dev sdb, sector 0
    [  659.213830] Buffer I/O error on device sdb, logical block 0
    [  659.214647] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800b375fe40
    [  659.214656] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800b375fe00
    [  659.320085] usb 2-2: Device not responding to set address.
    [  659.522884] usb 2-2: Device not responding to set address.
    [  659.725646] usb 2-2: device not accepting address 3, error -71
    [  659.832077] usb 2-2: Device not responding to set address.
    [  660.034905] usb 2-2: Device not responding to set address.
    [  660.237663] usb 2-2: device not accepting address 4, error -71
    [  660.344135] usb 2-2: Device not responding to set address.
    [  660.546938] usb 2-2: Device not responding to set address.
    [  660.749642] usb 2-2: device not accepting address 5, error -71
    [  660.856129] usb 2-2: Device not responding to set address.
    [  661.058946] usb 2-2: Device not responding to set address.
    [  661.261701] usb 2-2: device not accepting address 6, error -71
    [  661.261722] hub 2-0:1.0: unable to enumerate USB device on port 2
    Last edited by wangsiyuan (2012-10-09 15:30:05)

    tail -f /var/log/messages.log is similar to the dmesg.
    1) I have a usb 2.0 hard drive which could use the usb 3.0 port.
    2) I remeber x230 with windows XP could use my usb 3.0 hard drive with the usb 3.0 port
    3) so, it is a problem of archlinux rather than hardware?
    thank you!
    output of tail -f /var/log/messages.log:
    Sep 28 22:00:15 siyuan kernel: [ 1631.021315] usb 4-2: new SuperSpeed USB device number 2 using xhci_hcd
    Sep 28 22:00:15 siyuan kernel: [ 1631.115610] usbcore: registered new interface driver uas
    Sep 28 22:00:16 siyuan kernel: [ 1631.125728] Initializing USB Mass Storage driver...
    Sep 28 22:00:16 siyuan kernel: [ 1631.125929] scsi4 : usb-storage 4-2:1.0
    Sep 28 22:00:16 siyuan kernel: [ 1631.126079] usbcore: registered new interface driver usb-storage
    Sep 28 22:00:16 siyuan kernel: [ 1631.126081] USB Mass Storage support registered.
    Sep 28 22:00:27 siyuan kernel: [ 1642.100134] scsi 4:0:0:0: Direct-Access     WD       My Passport 0730 1016 PQ: 0 ANSI: 6
    Sep 28 22:00:27 siyuan kernel: [ 1642.100581] sd 4:0:0:0: [sdb] 976707584 512-byte logical blocks: (500 GB/465 GiB)
    Sep 28 22:00:27 siyuan kernel: [ 1642.100852] sd 4:0:0:0: [sdb] Write Protect is off
    Sep 28 22:00:27 siyuan kernel: [ 1642.111571]  sdb: sdb1
    Sep 28 22:00:27 siyuan kernel: [ 1642.112643] sd 4:0:0:0: [sdb] Attached SCSI disk
    Sep 28 22:00:27 siyuan kernel: [ 1642.219396] usb 4-2: Device not responding to set address.
    Sep 28 22:00:27 siyuan kernel: [ 1642.422078] usb 4-2: Device not responding to set address.
    Sep 28 22:00:27 siyuan kernel: [ 1642.731298] usb 4-2: Device not responding to set address.
    Sep 28 22:00:27 siyuan kernel: [ 1642.934099] usb 4-2: Device not responding to set address.
    Sep 28 22:00:28 siyuan kernel: [ 1643.243323] usb 4-2: Device not responding to set address.
    Sep 28 22:00:28 siyuan kernel: [ 1643.446148] usb 4-2: Device not responding to set address.
    Sep 28 22:00:28 siyuan kernel: [ 1643.755321] usb 4-2: Device not responding to set address.
    Sep 28 22:00:28 siyuan kernel: [ 1643.958170] usb 4-2: Device not responding to set address.
    Sep 28 22:00:29 siyuan kernel: [ 1644.160978] usb 4-2: USB disconnect, device number 2
    Sep 28 22:00:29 siyuan kernel: [ 1644.162815] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c41dae40
    Sep 28 22:00:29 siyuan kernel: [ 1644.162820] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c41dae00
    Sep 28 22:00:29 siyuan kernel: [ 1644.267359] usb 4-2: Device not responding to set address.
    Sep 28 22:00:29 siyuan kernel: [ 1644.470263] usb 4-2: Device not responding to set address.
    Sep 28 22:00:29 siyuan kernel: [ 1644.779375] usb 4-2: Device not responding to set address.
    Sep 28 22:00:29 siyuan kernel: [ 1644.982208] usb 4-2: Device not responding to set address.
    Sep 28 22:00:30 siyuan kernel: [ 1645.291402] usb 4-2: Device not responding to set address.
    Sep 28 22:00:30 siyuan kernel: [ 1645.494307] usb 4-2: Device not responding to set address.
    Sep 28 22:00:30 siyuan kernel: [ 1645.803400] usb 4-2: Device not responding to set address.
    Sep 28 22:00:30 siyuan kernel: [ 1646.006252] usb 4-2: Device not responding to set address.
    broken pipe wrote:
    is it a 2,5" drive with no external power supply?
    run: tail -f /var/log/messages.log
    and plug in your device, any other errors in log files?

  • Can not get my Envy 15 3040nr to recognise my USB connected external hard drive

    Hi All,
    Have recently upgraded my HP Envy 15 3040 nr to Windows 8. All good except it wont recognise my USB connected external hard drive. At first I thought my USB port(s) might be faulty as it did recognise the drive a few weeks back but now it wont. Tried connecting other USB devices and they worked no problem.
    I have also recently upgraded the BIOS on my laptop and wonderd if this might be the root cause. All in all somewhat perplexed.
    Any ideas, suggestions greatly appreciated. 

    Hi
    In order to resolve the issue that I think that you  should uninstall the Universal Serial Bus controller in Device manger by uninstalling all options under the USB controller.
    Then restart the laptop and uninstall driver will be installed automatically.
    Tell me all findings that external harddrive is detected or not.

  • I copied mp3 files from a usb stick and they appear in music folder in finder and on iPhone/ipad with itunes match but not in iTunes?

    I copied mp3 files from a usb stick and they appear in finder in my itunes media/music folder and on my iphone and ipad with itunes match but not in the itunes library?

    Not working.  And it didn't used to be a problem.  iTunes can find the songs with Search Library, but doesn't show in any index (by song, artist or album).  Finding with Search Library offers to play or add to Up Next, but neither actually does anything.  Using File-Add to Library does nothing as well.  The only way I can get the new files to play is to find in Finder and Open with iTunes.
    I suspect Apple is trying to drive me to buy from iTunes store.  Not gonna happen.  If they don't fix this, I'll find another player.
    This worked fine before OSX 10.8.

Maybe you are looking for