Is there a way to diagnose a USB port and HDD disappearing?

Using applications, configuring, problems
Post Reply
Message
Author
xan
Posts: 54
Joined: Sun 25 Nov 2012, 12:27

Is there a way to diagnose a USB port and HDD disappearing?

#1 Post by xan »

I have an external portable USB hard disk drive (Western Digital). It can be operating happily and then suddenly the drive will disappear from the Puppy attached devices (probedisk?).

Then it reappears under a different device name (sde to sdf). I mount it and if I was writing a file then only part of it is there and I delete and start again.

Sometimes it copies files to completion, sometimes it drops out when reading files, or even when doing nothing at all.

Any tests or commands that can tell me anything? It seems to work fine in Windows but I have it partitioned into two, first one with VFAT and the second with Ext4.

I'm using Slacko.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#2 Post by Flash »

Sounds like a bad connection to me. Does the drive use one of those double USB cables to get more power from the computer, or does it use an external power supply? Try a different USB cable if you can. Experiment to see if gently wiggling the USB cable where it plugs into the computer or the hard disk causes the problem.

xan
Posts: 54
Joined: Sun 25 Nov 2012, 12:27

#3 Post by xan »

Flash wrote:Sounds like a bad connection to me. Does the drive use one of those double USB cables to get more power from the computer, or does it use an external power supply
I have an external power supply. It works okay in Windows but not in Slacko. What does probedisk do? That's the application that keeps coming up and changing the device name. I have to kill it to stop it.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#4 Post by Flash »

It still sounds like a bad connection or cable somewhere. I've used all kinds of USB storage devices in many different Puppys and the only time I had an intermittent problem similar to the one you describe, it seemed to be a bad USB flash drive connector. Other flash drives worked fine in that same USB port. Do you have another drive of some kind that you could try in that same USB port?

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#5 Post by Karl Godt »

xan wrote: I have an external power supply. It works okay in Windows but not in Slacko. What does probedisk do? That's the application that keeps coming up and changing the device name. I have to kill it to stop it.

Code: Select all

cat /sbin/probedisk*
«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal :P

xan
Posts: 54
Joined: Sun 25 Nov 2012, 12:27

#6 Post by xan »

Karl Godt wrote:

Code: Select all

cat /sbin/probedisk*
Thanks, but I don't know what to do with that. The thing keeps dropping out and redrawing the icons with different device letters. It appears as sdd1, I click on it then it disappears and sde1 appears, I click on it and it disappears. It's like playing wack a mole.

Is there an alternative to it?

xan
Posts: 54
Joined: Sun 25 Nov 2012, 12:27

#7 Post by xan »

Flash wrote:I've used all kinds of USB storage devices in many different Puppys and the only time I had an intermittent problem
Sure, but for some reason it's stable in Windows. That's why I wanted to know if there are any diagnostic commands that I can run to find out what's going on.

User avatar
veronicathecow
Posts: 559
Joined: Sat 21 Oct 2006, 09:41

#8 Post by veronicathecow »

Hi Xan, have you tried a different USB port?

xan
Posts: 54
Joined: Sun 25 Nov 2012, 12:27

#9 Post by xan »

veronicathecow wrote:Hi Xan, have you tried a different USB port?
Thank you for replying, but that's not the kind of suggestions that I want. They are equivalent to slapping the side of the TV to get it to work.

I'm sure that there are linux commands that can help diagnose what the problem is, but I don't know enough to know what they are. The only one I know is lsusb. Then there are the logs that puppy makes, like udevtrace.log, but I don't know how to interpret them.

User avatar
`f00
Posts: 807
Joined: Thu 06 Nov 2008, 19:13
Location: the Western Reserve

#10 Post by `f00 »

hi xan

Yah, intermitent connection is the bane of externals for pups - sometimes you can look up a file in /initrd/pup_rw (or do an archive of as a temporary store somewhere) if that happens and you really don't want a do-over for the whole session. Depending on how you've got your saves set up.

