mounting digital camera sometimes causes system hang

Tim Writer tim-s/rLXaiAEBtBDgjK7y7TUQ at public.gmane.org
Mon Feb 2 19:19:51 UTC 2004


lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org (Lennart Sorensen) writes:

> On Mon, Feb 02, 2004 at 10:47:07AM -0500, Tim Writer wrote:
> > Possibly an interrupt conflict.  In my experience, the USB drivers don't like
> > to share interrupts with other devices.  Enabling APIC (in the BIOS) and in
> > the kernel can help.  I think it's already enabled in your RH kernel but make
> > sure you aren't using the "noapic" option on the kernel command line.
> > Unfortunately, it's difficult (impossible?) on most modern systems to get all
> > the USB devices on their own interrupt because there are so many of them
> > (usually four or more).  Some BIOSes give you some amount of control,
> > allowing you to reorganize devices according to function.
> 
> Strange since I have never had a problem with USB's interrupt being
> shared.  Most systems I have worked with don't even have any way to
> aboid it since it's hard wired to share with something else onboard.
> 
> If something won't share IRQs with USB, I blame the other device.

The most recent case is an approx. 1 year old Gigabyte P4 board where there
was a clear conflict with the on-board Promise RAID controller (used as an
ordinary IDE controller) and the on-board USB.  I blame the USB because the
BIOS gave me enough control to have the USB share an interrupt with my SCSI
controller or my video card (instead of the Promise RAID) and, in all cases,
using USB consistently hung the system.  APIC seems to have fixed it.

We had another recent case with a firewall we built for a customer.  We had
USB enabled cuz we used a USB stick to load some packages.  Under heavy
network load, the NIC would hang.  Disabling USB in the BIOS fixed the
problem.

> Most likely is buggy usb device drivers.  Perhaps a kernel upgrade fixes
> it.  There have also been a few buggy usb implementation on a few
> chipsets.

I'm running 2.4.22.

-- 
tim writer <tim-s/rLXaiAEBtBDgjK7y7TUQ at public.gmane.org>                                  starnix inc.
905.771.0017 ext. 225                           thornhill, ontario, canada
http://www.starnix.com              professional linux services & products
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list