Ask your questions here.
Post a reply

External USB HHDs not mounting/working properly

Tue Sep 15, 2015 6:34 pm

This problem is on Refracta Wheezy. In preparation for installing your Devuan Alpha2 iso, I took a snapshot of Wheezy and then wanted to backup data to an external USB drive. I have tried 5 different drives. None of them automount when hot plugged - they are all labeled and owned by me. Some of them will pmount to /dev/* but with this error:

Code:
Error fsyncing/closing /dev/sdc: Input/output error

I was able to copy something from one of these misbehaving disks but unable to write to any of them. Permissions are correct but files are locked, Last time I used them they worked on Squeeze. Need to boot and test there next. The drives are too old to get SMART data. FWIW, no problem with thumb drives or DVD rw (I could burn the snapshot iso - no problem).

What am I missing. Do I need to list these usb drives in fstab?

Re: External USB HHDs not mounting/working properly

Tue Sep 15, 2015 9:19 pm

An external usb drive should work just like a thumb drive. With the default refracta-wheezy settings, it should show up on the desktop, and it will be mounted when you double-click the icon. If you changed the desktop settings to auto-mount, then that's what it should do.

Input/output errors are not good in relation to drives. Might be freezer time. Try it on squeeze and let me know what happens.

Old enough to not have smart data? Uh, my old external usb drive has smart data, and it's holding my backups from lenny. Only 84 total hours of use, 147 restarts, and 13 reallocated sectors. I no longer count on this drive for anything important.

I'm guessing a 32gb thumb drive isn't going to come close to your needs. If you have space on a second computer, maybe back up across the local network.

Also try this in root terminal:
Code:
tail -f /var/log/messages
and then plug in the drive and see what comes up in the terminal. Plug/unplug should show connect/disconnect (also model and vendor info.)

Re: External USB HHDs not mounting/working properly

Wed Sep 16, 2015 6:37 pm

golinux wrote: Some of them will pmount to /dev/* but with this error:

Code:
Error fsyncing/closing /dev/sdc: Input/output error


I seldom use pmount, but i don't think that one mounts *to* /dev;
but /dev/whatever *to* /media/whatever

Same problem if you mount it as the user "root" with mount ? Say
mount /dev/sdb1 /media/stick

Re: External USB HHDs not mounting/working properly

Wed Sep 16, 2015 9:23 pm

OK. I got on squeeze and the drives weren't mounting properly either.
When I turned one on, I got these 4 kernel failure messages. There is USB stuff in there but who knows what it means. Sorry it's so long:

Code:
Kernel failure message 1:
BUG: unable to handle kernel paging request at 01beb000
IP: [<c1142191>] __percpu_counter_sum+0x26/0x50
*pde = 00000000
Oops: 0000 [#1] SMP
last sysfs file: /sys/devices/virtual/net/pan0/statistics/collisions
Modules linked in: usb_storage usblp snd_seq_dummy xt_limit xt_tcpudp ipt_LOG ipt_MASQUERADE xt_DSCP ipt_REJECT nf_conntrack_irc nf_conntrack_ftp xt_state acpi_cpufreq cpufreq_powersave cpufreq_conservative cpufreq_stats cpufreq_userspace ppdev lp sco bridge stp bnep l2cap bluetooth rfkill binfmt_misc fuse iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables x_tables ext4 jbd2 crc16 it87 hwmon_vid coretemp loop snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm parport_pc snd_seq snd_timer snd_seq_device psmouse serio_raw parport snd nvidia(P) soundcore i2c_i801 snd_page_alloc pcspkr i2c_core evdev processor ext3 jbd mbcache sg sr_mod cdrom sd_mod crc_t10dif thermal r8169 uhci_hcd ata_generic mii pata_jmicron thermal_sys ehci_hcd ata_piix libata button scsi_mod usbcore nls_base [last unloaded: scsi_wait_scan]

Pid: 8748, comm: mount Tainted: P        W  (2.6.32-5-686 #1) P35-DS3L
EIP: 0060:[<c1142191>] EFLAGS: 00010297 CPU: 1
EIP is at __percpu_counter_sum+0x26/0x50
EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 01beb000
ESI: 00000000 EDI: f674f494 EBP: c13bbfc8 ESP: f2a77d18
DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Process mount (pid: 8748, ti=f2a76000 task=f64c3fc0 task.ti=f2a76000)
Stack:
00000004 f6abcd40 f3a49000 dd6c4400 f9a05b1a 00000001 00000118 00000000
<0> f3a49000 f3a24400 dd6c4400 f3a49000 f9a05c39 f3a49000 f9a1a99c f9a2011c
<0> f3a49000 f9a1a99c f9a200ea f9a1f997 f64c3fc0 c10445b6 f2a77d70 f2a77d70
Call Trace:
[<f9a05b1a>] ? ext4_commit_super+0xdf/0x160 [ext4]
[<f9a05c39>] ? ext4_clear_journal_err+0x82/0xa5 [ext4]
[<c10445b6>] ? autoremove_wake_function+0x0/0x2d
[<f9a0768d>] ? ext4_fill_super+0x181f/0x229f [ext4]
[<c10c1f47>] ? dput+0x22/0x105
[<c113c526>] ? snprintf+0x16/0x18
[<c10ef30a>] ? disk_name+0x51/0x5b
[<c10b5f73>] ? get_sb_bdev+0x11d/0x16f
[<f9a05e6e>] ? ext4_fill_super+0x0/0x229f [ext4]
[<c10c6610>] ? alloc_vfsmnt+0x7b/0x106
[<f9a03ed0>] ? ext4_get_sb+0x12/0x16 [ext4]
[<f9a05e6e>] ? ext4_fill_super+0x0/0x229f [ext4]
[<c10b5c21>] ? vfs_kern_mount+0x85/0x11c
[<c10b5cf6>] ? do_kern_mount+0x2f/0xb8
[<c10c7160>] ? do_mount+0x64a/0x69e
[<c113cf13>] ? copy_from_user+0x27/0x10e
[<c10c721a>] ? sys_mount+0x66/0x98
[<c100309b>] ? sysenter_after_call+0x0/0x16
Code: 5b 5e 5f 5d c3 55 57 89 c7 56 53 e8 ea e2 12 00 8b 5f 04 83 c9 ff 8b 77 08 8b 2d b4 c7 27 c1 eb 12 8b 14 8d b0 bd 3b c1 8b 47 14 <8b> 04 10 99 01 c3 11 d6 41 ba 20 00 00 00 89 e8 e8 d2 41 ff ff
EIP: [<c1142191>] __percpu_counter_sum+0x26/0x50 SS:ESP 0068:f2a77d18
CR2: 0000000001beb000
---[ end trace 5fb551b9f34ae7fd ]---


Kernel failure message 2:
------------[ cut here ]------------
WARNING: at /build/linux-2.6-1Y48wl/linux-2.6-2.6.32/debian/build/source_i386_none/kernel/rcutree.c:350 rcu_irq_exit+0x40/0x7a()
Hardware name: P35-DS3L
Modules linked in: usblp snd_seq_dummy xt_limit xt_tcpudp ipt_LOG ipt_MASQUERADE xt_DSCP ipt_REJECT nf_conntrack_irc nf_conntrack_ftp xt_state acpi_cpufreq cpufreq_powersave cpufreq_conservative cpufreq_stats cpufreq_userspace ppdev lp sco bridge stp bnep l2cap bluetooth rfkill binfmt_misc fuse iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables x_tables ext4 jbd2 crc16 it87 hwmon_vid coretemp loop snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm parport_pc snd_seq snd_timer snd_seq_device psmouse serio_raw parport snd nvidia(P) soundcore i2c_i801 snd_page_alloc pcspkr i2c_core evdev processor ext3 jbd mbcache sg sr_mod cdrom sd_mod crc_t10dif thermal r8169 uhci_hcd ata_generic mii pata_jmicron thermal_sys ehci_hcd ata_piix libata button scsi_mod usbcore nls_base [last unloaded: scsi_wait_scan]
Pid: 0, comm: swapper Tainted: P        W  2.6.32-5-686 #1
Call Trace:
[<c10309b9>] ? warn_slowpath_common+0x5e/0x8a
[<c10309ef>] ? warn_slowpath_null+0xa/0xc
[<c106f732>] ? rcu_irq_exit+0x40/0x7a
[<c1035cf2>] ? irq_exit+0x2b/0x58
[<c10144ad>] ? smp_apic_timer_interrupt+0x6c/0x76
[<c1003ab5>] ? apic_timer_interrupt+0x31/0x38
[<c12704df>] ? _read_lock_bh+0xe/0x17
[<c1239280>] ? ipv6_get_ifaddr+0x28/0x9e
[<c123c350>] ? addrconf_prefix_rcv+0x25c/0x674
[<c1245be1>] ? ndisc_rcv+0x88b/0xc8b
[<c12410d7>] ? ip6_pol_route_input+0x10/0x14
[<c11d3165>] ? skb_checksum+0x47/0x1ee
[<c1025fc5>] ? enqueue_entity+0x82/0x129
[<c124a2fb>] ? icmpv6_rcv+0x47e/0x52e
[<c123fbbe>] ? ip6_route_input+0x113/0x135
[<c12410c7>] ? ip6_pol_route_input+0x0/0x14
[<c12704f0>] ? _spin_lock_bh+0x8/0x1e
[<c124b11b>] ? ipv6_chk_mcast_addr+0xf3/0x102
[<c1238133>] ? ip6_input_finish+0x179/0x2a9
[<c123843f>] ? ip6_mc_input+0x19a/0x1ab
[<c1238466>] ? ip6_rcv_finish+0x16/0x18
[<c11dab48>] ? netif_receive_skb+0x3bb/0x3d6
[<c1007538>] ? nommu_sync_single_for_device+0x0/0x1
[<c11dac6c>] ? napi_skb_finish+0x1b/0x30
[<f7f16211>] ? rtl8169_poll+0x2de/0x42f [r8169]
[<c11db0d1>] ? net_rx_action+0x96/0x194
[<c1035b1d>] ? __do_softirq+0xc1/0x186
[<c1035c13>] ? do_softirq+0x31/0x3c
[<c1035ced>] ? irq_exit+0x26/0x58
[<c100462d>] ? do_IRQ+0x78/0x89
[<c1003770>] ? common_interrupt+0x30/0x38
[<c1008867>] ? mwait_idle+0x62/0x6c
[<c1002326>] ? cpu_idle+0x89/0xa3
---[ end trace 5fb551b9f34ae7fc ]---


Kernel failure message 3:
------------[ cut here ]------------
WARNING: at /build/linux-2.6-1Y48wl/linux-2.6-2.6.32/debian/build/source_i386_none/kernel/rcutree.c:277 rcu_exit_nohz+0x43/0x5d()
Hardware name: P35-DS3L
Modules linked in: usblp snd_seq_dummy xt_limit xt_tcpudp ipt_LOG ipt_MASQUERADE xt_DSCP ipt_REJECT nf_conntrack_irc nf_conntrack_ftp xt_state acpi_cpufreq cpufreq_powersave cpufreq_conservative cpufreq_stats cpufreq_userspace ppdev lp sco bridge stp bnep l2cap bluetooth rfkill binfmt_misc fuse iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables x_tables ext4 jbd2 crc16 it87 hwmon_vid coretemp loop snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm parport_pc snd_seq snd_timer snd_seq_device psmouse serio_raw parport snd nvidia(P) soundcore i2c_i801 snd_page_alloc pcspkr i2c_core evdev processor ext3 jbd mbcache sg sr_mod cdrom sd_mod crc_t10dif thermal r8169 uhci_hcd ata_generic mii pata_jmicron thermal_sys ehci_hcd ata_piix libata button scsi_mod usbcore nls_base [last unloaded: scsi_wait_scan]
Pid: 0, comm: swapper Tainted: P        W  2.6.32-5-686 #1
Call Trace:
[<c10309b9>] ? warn_slowpath_common+0x5e/0x8a
[<c10309ef>] ? warn_slowpath_null+0xa/0xc
[<c106f67b>] ? rcu_exit_nohz+0x43/0x5d
[<c104f769>] ? tick_nohz_restart_sched_tick+0x6d/0x12d
[<c1002338>] ? cpu_idle+0x9b/0xa3
---[ end trace 5fb551b9f34ae7fa ]---


Kernel failure message 4:
------------[ cut here ]------------
WARNING: at /build/linux-2.6-1Y48wl/linux-2.6-2.6.32/debian/build/source_i386_none/kernel/rcutree.c:258 rcu_enter_nohz+0x48/0x5d()
Hardware name: P35-DS3L
Modules linked in: usblp snd_seq_dummy xt_limit xt_tcpudp ipt_LOG ipt_MASQUERADE xt_DSCP ipt_REJECT nf_conntrack_irc nf_conntrack_ftp xt_state acpi_cpufreq cpufreq_powersave cpufreq_conservative cpufreq_stats cpufreq_userspace ppdev lp sco bridge stp bnep l2cap bluetooth rfkill binfmt_misc fuse iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables x_tables ext4 jbd2 crc16 it87 hwmon_vid coretemp loop snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm parport_pc snd_seq snd_timer snd_seq_device psmouse serio_raw parport snd nvidia(P) soundcore i2c_i801 snd_page_alloc pcspkr i2c_core evdev processor ext3 jbd mbcache sg sr_mod cdrom sd_mod crc_t10dif thermal r8169 uhci_hcd ata_generic mii pata_jmicron thermal_sys ehci_hcd ata_piix libata button scsi_mod usbcore nls_base [last unloaded: scsi_wait_scan]
Pid: 0, comm: swapper Tainted: P           2.6.32-5-686 #1
Call Trace:
[<c10309b9>] ? warn_slowpath_common+0x5e/0x8a
[<c10309ef>] ? warn_slowpath_null+0xa/0xc
[<c106f6dd>] ? rcu_enter_nohz+0x48/0x5d
[<c104fac5>] ? tick_nohz_stop_sched_tick+0x29c/0x36e
[<c1002304>] ? cpu_idle+0x67/0xa3
---[ end trace 5fb551b9f34ae7f9 ]--


gparted had this info indicating the drive was busy doing something:

Code:
A job is pending on /dev/sdd1


I think the disk utility might have had the Input/output error. Can't remember.

So I thought I'd reboot. Ha! Was sent back to the login screen. Then tried to reboot from tty1. IIRC there was a 'busy' message and it hung. So eventually I pushed the big button. Then tried to turn it back on. No power! I thought I'd killed it! Unplugged. Let it sit and maybe 15 minutes later, it booted and has been working fine since. Not going to try that again. I may try reformatting the drives. And yes, SMART data is not available for those drives (older Seagates).

Re: External USB HHDs not mounting/working properly

Wed Sep 16, 2015 9:30 pm

nadir wrote:
golinux wrote: Some of them will pmount to /dev/* but with this error:

Code:
Error fsyncing/closing /dev/sdc: Input/output error


I seldom use pmount, but i don't think that one mounts *to* /dev;
but /dev/whatever *to* /media/whatever

Same problem if you mount it as the user "root" with mount ? Say
mount /dev/sdb1 /media/stick


Nice to see you nadir! Thanks for the tip. Not going to mess with mounting those drives again unless they are reformatted but I'm sure it will come in handy later.

Re: External USB HHDs not mounting/working properly

Sat Sep 19, 2015 7:17 pm

I wish my back would quit hurting long enough for me to install the alpha2. I am bummed . . .
Post a reply