Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

USB hang on powerdown and filesystem detection

Posted on 2002-04-14
3
258 Views
Last Modified: 2013-11-15
Hi,
 Two problems, I'll give you the points if you can help me on *either* of them.

 I am on Mandrake 8.2.

 1. USB devices in general cause my machine to hang at some point during power-down (which being a laptop, is often). Usually the hang occurs accompanied by the message "usb disconnect on device 1 usb disconnect on device 2". In this case I don't get the long powerdown spiel which tells me everything else that is shutting down.
    This is really annoying since I have to then reset the machine manually and it has to check the hard drive on the next powerup.


 2. I have an 80G USB mass storage device which linux manages by SCSI emulation. I have set up a working filesystem on it. But I can't seem to get it to be detected reliably. explanation:
    If I plug this disk into the USB port before poweron, and then boot up the machine, and then type cfdisk /dev/sda (that is where it appears, *when* it appears) then it says file system not found. Between 5 or 10 minutes later, /dev/sda becomes accessible and the file system mountable. This is the only situation where I can see the disk at all.
    If I plug the disk into the USB port after boot and login, I never become able to access /dev/sda. This despite the fact that the disk appears as a healthy entry in /proc/bus/usb/devices file. However, in this circumstance, the computer does *not* hang on powerdown (see q1).
    Should I be using some command to tell the computer to look for /dev/sda? Finding a patch?

    I can't help thinking these problems are related.

Thank you very much,

Victor
   
0
Comment
Question by:glebspy
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
kannabis earned 150 total points
ID: 6940352
You should have HOT PLUG support enabled in your kernel if you want to use the USB after the system has booted into the OS.

I am just fiddling with MDK 8.2 myself.....and I haven't had any luck with USB support for my Handspring Visor even though I have all the necessary drivers and support for it.

I do know that you can't plug in USB devices after the OS loads if you don't have HOT PLUG enabled in your kernel.

0
 
LVL 1

Author Comment

by:glebspy
ID: 6940504
hi,
I think I do have hot plug enabled actually, since the device appears in /proc/bus/usb/devices when I plug it in after powerup.. but how would I check to make sure..?
0
 
LVL 1

Author Comment

by:glebspy
ID: 6983281
ok I think this one has just about died, thanks for helping kannabis
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
The viewer will learn common shortcuts with easy ways to remember them. The viewer will then learn where to find all of the keyboard shortcuts, how to create/change them, and how to speed up their workflow.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question