Windows doesn't poll as often. I'm guessing about pup_frontend_d but maybe try killing that as another experiment (also some stuff in eventmanager to tweak if you want to try that for the driveicons) :| once the connection blips I'd imagine pretty much all bets are off for your assigned external 'til it gets reset correctly :(

good luck

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#11 Post by Flash »

Xan, what veronicathecow suggested was meant to help diagnose the problem, not as a permanent fix. I'll ask it again: have you tried a different USB port?

r__hughes
Posts: 359
Joined: Thu 13 Apr 2006, 04:14
Location: Montreal, Canada

#12 Post by r__hughes »

This sounds similar to a USB problem I'm having on a Dell D610 Latitude laptop grub booting WinXP, Pup421, pup431 and now Slacko55PAE.

The problem only happens with Slacko55 and only after some 10min or more use which is why I think it's temperature related:
either a USB thumbdrive is not recognized at all (no flashing of the drive led) or the drive icon appears on the desktop but disappears when I try to click on it to mount & open it.

I have the problem on all 4 USB-2 ports and with a USB-hub.
I have Torsmo installed to give me a status readout (see fig) but can't get an acpi thermal readout with Slacko5.5 so I have to use the system - hardware information on the Menu.

I have no problems with pups 421 & 431 and am wondering if this could
all be related to acpi fan operation & possible overheating?

I can get the USBs to work if I reboot to pup431 or if I switch off for 5min & reboot to Slacko5.5. (I get the same problem with Slacko55-4G) maybe my laptop is just getting old.
Attachments
desktop.png
This is my desktop with the Torsmo info
(188.98 KiB) Downloaded 161 times
--- quad booting Slacko57NPAE, Slacko56NPAE, Slacko55PAE (with OO4, devx, Gimp) & WXP on DELL Dimension 2400 PC & DELL Latitude 630 Laptop using grub.
---USB-Flash booting same on Samsung N110 WXP Netbook and Lenovo q100 WXP netPC.

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#13 Post by rjbrewer »

r__hughes wrote:This sounds similar to a USB problem I'm having on a Dell D610 Latitude laptop grub booting WinXP, Pup421, pup431 and now Slacko55PAE.

The problem only happens with Slacko55 and only after some 10min or more use which is why I think it's temperature related:
either a USB thumbdrive is not recognized at all (no flashing of the drive led) or the drive icon appears on the desktop but disappears when I try to click on it to mount & open it.

I have the problem on all 4 USB-2 ports and with a USB-hub.
I have Torsmo installed to give me a status readout (see fig) but can't get an acpi thermal readout with Slacko5.5 so I have to use the system - hardware information on the Menu.

I have no problems with pups 421 & 431 and am wondering if this could
all be related to acpi fan operation & possible overheating?

I can get the USBs to work if I reboot to pup431 or if I switch off for 5min & reboot to Slacko5.5. (I get the same problem with Slacko55-4G) maybe my laptop is just getting old.
Just tried Slacko 55-4g on a D610. Full install and usb
boot. No problems at all.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#14 Post by tallboy »

Hi xan
Please do yourself a big favour, stop using that harddisk NOW!

My LaCie 160Gb USB harddisk just collapsed, se my thread:

My USB HD failed; all my puppy stuff unreachable

It started almost just like you describe; it suddenly quit and remounted itself, one minute it was 'sdb1', then it quit and started up again as 'sdc1'. One day it just died. It is obviously the electronic circuit that connect to the hd inside the box, that quit functioning normally. My advice is to quit using your hd right now, to avoid that it become corrupted, and buy one of the external connectors that allow harddisk of several types to connect to a USB port, like I describe in my post. Otherwise you risk losing everything on that disc, as I may have done.

Don't even risk starting a long-lasting backup, if it collapses while running, you may lose all the rest.

tallboy
True freedom is a live Puppy on a multisession CD/DVD.

r__hughes
Posts: 359
Joined: Thu 13 Apr 2006, 04:14
Location: Montreal, Canada

#15 Post by r__hughes »

Further to my post of yesterday re: USB icons disappearing with slacko55PAE on a Dell Latitude D610 laptop.

I have managed to reduce this problem significantly by using the CPU Frequency scaling tool set to 50%. I used to have USB icons drop-out after 10 mins of intensive file transfers to several USB thumbdrives (either using the 4 USB ports or using a 4-port USB Hub in one of the computer's USB port) - but now I am getting 40 mins with no problems (so it could be even more). I think this confirms that my problem was indeed an overheating of some USB-related component(s) on my computer.

Sorry if this doesn't helpyou with your problem - but it may add a little more data to the mix.
--- quad booting Slacko57NPAE, Slacko56NPAE, Slacko55PAE (with OO4, devx, Gimp) & WXP on DELL Dimension 2400 PC & DELL Latitude 630 Laptop using grub.
---USB-Flash booting same on Samsung N110 WXP Netbook and Lenovo q100 WXP netPC.

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#16 Post by tallboy »

Hey xan, I would very much like some feedback from you regarding your hd, what happens?

tallboy
True freedom is a live Puppy on a multisession CD/DVD.

Post Reply